Pull request #507 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2236f049c42aa7d573643b7c288ac024320ab374+d4297c3f0affce4b46d730e2d159065f9736cf70 (56a0fa03d415e9754439b9d33012f010399811ad) Running in Durability level: MAX_SURVIVABILITY 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-507/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 85bea31ad76f85e2acd5a821f20c71e435d4ae12 # timeout=10 Commit message: "Merge pull request #249 from ernestojeda/fix-build-artifact" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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. [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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1347’ Running on prd-centos7-docker-4c-2g-1355 in /w/workspace/ndry_app-functions-sdk-go_PR-507 [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-507 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d4297c3f0affce4b46d730e2d159065f9736cf70 into PR head commit 2236f049c42aa7d573643b7c288ac024320ab374 Merge succeeded, producing 2236f049c42aa7d573643b7c288ac024320ab374 Checking out Revision 2236f049c42aa7d573643b7c288ac024320ab374 (PR-507) > git config core.sparsecheckout # timeout=10 > git checkout -f 2236f049c42aa7d573643b7c288ac024320ab374 # 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 d4297c3f0affce4b46d730e2d159065f9736cf70 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2236f049c42aa7d573643b7c288ac024320ab374 # timeout=10 Commit message: "build(deps): bump go.mongodb.org/mongo-driver from 1.1.1 to 1.4.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-24T22:46:26.302Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-24T22:46:26.711Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-24T22:46:26.952Z] ========================================================= [2020-09-24T22:46:26.952Z] EdgeX Global Pipelines Version Info [2020-09-24T22:46:26.952Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-24T22:46:30.925Z] ------------------- [2020-09-24T22:46:30.925Z] stable info: [2020-09-24T22:46:30.925Z] ------------------- [2020-09-24T22:46:30.925Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-24T22:46:30.925Z] Commit SHA: 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [2020-09-24T22:46:30.925Z] Message: update stable to v1.0.128 [2020-09-24T22:46:32.330Z] ------------------- [2020-09-24T22:46:32.330Z] experimental info: [2020-09-24T22:46:32.330Z] ------------------- [2020-09-24T22:46:32.330Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-24T22:46:32.330Z] Commit SHA: db8a1d80b86ca0f96dca4d6027083ac3162e2a74 [2020-09-24T22:46:32.330Z] Message: update experimental to v1.0.129 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-24T22:46:33.003Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-24T22:46:33.242Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-24T22:46:33.363Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-24T22:46:33.509Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-24T22:46:33.646Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-24T22:46:33.775Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-24T22:46:33.935Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-24T22:46:34.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-24T22:46:34.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-24T22:46:34.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-24T22:46:34.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-24T22:46:34.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-24T22:46:34.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-24T22:46:34.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-24T22:46:34.976Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-24T22:46:35.123Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-24T22:46:35.266Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-24T22:46:35.417Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-24T22:46:35.556Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-24T22:46:35.712Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-24T22:46:35.935Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-24T22:46:36.179Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-24T22:46:36.301Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-09-24T22:46:36.428Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-09-24T22:46:36.554Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-09-24T22:46:36.679Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-507 [Pipeline] echo [2020-09-24T22:46:36.829Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-507 [Pipeline] echo [2020-09-24T22:46:36.958Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-507 [Pipeline] echo [2020-09-24T22:46:37.131Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2236f049c42aa7d573643b7c288ac024320ab374 [Pipeline] echo [2020-09-24T22:46:37.319Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2236f04 [Pipeline] echo [2020-09-24T22:46:37.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-24T22:46:38.309Z] + git log --format=format:%s -1 2236f049c42aa7d573643b7c288ac024320ab374 [Pipeline] echo [2020-09-24T22:46:38.458Z] GIT_COMMIT: 2236f049c42aa7d573643b7c288ac024320ab374, Commit Message: build(deps): bump go.mongodb.org/mongo-driver from 1.1.1 to 1.4.1 [Pipeline] echo [2020-09-24T22:46:38.531Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:46:39.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-24T22:46:39.836Z] [2020-09-24T22:46:39.836Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:46:40.367Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-24T22:46:40.367Z] latest: Pulling from edgex-devops/git-semver [2020-09-24T22:46:40.367Z] 31603596830f: Pulling fs layer [2020-09-24T22:46:40.367Z] 2a8b12db71e7: Pulling fs layer [2020-09-24T22:46:40.367Z] 6ca5941a6612: Pulling fs layer [2020-09-24T22:46:40.367Z] ecc8261a40a4: Pulling fs layer [2020-09-24T22:46:40.367Z] ecc8261a40a4: Waiting [2020-09-24T22:46:40.688Z] 2a8b12db71e7: Verifying Checksum [2020-09-24T22:46:40.688Z] 2a8b12db71e7: Download complete [2020-09-24T22:46:41.043Z] 31603596830f: Download complete [2020-09-24T22:46:41.535Z] ecc8261a40a4: Verifying Checksum [2020-09-24T22:46:41.535Z] ecc8261a40a4: Download complete [2020-09-24T22:46:42.203Z] 6ca5941a6612: Verifying Checksum [2020-09-24T22:46:42.203Z] 6ca5941a6612: Download complete [2020-09-24T22:46:42.203Z] 31603596830f: Pull complete [2020-09-24T22:46:42.478Z] 2a8b12db71e7: Pull complete [2020-09-24T22:46:43.508Z] 6ca5941a6612: Pull complete [2020-09-24T22:46:43.817Z] ecc8261a40a4: Pull complete [2020-09-24T22:46:43.817Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-24T22:46:43.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-24T22:46:43.817Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-24T22:46:44.104Z] prd-centos7-docker-4c-2g-1355 does not seem to be running inside a container [2020-09-24T22:46:44.397Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-507 -v /w/workspace/ndry_app-functions-sdk-go_PR-507:/w/workspace/ndry_app-functions-sdk-go_PR-507:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-507@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-507@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-24T22:46:47.336Z] $ docker top cf75ecc6fde650432a892966c2671720c17067559a97281bf7ebfdb46fb7fab5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-24T22:46:47.824Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-24T22:46:47.825Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-24T22:46:48.162Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-24T22:46:48.167Z] $ docker exec cf75ecc6fde650432a892966c2671720c17067559a97281bf7ebfdb46fb7fab5 ssh-agent [2020-09-24T22:46:48.483Z] SSH_AUTH_SOCK=/tmp/ssh-bUuSE1LVHHkN/agent.11 [2020-09-24T22:46:48.483Z] SSH_AGENT_PID=17 [2020-09-24T22:46:48.504Z] Running ssh-add (command line suppressed) [2020-09-24T22:46:48.728Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-507@tmp/private_key_3534711189927378705.key (/w/workspace/ndry_app-functions-sdk-go_PR-507@tmp/private_key_3534711189927378705.key) [2020-09-24T22:46:48.823Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-24T22:46:49.226Z] + git describe --exact-match --tags HEAD [2020-09-24T22:46:49.226Z] fatal: no tag exactly matches '2236f049c42aa7d573643b7c288ac024320ab374' [Pipeline] } [2020-09-24T22:46:49.310Z] $ docker exec --env ******** --env ******** cf75ecc6fde650432a892966c2671720c17067559a97281bf7ebfdb46fb7fab5 ssh-agent -k [2020-09-24T22:46:49.544Z] unset SSH_AUTH_SOCK; [2020-09-24T22:46:49.546Z] unset SSH_AGENT_PID; [2020-09-24T22:46:49.546Z] echo Agent pid 17 killed; [2020-09-24T22:46:49.594Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-24T22:46:49.748Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-24T22:46:49.748Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-24T22:46:49.869Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-24T22:46:49.869Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-24T22:46:50.186Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-24T22:46:50.191Z] $ docker exec cf75ecc6fde650432a892966c2671720c17067559a97281bf7ebfdb46fb7fab5 ssh-agent [2020-09-24T22:46:50.450Z] SSH_AUTH_SOCK=/tmp/ssh-uswpYpklF4fo/agent.47 [2020-09-24T22:46:50.450Z] SSH_AGENT_PID=53 [2020-09-24T22:46:50.460Z] Running ssh-add (command line suppressed) [2020-09-24T22:46:50.645Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-507@tmp/private_key_3128300487720846330.key (/w/workspace/ndry_app-functions-sdk-go_PR-507@tmp/private_key_3128300487720846330.key) [2020-09-24T22:46:50.726Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-24T22:46:51.194Z] + git semver init [2020-09-24T22:46:51.194Z] # -> Open(): unable to determine branch for HEAD [2020-09-24T22:46:51.194Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-507/.git [2020-09-24T22:46:51.194Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-507 [2020-09-24T22:46:51.194Z] # $SEMVER_REMOTE_NAME = origin [2020-09-24T22:46:51.194Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-24T22:46:51.194Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-24T22:46:51.194Z] # $SEMVER_BRANCH = PR-507 [2020-09-24T22:46:51.194Z] # $SEMVER_TEMP = /tmp/semver-001089255 [2020-09-24T22:46:51.194Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-24T22:46:56.782Z] # '/tmp/semver-001089255' -> '/w/workspace/ndry_app-functions-sdk-go_PR-507/.semver' [2020-09-24T22:46:56.782Z] # -> Force: false [2020-09-24T22:46:56.782Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-507/.semver [Pipeline] } [2020-09-24T22:46:56.880Z] $ docker exec --env ******** --env ******** cf75ecc6fde650432a892966c2671720c17067559a97281bf7ebfdb46fb7fab5 ssh-agent -k [2020-09-24T22:46:57.088Z] unset SSH_AUTH_SOCK; [2020-09-24T22:46:57.089Z] unset SSH_AGENT_PID; [2020-09-24T22:46:57.089Z] echo Agent pid 53 killed; [2020-09-24T22:46:57.210Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-24T22:46:58.042Z] + git semver [Pipeline] } [2020-09-24T22:46:58.104Z] $ docker stop --time=1 cf75ecc6fde650432a892966c2671720c17067559a97281bf7ebfdb46fb7fab5 [2020-09-24T22:47:00.104Z] $ docker rm -f cf75ecc6fde650432a892966c2671720c17067559a97281bf7ebfdb46fb7fab5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-24T22:47:04.618Z] Stashed 51 file(s) [Pipeline] echo [2020-09-24T22:47:04.639Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-24T22:47:04.762Z] Archived original 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-09-24T22:47:20.544Z] Still waiting to schedule task [2020-09-24T22:47:20.545Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-24T22:47:20.573Z] Still waiting to schedule task [2020-09-24T22:47:20.573Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1350’ is offline [2020-09-24T22:48:54.992Z] Running on prd-centos7-docker-4c-2g-1365 in /w/workspace/ndry_app-functions-sdk-go_PR-507 [Pipeline] { [Pipeline] ws [2020-09-24T22:48:55.130Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-24T22:48:58.006Z] using credential edgex-jenkins-ssh [2020-09-24T22:48:58.063Z] Cloning the remote Git repository [2020-09-24T22:48:58.101Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T22:48:58.177Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-09-24T22:48:58.235Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T22:48:58.236Z] > git --version # timeout=10 [2020-09-24T22:48:58.246Z] > git --version # 'git version 2.16.5' [2020-09-24T22:48:58.247Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T22:48:58.275Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T22:49:01.963Z] Merging remotes/origin/master commit d4297c3f0affce4b46d730e2d159065f9736cf70 into PR head commit 2236f049c42aa7d573643b7c288ac024320ab374 [2020-09-24T22:49:02.077Z] Merge succeeded, producing 2236f049c42aa7d573643b7c288ac024320ab374 [2020-09-24T22:49:02.078Z] Checking out Revision 2236f049c42aa7d573643b7c288ac024320ab374 (PR-507) [2020-09-24T22:49:01.454Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-24T22:49:01.462Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T22:49:01.474Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-24T22:49:01.489Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T22:49:01.489Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T22:49:01.495Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-24T22:49:01.976Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T22:49:01.982Z] > git checkout -f 2236f049c42aa7d573643b7c288ac024320ab374 # timeout=10 [2020-09-24T22:49:02.043Z] > git remote # timeout=10 [2020-09-24T22:49:02.052Z] > git config --get remote.origin.url # timeout=10 [2020-09-24T22:49:02.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T22:49:02.063Z] > git merge d4297c3f0affce4b46d730e2d159065f9736cf70 # timeout=10 [2020-09-24T22:49:02.074Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-24T22:49:02.088Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T22:49:02.092Z] > git checkout -f 2236f049c42aa7d573643b7c288ac024320ab374 # timeout=10 [2020-09-24T22:49:05.801Z] Commit message: "build(deps): bump go.mongodb.org/mongo-driver from 1.1.1 to 1.4.1" [2020-09-24T22:49:05.835Z] > git --version # timeout=10 [2020-09-24T22:49:05.841Z] > git --version # 'git version 2.16.5' [2020-09-24T22:49:05.848Z] fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-24T22:49:08.360Z] ========================================================= [2020-09-24T22:49:08.360Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-24T22:49:08.360Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:49:09.021Z] + 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-09-24T22:49:09.598Z] Sending build context to Docker daemon 37.38MB [2020-09-24T22:49:09.598Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-24T22:49:09.598Z] Step 2/8 : FROM ${BASE} [2020-09-24T22:49:09.861Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-24T22:49:09.861Z] df20fa9351a1: Pulling fs layer [2020-09-24T22:49:09.861Z] ed8968b2872e: Pulling fs layer [2020-09-24T22:49:09.861Z] a92cc7c5fd73: Pulling fs layer [2020-09-24T22:49:09.861Z] e871e8e8d7a9: Pulling fs layer [2020-09-24T22:49:09.861Z] e73272ec9a57: Pulling fs layer [2020-09-24T22:49:09.861Z] 1e910a182e73: Pulling fs layer [2020-09-24T22:49:09.861Z] 4e634b169226: Pulling fs layer [2020-09-24T22:49:09.861Z] e73272ec9a57: Waiting [2020-09-24T22:49:09.861Z] 1e910a182e73: Waiting [2020-09-24T22:49:09.861Z] e871e8e8d7a9: Waiting [2020-09-24T22:49:09.861Z] 4e634b169226: Waiting [2020-09-24T22:49:09.861Z] a92cc7c5fd73: Verifying Checksum [2020-09-24T22:49:09.861Z] a92cc7c5fd73: Download complete [2020-09-24T22:49:09.861Z] ed8968b2872e: Download complete [2020-09-24T22:49:09.861Z] e73272ec9a57: Download complete [2020-09-24T22:49:09.861Z] 1e910a182e73: Verifying Checksum [2020-09-24T22:49:09.861Z] 1e910a182e73: Download complete [2020-09-24T22:49:09.861Z] df20fa9351a1: Verifying Checksum [2020-09-24T22:49:09.861Z] df20fa9351a1: Download complete [2020-09-24T22:49:10.125Z] df20fa9351a1: Pull complete [2020-09-24T22:49:10.386Z] ed8968b2872e: Pull complete [2020-09-24T22:49:10.387Z] a92cc7c5fd73: Pull complete [2020-09-24T22:49:12.318Z] 4e634b169226: Verifying Checksum [2020-09-24T22:49:12.318Z] 4e634b169226: Download complete [2020-09-24T22:49:12.917Z] e871e8e8d7a9: Download complete [2020-09-24T22:49:18.278Z] e871e8e8d7a9: Pull complete [2020-09-24T22:49:18.278Z] e73272ec9a57: Pull complete [2020-09-24T22:49:18.278Z] 1e910a182e73: Pull complete [2020-09-24T22:49:26.499Z] 4e634b169226: Pull complete [2020-09-24T22:49:26.499Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-24T22:49:26.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-24T22:49:26.499Z] ---> f7629b54cfaa [2020-09-24T22:49:26.499Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-24T22:49:26.764Z] latest: Pulling from library/docker [2020-09-24T22:49:27.035Z] df20fa9351a1: Already exists [2020-09-24T22:49:27.035Z] 25ad7478873d: Pulling fs layer [2020-09-24T22:49:27.035Z] 4684f6177b5d: Pulling fs layer [2020-09-24T22:49:27.035Z] 8ba584e970af: Pulling fs layer [2020-09-24T22:49:27.035Z] 3cdc74d2b06d: Pulling fs layer [2020-09-24T22:49:27.035Z] 4cf5a0d07c1f: Pulling fs layer [2020-09-24T22:49:27.035Z] fca0ccc462d5: Pulling fs layer [2020-09-24T22:49:27.035Z] 3cdc74d2b06d: Waiting [2020-09-24T22:49:27.035Z] 4cf5a0d07c1f: Waiting [2020-09-24T22:49:27.035Z] fca0ccc462d5: Waiting [2020-09-24T22:49:27.035Z] 4684f6177b5d: Verifying Checksum [2020-09-24T22:49:27.035Z] 4684f6177b5d: Download complete [2020-09-24T22:49:27.035Z] 25ad7478873d: Verifying Checksum [2020-09-24T22:49:27.299Z] 3cdc74d2b06d: Verifying Checksum [2020-09-24T22:49:27.299Z] 3cdc74d2b06d: Download complete [2020-09-24T22:49:27.299Z] 4cf5a0d07c1f: Verifying Checksum [2020-09-24T22:49:27.299Z] 4cf5a0d07c1f: Download complete [2020-09-24T22:49:27.299Z] fca0ccc462d5: Verifying Checksum [2020-09-24T22:49:27.299Z] fca0ccc462d5: Download complete [2020-09-24T22:49:27.574Z] 25ad7478873d: Pull complete [2020-09-24T22:49:27.840Z] 4684f6177b5d: Pull complete [2020-09-24T22:49:28.102Z] 8ba584e970af: Verifying Checksum [2020-09-24T22:49:28.102Z] 8ba584e970af: Download complete [2020-09-24T22:49:30.669Z] 8ba584e970af: Pull complete [2020-09-24T22:49:30.669Z] 3cdc74d2b06d: Pull complete [2020-09-24T22:49:30.669Z] 4cf5a0d07c1f: Pull complete [2020-09-24T22:49:30.669Z] fca0ccc462d5: Pull complete [2020-09-24T22:49:30.669Z] Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 [2020-09-24T22:49:30.669Z] Status: Downloaded newer image for docker:latest [2020-09-24T22:49:32.618Z] ---> f8cc0daf4196 [2020-09-24T22:49:32.618Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-24T22:49:32.618Z] ---> Running in 38ca461c58f8 [2020-09-24T22:49:32.618Z] Removing intermediate container 38ca461c58f8 [2020-09-24T22:49:32.618Z] ---> c9649342ff75 [2020-09-24T22:49:32.618Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-24T22:49:32.884Z] ---> Running in a982edd5ca2e [2020-09-24T22:49:33.466Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-24T22:49:34.416Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-24T22:49:34.990Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-24T22:49:34.990Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-24T22:49:35.257Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-24T22:49:35.257Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-24T22:49:35.257Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-24T22:49:35.520Z] Executing busybox-1.31.1-r16.trigger [2020-09-24T22:49:35.520Z] OK: 167 MiB in 44 packages [2020-09-24T22:49:36.102Z] Removing intermediate container a982edd5ca2e [2020-09-24T22:49:36.102Z] ---> 153e997bfa3b [2020-09-24T22:49:36.102Z] Step 6/8 : WORKDIR /build [2020-09-24T22:49:36.365Z] ---> Running in fc0ab10495ab [2020-09-24T22:49:36.365Z] Removing intermediate container fc0ab10495ab [2020-09-24T22:49:36.365Z] ---> a92079f6d447 [2020-09-24T22:49:36.365Z] Step 7/8 : COPY go.mod . [2020-09-24T22:49:36.628Z] ---> ee8783d451e4 [2020-09-24T22:49:36.628Z] Step 8/8 : RUN go mod download [2020-09-24T22:49:36.628Z] ---> Running in 594c6f5b0bc2 [2020-09-24T22:50:33.165Z] Removing intermediate container 594c6f5b0bc2 [2020-09-24T22:50:33.165Z] ---> 4487fe34be34 [2020-09-24T22:50:33.165Z] Successfully built 4487fe34be34 [2020-09-24T22:50:33.165Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:50:33.586Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-24T22:50:33.586Z] . [Pipeline] withDockerContainer [2020-09-24T22:50:33.736Z] prd-centos7-docker-4c-2g-1365 does not seem to be running inside a container [2020-09-24T22:50:33.805Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2020-09-24T22:50:34.753Z] $ docker top c3479f00e56c1e2f5aea03c8d9b73591581785948407320e29a038ca2206fbdd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T22:50:35.346Z] + go version [2020-09-24T22:50:35.346Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-24T22:50:35.373Z] $ docker stop --time=1 c3479f00e56c1e2f5aea03c8d9b73591581785948407320e29a038ca2206fbdd [2020-09-24T22:50:36.722Z] $ docker rm -f c3479f00e56c1e2f5aea03c8d9b73591581785948407320e29a038ca2206fbdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:50:37.867Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-24T22:50:37.868Z] . [Pipeline] withDockerContainer [2020-09-24T22:50:38.004Z] prd-centos7-docker-4c-2g-1365 does not seem to be running inside a container [2020-09-24T22:50:38.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2020-09-24T22:50:38.768Z] $ docker top 53e53e91e8e5fdbabc7eb68ee1ad2c7735892a4d8914273e3f5c04b4cc5eae1e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T22:50:39.338Z] + make test [2020-09-24T22:50:39.338Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-24T22:50:40.747Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-24T22:50:45.785Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1369 in /w/workspace/ndry_app-functions-sdk-go_PR-507 [Pipeline] { [Pipeline] ws [2020-09-24T22:50:45.923Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-24T22:50:49.029Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.096s coverage: 86.2% of statements [2020-09-24T22:50:51.369Z] using credential edgex-jenkins-ssh [2020-09-24T22:50:51.461Z] Cloning the remote Git repository [2020-09-24T22:50:51.531Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T22:50:51.657Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-09-24T22:50:51.753Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T22:50:51.754Z] > git --version # timeout=10 [2020-09-24T22:50:51.775Z] > git --version # 'git version 2.17.1' [2020-09-24T22:50:51.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T22:50:51.853Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T22:50:55.740Z] Merging remotes/origin/master commit d4297c3f0affce4b46d730e2d159065f9736cf70 into PR head commit 2236f049c42aa7d573643b7c288ac024320ab374 [2020-09-24T22:50:56.029Z] Merge succeeded, producing 2236f049c42aa7d573643b7c288ac024320ab374 [2020-09-24T22:50:56.030Z] Checking out Revision 2236f049c42aa7d573643b7c288ac024320ab374 (PR-507) [2020-09-24T22:50:55.156Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-24T22:50:55.181Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T22:50:55.208Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-24T22:50:55.245Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T22:50:55.246Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T22:50:55.262Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-24T22:50:55.757Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T22:50:55.768Z] > git checkout -f 2236f049c42aa7d573643b7c288ac024320ab374 # timeout=10 [2020-09-24T22:50:55.883Z] > git remote # timeout=10 [2020-09-24T22:50:55.899Z] > git config --get remote.origin.url # timeout=10 [2020-09-24T22:50:55.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T22:50:55.966Z] > git merge d4297c3f0affce4b46d730e2d159065f9736cf70 # timeout=10 [2020-09-24T22:50:55.993Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-24T22:50:56.035Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T22:50:56.051Z] > git checkout -f 2236f049c42aa7d573643b7c288ac024320ab374 # timeout=10 [2020-09-24T22:51:00.571Z] Commit message: "build(deps): bump go.mongodb.org/mongo-driver from 1.1.1 to 1.4.1" [2020-09-24T22:51:00.634Z] > git --version # timeout=10 [2020-09-24T22:51:00.644Z] > git --version # 'git version 2.17.1' [2020-09-24T22:51:00.660Z] fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-24T22:51:04.120Z] ========================================================= [2020-09-24T22:51:04.120Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-24T22:51:04.120Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:51:05.355Z] + 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 . [2020-09-24T22:51:06.822Z] Sending build context to Docker daemon 37.37MB [2020-09-24T22:51:06.822Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-24T22:51:06.822Z] Step 2/8 : FROM ${BASE} [2020-09-24T22:51:07.101Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-24T22:51:07.101Z] b538f80385f9: Pulling fs layer [2020-09-24T22:51:07.101Z] 74f711af9a0d: Pulling fs layer [2020-09-24T22:51:07.101Z] 99f96fe45779: Pulling fs layer [2020-09-24T22:51:07.101Z] 8529a6b9a6be: Pulling fs layer [2020-09-24T22:51:07.101Z] 45590311c82a: Pulling fs layer [2020-09-24T22:51:07.101Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-24T22:51:07.101Z] 209524e5b208: Pulling fs layer [2020-09-24T22:51:07.101Z] 45590311c82a: Waiting [2020-09-24T22:51:07.101Z] 69ca0ff8b7b3: Waiting [2020-09-24T22:51:07.101Z] 209524e5b208: Waiting [2020-09-24T22:51:07.101Z] 8529a6b9a6be: Waiting [2020-09-24T22:51:07.101Z] 99f96fe45779: Verifying Checksum [2020-09-24T22:51:07.101Z] 99f96fe45779: Download complete [2020-09-24T22:51:07.101Z] 74f711af9a0d: Verifying Checksum [2020-09-24T22:51:07.101Z] 74f711af9a0d: Download complete [2020-09-24T22:51:07.101Z] 45590311c82a: Verifying Checksum [2020-09-24T22:51:07.101Z] 45590311c82a: Download complete [2020-09-24T22:51:07.301Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.033s coverage: 56.0% of statements [2020-09-24T22:51:07.301Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-24T22:51:07.301Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-24T22:51:07.301Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.066s coverage: 53.5% of statements [2020-09-24T22:51:07.301Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-24T22:51:07.301Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.266s coverage: 69.1% of statements [2020-09-24T22:51:07.376Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-24T22:51:07.376Z] 69ca0ff8b7b3: Download complete [2020-09-24T22:51:07.376Z] b538f80385f9: Verifying Checksum [2020-09-24T22:51:07.376Z] b538f80385f9: Download complete [2020-09-24T22:51:07.987Z] b538f80385f9: Pull complete [2020-09-24T22:51:08.602Z] 74f711af9a0d: Pull complete [2020-09-24T22:51:09.214Z] 99f96fe45779: Pull complete [2020-09-24T22:51:10.680Z] 209524e5b208: Verifying Checksum [2020-09-24T22:51:10.680Z] 209524e5b208: Download complete [2020-09-24T22:51:10.956Z] 8529a6b9a6be: Verifying Checksum [2020-09-24T22:51:10.956Z] 8529a6b9a6be: Download complete [2020-09-24T22:51:19.602Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.483s coverage: 61.6% of statements [2020-09-24T22:51:19.602Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.007s coverage: 89.5% of statements [2020-09-24T22:51:19.602Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2020-09-24T22:51:19.602Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.074s coverage: 100.0% of statements [2020-09-24T22:51:19.602Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements [2020-09-24T22:51:19.602Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.006s coverage: 100.0% of statements [2020-09-24T22:51:19.602Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-24T22:51:19.603Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-24T22:51:19.603Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-24T22:51:19.603Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-24T22:51:19.603Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-24T22:51:19.603Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-24T22:51:19.603Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-24T22:51:19.603Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-09-24T22:51:19.603Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-24T22:51:19.603Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements [2020-09-24T22:51:19.603Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-24T22:51:19.603Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-24T22:51:19.603Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.008s coverage: 9.4% of statements [2020-09-24T22:51:19.603Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.985s coverage: 75.0% of statements [2020-09-24T22:51:19.603Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.015s coverage: 89.7% of statements [2020-09-24T22:51:19.603Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements [2020-09-24T22:51:19.603Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.097s coverage: 80.5% of statements [2020-09-24T22:51:21.142Z] 8529a6b9a6be: Pull complete [2020-09-24T22:51:21.142Z] 45590311c82a: Pull complete [2020-09-24T22:51:21.142Z] 69ca0ff8b7b3: Pull complete [2020-09-24T22:51:25.484Z] 209524e5b208: Pull complete [2020-09-24T22:51:25.484Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-24T22:51:25.484Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-24T22:51:25.484Z] ---> 5bddaf1c2fca [2020-09-24T22:51:25.484Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-24T22:51:25.484Z] latest: Pulling from library/docker [2020-09-24T22:51:25.484Z] b538f80385f9: Already exists [2020-09-24T22:51:25.763Z] 259a493cd78d: Pulling fs layer [2020-09-24T22:51:25.763Z] b8e66b5100f5: Pulling fs layer [2020-09-24T22:51:25.763Z] 7f8258a56ab6: Pulling fs layer [2020-09-24T22:51:25.763Z] 75a0a0ebb566: Pulling fs layer [2020-09-24T22:51:25.764Z] 4a2c62f0a2a3: Pulling fs layer [2020-09-24T22:51:25.764Z] 294320357d30: Pulling fs layer [2020-09-24T22:51:25.764Z] 75a0a0ebb566: Waiting [2020-09-24T22:51:25.764Z] 4a2c62f0a2a3: Waiting [2020-09-24T22:51:25.764Z] 294320357d30: Waiting [2020-09-24T22:51:25.764Z] b8e66b5100f5: Verifying Checksum [2020-09-24T22:51:25.764Z] b8e66b5100f5: Download complete [2020-09-24T22:51:25.764Z] 259a493cd78d: Verifying Checksum [2020-09-24T22:51:25.764Z] 259a493cd78d: Download complete [2020-09-24T22:51:25.764Z] 75a0a0ebb566: Verifying Checksum [2020-09-24T22:51:25.764Z] 75a0a0ebb566: Download complete [2020-09-24T22:51:26.044Z] 4a2c62f0a2a3: Verifying Checksum [2020-09-24T22:51:26.044Z] 4a2c62f0a2a3: Download complete [2020-09-24T22:51:26.044Z] 294320357d30: Verifying Checksum [2020-09-24T22:51:26.044Z] 294320357d30: Download complete [2020-09-24T22:51:26.650Z] 259a493cd78d: Pull complete [2020-09-24T22:51:26.933Z] b8e66b5100f5: Pull complete [2020-09-24T22:51:27.209Z] 7f8258a56ab6: Verifying Checksum [2020-09-24T22:51:27.209Z] 7f8258a56ab6: Download complete [2020-09-24T22:51:30.610Z] 7f8258a56ab6: Pull complete [2020-09-24T22:51:30.610Z] 75a0a0ebb566: Pull complete [2020-09-24T22:51:30.885Z] 4a2c62f0a2a3: Pull complete [2020-09-24T22:51:31.162Z] 294320357d30: Pull complete [2020-09-24T22:51:31.162Z] Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 [2020-09-24T22:51:31.162Z] Status: Downloaded newer image for docker:latest [2020-09-24T22:51:37.764Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.406s coverage: 71.6% of statements [2020-09-24T22:51:37.764Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-09-24T22:51:37.764Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-24T22:51:37.919Z] ---> 35b44b73dba1 [2020-09-24T22:51:37.919Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-24T22:51:37.920Z] ---> Running in 6ad1c49783d7 [2020-09-24T22:51:38.203Z] Removing intermediate container 6ad1c49783d7 [2020-09-24T22:51:38.203Z] ---> ad50c83b80b3 [2020-09-24T22:51:38.203Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-24T22:51:38.488Z] ---> Running in 1b61eeb275fc [2020-09-24T22:51:40.365Z] gofmt -l . [2020-09-24T22:51:40.365Z] [ "`gofmt -l .`" = "" ] [2020-09-24T22:51:40.365Z] ./bin/test-go-mod-tidy.sh [2020-09-24T22:51:40.493Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] stash [2020-09-24T22:51:41.364Z] Stashed 1 file(s) [Pipeline] } [2020-09-24T22:51:41.391Z] $ docker stop --time=1 53e53e91e8e5fdbabc7eb68ee1ad2c7735892a4d8914273e3f5c04b4cc5eae1e [2020-09-24T22:51:41.940Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-24T22:51:42.920Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-24T22:51:43.070Z] $ docker rm -f 53e53e91e8e5fdbabc7eb68ee1ad2c7735892a4d8914273e3f5c04b4cc5eae1e [2020-09-24T22:51:43.194Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-24T22:51:43.470Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-24T22:51:43.470Z] (4/5) Installing libsodium-dev (1.0.18-r0) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-09-24T22:51:43.752Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-24T22:51:43.752Z] Executing busybox-1.31.1-r16.trigger [2020-09-24T22:51:43.752Z] OK: 144 MiB in 44 packages [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] } [2020-09-24T22:51:45.202Z] Removing intermediate container 1b61eeb275fc [2020-09-24T22:51:45.202Z] ---> e3612c19fb7a [2020-09-24T22:51:45.202Z] Step 6/8 : WORKDIR /build [Pipeline] // ws [Pipeline] } [2020-09-24T22:51:45.482Z] ---> Running in e6e563ec7c2e [Pipeline] // node [Pipeline] } [2020-09-24T22:51:45.761Z] Removing intermediate container e6e563ec7c2e [2020-09-24T22:51:45.761Z] ---> 93ca04c67a86 [2020-09-24T22:51:45.761Z] Step 7/8 : COPY go.mod . [Pipeline] // stage [Pipeline] } [2020-09-24T22:51:46.755Z] ---> b2edde3a421a [2020-09-24T22:51:46.755Z] Step 8/8 : RUN go mod download [2020-09-24T22:51:46.755Z] ---> Running in 035d0c7b74e3 [2020-09-24T22:52:43.351Z] Removing intermediate container 035d0c7b74e3 [2020-09-24T22:52:43.351Z] ---> 274e39f0e62f [2020-09-24T22:52:43.351Z] Successfully built 274e39f0e62f [2020-09-24T22:52:43.351Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:52:43.814Z] + docker inspect -f . ci-base-image-arm64 [2020-09-24T22:52:43.814Z] . [Pipeline] withDockerContainer [2020-09-24T22:52:44.144Z] prd-ubuntu18.04-docker-arm64-4c-16g-1369 does not seem to be running inside a container [2020-09-24T22:52:44.259Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-arm64 cat [2020-09-24T22:52:46.304Z] $ docker top 1bb306a1175c53baa75c2dae66f1ce7be573dea4ef02ee2b22dd8e94ed4bb355 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T22:52:47.798Z] + go version [2020-09-24T22:52:47.798Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-24T22:52:47.840Z] $ docker stop --time=1 1bb306a1175c53baa75c2dae66f1ce7be573dea4ef02ee2b22dd8e94ed4bb355 [2020-09-24T22:52:49.797Z] $ docker rm -f 1bb306a1175c53baa75c2dae66f1ce7be573dea4ef02ee2b22dd8e94ed4bb355 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:52:51.294Z] + docker inspect -f . ci-base-image-arm64 [2020-09-24T22:52:51.294Z] . [Pipeline] withDockerContainer [2020-09-24T22:52:51.595Z] prd-ubuntu18.04-docker-arm64-4c-16g-1369 does not seem to be running inside a container [2020-09-24T22:52:51.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-arm64 cat [2020-09-24T22:52:53.763Z] $ docker top d663a6e195222caf1234ff6b42b2b2febddda174ce8ed04e7f7be11b38ac13cc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T22:52:55.397Z] + make test [2020-09-24T22:52:55.397Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-24T22:52:58.111Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-24T22:53:20.350Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.118s coverage: 86.2% of statements [2020-09-24T22:54:17.125Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.074s coverage: 56.0% of statements [2020-09-24T22:54:17.125Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-24T22:54:17.125Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-24T22:54:17.125Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.076s coverage: 53.5% of statements [2020-09-24T22:54:17.125Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-24T22:54:17.125Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.344s coverage: 69.1% of statements [2020-09-24T22:54:22.568Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.568s coverage: 61.6% of statements [2020-09-24T22:54:22.568Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.012s coverage: 89.5% of statements [2020-09-24T22:54:22.568Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.011s coverage: 100.0% of statements [2020-09-24T22:54:22.568Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.129s coverage: 100.0% of statements [2020-09-24T22:54:22.568Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.019s coverage: 100.0% of statements [2020-09-24T22:54:22.568Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements [2020-09-24T22:54:22.568Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-24T22:54:22.568Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-24T22:54:22.568Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-24T22:54:22.568Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-24T22:54:22.568Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-24T22:54:22.568Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-24T22:54:22.568Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-24T22:54:22.568Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.022s coverage: 96.6% of statements [2020-09-24T22:54:22.568Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-24T22:54:22.568Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.012s coverage: 97.7% of statements [2020-09-24T22:54:22.568Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-24T22:54:22.568Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-24T22:54:22.568Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.024s coverage: 9.4% of statements [2020-09-24T22:54:29.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.053s coverage: 75.0% of statements [2020-09-24T22:54:29.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.039s coverage: 89.7% of statements [2020-09-24T22:54:29.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.028s coverage: 88.9% of statements [2020-09-24T22:54:29.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.175s coverage: 80.5% of statements [2020-09-24T22:54:51.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.911s coverage: 71.6% of statements [2020-09-24T22:54:51.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.018s coverage: 94.4% of statements [2020-09-24T22:54:51.454Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-24T22:55:06.560Z] gofmt -l . [2020-09-24T22:55:06.560Z] [ "`gofmt -l .`" = "" ] [2020-09-24T22:55:06.837Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-24T22:55:07.476Z] Warning: overwriting stash ‘coverage-report’ [2020-09-24T22:55:08.255Z] Stashed 1 file(s) [Pipeline] } [2020-09-24T22:55:08.268Z] $ docker stop --time=1 d663a6e195222caf1234ff6b42b2b2febddda174ce8ed04e7f7be11b38ac13cc [2020-09-24T22:55:10.513Z] $ docker rm -f d663a6e195222caf1234ff6b42b2b2febddda174ce8ed04e7f7be11b38ac13cc [Pipeline] // withDockerContainer [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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-24T22:55:13.978Z] provisioning config files... [2020-09-24T22:55:13.994Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-507@tmp/config3878922597375155278tmp [Pipeline] { [Pipeline] sh [2020-09-24T22:55:14.505Z] + curl -s https://codecov.io/bash [2020-09-24T22:55:14.505Z] + bash -s - -t @/w/workspace/ndry_app-functions-sdk-go_PR-507@tmp/config3878922597375155278tmp [Pipeline] } [2020-09-24T22:55:14.801Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair 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-09-24T22:55:20.880Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-24T22:55:21.768Z] ---> package-listing.sh [2020-09-24T22:55:21.768Z] ++ facter osfamily [2020-09-24T22:55:21.768Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-24T22:55:21.768Z] + OS_FAMILY=redhat [2020-09-24T22:55:21.768Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-507 [2020-09-24T22:55:21.768Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-24T22:55:21.768Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-24T22:55:21.768Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-24T22:55:21.768Z] + PACKAGES=/tmp/packages_start.txt [2020-09-24T22:55:21.768Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-507 ']' [2020-09-24T22:55:21.768Z] + PACKAGES=/tmp/packages_end.txt [2020-09-24T22:55:21.768Z] + case "${OS_FAMILY}" in [2020-09-24T22:55:21.768Z] + rpm -qa [2020-09-24T22:55:21.768Z] + sort [2020-09-24T22:55:26.102Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-24T22:55:26.102Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-24T22:55:26.102Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-24T22:55:26.102Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-507 ']' [2020-09-24T22:55:26.102Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-507/archives/ [2020-09-24T22:55:26.102Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-507/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:55:26.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-24T22:55:26.747Z] [2020-09-24T22:55:26.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:55:27.187Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-24T22:55:27.187Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-24T22:55:27.187Z] df20fa9351a1: Pulling fs layer [2020-09-24T22:55:27.187Z] 36b3adc4ff6f: Pulling fs layer [2020-09-24T22:55:27.187Z] 8ad3a11d3b57: Pulling fs layer [2020-09-24T22:55:27.187Z] 46f8f816bc3b: Pulling fs layer [2020-09-24T22:55:27.187Z] 0dadc02b9964: Pulling fs layer [2020-09-24T22:55:27.187Z] ce6a7cf60c04: Pulling fs layer [2020-09-24T22:55:27.187Z] 7a184a31f384: Pulling fs layer [2020-09-24T22:55:27.187Z] 0879bd2ef858: Pulling fs layer [2020-09-24T22:55:27.187Z] 46f8f816bc3b: Waiting [2020-09-24T22:55:27.187Z] 0dadc02b9964: Waiting [2020-09-24T22:55:27.187Z] ce6a7cf60c04: Waiting [2020-09-24T22:55:27.187Z] 7a184a31f384: Waiting [2020-09-24T22:55:27.187Z] 0879bd2ef858: Waiting [2020-09-24T22:55:27.507Z] 36b3adc4ff6f: Verifying Checksum [2020-09-24T22:55:27.507Z] 36b3adc4ff6f: Download complete [2020-09-24T22:55:27.507Z] 46f8f816bc3b: Verifying Checksum [2020-09-24T22:55:27.507Z] 46f8f816bc3b: Download complete [2020-09-24T22:55:27.507Z] df20fa9351a1: Verifying Checksum [2020-09-24T22:55:27.507Z] df20fa9351a1: Download complete [2020-09-24T22:55:27.507Z] ce6a7cf60c04: Verifying Checksum [2020-09-24T22:55:27.507Z] ce6a7cf60c04: Download complete [2020-09-24T22:55:27.813Z] 7a184a31f384: Verifying Checksum [2020-09-24T22:55:27.813Z] 7a184a31f384: Download complete [2020-09-24T22:55:27.813Z] 0dadc02b9964: Verifying Checksum [2020-09-24T22:55:27.813Z] 0dadc02b9964: Download complete [2020-09-24T22:55:28.162Z] 8ad3a11d3b57: Verifying Checksum [2020-09-24T22:55:28.162Z] 8ad3a11d3b57: Download complete [2020-09-24T22:55:28.162Z] df20fa9351a1: Pull complete [2020-09-24T22:55:28.535Z] 36b3adc4ff6f: Pull complete [2020-09-24T22:55:29.629Z] 0879bd2ef858: Verifying Checksum [2020-09-24T22:55:29.629Z] 0879bd2ef858: Download complete [2020-09-24T22:55:29.949Z] 8ad3a11d3b57: Pull complete [2020-09-24T22:55:29.949Z] 46f8f816bc3b: Pull complete [2020-09-24T22:55:30.566Z] 0dadc02b9964: Pull complete [2020-09-24T22:55:30.879Z] ce6a7cf60c04: Pull complete [2020-09-24T22:55:30.879Z] 7a184a31f384: Pull complete [2020-09-24T22:55:34.371Z] 0879bd2ef858: Pull complete [2020-09-24T22:55:34.371Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-24T22:55:34.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-24T22:55:34.371Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-24T22:55:34.746Z] prd-centos7-docker-4c-2g-1355 does not seem to be running inside a container [2020-09-24T22:55:34.902Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/ndry_app-functions-sdk-go_PR-507 -v /w/workspace/ndry_app-functions-sdk-go_PR-507:/w/workspace/ndry_app-functions-sdk-go_PR-507:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-507@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-507@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-24T22:55:38.526Z] $ docker top 721b0440191c712cdc51199b4eb0727d08721de0bcf2a2a3c4f89eb18a14d697 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T22:55:39.427Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-24T22:55:39.838Z] + ls /var/log/sa-host [2020-09-24T22:55:39.838Z] + sadf -c /var/log/sa-host/sa05 [2020-09-24T22:55:39.838Z] file_magic: OK [2020-09-24T22:55:39.838Z] HZ: Using current value: 100 [2020-09-24T22:55:39.838Z] file_header: OK [2020-09-24T22:55:39.838Z] 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-09-24T22:55:39.838Z] Statistics: [2020-09-24T22:55:39.838Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-24T22:55:39.838Z] File successfully converted to sysstat format version 12.2.1 [2020-09-24T22:55:39.838Z] + sadf -c /var/log/sa-host/sa24 [2020-09-24T22:55:39.838Z] file_magic: OK [2020-09-24T22:55:39.838Z] HZ: Using current value: 100 [2020-09-24T22:55:39.838Z] file_header: OK [2020-09-24T22:55:39.838Z] 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-09-24T22:55:39.838Z] Statistics: [2020-09-24T22:55:39.838Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-24T22:55:39.838Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-24T22:55:40.060Z] provisioning config files... [2020-09-24T22:55:40.080Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-507@tmp/config2747805946569703328tmp [Pipeline] { [Pipeline] echo [2020-09-24T22:55:40.238Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-24T22:55:40.630Z] ---> create-netrc.sh [Pipeline] echo [2020-09-24T22:55:40.726Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-24T22:55:41.336Z] ---> logs-deploy.sh [2020-09-24T22:55:41.337Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-507/1 [2020-09-24T22:55:41.337Z] INFO: archiving workspace using pattern(s): [2020-09-24T22:55:44.254Z] Archives upload complete. [2020-09-24T22:55:44.254Z] INFO: archiving logs to Nexus