Pull request #689 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 lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 322af80371fca2f74184805410fc90e1ed184e1f+b47a0ce386124b7b74fceae84a41ab212cf3cd4d (48052e1ac8372b579f2c015794618cc526baa040) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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-26137 in /w/workspace/ndry_app-functions-sdk-go_PR-689 [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-689 # 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 b47a0ce386124b7b74fceae84a41ab212cf3cd4d into PR head commit 322af80371fca2f74184805410fc90e1ed184e1f Merge succeeded, producing 322af80371fca2f74184805410fc90e1ed184e1f Checking out Revision 322af80371fca2f74184805410fc90e1ed184e1f (PR-689) > 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/689/head:refs/remotes/origin/PR-689 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 322af80371fca2f74184805410fc90e1ed184e1f # 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 b47a0ce386124b7b74fceae84a41ab212cf3cd4d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 322af80371fca2f74184805410fc90e1ed184e1f # timeout=10 Commit message: "feat: Added go.mod.bk to .gitignore" > git rev-list --no-walk fd1b8ab9a7d75c393ae1ff216a2ad4f1debc495f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-11T21:58:13.654Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-11T21:58:13.927Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-11T21:58:14.026Z] ========================================================= [2021-02-11T21:58:14.026Z] EdgeX Global Pipelines Version Info [2021-02-11T21:58:14.026Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-11T21:58:15.507Z] ------------------- [2021-02-11T21:58:15.507Z] stable info: [2021-02-11T21:58:15.507Z] ------------------- [2021-02-11T21:58:15.507Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-11T21:58:15.507Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-11T21:58:15.507Z] Message: update stable to v1.0.179 [2021-02-11T21:58:16.455Z] ------------------- [2021-02-11T21:58:16.455Z] experimental info: [2021-02-11T21:58:16.455Z] ------------------- [2021-02-11T21:58:16.455Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-11T21:58:16.455Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-11T21:58:16.455Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-11T21:58:16.713Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-02-11T21:58:16.816Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-02-11T21:58:16.904Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-11T21:58:16.990Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-11T21:58:17.084Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-11T21:58:17.281Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-11T21:58:17.405Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-11T21:58:17.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-11T21:58:17.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-11T21:58:17.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-11T21:58:17.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-11T21:58:17.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-02-11T21:58:17.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-11T21:58:18.088Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-11T21:58:18.183Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-11T21:58:18.280Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-11T21:58:18.365Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-11T21:58:18.467Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-11T21:58:18.554Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-11T21:58:18.664Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-11T21:58:18.757Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-11T21:58:18.840Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-02-11T21:58:18.928Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-11T21:58:19.021Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-11T21:58:19.108Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-11T21:58:19.195Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-11T21:58:19.280Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-11T21:58:19.362Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-689 [Pipeline] echo [2021-02-11T21:58:19.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-689 [Pipeline] echo [2021-02-11T21:58:19.529Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-689 [Pipeline] echo [2021-02-11T21:58:19.617Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 322af80371fca2f74184805410fc90e1ed184e1f [Pipeline] echo [2021-02-11T21:58:19.717Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 322af80 [Pipeline] echo [2021-02-11T21:58:19.819Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-11T21:58:20.544Z] + git log --format=format:%s -1 322af80371fca2f74184805410fc90e1ed184e1f [Pipeline] echo [2021-02-11T21:58:20.623Z] GIT_COMMIT: 322af80371fca2f74184805410fc90e1ed184e1f, Commit Message: feat: Added go.mod.bk to .gitignore [Pipeline] echo [2021-02-11T21:58:20.710Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-11T21:58:22.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-11T21:58:22.429Z] [2021-02-11T21:58:22.429Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-11T21:58:22.787Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-11T21:58:22.787Z] latest: Pulling from edgex-devops/git-semver [2021-02-11T21:58:22.787Z] 31603596830f: Pulling fs layer [2021-02-11T21:58:22.787Z] 2a8b12db71e7: Pulling fs layer [2021-02-11T21:58:22.787Z] 6ca5941a6612: Pulling fs layer [2021-02-11T21:58:22.787Z] ecc8261a40a4: Pulling fs layer [2021-02-11T21:58:22.787Z] ecc8261a40a4: Waiting [2021-02-11T21:58:22.787Z] 2a8b12db71e7: Verifying Checksum [2021-02-11T21:58:22.787Z] 2a8b12db71e7: Download complete [2021-02-11T21:58:23.049Z] 31603596830f: Verifying Checksum [2021-02-11T21:58:23.049Z] 31603596830f: Download complete [2021-02-11T21:58:23.049Z] ecc8261a40a4: Verifying Checksum [2021-02-11T21:58:23.049Z] ecc8261a40a4: Download complete [2021-02-11T21:58:23.049Z] 6ca5941a6612: Verifying Checksum [2021-02-11T21:58:23.049Z] 6ca5941a6612: Download complete [2021-02-11T21:58:23.313Z] 31603596830f: Pull complete [2021-02-11T21:58:23.581Z] 2a8b12db71e7: Pull complete [2021-02-11T21:58:24.542Z] 6ca5941a6612: Pull complete [2021-02-11T21:58:24.542Z] ecc8261a40a4: Pull complete [2021-02-11T21:58:24.542Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-11T21:58:24.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-11T21:58:24.542Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-11T21:58:24.659Z] prd-centos7-docker-4c-2g-26137 does not seem to be running inside a container [2021-02-11T21:58:24.710Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-689 -v /w/workspace/ndry_app-functions-sdk-go_PR-689:/w/workspace/ndry_app-functions-sdk-go_PR-689:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-689@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-689@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:10004/edgex-devops/git-semver:latest cat [2021-02-11T21:58:27.151Z] $ docker top b248ef177c80904c7a26d4a377e6391d689840560be7e3ef669b8d20defa4f6e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-11T21:58:27.450Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-11T21:58:27.450Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-11T21:58:27.666Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-11T21:58:27.670Z] $ docker exec b248ef177c80904c7a26d4a377e6391d689840560be7e3ef669b8d20defa4f6e ssh-agent [2021-02-11T21:58:27.832Z] SSH_AUTH_SOCK=/tmp/ssh-ShSfCVtQ1rr1/agent.13 [2021-02-11T21:58:27.832Z] SSH_AGENT_PID=19 [2021-02-11T21:58:27.843Z] Running ssh-add (command line suppressed) [2021-02-11T21:58:27.960Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-689@tmp/private_key_4421338939940261431.key (/w/workspace/ndry_app-functions-sdk-go_PR-689@tmp/private_key_4421338939940261431.key) [2021-02-11T21:58:28.010Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-11T21:58:28.346Z] + git tag --points-at HEAD [Pipeline] } [2021-02-11T21:58:28.367Z] $ docker exec --env ******** --env ******** b248ef177c80904c7a26d4a377e6391d689840560be7e3ef669b8d20defa4f6e ssh-agent -k [2021-02-11T21:58:28.477Z] unset SSH_AUTH_SOCK; [2021-02-11T21:58:28.478Z] unset SSH_AGENT_PID; [2021-02-11T21:58:28.478Z] echo Agent pid 19 killed; [2021-02-11T21:58:28.526Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-11T21:58:28.658Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-11T21:58:28.658Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-11T21:58:28.877Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-11T21:58:28.881Z] $ docker exec b248ef177c80904c7a26d4a377e6391d689840560be7e3ef669b8d20defa4f6e ssh-agent [2021-02-11T21:58:29.039Z] SSH_AUTH_SOCK=/tmp/ssh-Gmh1r2Pa0DBY/agent.49 [2021-02-11T21:58:29.039Z] SSH_AGENT_PID=54 [2021-02-11T21:58:29.045Z] Running ssh-add (command line suppressed) [2021-02-11T21:58:29.170Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-689@tmp/private_key_245330175025898973.key (/w/workspace/ndry_app-functions-sdk-go_PR-689@tmp/private_key_245330175025898973.key) [2021-02-11T21:58:29.224Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-11T21:58:29.558Z] + git semver init [2021-02-11T21:58:29.558Z] # -> Open(): unable to determine branch for HEAD [2021-02-11T21:58:29.558Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-689/.git [2021-02-11T21:58:29.558Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-689 [2021-02-11T21:58:29.558Z] # $SEMVER_REMOTE_NAME = origin [2021-02-11T21:58:29.558Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-11T21:58:29.558Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-11T21:58:29.558Z] # $SEMVER_BRANCH = PR-689 [2021-02-11T21:58:29.558Z] # $SEMVER_TEMP = /tmp/semver-833613601 [2021-02-11T21:58:29.558Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-02-11T21:58:32.118Z] # '/tmp/semver-833613601' -> '/w/workspace/ndry_app-functions-sdk-go_PR-689/.semver' [2021-02-11T21:58:32.118Z] # -> Force: false [2021-02-11T21:58:32.118Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-689/.semver [Pipeline] } [2021-02-11T21:58:32.130Z] $ docker exec --env ******** --env ******** b248ef177c80904c7a26d4a377e6391d689840560be7e3ef669b8d20defa4f6e ssh-agent -k [2021-02-11T21:58:32.256Z] unset SSH_AUTH_SOCK; [2021-02-11T21:58:32.257Z] unset SSH_AGENT_PID; [2021-02-11T21:58:32.257Z] echo Agent pid 54 killed; [2021-02-11T21:58:32.309Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-11T21:58:32.773Z] + git semver [Pipeline] } [2021-02-11T21:58:32.791Z] $ docker stop --time=1 b248ef177c80904c7a26d4a377e6391d689840560be7e3ef669b8d20defa4f6e [2021-02-11T21:58:34.278Z] $ docker rm -f b248ef177c80904c7a26d4a377e6391d689840560be7e3ef669b8d20defa4f6e [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-11T21:58:34.745Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-11T21:58:35.149Z] Stashed 1 file(s) [Pipeline] echo [2021-02-11T21:58:35.152Z] [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-02-11T21:58:50.662Z] Still waiting to schedule task [2021-02-11T21:58:50.662Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-11T21:58:50.664Z] Still waiting to schedule task [2021-02-11T21:58:50.664Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-02-11T22:01:10.065Z] Running on prd-centos7-docker-4c-2g-26138 in /w/workspace/ndry_app-functions-sdk-go_PR-689 [Pipeline] { [Pipeline] ws [2021-02-11T22:01:10.125Z] Running in /w/workspace/app-functions-sdk-go/8 [Pipeline] { [Pipeline] checkout [2021-02-11T22:01:12.635Z] using credential edgex-jenkins-ssh [2021-02-11T22:01:12.690Z] Cloning the remote Git repository [2021-02-11T22:01:12.470Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T22:01:12.565Z] > git init /w/workspace/app-functions-sdk-go/8 # timeout=10 [2021-02-11T22:01:12.628Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T22:01:12.629Z] > git --version # timeout=10 [2021-02-11T22:01:12.636Z] > git --version # 'git version 2.24.3' [2021-02-11T22:01:12.637Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T22:01:12.667Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-11T22:01:14.160Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-11T22:01:14.166Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-11T22:01:14.180Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-11T22:01:14.191Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T22:01:14.191Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T22:01:14.196Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/689/head:refs/remotes/origin/PR-689 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-11T22:01:14.811Z] Merging remotes/origin/master commit b47a0ce386124b7b74fceae84a41ab212cf3cd4d into PR head commit 322af80371fca2f74184805410fc90e1ed184e1f [2021-02-11T22:01:14.905Z] Merge succeeded, producing 322af80371fca2f74184805410fc90e1ed184e1f [2021-02-11T22:01:14.906Z] Checking out Revision 322af80371fca2f74184805410fc90e1ed184e1f (PR-689) [2021-02-11T22:01:14.748Z] > git config core.sparsecheckout # timeout=10 [2021-02-11T22:01:14.756Z] > git checkout -f 322af80371fca2f74184805410fc90e1ed184e1f # timeout=10 [2021-02-11T22:01:14.805Z] > git remote # timeout=10 [2021-02-11T22:01:14.813Z] > git config --get remote.origin.url # timeout=10 [2021-02-11T22:01:14.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T22:01:14.823Z] > git merge b47a0ce386124b7b74fceae84a41ab212cf3cd4d # timeout=10 [2021-02-11T22:01:14.834Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-11T22:01:14.845Z] > git config core.sparsecheckout # timeout=10 [2021-02-11T22:01:14.852Z] > git checkout -f 322af80371fca2f74184805410fc90e1ed184e1f # timeout=10 [2021-02-11T22:01:18.445Z] Commit message: "feat: Added go.mod.bk to .gitignore" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-11T22:01:19.897Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-11T22:01:20.232Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-11T22:01:20.536Z] + true [2021-02-11T22:01:20.536Z] + sudo service docker restart [2021-02-11T22:01:20.536Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-02-11T22:01:21.659Z] ========================================================= [2021-02-11T22:01:21.659Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-11T22:01:21.659Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-11T22:01:22.056Z] + 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-02-11T22:01:22.633Z] Sending build context to Docker daemon 19.18MB [2021-02-11T22:01:22.633Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-11T22:01:22.633Z] Step 2/8 : FROM ${BASE} [2021-02-11T22:01:22.633Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-11T22:01:22.633Z] 188c0c94c7c5: Pulling fs layer [2021-02-11T22:01:22.633Z] 0ef7d3d256c8: Pulling fs layer [2021-02-11T22:01:22.633Z] de9db76c5a1d: Pulling fs layer [2021-02-11T22:01:22.633Z] bca2f99d35d6: Pulling fs layer [2021-02-11T22:01:22.633Z] 93359f2a8cfa: Pulling fs layer [2021-02-11T22:01:22.633Z] 7c6f9722023f: Pulling fs layer [2021-02-11T22:01:22.633Z] a35cf1a2eb13: Pulling fs layer [2021-02-11T22:01:22.633Z] 93359f2a8cfa: Waiting [2021-02-11T22:01:22.633Z] 7c6f9722023f: Waiting [2021-02-11T22:01:22.633Z] a35cf1a2eb13: Waiting [2021-02-11T22:01:22.633Z] bca2f99d35d6: Waiting [2021-02-11T22:01:22.896Z] de9db76c5a1d: Verifying Checksum [2021-02-11T22:01:22.896Z] de9db76c5a1d: Download complete [2021-02-11T22:01:22.896Z] 0ef7d3d256c8: Verifying Checksum [2021-02-11T22:01:22.896Z] 0ef7d3d256c8: Download complete [2021-02-11T22:01:22.896Z] 93359f2a8cfa: Verifying Checksum [2021-02-11T22:01:22.896Z] 93359f2a8cfa: Download complete [2021-02-11T22:01:22.896Z] 7c6f9722023f: Download complete [2021-02-11T22:01:23.159Z] 188c0c94c7c5: Verifying Checksum [2021-02-11T22:01:23.159Z] 188c0c94c7c5: Download complete [2021-02-11T22:01:23.427Z] 188c0c94c7c5: Pull complete [2021-02-11T22:01:23.692Z] 0ef7d3d256c8: Pull complete [2021-02-11T22:01:23.958Z] de9db76c5a1d: Pull complete [2021-02-11T22:01:24.913Z] a35cf1a2eb13: Verifying Checksum [2021-02-11T22:01:24.913Z] a35cf1a2eb13: Download complete [2021-02-11T22:01:25.489Z] bca2f99d35d6: Verifying Checksum [2021-02-11T22:01:25.489Z] bca2f99d35d6: Download complete [2021-02-11T22:01:30.827Z] bca2f99d35d6: Pull complete [2021-02-11T22:01:30.827Z] 93359f2a8cfa: Pull complete [2021-02-11T22:01:30.827Z] 7c6f9722023f: Pull complete [2021-02-11T22:01:36.150Z] a35cf1a2eb13: Pull complete [2021-02-11T22:01:36.150Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-11T22:01:36.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-11T22:01:36.150Z] ---> a62c8e92a672 [2021-02-11T22:01:36.150Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-11T22:01:36.150Z] 20.10.0: Pulling from library/docker [2021-02-11T22:01:36.150Z] 05e7bc50f07f: Pulling fs layer [2021-02-11T22:01:36.150Z] 6db28d0fdbf6: Pulling fs layer [2021-02-11T22:01:36.150Z] 292df0bc6bf3: Pulling fs layer [2021-02-11T22:01:36.150Z] 2e060f4bd70b: Pulling fs layer [2021-02-11T22:01:36.150Z] 80e8d568a223: Pulling fs layer [2021-02-11T22:01:36.150Z] 8dc6ef1a942a: Pulling fs layer [2021-02-11T22:01:36.150Z] 2312dd95470a: Pulling fs layer [2021-02-11T22:01:36.150Z] 80e8d568a223: Waiting [2021-02-11T22:01:36.150Z] 8dc6ef1a942a: Waiting [2021-02-11T22:01:36.150Z] 2e060f4bd70b: Waiting [2021-02-11T22:01:36.150Z] 2312dd95470a: Waiting [2021-02-11T22:01:36.150Z] 292df0bc6bf3: Verifying Checksum [2021-02-11T22:01:36.150Z] 292df0bc6bf3: Download complete [2021-02-11T22:01:36.418Z] 05e7bc50f07f: Verifying Checksum [2021-02-11T22:01:36.418Z] 05e7bc50f07f: Download complete [2021-02-11T22:01:36.418Z] 6db28d0fdbf6: Verifying Checksum [2021-02-11T22:01:36.418Z] 6db28d0fdbf6: Download complete [2021-02-11T22:01:36.418Z] 80e8d568a223: Verifying Checksum [2021-02-11T22:01:36.418Z] 80e8d568a223: Download complete [2021-02-11T22:01:36.418Z] 8dc6ef1a942a: Verifying Checksum [2021-02-11T22:01:36.418Z] 8dc6ef1a942a: Download complete [2021-02-11T22:01:36.418Z] 2312dd95470a: Verifying Checksum [2021-02-11T22:01:36.419Z] 2312dd95470a: Download complete [2021-02-11T22:01:36.690Z] 05e7bc50f07f: Pull complete [2021-02-11T22:01:36.956Z] 6db28d0fdbf6: Pull complete [2021-02-11T22:01:37.221Z] 292df0bc6bf3: Pull complete [2021-02-11T22:01:37.221Z] 2e060f4bd70b: Verifying Checksum [2021-02-11T22:01:37.221Z] 2e060f4bd70b: Download complete [2021-02-11T22:01:39.797Z] 2e060f4bd70b: Pull complete [2021-02-11T22:01:40.066Z] 80e8d568a223: Pull complete [2021-02-11T22:01:40.066Z] 8dc6ef1a942a: Pull complete [2021-02-11T22:01:40.066Z] 2312dd95470a: Pull complete [2021-02-11T22:01:40.337Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-11T22:01:40.337Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-11T22:01:41.756Z] ---> 7ff8295032ef [2021-02-11T22:01:41.756Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-11T22:01:41.756Z] ---> Running in 5fa7a7f64e8e [2021-02-11T22:01:41.756Z] Removing intermediate container 5fa7a7f64e8e [2021-02-11T22:01:41.756Z] ---> abe1d5aeeb9f [2021-02-11T22:01:41.756Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-11T22:01:41.756Z] ---> Running in 996029addc11 [2021-02-11T22:01:42.741Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-11T22:01:43.319Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-11T22:01:44.274Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-11T22:01:44.274Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-11T22:01:44.274Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-11T22:01:44.274Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-11T22:01:44.539Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-11T22:01:44.539Z] Executing busybox-1.31.1-r19.trigger [2021-02-11T22:01:44.539Z] OK: 167 MiB in 44 packages [2021-02-11T22:01:45.497Z] Removing intermediate container 996029addc11 [2021-02-11T22:01:45.497Z] ---> f64008321075 [2021-02-11T22:01:45.497Z] Step 6/8 : WORKDIR /build [2021-02-11T22:01:45.497Z] ---> Running in aa389ef91b86 [2021-02-11T22:01:45.759Z] Removing intermediate container aa389ef91b86 [2021-02-11T22:01:45.759Z] ---> d353ee29bb0a [2021-02-11T22:01:45.759Z] Step 7/8 : COPY go.mod . [2021-02-11T22:01:46.023Z] ---> a6a53ee289ae [2021-02-11T22:01:46.023Z] Step 8/8 : RUN go mod download [2021-02-11T22:01:46.023Z] ---> Running in 70c721178bfb [2021-02-11T22:01:58.479Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-26139 in /w/workspace/ndry_app-functions-sdk-go_PR-689 [Pipeline] { [Pipeline] ws [2021-02-11T22:01:58.545Z] Running in /w/workspace/app-functions-sdk-go/8 [Pipeline] { [Pipeline] checkout [2021-02-11T22:02:03.596Z] using credential edgex-jenkins-ssh [2021-02-11T22:02:03.657Z] Cloning the remote Git repository [2021-02-11T22:02:03.716Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T22:02:03.825Z] > git init /w/workspace/app-functions-sdk-go/8 # timeout=10 [2021-02-11T22:02:03.900Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T22:02:03.901Z] > git --version # timeout=10 [2021-02-11T22:02:03.928Z] > git --version # 'git version 2.17.1' [2021-02-11T22:02:03.930Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T22:02:04.015Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-11T22:02:06.993Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-11T22:02:07.016Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-11T22:02:07.044Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-11T22:02:07.081Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T22:02:07.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T22:02:07.093Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/689/head:refs/remotes/origin/PR-689 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-11T22:02:07.644Z] Merging remotes/origin/master commit b47a0ce386124b7b74fceae84a41ab212cf3cd4d into PR head commit 322af80371fca2f74184805410fc90e1ed184e1f [2021-02-11T22:02:07.890Z] Merge succeeded, producing 322af80371fca2f74184805410fc90e1ed184e1f [2021-02-11T22:02:07.891Z] Checking out Revision 322af80371fca2f74184805410fc90e1ed184e1f (PR-689) [2021-02-11T22:02:08.069Z] Removing intermediate container 70c721178bfb [2021-02-11T22:02:08.070Z] ---> 6960b24e19e1 [2021-02-11T22:02:08.342Z] Successfully built 6960b24e19e1 [2021-02-11T22:02:08.342Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-11T22:02:08.660Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-11T22:02:08.660Z] . [Pipeline] withDockerContainer [2021-02-11T22:02:08.791Z] prd-centos7-docker-4c-2g-26138 does not seem to be running inside a container [2021-02-11T22:02:08.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/8 -v /w/workspace/app-functions-sdk-go/8:/w/workspace/app-functions-sdk-go/8:rw,z -v /w/workspace/app-functions-sdk-go/8@tmp:/w/workspace/app-functions-sdk-go/8@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-11T22:02:07.668Z] > git config core.sparsecheckout # timeout=10 [2021-02-11T22:02:07.683Z] > git checkout -f 322af80371fca2f74184805410fc90e1ed184e1f # timeout=10 [2021-02-11T22:02:07.794Z] > git remote # timeout=10 [2021-02-11T22:02:07.813Z] > git config --get remote.origin.url # timeout=10 [2021-02-11T22:02:07.841Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T22:02:07.852Z] > git merge b47a0ce386124b7b74fceae84a41ab212cf3cd4d # timeout=10 [2021-02-11T22:02:07.874Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-11T22:02:07.900Z] > git config core.sparsecheckout # timeout=10 [2021-02-11T22:02:07.914Z] > git checkout -f 322af80371fca2f74184805410fc90e1ed184e1f # timeout=10 [2021-02-11T22:02:09.745Z] $ docker top 8a79e7577c543bdae310d3b026f08c923857b4fc73fc609f5697e627ac622159 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-11T22:02:10.379Z] + go version [2021-02-11T22:02:10.379Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-11T22:02:10.396Z] $ docker stop --time=1 8a79e7577c543bdae310d3b026f08c923857b4fc73fc609f5697e627ac622159 [2021-02-11T22:02:11.758Z] $ docker rm -f 8a79e7577c543bdae310d3b026f08c923857b4fc73fc609f5697e627ac622159 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-11T22:02:12.525Z] Commit message: "feat: Added go.mod.bk to .gitignore" [2021-02-11T22:02:12.577Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-11T22:02:12.577Z] . [Pipeline] withDockerContainer [2021-02-11T22:02:12.672Z] prd-centos7-docker-4c-2g-26138 does not seem to be running inside a container [2021-02-11T22:02:12.724Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/8 -v /w/workspace/app-functions-sdk-go/8:/w/workspace/app-functions-sdk-go/8:rw,z -v /w/workspace/app-functions-sdk-go/8@tmp:/w/workspace/app-functions-sdk-go/8@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-11T22:02:13.528Z] $ docker top be6da98c6785c910a246a0f4af28e5c96809f51e3b09b4a50990ef8f0dc33319 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-11T22:02:14.023Z] + make test [2021-02-11T22:02:14.023Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-11T22:02:14.912Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-11T22:02:15.314Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-11T22:02:15.434Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-11T22:02:15.670Z] + true [2021-02-11T22:02:15.670Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-02-11T22:02:18.616Z] ========================================================= [2021-02-11T22:02:18.616Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-11T22:02:18.616Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-11T22:02:19.013Z] + 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-02-11T22:02:20.004Z] Sending build context to Docker daemon 19.18MB [2021-02-11T22:02:20.004Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-11T22:02:20.004Z] Step 2/8 : FROM ${BASE} [2021-02-11T22:02:20.606Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-11T22:02:20.606Z] 5f621e34cdf4: Pulling fs layer [2021-02-11T22:02:20.606Z] a4357932f1b6: Pulling fs layer [2021-02-11T22:02:20.606Z] 18c013af1878: Pulling fs layer [2021-02-11T22:02:20.606Z] 00ac8860ef70: Pulling fs layer [2021-02-11T22:02:20.606Z] 63d7cb157983: Pulling fs layer [2021-02-11T22:02:20.606Z] b116817d02f9: Pulling fs layer [2021-02-11T22:02:20.606Z] 745a02a5169b: Pulling fs layer [2021-02-11T22:02:20.606Z] 63d7cb157983: Waiting [2021-02-11T22:02:20.606Z] b116817d02f9: Waiting [2021-02-11T22:02:20.606Z] 745a02a5169b: Waiting [2021-02-11T22:02:20.606Z] 00ac8860ef70: Waiting [2021-02-11T22:02:20.606Z] 18c013af1878: Download complete [2021-02-11T22:02:20.606Z] a4357932f1b6: Verifying Checksum [2021-02-11T22:02:20.606Z] a4357932f1b6: Download complete [2021-02-11T22:02:20.606Z] 63d7cb157983: Verifying Checksum [2021-02-11T22:02:20.606Z] 63d7cb157983: Download complete [2021-02-11T22:02:20.606Z] b116817d02f9: Download complete [2021-02-11T22:02:20.606Z] 5f621e34cdf4: Verifying Checksum [2021-02-11T22:02:21.599Z] 5f621e34cdf4: Pull complete [2021-02-11T22:02:21.882Z] a4357932f1b6: Pull complete [2021-02-11T22:02:22.487Z] 18c013af1878: Pull complete [2021-02-11T22:02:23.086Z] 745a02a5169b: Verifying Checksum [2021-02-11T22:02:23.086Z] 745a02a5169b: Download complete [2021-02-11T22:02:23.911Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.016s coverage: 82.6% of statements [2021-02-11T22:02:24.069Z] 00ac8860ef70: Verifying Checksum [2021-02-11T22:02:24.069Z] 00ac8860ef70: Download complete [2021-02-11T22:02:30.588Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.052s coverage: 50.1% of statements [2021-02-11T22:02:30.588Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-11T22:02:30.588Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-11T22:02:30.588Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.052s coverage: 61.5% of statements [2021-02-11T22:02:30.588Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-11T22:02:31.183Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.034s coverage: 69.7% of statements [2021-02-11T22:02:31.183Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-11T22:02:31.183Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-11T22:02:31.183Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-11T22:02:31.183Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-11T22:02:31.183Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-11T22:02:31.183Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-11T22:02:31.183Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.015s coverage: 97.0% of statements [2021-02-11T22:02:31.183Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-11T22:02:31.183Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.018s coverage: 8.8% of statements [2021-02-11T22:02:34.242Z] 00ac8860ef70: Pull complete [2021-02-11T22:02:34.242Z] 63d7cb157983: Pull complete [2021-02-11T22:02:34.515Z] b116817d02f9: Pull complete [2021-02-11T22:02:38.867Z] 745a02a5169b: Pull complete [2021-02-11T22:02:38.867Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-11T22:02:38.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-11T22:02:38.868Z] ---> b7e6874047d6 [2021-02-11T22:02:38.868Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-11T22:02:38.868Z] 20.10.0: Pulling from library/docker [2021-02-11T22:02:38.868Z] a3cc7d3b244e: Pulling fs layer [2021-02-11T22:02:38.868Z] 02a3295e0d61: Pulling fs layer [2021-02-11T22:02:38.868Z] 0f4f2e6d8100: Pulling fs layer [2021-02-11T22:02:38.868Z] 330b718f631f: Pulling fs layer [2021-02-11T22:02:38.868Z] a93816041522: Pulling fs layer [2021-02-11T22:02:38.868Z] bdb6da89ff94: Pulling fs layer [2021-02-11T22:02:38.868Z] 2a70c0c122f4: Pulling fs layer [2021-02-11T22:02:38.868Z] 330b718f631f: Waiting [2021-02-11T22:02:38.868Z] a93816041522: Waiting [2021-02-11T22:02:38.868Z] bdb6da89ff94: Waiting [2021-02-11T22:02:38.868Z] 2a70c0c122f4: Waiting [2021-02-11T22:02:38.868Z] 0f4f2e6d8100: Verifying Checksum [2021-02-11T22:02:38.868Z] 0f4f2e6d8100: Download complete [2021-02-11T22:02:38.868Z] a3cc7d3b244e: Verifying Checksum [2021-02-11T22:02:38.868Z] a3cc7d3b244e: Download complete [2021-02-11T22:02:38.868Z] 02a3295e0d61: Verifying Checksum [2021-02-11T22:02:38.868Z] 02a3295e0d61: Download complete [2021-02-11T22:02:38.868Z] bdb6da89ff94: Verifying Checksum [2021-02-11T22:02:38.868Z] bdb6da89ff94: Download complete [2021-02-11T22:02:38.868Z] a93816041522: Download complete [2021-02-11T22:02:38.868Z] 2a70c0c122f4: Verifying Checksum [2021-02-11T22:02:38.868Z] 2a70c0c122f4: Download complete [2021-02-11T22:02:39.153Z] a3cc7d3b244e: Pull complete [2021-02-11T22:02:40.141Z] 02a3295e0d61: Pull complete [2021-02-11T22:02:40.141Z] 0f4f2e6d8100: Pull complete [2021-02-11T22:02:40.412Z] 330b718f631f: Verifying Checksum [2021-02-11T22:02:40.412Z] 330b718f631f: Download complete [2021-02-11T22:02:44.720Z] 330b718f631f: Pull complete [2021-02-11T22:02:44.720Z] a93816041522: Pull complete [2021-02-11T22:02:44.720Z] bdb6da89ff94: Pull complete [2021-02-11T22:02:44.992Z] 2a70c0c122f4: Pull complete [2021-02-11T22:02:44.992Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-11T22:02:44.992Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-11T22:02:46.137Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.844s coverage: 77.5% of statements [2021-02-11T22:02:46.137Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-11T22:02:46.137Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.025s coverage: 87.9% of statements [2021-02-11T22:02:46.137Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.016s coverage: 80.5% of statements [2021-02-11T22:02:46.137Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.013s coverage: 71.7% of statements [2021-02-11T22:02:51.706Z] ---> 9b1da9c2a7b1 [2021-02-11T22:02:51.706Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-11T22:02:51.706Z] ---> Running in 19d2077897de [2021-02-11T22:02:51.706Z] Removing intermediate container 19d2077897de [2021-02-11T22:02:51.706Z] ---> 2344cf68961f [2021-02-11T22:02:51.706Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-11T22:02:51.706Z] ---> Running in d944f456403c [2021-02-11T22:02:53.141Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-11T22:02:53.735Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-11T22:02:54.711Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-11T22:02:54.711Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-11T22:02:54.983Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-11T22:02:54.983Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-11T22:02:55.255Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-11T22:02:55.255Z] Executing busybox-1.31.1-r19.trigger [2021-02-11T22:02:55.255Z] OK: 144 MiB in 44 packages [2021-02-11T22:02:56.698Z] Removing intermediate container d944f456403c [2021-02-11T22:02:56.698Z] ---> b3197d198819 [2021-02-11T22:02:56.698Z] Step 6/8 : WORKDIR /build [2021-02-11T22:02:56.698Z] ---> Running in 882f68eb5701 [2021-02-11T22:02:57.296Z] Removing intermediate container 882f68eb5701 [2021-02-11T22:02:57.296Z] ---> 61e285decd28 [2021-02-11T22:02:57.296Z] Step 7/8 : COPY go.mod . [2021-02-11T22:02:57.894Z] ---> b91f1c422ae2 [2021-02-11T22:02:57.894Z] Step 8/8 : RUN go mod download [2021-02-11T22:02:58.171Z] ---> Running in 5d64bc767685 [2021-02-11T22:02:58.403Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.040s coverage: 82.9% of statements [2021-02-11T22:02:58.403Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements [2021-02-11T22:02:58.403Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-02-11T22:03:00.988Z] gofmt -l . [2021-02-11T22:03:00.988Z] [ "`gofmt -l .`" = "" ] [2021-02-11T22:03:01.256Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-11T22:03:01.865Z] $ docker stop --time=1 be6da98c6785c910a246a0f4af28e5c96809f51e3b09b4a50990ef8f0dc33319 [2021-02-11T22:03:03.772Z] $ docker rm -f be6da98c6785c910a246a0f4af28e5c96809f51e3b09b4a50990ef8f0dc33319 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-11T22:03:04.495Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-11T22:03:04.908Z] 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] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-11T22:03:24.958Z] Removing intermediate container 5d64bc767685 [2021-02-11T22:03:24.958Z] ---> 85938a663b78 [2021-02-11T22:03:24.958Z] Successfully built 85938a663b78 [2021-02-11T22:03:24.958Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-11T22:03:25.306Z] + docker inspect -f . ci-base-image-arm64 [2021-02-11T22:03:25.306Z] . [Pipeline] withDockerContainer [2021-02-11T22:03:25.550Z] prd-ubuntu18.04-docker-arm64-4c-16g-26139 does not seem to be running inside a container [2021-02-11T22:03:25.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/8 -v /w/workspace/app-functions-sdk-go/8:/w/workspace/app-functions-sdk-go/8:rw,z -v /w/workspace/app-functions-sdk-go/8@tmp:/w/workspace/app-functions-sdk-go/8@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-11T22:03:27.111Z] $ docker top 301c226a13cfe1afeaa1cb03806c158bbf035e91c37fbe9b7a7379a1ec4e32c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-11T22:03:28.142Z] + go version [2021-02-11T22:03:28.142Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-11T22:03:28.164Z] $ docker stop --time=1 301c226a13cfe1afeaa1cb03806c158bbf035e91c37fbe9b7a7379a1ec4e32c8 [2021-02-11T22:03:30.113Z] $ docker rm -f 301c226a13cfe1afeaa1cb03806c158bbf035e91c37fbe9b7a7379a1ec4e32c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-11T22:03:31.209Z] + docker inspect -f . ci-base-image-arm64 [2021-02-11T22:03:31.209Z] . [Pipeline] withDockerContainer [2021-02-11T22:03:31.474Z] prd-ubuntu18.04-docker-arm64-4c-16g-26139 does not seem to be running inside a container [2021-02-11T22:03:31.575Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/8 -v /w/workspace/app-functions-sdk-go/8:/w/workspace/app-functions-sdk-go/8:rw,z -v /w/workspace/app-functions-sdk-go/8@tmp:/w/workspace/app-functions-sdk-go/8@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-11T22:03:33.036Z] $ docker top 3878bd69a4e87c78bca0246e70bfc46cb7d659f9eb08bd4fd7ba6d920a73ecf5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-11T22:03:34.133Z] + make test [2021-02-11T22:03:34.133Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-11T22:03:35.584Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-11T22:04:02.411Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.053s coverage: 82.6% of statements [2021-02-11T22:04:24.642Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.074s coverage: 50.1% of statements [2021-02-11T22:04:24.642Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-11T22:04:24.642Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-11T22:04:24.642Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.068s coverage: 61.5% of statements [2021-02-11T22:04:24.642Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-11T22:04:24.642Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.089s coverage: 69.7% of statements [2021-02-11T22:04:24.642Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-11T22:04:24.642Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-11T22:04:24.642Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-11T22:04:24.642Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-11T22:04:24.642Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-11T22:04:24.642Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-11T22:04:24.642Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.021s coverage: 97.0% of statements [2021-02-11T22:04:24.642Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-11T22:04:24.642Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.052s coverage: 8.8% of statements [2021-02-11T22:04:37.018Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.899s coverage: 77.5% of statements [2021-02-11T22:04:37.018Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-11T22:04:37.018Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.055s coverage: 87.9% of statements [2021-02-11T22:04:37.018Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.059s coverage: 80.5% of statements [2021-02-11T22:04:37.018Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.018s coverage: 71.7% of statements [2021-02-11T22:04:52.075Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.076s coverage: 82.9% of statements [2021-02-11T22:04:52.075Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.038s coverage: 94.4% of statements [2021-02-11T22:04:52.075Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-02-11T22:05:00.450Z] gofmt -l . [2021-02-11T22:05:00.772Z] [ "`gofmt -l .`" = "" ] [2021-02-11T22:05:01.069Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-11T22:05:02.114Z] $ docker stop --time=1 3878bd69a4e87c78bca0246e70bfc46cb7d659f9eb08bd4fd7ba6d920a73ecf5 [2021-02-11T22:05:04.224Z] $ docker rm -f 3878bd69a4e87c78bca0246e70bfc46cb7d659f9eb08bd4fd7ba6d920a73ecf5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-11T22:05:05.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-11T22:05:05.333Z] Warning: overwriting stash ‘coverage-report’ [2021-02-11T22:05:06.083Z] 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-02-11T22:05:07.754Z] provisioning config files... [2021-02-11T22:05:07.772Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-689@tmp/config1725353424691626258tmp [Pipeline] { [Pipeline] sh [2021-02-11T22:05:08.144Z] + set +x [2021-02-11T22:05:08.144Z] + curl -s https://codecov.io/bash [2021-02-11T22:05:08.144Z] + bash -s -- [2021-02-11T22:05:08.408Z] [2021-02-11T22:05:08.408Z] _____ _ [2021-02-11T22:05:08.408Z] / ____| | | [2021-02-11T22:05:08.408Z] | | ___ __| | ___ ___ _____ __ [2021-02-11T22:05:08.408Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-11T22:05:08.408Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-11T22:05:08.408Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-11T22:05:08.408Z] Bash-20210129-7c25fce [2021-02-11T22:05:08.408Z] [2021-02-11T22:05:08.409Z] [2021-02-11T22:05:08.409Z] ==> git version 2.24.3 found [2021-02-11T22:05:08.409Z] ==> 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-02-11T22:05:08.409Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-11T22:05:08.409Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-11T22:05:08.409Z] ==> Jenkins CI detected. [2021-02-11T22:05:08.409Z] project root: . [2021-02-11T22:05:08.409Z] --> token set from env [2021-02-11T22:05:08.409Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-11T22:05:08.409Z] ==> Running gcov in . (disable via -X gcov) [2021-02-11T22:05:08.409Z] ==> Python coveragepy not found [2021-02-11T22:05:08.409Z] ==> Searching for coverage reports in: [2021-02-11T22:05:08.409Z] + . [2021-02-11T22:05:08.409Z] -> Found 1 reports [2021-02-11T22:05:08.409Z] ==> Detecting git/mercurial file structure [2021-02-11T22:05:08.409Z] ==> Reading reports [2021-02-11T22:05:08.409Z] + ./coverage.out bytes=81938 [2021-02-11T22:05:08.409Z] ==> Appending adjustments [2021-02-11T22:05:08.409Z] https://docs.codecov.io/docs/fixing-reports [2021-02-11T22:05:08.672Z] + Found adjustments [2021-02-11T22:05:08.672Z] ==> Gzipping contents [2021-02-11T22:05:08.672Z] 16K /tmp/codecov.SFSOAS.gz [2021-02-11T22:05:08.936Z] ==> Uploading reports [2021-02-11T22:05:08.936Z] url: https://codecov.io [2021-02-11T22:05:08.936Z] query: branch=PR-689&commit=322af80371fca2f74184805410fc90e1ed184e1f&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-689%2F8%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=689&job=&cmd_args= [2021-02-11T22:05:08.936Z] -> Pinging Codecov [2021-02-11T22:05:08.936Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-689&commit=322af80371fca2f74184805410fc90e1ed184e1f&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-689%2F8%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=689&job=&cmd_args= [2021-02-11T22:05:09.197Z] -> Uploading to [2021-02-11T22:05:09.197Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-11/3D8B5DFFC46A037C893635FACE044666/322af80371fca2f74184805410fc90e1ed184e1f/d5b3d73c-42cc-4623-9bf6-1cb6a9f9acd2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210211%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210211T220509Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=893c5fdce78e7a1460e3b34eb4c9a0186215247433baa7ad1bafd68ab8006cd7 [2021-02-11T22:05:09.197Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-11T22:05:09.197Z] Dload Upload Total Spent Left Speed [2021-02-11T22:05:09.772Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13887 0 0 100 13887 0 31289 --:--:-- --:--:-- --:--:-- 31277 100 13887 0 0 100 13887 0 31274 --:--:-- --:--:-- --:--:-- 31277 [2021-02-11T22:05:09.772Z] -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/322af80371fca2f74184805410fc90e1ed184e1f [Pipeline] } [2021-02-11T22:05:09.783Z] 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-02-11T22:05:12.656Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T22:05:13.235Z] ---> package-listing.sh [2021-02-11T22:05:13.235Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-11T22:05:13.235Z] ++ facter osfamily [2021-02-11T22:05:13.235Z] + OS_FAMILY=redhat [2021-02-11T22:05:13.235Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-689 [2021-02-11T22:05:13.235Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-11T22:05:13.235Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-11T22:05:13.235Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-11T22:05:13.235Z] + PACKAGES=/tmp/packages_start.txt [2021-02-11T22:05:13.235Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-689 ']' [2021-02-11T22:05:13.235Z] + PACKAGES=/tmp/packages_end.txt [2021-02-11T22:05:13.235Z] + case "${OS_FAMILY}" in [2021-02-11T22:05:13.235Z] + rpm -qa [2021-02-11T22:05:13.235Z] + sort [2021-02-11T22:05:18.557Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-11T22:05:18.557Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-11T22:05:18.557Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-11T22:05:18.557Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-689 ']' [2021-02-11T22:05:18.557Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-689/archives/ [2021-02-11T22:05:18.557Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-689/archives/ [Pipeline] echo [2021-02-11T22:05:18.572Z] 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-689/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-11T22:05:18.870Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-11T22:05:19.178Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-11T22:05:19.178Z] [2021-02-11T22:05:19.178Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-11T22:05:19.575Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-11T22:05:19.575Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-11T22:05:19.575Z] df20fa9351a1: Pulling fs layer [2021-02-11T22:05:19.575Z] 36b3adc4ff6f: Pulling fs layer [2021-02-11T22:05:19.575Z] 8ad3a11d3b57: Pulling fs layer [2021-02-11T22:05:19.575Z] 46f8f816bc3b: Pulling fs layer [2021-02-11T22:05:19.575Z] 93b61091891f: Pulling fs layer [2021-02-11T22:05:19.575Z] 93b9cdb0e59b: Pulling fs layer [2021-02-11T22:05:19.575Z] 5e14af77c1be: Pulling fs layer [2021-02-11T22:05:19.575Z] 01666e4c0597: Pulling fs layer [2021-02-11T22:05:19.575Z] aa168da1d23b: Pulling fs layer [2021-02-11T22:05:19.575Z] 93b61091891f: Waiting [2021-02-11T22:05:19.575Z] 93b9cdb0e59b: Waiting [2021-02-11T22:05:19.575Z] 5e14af77c1be: Waiting [2021-02-11T22:05:19.575Z] 01666e4c0597: Waiting [2021-02-11T22:05:19.575Z] aa168da1d23b: Waiting [2021-02-11T22:05:19.575Z] 46f8f816bc3b: Waiting [2021-02-11T22:05:19.575Z] 36b3adc4ff6f: Verifying Checksum [2021-02-11T22:05:19.575Z] 36b3adc4ff6f: Download complete [2021-02-11T22:05:19.575Z] 46f8f816bc3b: Download complete [2021-02-11T22:05:19.575Z] df20fa9351a1: Download complete [2021-02-11T22:05:19.575Z] 93b9cdb0e59b: Verifying Checksum [2021-02-11T22:05:19.575Z] 93b9cdb0e59b: Download complete [2021-02-11T22:05:19.837Z] 5e14af77c1be: Verifying Checksum [2021-02-11T22:05:19.837Z] 5e14af77c1be: Download complete [2021-02-11T22:05:19.837Z] 93b61091891f: Download complete [2021-02-11T22:05:19.837Z] 01666e4c0597: Verifying Checksum [2021-02-11T22:05:19.837Z] 01666e4c0597: Download complete [2021-02-11T22:05:20.103Z] df20fa9351a1: Pull complete [2021-02-11T22:05:20.368Z] 36b3adc4ff6f: Pull complete [2021-02-11T22:05:20.368Z] 8ad3a11d3b57: Download complete [2021-02-11T22:05:21.335Z] 8ad3a11d3b57: Pull complete [2021-02-11T22:05:21.601Z] 46f8f816bc3b: Pull complete [2021-02-11T22:05:22.181Z] 93b61091891f: Pull complete [2021-02-11T22:05:22.181Z] 93b9cdb0e59b: Pull complete [2021-02-11T22:05:22.181Z] aa168da1d23b: Verifying Checksum [2021-02-11T22:05:22.181Z] aa168da1d23b: Download complete [2021-02-11T22:05:22.446Z] 5e14af77c1be: Pull complete [2021-02-11T22:05:22.446Z] 01666e4c0597: Pull complete [2021-02-11T22:05:30.658Z] aa168da1d23b: Pull complete [2021-02-11T22:05:30.658Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-11T22:05:30.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-11T22:05:30.658Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-11T22:05:30.935Z] prd-centos7-docker-4c-2g-26137 does not seem to be running inside a container [2021-02-11T22:05:30.986Z] $ 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-689/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-689 -v /w/workspace/ndry_app-functions-sdk-go_PR-689:/w/workspace/ndry_app-functions-sdk-go_PR-689:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-689@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-689@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-11T22:05:33.604Z] $ docker top 3b6c7ba4b6e0517bb20a86447aa1009f64c1211478eb29c84f5aeba89a93f8a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-11T22:05:34.117Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-11T22:05:34.422Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-11T22:05:34.723Z] + ls /var/log/sa-host [2021-02-11T22:05:34.723Z] + sadf -c /var/log/sa-host/sa11 [2021-02-11T22:05:34.723Z] file_magic: OK [2021-02-11T22:05:34.723Z] HZ: Using current value: 100 [2021-02-11T22:05:34.723Z] file_header: OK [2021-02-11T22:05:34.723Z] 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-02-11T22:05:34.723Z] Statistics: [2021-02-11T22:05:34.723Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-11T22:05:34.723Z] File successfully converted to sysstat format version 12.2.1 [2021-02-11T22:05:34.723Z] + sadf -c /var/log/sa-host/sa23 [2021-02-11T22:05:34.723Z] file_magic: OK [2021-02-11T22:05:34.723Z] HZ: Using current value: 100 [2021-02-11T22:05:34.723Z] file_header: OK [2021-02-11T22:05:34.723Z] 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-02-11T22:05:34.723Z] Statistics: [2021-02-11T22:05:34.723Z] Hnuu...uuuununununu... [2021-02-11T22:05:34.723Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-11T22:05:34.928Z] provisioning config files... [2021-02-11T22:05:34.948Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-689@tmp/config629458560296793912tmp [Pipeline] { [Pipeline] echo [2021-02-11T22:05:35.014Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T22:05:35.317Z] ---> create-netrc.sh [Pipeline] } [2021-02-11T22:05:35.328Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-11T22:05:35.447Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T22:05:35.749Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-11T22:05:35.760Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T22:05:36.058Z] ---> sudo-logs.sh [2021-02-11T22:05:36.058Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-11T22:05:36.069Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T22:05:36.367Z] ---> job-cost.sh [2021-02-11T22:05:36.367Z] lf-activate-venv: SKIPPING [2021-02-11T22:05:36.367Z] INFO: No Stack... [2021-02-11T22:05:37.315Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-11T22:05:37.891Z] INFO: Archiving Costs [Pipeline] echo [2021-02-11T22:05:37.906Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T22:05:38.203Z] ---> logs-deploy.sh [2021-02-11T22:05:38.204Z] lf-activate-venv: SKIPPING [2021-02-11T22:05:38.204Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-689/8 [2021-02-11T22:05:38.204Z] INFO: archiving workspace using pattern(s): [2021-02-11T22:05:40.129Z] Archives upload complete. [2021-02-11T22:05:40.129Z] INFO: archiving logs to Nexus [2021-02-11T22:05:41.078Z] ---> uname -a: [2021-02-11T22:05:41.078Z] Linux prd-centos7-docker-4c-2g-26137.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-02-11T22:05:41.078Z] [2021-02-11T22:05:41.078Z] [2021-02-11T22:05:41.078Z] ---> lscpu: [2021-02-11T22:05:41.078Z] Architecture: x86_64 [2021-02-11T22:05:41.078Z] CPU op-mode(s): 32-bit, 64-bit [2021-02-11T22:05:41.078Z] Byte Order: Little Endian [2021-02-11T22:05:41.078Z] Address sizes: 40 bits physical, 48 bits virtual [2021-02-11T22:05:41.078Z] CPU(s): 4 [2021-02-11T22:05:41.078Z] On-line CPU(s) list: 0-3 [2021-02-11T22:05:41.078Z] Thread(s) per core: 1 [2021-02-11T22:05:41.078Z] Core(s) per socket: 1 [2021-02-11T22:05:41.078Z] Socket(s): 4 [2021-02-11T22:05:41.078Z] NUMA node(s): 1 [2021-02-11T22:05:41.078Z] Vendor ID: GenuineIntel [2021-02-11T22:05:41.078Z] CPU family: 6 [2021-02-11T22:05:41.078Z] Model: 44 [2021-02-11T22:05:41.078Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-02-11T22:05:41.078Z] Stepping: 1 [2021-02-11T22:05:41.078Z] CPU MHz: 2933.438 [2021-02-11T22:05:41.078Z] BogoMIPS: 5866.87 [2021-02-11T22:05:41.078Z] Virtualization: VT-x [2021-02-11T22:05:41.078Z] Hypervisor vendor: KVM [2021-02-11T22:05:41.078Z] Virtualization type: full [2021-02-11T22:05:41.078Z] L1d cache: 128 KiB [2021-02-11T22:05:41.078Z] L1i cache: 128 KiB [2021-02-11T22:05:41.078Z] L2 cache: 16 MiB [2021-02-11T22:05:41.078Z] L3 cache: 64 MiB [2021-02-11T22:05:41.078Z] NUMA node0 CPU(s): 0-3 [2021-02-11T22:05:41.078Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-02-11T22:05:41.078Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-02-11T22:05:41.078Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-02-11T22:05:41.078Z] Vulnerability Meltdown: Mitigation; PTI [2021-02-11T22:05:41.078Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-02-11T22:05:41.078Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-02-11T22:05:41.078Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-02-11T22:05:41.078Z] Vulnerability Srbds: Not affected [2021-02-11T22:05:41.078Z] Vulnerability Tsx async abort: Not affected [2021-02-11T22:05:41.078Z] 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-02-11T22:05:41.078Z] [2021-02-11T22:05:41.078Z] [2021-02-11T22:05:41.078Z] ---> nproc: [2021-02-11T22:05:41.078Z] 4 [2021-02-11T22:05:41.078Z] [2021-02-11T22:05:41.078Z] [2021-02-11T22:05:41.078Z] ---> df -h: [2021-02-11T22:05:41.078Z] Filesystem Size Used Available Use% Mounted on [2021-02-11T22:05:41.078Z] overlay 50.0G 7.3G 42.7G 15% / [2021-02-11T22:05:41.078Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-02-11T22:05:41.078Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-02-11T22:05:41.078Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-02-11T22:05:41.078Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-02-11T22:05:41.078Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-02-11T22:05:41.078Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-02-11T22:05:41.078Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-02-11T22:05:41.078Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-689 [2021-02-11T22:05:41.078Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-689@tmp [2021-02-11T22:05:41.078Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-02-11T22:05:41.078Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-02-11T22:05:41.078Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-02-11T22:05:41.078Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-02-11T22:05:41.078Z] [2021-02-11T22:05:41.078Z] [2021-02-11T22:05:41.078Z] ---> free -m: [2021-02-11T22:05:41.078Z] total used free shared buff/cache available [2021-02-11T22:05:41.078Z] Mem: 1837 709 110 0 1018 1023 [2021-02-11T22:05:41.078Z] Swap: 1023 1 1022 [2021-02-11T22:05:41.078Z] [2021-02-11T22:05:41.078Z] [2021-02-11T22:05:41.078Z] ---> ip addr: [2021-02-11T22:05:41.078Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-02-11T22:05:41.078Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-02-11T22:05:41.078Z] inet 127.0.0.1/8 scope host lo [2021-02-11T22:05:41.078Z] valid_lft forever preferred_lft forever [2021-02-11T22:05:41.078Z] inet6 ::1/128 scope host [2021-02-11T22:05:41.078Z] valid_lft forever preferred_lft forever [2021-02-11T22:05:41.078Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-02-11T22:05:41.078Z] link/ether fa:16:3e:fe:8e:c8 brd ff:ff:ff:ff:ff:ff [2021-02-11T22:05:41.078Z] inet 10.30.123.116/23 brd 10.30.123.255 scope global dynamic eth0 [2021-02-11T22:05:41.078Z] valid_lft 85920sec preferred_lft 85920sec [2021-02-11T22:05:41.078Z] inet6 fe80::f816:3eff:fefe:8ec8/64 scope link [2021-02-11T22:05:41.078Z] valid_lft forever preferred_lft forever [2021-02-11T22:05:41.078Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-02-11T22:05:41.078Z] link/ether 02:42:a0:a9:e7:83 brd ff:ff:ff:ff:ff:ff [2021-02-11T22:05:41.078Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-02-11T22:05:41.078Z] valid_lft forever preferred_lft forever [2021-02-11T22:05:41.078Z] inet6 fe80::42:a0ff:fea9:e783/64 scope link [2021-02-11T22:05:41.078Z] valid_lft forever preferred_lft forever [2021-02-11T22:05:41.078Z] [2021-02-11T22:05:41.078Z] [2021-02-11T22:05:41.078Z] ---> sar -b -r -n DEV: [2021-02-11T22:05:41.078Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/11/21 _x86_64_ (4 CPU) [2021-02-11T22:05:41.078Z] [2021-02-11T22:05:41.078Z] 21:57:30 LINUX RESTART (4 CPU) [2021-02-11T22:05:41.078Z] [2021-02-11T22:05:41.078Z] 21:58:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-02-11T22:05:41.078Z] 21:59:01 59.09 18.29 40.80 0.00 4837.02 4945.32 0.00 [2021-02-11T22:05:41.078Z] 22:00:01 0.97 0.00 0.97 0.00 0.00 22.50 0.00 [2021-02-11T22:05:41.078Z] 22:01:01 0.63 0.02 0.62 0.00 0.13 7.43 0.00 [2021-02-11T22:05:41.078Z] 22:02:01 0.38 0.08 0.30 0.00 1.60 4.71 0.00 [2021-02-11T22:05:41.078Z] 22:03:01 0.22 0.00 0.22 0.00 0.00 2.48 0.00 [2021-02-11T22:05:41.078Z] 22:04:01 0.28 0.00 0.28 0.00 0.00 3.83 0.00 [2021-02-11T22:05:41.078Z] 22:05:01 0.25 0.00 0.25 0.00 0.00 3.31 0.00 [2021-02-11T22:05:41.078Z] Average: 8.84 2.63 6.21 0.00 691.58 713.13 0.00 [2021-02-11T22:05:41.078Z] [2021-02-11T22:05:41.078Z] 21:58:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-02-11T22:05:41.078Z] 21:59:01 230252 0 607780 32.30 2620 1040892 1113924 38.02 439744 1013824 128 [2021-02-11T22:05:41.078Z] 22:00:01 237012 0 601052 31.94 2620 1040860 1080584 36.88 440504 1007128 20 [2021-02-11T22:05:41.078Z] 22:01:01 234248 0 603812 32.09 2620 1040864 1083120 36.97 440644 1009392 8 [2021-02-11T22:05:41.078Z] 22:02:01 233888 0 604048 32.10 2620 1040988 1081224 36.90 449324 1001344 12 [2021-02-11T22:05:41.078Z] 22:03:01 232832 0 605100 32.16 2620 1040992 1081176 36.90 448100 1003436 12 [2021-02-11T22:05:41.078Z] 22:04:01 233096 0 604828 32.15 2620 1041000 1081164 36.90 475904 975644 12 [2021-02-11T22:05:41.078Z] 22:05:01 232872 0 605052 32.16 2620 1041000 1081212 36.90 476032 975640 8 [2021-02-11T22:05:41.078Z] Average: 233457 0 604525 32.13 2620 1040942 1086058 37.07 452893 998058 29 [2021-02-11T22:05:41.078Z] [2021-02-11T22:05:41.078Z] 21:58:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-02-11T22:05:41.078Z] 21:59:01 eth0 595.07 405.39 1470.17 96.66 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 21:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 21:59:01 docker0 90.56 83.54 7.81 305.87 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:00:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:01:01 eth0 0.98 0.08 0.07 0.01 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:02:01 eth0 1.30 0.60 0.58 0.37 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:03:01 eth0 0.17 0.13 0.05 0.07 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:04:01 eth0 0.83 0.25 0.19 0.04 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:05:01 eth0 0.50 0.38 0.27 0.20 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] 22:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.078Z] Average: eth0 85.60 58.16 210.29 13.92 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.079Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.079Z] Average: docker0 12.94 11.94 1.12 43.72 0.00 0.00 0.00 0.00 [2021-02-11T22:05:41.079Z] [2021-02-11T22:05:41.079Z] [2021-02-11T22:05:41.079Z] ---> sar -P ALL: [2021-02-11T22:05:41.079Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/11/21 _x86_64_ (4 CPU) [2021-02-11T22:05:41.079Z] [2021-02-11T22:05:41.079Z] 21:57:30 LINUX RESTART (4 CPU) [2021-02-11T22:05:41.079Z] [2021-02-11T22:05:41.079Z] 21:58:01 CPU %user %nice %system %iowait %steal %idle [2021-02-11T22:05:41.079Z] 21:59:01 all 10.49 0.00 3.75 1.44 0.22 84.10 [2021-02-11T22:05:41.079Z] 21:59:01 0 11.79 0.00 4.59 1.71 0.10 81.81 [2021-02-11T22:05:41.079Z] 21:59:01 1 9.45 0.00 3.15 1.97 0.30 85.12 [2021-02-11T22:05:41.079Z] 21:59:01 2 11.80 0.00 3.41 0.78 0.27 83.75 [2021-02-11T22:05:41.079Z] 21:59:01 3 8.93 0.00 3.86 1.30 0.19 85.73 [2021-02-11T22:05:41.079Z] 22:00:01 all 0.16 0.00 0.03 0.00 0.00 99.81 [2021-02-11T22:05:41.079Z] 22:00:01 0 0.45 0.00 0.03 0.00 0.00 99.52 [2021-02-11T22:05:41.079Z] 22:00:01 1 0.07 0.00 0.03 0.00 0.00 99.90 [2021-02-11T22:05:41.079Z] 22:00:01 2 0.07 0.00 0.03 0.00 0.00 99.90 [2021-02-11T22:05:41.079Z] 22:00:01 3 0.05 0.00 0.03 0.00 0.00 99.92 [2021-02-11T22:05:41.079Z] 22:01:01 all 0.18 0.00 0.09 0.00 0.02 99.72 [2021-02-11T22:05:41.079Z] 22:01:01 0 0.50 0.00 0.05 0.00 0.02 99.43 [2021-02-11T22:05:41.079Z] 22:01:01 1 0.10 0.00 0.12 0.00 0.02 99.77 [2021-02-11T22:05:41.079Z] 22:01:01 2 0.07 0.00 0.12 0.00 0.02 99.80 [2021-02-11T22:05:41.079Z] 22:01:01 3 0.05 0.00 0.07 0.00 0.02 99.87 [2021-02-11T22:05:41.079Z] 22:02:01 all 0.17 0.00 0.06 0.00 0.00 99.76 [2021-02-11T22:05:41.079Z] 22:02:01 0 0.50 0.00 0.08 0.00 0.00 99.42 [2021-02-11T22:05:41.079Z] 22:02:01 1 0.07 0.00 0.05 0.02 0.00 99.87 [2021-02-11T22:05:41.079Z] 22:02:01 2 0.07 0.00 0.07 0.00 0.00 99.87 [2021-02-11T22:05:41.079Z] 22:02:01 3 0.05 0.00 0.05 0.00 0.00 99.90 [2021-02-11T22:05:41.079Z] 22:03:01 all 0.14 0.00 0.03 0.00 0.00 99.84 [2021-02-11T22:05:41.079Z] 22:03:01 0 0.43 0.00 0.02 0.00 0.00 99.55 [2021-02-11T22:05:41.079Z] 22:03:01 1 0.03 0.00 0.02 0.00 0.00 99.95 [2021-02-11T22:05:41.079Z] 22:03:01 2 0.05 0.00 0.03 0.00 0.00 99.92 [2021-02-11T22:05:41.079Z] 22:03:01 3 0.03 0.00 0.03 0.00 0.00 99.93 [2021-02-11T22:05:41.079Z] 22:04:01 all 0.15 0.00 0.10 0.00 0.01 99.74 [2021-02-11T22:05:41.079Z] 22:04:01 0 0.13 0.00 0.28 0.00 0.02 99.57 [2021-02-11T22:05:41.079Z] 22:04:01 1 0.05 0.00 0.02 0.00 0.00 99.93 [2021-02-11T22:05:41.079Z] 22:04:01 2 0.40 0.00 0.07 0.00 0.02 99.52 [2021-02-11T22:05:41.079Z] 22:04:01 3 0.03 0.00 0.02 0.00 0.00 99.95 [2021-02-11T22:05:41.079Z] 22:05:01 all 0.15 0.00 0.05 0.00 0.01 99.80 [2021-02-11T22:05:41.079Z] 22:05:01 0 0.02 0.00 0.07 0.00 0.00 99.92 [2021-02-11T22:05:41.079Z] 22:05:01 1 0.03 0.00 0.03 0.00 0.00 99.93 [2021-02-11T22:05:41.079Z] 22:05:01 2 0.50 0.00 0.07 0.00 0.02 99.42 [2021-02-11T22:05:41.079Z] 22:05:01 3 0.03 0.00 0.03 0.00 0.02 99.92 [2021-02-11T22:05:41.079Z] Average: all 1.62 0.00 0.58 0.20 0.04 97.56 [2021-02-11T22:05:41.079Z] Average: 0 1.96 0.00 0.73 0.24 0.02 97.06 [2021-02-11T22:05:41.079Z] Average: 1 1.39 0.00 0.48 0.28 0.05 97.80 [2021-02-11T22:05:41.079Z] Average: 2 1.83 0.00 0.54 0.11 0.05 97.47 [2021-02-11T22:05:41.079Z] Average: 3 1.30 0.00 0.58 0.18 0.03 97.91 [2021-02-11T22:05:41.079Z] [2021-02-11T22:05:41.079Z] [2021-02-11T22:05:41.079Z]