Pull request #490 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b90e82a6d6f7155a6ab82eb281f07467a9b4d780+6f19a0cc372da972f896d81446be19c81c22f58c (cc484fd9ea00139fd4a2f6ed522c6179f5e9f91b) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-40 in /w/workspace/ndry_app-functions-sdk-go_PR-490 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-490 # 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 --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/490/head:refs/remotes/origin/PR-490 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 6f19a0cc372da972f896d81446be19c81c22f58c into PR head commit b90e82a6d6f7155a6ab82eb281f07467a9b4d780 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/490/head:refs/remotes/origin/PR-490 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/490/head:refs/remotes/origin/PR-490 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing b90e82a6d6f7155a6ab82eb281f07467a9b4d780 Checking out Revision b90e82a6d6f7155a6ab82eb281f07467a9b4d780 (PR-490) > git config core.sparsecheckout # timeout=10 > git checkout -f b90e82a6d6f7155a6ab82eb281f07467a9b4d780 # 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 6f19a0cc372da972f896d81446be19c81c22f58c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b90e82a6d6f7155a6ab82eb281f07467a9b4d780 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging" First time build. Skipping changelog. > git rev-list --no-walk a4988a67590120db64dd0ef5466f9715e3c00794 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-16T22:35:53.720Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-16T22:35:53.955Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-16T22:35:54.060Z] ========================================================= [2020-09-16T22:35:54.060Z] EdgeX Global Pipelines Version Info [2020-09-16T22:35:54.060Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-16T22:35:56.096Z] ------------------- [2020-09-16T22:35:56.096Z] stable info: [2020-09-16T22:35:56.096Z] ------------------- [2020-09-16T22:35:56.096Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-16T22:35:56.096Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-16T22:35:56.096Z] Message: update stable to v1.0.122 [2020-09-16T22:35:57.044Z] ------------------- [2020-09-16T22:35:57.044Z] experimental info: [2020-09-16T22:35:57.044Z] ------------------- [2020-09-16T22:35:57.044Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-16T22:35:57.044Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-16T22:35:57.044Z] Message: update experimental to v1.0.122 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-16T22:35:57.430Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-16T22:35:57.537Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-16T22:35:57.637Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-16T22:35:57.743Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-16T22:35:57.849Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-16T22:35:57.963Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-16T22:35:58.071Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-16T22:35:58.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-16T22:35:58.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-16T22:35:58.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-16T22:35:58.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-16T22:35:58.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-16T22:35:58.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-16T22:35:58.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-16T22:35:58.861Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T22:35:58.966Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T22:35:59.062Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T22:35:59.154Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T22:35:59.261Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-16T22:35:59.360Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-16T22:35:59.460Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-16T22:35:59.562Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-16T22:35:59.662Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-490 [Pipeline] echo [2020-09-16T22:35:59.760Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-490 [Pipeline] echo [2020-09-16T22:35:59.861Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-490 [Pipeline] echo [2020-09-16T22:36:00.011Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b90e82a6d6f7155a6ab82eb281f07467a9b4d780 [Pipeline] echo [2020-09-16T22:36:00.148Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b90e82a [Pipeline] echo [2020-09-16T22:36:00.337Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-16T22:36:01.026Z] + git log --format=format:%s -1 b90e82a6d6f7155a6ab82eb281f07467a9b4d780 [Pipeline] echo [2020-09-16T22:36:01.083Z] GIT_COMMIT: b90e82a6d6f7155a6ab82eb281f07467a9b4d780, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging [Pipeline] echo [2020-09-16T22:36:01.132Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:36:01.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T22:36:01.716Z] [2020-09-16T22:36:01.716Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:36:02.342Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T22:36:02.342Z] latest: Pulling from edgex-devops/git-semver [2020-09-16T22:36:02.342Z] 31603596830f: Pulling fs layer [2020-09-16T22:36:02.342Z] 2a8b12db71e7: Pulling fs layer [2020-09-16T22:36:02.342Z] 6ca5941a6612: Pulling fs layer [2020-09-16T22:36:02.342Z] ecc8261a40a4: Pulling fs layer [2020-09-16T22:36:02.342Z] ecc8261a40a4: Waiting [2020-09-16T22:36:02.342Z] 2a8b12db71e7: Verifying Checksum [2020-09-16T22:36:02.342Z] 2a8b12db71e7: Download complete [2020-09-16T22:36:02.607Z] 31603596830f: Verifying Checksum [2020-09-16T22:36:02.607Z] 31603596830f: Download complete [2020-09-16T22:36:02.607Z] ecc8261a40a4: Verifying Checksum [2020-09-16T22:36:02.607Z] ecc8261a40a4: Download complete [2020-09-16T22:36:02.607Z] 6ca5941a6612: Verifying Checksum [2020-09-16T22:36:02.607Z] 6ca5941a6612: Download complete [2020-09-16T22:36:02.868Z] 31603596830f: Pull complete [2020-09-16T22:36:02.868Z] 2a8b12db71e7: Pull complete [2020-09-16T22:36:03.829Z] 6ca5941a6612: Pull complete [2020-09-16T22:36:03.829Z] ecc8261a40a4: Pull complete [2020-09-16T22:36:03.829Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-16T22:36:03.829Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T22:36:03.829Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-16T22:36:03.929Z] prd-centos7-docker-4c-2g-40 does not seem to be running inside a container [2020-09-16T22:36:03.976Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-490 -v /w/workspace/ndry_app-functions-sdk-go_PR-490:/w/workspace/ndry_app-functions-sdk-go_PR-490:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-490@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-490@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-16T22:36:05.998Z] $ docker top 20e15dfe6c1853d9c8aa12596867f412c73ddafe8ec02fea114c6f94f816f1ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-16T22:36:06.414Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-16T22:36:06.414Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-16T22:36:06.616Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-16T22:36:06.622Z] $ docker exec 20e15dfe6c1853d9c8aa12596867f412c73ddafe8ec02fea114c6f94f816f1ee ssh-agent [2020-09-16T22:36:06.780Z] SSH_AUTH_SOCK=/tmp/ssh-ODLf9WWqZjp9/agent.12 [2020-09-16T22:36:06.780Z] SSH_AGENT_PID=17 [2020-09-16T22:36:06.793Z] Running ssh-add (command line suppressed) [2020-09-16T22:36:06.911Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-490@tmp/private_key_8703085665848887600.key (/w/workspace/ndry_app-functions-sdk-go_PR-490@tmp/private_key_8703085665848887600.key) [2020-09-16T22:36:06.958Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-16T22:36:07.294Z] + git describe --exact-match --tags HEAD [2020-09-16T22:36:07.295Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-16T22:36:07.316Z] $ docker exec --env ******** --env ******** 20e15dfe6c1853d9c8aa12596867f412c73ddafe8ec02fea114c6f94f816f1ee ssh-agent -k [2020-09-16T22:36:07.428Z] unset SSH_AUTH_SOCK; [2020-09-16T22:36:07.429Z] unset SSH_AGENT_PID; [2020-09-16T22:36:07.429Z] echo Agent pid 17 killed; [2020-09-16T22:36:07.480Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-16T22:36:07.591Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-16T22:36:07.591Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-16T22:36:07.707Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-16T22:36:07.707Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-16T22:36:07.871Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-16T22:36:07.876Z] $ docker exec 20e15dfe6c1853d9c8aa12596867f412c73ddafe8ec02fea114c6f94f816f1ee ssh-agent [2020-09-16T22:36:08.024Z] SSH_AUTH_SOCK=/tmp/ssh-uF7XLoXVuPtY/agent.46 [2020-09-16T22:36:08.024Z] SSH_AGENT_PID=51 [2020-09-16T22:36:08.030Z] Running ssh-add (command line suppressed) [2020-09-16T22:36:08.146Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-490@tmp/private_key_4344093979749347443.key (/w/workspace/ndry_app-functions-sdk-go_PR-490@tmp/private_key_4344093979749347443.key) [2020-09-16T22:36:08.191Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-16T22:36:08.529Z] + git semver init [2020-09-16T22:36:08.529Z] # -> Open(): unable to determine branch for HEAD [2020-09-16T22:36:08.529Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-490/.git [2020-09-16T22:36:08.529Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-490 [2020-09-16T22:36:08.529Z] # $SEMVER_REMOTE_NAME = origin [2020-09-16T22:36:08.529Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-16T22:36:08.529Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-16T22:36:08.529Z] # $SEMVER_BRANCH = PR-490 [2020-09-16T22:36:08.529Z] # $SEMVER_TEMP = /tmp/semver-074872147 [2020-09-16T22:36:08.529Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-16T22:37:45.085Z] # '/tmp/semver-074872147' -> '/w/workspace/ndry_app-functions-sdk-go_PR-490/.semver' [2020-09-16T22:37:45.085Z] # -> Force: false [2020-09-16T22:37:45.085Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-490/.semver [Pipeline] } [2020-09-16T22:37:45.100Z] $ docker exec --env ******** --env ******** 20e15dfe6c1853d9c8aa12596867f412c73ddafe8ec02fea114c6f94f816f1ee ssh-agent -k [2020-09-16T22:37:45.287Z] unset SSH_AUTH_SOCK; [2020-09-16T22:37:45.288Z] unset SSH_AGENT_PID; [2020-09-16T22:37:45.288Z] echo Agent pid 51 killed; [2020-09-16T22:37:45.365Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-16T22:37:45.898Z] + git semver [Pipeline] } [2020-09-16T22:37:45.917Z] $ docker stop --time=1 20e15dfe6c1853d9c8aa12596867f412c73ddafe8ec02fea114c6f94f816f1ee [2020-09-16T22:37:47.549Z] $ docker rm -f 20e15dfe6c1853d9c8aa12596867f412c73ddafe8ec02fea114c6f94f816f1ee [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-16T22:37:49.948Z] Stashed 43 file(s) [Pipeline] echo [2020-09-16T22:37:49.951Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-16T22:37:50.079Z] 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-16T22:38:05.977Z] Still waiting to schedule task [2020-09-16T22:38:05.977Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-16T22:38:05.980Z] Still waiting to schedule task [2020-09-16T22:38:05.980Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-09-16T22:40:13.275Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-51 in /w/workspace/ndry_app-functions-sdk-go_PR-490 [Pipeline] { [Pipeline] ws [2020-09-16T22:40:13.396Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-09-16T22:40:18.627Z] using credential edgex-jenkins-ssh [2020-09-16T22:40:18.684Z] Cloning the remote Git repository [2020-09-16T22:40:18.685Z] Cloning with configured refspecs honoured and without tags [2020-09-16T22:40:18.743Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:40:18.872Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2020-09-16T22:40:18.945Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:40:18.946Z] > git --version # timeout=10 [2020-09-16T22:40:18.971Z] > git --version # 'git version 2.17.1' [2020-09-16T22:40:18.974Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:40:19.039Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/490/head:refs/remotes/origin/PR-490 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:40:22.226Z] Fetching without tags [2020-09-16T22:40:22.129Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T22:40:22.143Z] > git config --add remote.origin.fetch +refs/pull/490/head:refs/remotes/origin/PR-490 # timeout=10 [2020-09-16T22:40:22.166Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:40:22.203Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T22:40:22.230Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:40:22.231Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:40:22.242Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/490/head:refs/remotes/origin/PR-490 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:40:22.762Z] Merging remotes/origin/master commit 6f19a0cc372da972f896d81446be19c81c22f58c into PR head commit b90e82a6d6f7155a6ab82eb281f07467a9b4d780 [2020-09-16T22:40:23.016Z] Merge succeeded, producing b90e82a6d6f7155a6ab82eb281f07467a9b4d780 [2020-09-16T22:40:23.017Z] Checking out Revision b90e82a6d6f7155a6ab82eb281f07467a9b4d780 (PR-490) [2020-09-16T22:40:22.775Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T22:40:22.797Z] > git checkout -f b90e82a6d6f7155a6ab82eb281f07467a9b4d780 # timeout=10 [2020-09-16T22:40:22.916Z] > git remote # timeout=10 [2020-09-16T22:40:22.935Z] > git config --get remote.origin.url # timeout=10 [2020-09-16T22:40:22.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:40:22.969Z] > git merge 6f19a0cc372da972f896d81446be19c81c22f58c # timeout=10 [2020-09-16T22:40:22.994Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-16T22:40:23.019Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T22:40:23.030Z] > git checkout -f b90e82a6d6f7155a6ab82eb281f07467a9b4d780 # timeout=10 [2020-09-16T22:40:27.520Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-16T22:40:30.821Z] ========================================================= [2020-09-16T22:40:30.821Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-16T22:40:30.821Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:40:31.929Z] + 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-16T22:40:33.379Z] Sending build context to Docker daemon 37.16MB [2020-09-16T22:40:33.379Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-16T22:40:33.379Z] Step 2/8 : FROM ${BASE} [2020-09-16T22:40:33.379Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-16T22:40:33.379Z] b538f80385f9: Pulling fs layer [2020-09-16T22:40:33.379Z] 74f711af9a0d: Pulling fs layer [2020-09-16T22:40:33.379Z] 99f96fe45779: Pulling fs layer [2020-09-16T22:40:33.379Z] 8529a6b9a6be: Pulling fs layer [2020-09-16T22:40:33.379Z] 45590311c82a: Pulling fs layer [2020-09-16T22:40:33.379Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-16T22:40:33.379Z] 209524e5b208: Pulling fs layer [2020-09-16T22:40:33.379Z] 8529a6b9a6be: Waiting [2020-09-16T22:40:33.379Z] 45590311c82a: Waiting [2020-09-16T22:40:33.379Z] 69ca0ff8b7b3: Waiting [2020-09-16T22:40:33.379Z] 209524e5b208: Waiting [2020-09-16T22:40:33.654Z] 99f96fe45779: Download complete [2020-09-16T22:40:33.654Z] 74f711af9a0d: Download complete [2020-09-16T22:40:33.654Z] 45590311c82a: Verifying Checksum [2020-09-16T22:40:33.654Z] 45590311c82a: Download complete [2020-09-16T22:40:33.934Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-16T22:40:33.934Z] 69ca0ff8b7b3: Download complete [2020-09-16T22:40:34.215Z] b538f80385f9: Verifying Checksum [2020-09-16T22:40:34.215Z] b538f80385f9: Download complete [2020-09-16T22:40:34.815Z] b538f80385f9: Pull complete [2020-09-16T22:40:35.419Z] 74f711af9a0d: Pull complete [2020-09-16T22:40:36.026Z] 99f96fe45779: Pull complete [2020-09-16T22:40:37.016Z] 209524e5b208: Verifying Checksum [2020-09-16T22:40:37.017Z] 209524e5b208: Download complete [2020-09-16T22:40:38.003Z] 8529a6b9a6be: Verifying Checksum [2020-09-16T22:40:38.003Z] 8529a6b9a6be: Download complete [2020-09-16T22:40:48.183Z] 8529a6b9a6be: Pull complete [2020-09-16T22:40:48.183Z] 45590311c82a: Pull complete [2020-09-16T22:40:48.183Z] 69ca0ff8b7b3: Pull complete [2020-09-16T22:40:51.605Z] 209524e5b208: Pull complete [2020-09-16T22:40:51.605Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-16T22:40:51.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-16T22:40:51.605Z] ---> 5bddaf1c2fca [2020-09-16T22:40:51.605Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-16T22:40:51.875Z] latest: Pulling from library/docker [2020-09-16T22:40:52.153Z] b538f80385f9: Already exists [2020-09-16T22:40:52.153Z] 259a493cd78d: Pulling fs layer [2020-09-16T22:40:52.153Z] b8e66b5100f5: Pulling fs layer [2020-09-16T22:40:52.153Z] 39dc9c94d07c: Pulling fs layer [2020-09-16T22:40:52.153Z] 551b823b3b82: Pulling fs layer [2020-09-16T22:40:52.153Z] 3c52a74df98c: Pulling fs layer [2020-09-16T22:40:52.153Z] 6c9b121b6998: Pulling fs layer [2020-09-16T22:40:52.153Z] 3c52a74df98c: Waiting [2020-09-16T22:40:52.153Z] 6c9b121b6998: Waiting [2020-09-16T22:40:52.153Z] 551b823b3b82: Waiting [2020-09-16T22:40:52.153Z] b8e66b5100f5: Verifying Checksum [2020-09-16T22:40:52.153Z] b8e66b5100f5: Download complete [2020-09-16T22:40:52.433Z] 259a493cd78d: Verifying Checksum [2020-09-16T22:40:52.433Z] 259a493cd78d: Download complete [2020-09-16T22:40:52.433Z] 551b823b3b82: Verifying Checksum [2020-09-16T22:40:52.433Z] 551b823b3b82: Download complete [2020-09-16T22:40:52.433Z] 3c52a74df98c: Verifying Checksum [2020-09-16T22:40:52.433Z] 3c52a74df98c: Download complete [2020-09-16T22:40:52.433Z] 6c9b121b6998: Verifying Checksum [2020-09-16T22:40:52.433Z] 6c9b121b6998: Download complete [2020-09-16T22:40:53.421Z] 259a493cd78d: Pull complete [2020-09-16T22:40:53.698Z] b8e66b5100f5: Pull complete [2020-09-16T22:40:53.698Z] 39dc9c94d07c: Verifying Checksum [2020-09-16T22:40:53.698Z] 39dc9c94d07c: Download complete [2020-09-16T22:40:57.109Z] 39dc9c94d07c: Pull complete [2020-09-16T22:40:57.109Z] 551b823b3b82: Pull complete [2020-09-16T22:40:57.385Z] 3c52a74df98c: Pull complete [2020-09-16T22:40:57.666Z] 6c9b121b6998: Pull complete [2020-09-16T22:40:57.666Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-16T22:40:57.666Z] Status: Downloaded newer image for docker:latest [2020-09-16T22:41:04.391Z] ---> 7ad50f5b9ec9 [2020-09-16T22:41:04.391Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-16T22:41:04.391Z] ---> Running in bb0d4e9817ea [2020-09-16T22:41:04.391Z] Removing intermediate container bb0d4e9817ea [2020-09-16T22:41:04.391Z] ---> a8a0d642622e [2020-09-16T22:41:04.391Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-16T22:41:04.391Z] ---> Running in b347e39cd446 [2020-09-16T22:41:06.364Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-16T22:41:06.956Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-16T22:41:07.550Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-16T22:41:07.819Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-16T22:41:08.092Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-16T22:41:08.092Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-16T22:41:08.092Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-16T22:41:08.366Z] Executing busybox-1.31.1-r16.trigger [2020-09-16T22:41:08.366Z] OK: 144 MiB in 44 packages [2020-09-16T22:41:09.343Z] Removing intermediate container b347e39cd446 [2020-09-16T22:41:09.343Z] ---> e738aa8661ce [2020-09-16T22:41:09.343Z] Step 6/8 : WORKDIR /build [2020-09-16T22:41:09.615Z] ---> Running in 4613a79fa4ae [2020-09-16T22:41:10.208Z] Removing intermediate container 4613a79fa4ae [2020-09-16T22:41:10.208Z] ---> 571d28d9b612 [2020-09-16T22:41:10.208Z] Step 7/8 : COPY go.mod . [2020-09-16T22:41:10.808Z] ---> adf47ff7d130 [2020-09-16T22:41:10.808Z] Step 8/8 : RUN go mod download [2020-09-16T22:41:10.808Z] ---> Running in 1bcd058528e0 [2020-09-16T22:41:13.963Z] Running on prd-centos7-docker-4c-2g-54 in /w/workspace/ndry_app-functions-sdk-go_PR-490 [Pipeline] { [Pipeline] ws [2020-09-16T22:41:14.018Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-09-16T22:41:22.498Z] using credential edgex-jenkins-ssh [2020-09-16T22:41:22.557Z] Cloning the remote Git repository [2020-09-16T22:41:22.557Z] Cloning with configured refspecs honoured and without tags [2020-09-16T22:41:22.675Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:41:22.765Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2020-09-16T22:41:22.840Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:41:22.841Z] > git --version # timeout=10 [2020-09-16T22:41:22.873Z] > git --version # 'git version 2.16.5' [2020-09-16T22:41:22.874Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:41:22.928Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/490/head:refs/remotes/origin/PR-490 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:41:24.960Z] Fetching without tags [2020-09-16T22:41:25.414Z] Merging remotes/origin/master commit 6f19a0cc372da972f896d81446be19c81c22f58c into PR head commit b90e82a6d6f7155a6ab82eb281f07467a9b4d780 [2020-09-16T22:41:25.637Z] Merge succeeded, producing b90e82a6d6f7155a6ab82eb281f07467a9b4d780 [2020-09-16T22:41:25.637Z] Checking out Revision b90e82a6d6f7155a6ab82eb281f07467a9b4d780 (PR-490) [2020-09-16T22:41:24.873Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T22:41:24.886Z] > git config --add remote.origin.fetch +refs/pull/490/head:refs/remotes/origin/PR-490 # timeout=10 [2020-09-16T22:41:24.909Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:41:24.952Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T22:41:24.971Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:41:24.972Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:41:24.982Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/490/head:refs/remotes/origin/PR-490 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:41:25.427Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T22:41:25.454Z] > git checkout -f b90e82a6d6f7155a6ab82eb281f07467a9b4d780 # timeout=10 [2020-09-16T22:41:25.528Z] > git remote # timeout=10 [2020-09-16T22:41:25.562Z] > git config --get remote.origin.url # timeout=10 [2020-09-16T22:41:25.576Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:41:25.582Z] > git merge 6f19a0cc372da972f896d81446be19c81c22f58c # timeout=10 [2020-09-16T22:41:25.622Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-16T22:41:25.645Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T22:41:25.695Z] > git checkout -f b90e82a6d6f7155a6ab82eb281f07467a9b4d780 # timeout=10 [2020-09-16T22:41:29.968Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-16T22:41:33.072Z] ========================================================= [2020-09-16T22:41:33.072Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-16T22:41:33.072Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:41:34.082Z] + 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-16T22:41:35.584Z] Sending build context to Docker daemon 37.16MB [2020-09-16T22:41:35.584Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-16T22:41:35.584Z] Step 2/8 : FROM ${BASE} [2020-09-16T22:41:35.854Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-16T22:41:35.854Z] df20fa9351a1: Pulling fs layer [2020-09-16T22:41:35.854Z] ed8968b2872e: Pulling fs layer [2020-09-16T22:41:35.854Z] a92cc7c5fd73: Pulling fs layer [2020-09-16T22:41:35.854Z] e871e8e8d7a9: Pulling fs layer [2020-09-16T22:41:35.854Z] e73272ec9a57: Pulling fs layer [2020-09-16T22:41:35.854Z] 1e910a182e73: Pulling fs layer [2020-09-16T22:41:35.854Z] e871e8e8d7a9: Waiting [2020-09-16T22:41:35.854Z] e73272ec9a57: Waiting [2020-09-16T22:41:35.854Z] 1e910a182e73: Waiting [2020-09-16T22:41:35.854Z] 4e634b169226: Pulling fs layer [2020-09-16T22:41:35.854Z] 4e634b169226: Waiting [2020-09-16T22:41:35.854Z] a92cc7c5fd73: Verifying Checksum [2020-09-16T22:41:35.854Z] a92cc7c5fd73: Download complete [2020-09-16T22:41:35.854Z] ed8968b2872e: Verifying Checksum [2020-09-16T22:41:35.854Z] ed8968b2872e: Download complete [2020-09-16T22:41:35.854Z] e73272ec9a57: Download complete [2020-09-16T22:41:36.503Z] 1e910a182e73: Verifying Checksum [2020-09-16T22:41:36.503Z] 1e910a182e73: Download complete [2020-09-16T22:41:37.285Z] df20fa9351a1: Verifying Checksum [2020-09-16T22:41:37.285Z] df20fa9351a1: Download complete [2020-09-16T22:41:37.906Z] df20fa9351a1: Pull complete [2020-09-16T22:41:39.103Z] ed8968b2872e: Pull complete [2020-09-16T22:41:39.384Z] a92cc7c5fd73: Pull complete [2020-09-16T22:41:41.376Z] 4e634b169226: Verifying Checksum [2020-09-16T22:41:41.376Z] 4e634b169226: Download complete [2020-09-16T22:41:41.995Z] e871e8e8d7a9: Verifying Checksum [2020-09-16T22:41:41.995Z] e871e8e8d7a9: Download complete [2020-09-16T22:41:43.206Z] Removing intermediate container 1bcd058528e0 [2020-09-16T22:41:43.206Z] ---> a8f4eed7cc30 [2020-09-16T22:41:43.206Z] Successfully built a8f4eed7cc30 [2020-09-16T22:41:43.206Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:41:43.618Z] + docker inspect -f . ci-base-image-arm64 [2020-09-16T22:41:43.618Z] . [Pipeline] withDockerContainer [2020-09-16T22:41:43.898Z] prd-ubuntu18.04-docker-arm64-4c-16g-51 does not seem to be running inside a container [2020-09-16T22:41:43.985Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** ci-base-image-arm64 cat [2020-09-16T22:41:45.869Z] $ docker top ee7f76cf84220d513ce24ff63f010af4559d00cbc5618c7cc9b56d1cbd00c159 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T22:41:47.283Z] + go version [2020-09-16T22:41:47.283Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-16T22:41:47.315Z] $ docker stop --time=1 ee7f76cf84220d513ce24ff63f010af4559d00cbc5618c7cc9b56d1cbd00c159 [2020-09-16T22:41:49.216Z] $ docker rm -f ee7f76cf84220d513ce24ff63f010af4559d00cbc5618c7cc9b56d1cbd00c159 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:41:50.314Z] + docker inspect -f . ci-base-image-arm64 [2020-09-16T22:41:50.314Z] . [Pipeline] withDockerContainer [2020-09-16T22:41:50.593Z] prd-ubuntu18.04-docker-arm64-4c-16g-51 does not seem to be running inside a container [2020-09-16T22:41:50.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** ci-base-image-arm64 cat [2020-09-16T22:41:52.222Z] e871e8e8d7a9: Pull complete [2020-09-16T22:41:52.223Z] e73272ec9a57: Pull complete [2020-09-16T22:41:52.223Z] 1e910a182e73: Pull complete [2020-09-16T22:41:52.525Z] $ docker top c78795a0c22dff0216f3b409a57eddf945b89b9e35ce245c65ed3ea80e34c3c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T22:41:54.000Z] + make test [2020-09-16T22:41:54.000Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-16T22:41:55.989Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-16T22:41:57.754Z] 4e634b169226: Pull complete [2020-09-16T22:41:57.754Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-16T22:41:57.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-16T22:41:57.754Z] ---> f7629b54cfaa [2020-09-16T22:41:57.754Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-16T22:41:58.423Z] latest: Pulling from library/docker [2020-09-16T22:41:58.423Z] df20fa9351a1: Already exists [2020-09-16T22:41:58.423Z] 25ad7478873d: Pulling fs layer [2020-09-16T22:41:58.423Z] 4684f6177b5d: Pulling fs layer [2020-09-16T22:41:58.423Z] 46e300cec669: Pulling fs layer [2020-09-16T22:41:58.423Z] 63038576ad94: Pulling fs layer [2020-09-16T22:41:58.423Z] 0fdb76c4706c: Pulling fs layer [2020-09-16T22:41:58.423Z] cb7edeffdfd5: Pulling fs layer [2020-09-16T22:41:58.423Z] 0fdb76c4706c: Waiting [2020-09-16T22:41:58.423Z] cb7edeffdfd5: Waiting [2020-09-16T22:41:58.423Z] 63038576ad94: Waiting [2020-09-16T22:41:58.768Z] 4684f6177b5d: Verifying Checksum [2020-09-16T22:41:58.768Z] 4684f6177b5d: Download complete [2020-09-16T22:41:58.768Z] 25ad7478873d: Verifying Checksum [2020-09-16T22:41:58.768Z] 25ad7478873d: Download complete [2020-09-16T22:41:59.113Z] 0fdb76c4706c: Download complete [2020-09-16T22:41:59.865Z] 25ad7478873d: Pull complete [2020-09-16T22:41:59.865Z] 63038576ad94: Verifying Checksum [2020-09-16T22:41:59.865Z] 63038576ad94: Download complete [2020-09-16T22:42:00.243Z] 4684f6177b5d: Pull complete [2020-09-16T22:42:00.530Z] 46e300cec669: Verifying Checksum [2020-09-16T22:42:00.530Z] 46e300cec669: Download complete [2020-09-16T22:42:04.859Z] 46e300cec669: Pull complete [2020-09-16T22:42:05.171Z] 63038576ad94: Pull complete [2020-09-16T22:42:05.171Z] 0fdb76c4706c: Pull complete [2020-09-16T22:42:05.482Z] cb7edeffdfd5: Pull complete [2020-09-16T22:42:05.482Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-16T22:42:05.482Z] Status: Downloaded newer image for docker:latest [2020-09-16T22:42:08.525Z] ---> 3d5c2a380cb8 [2020-09-16T22:42:08.525Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-16T22:42:08.525Z] ---> Running in 909e011c669b [2020-09-16T22:42:08.525Z] Removing intermediate container 909e011c669b [2020-09-16T22:42:08.525Z] ---> fab33d95c5d6 [2020-09-16T22:42:08.525Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-16T22:42:08.525Z] ---> Running in cb4d28d7c455 [2020-09-16T22:42:09.628Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-16T22:42:10.633Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-16T22:42:10.919Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-16T22:42:11.186Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-16T22:42:11.463Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-16T22:42:11.463Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-16T22:42:11.759Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-16T22:42:11.759Z] Executing busybox-1.31.1-r16.trigger [2020-09-16T22:42:11.759Z] OK: 167 MiB in 44 packages [2020-09-16T22:42:12.366Z] Removing intermediate container cb4d28d7c455 [2020-09-16T22:42:12.366Z] ---> 4b6e23cc4bc6 [2020-09-16T22:42:12.366Z] Step 6/8 : WORKDIR /build [2020-09-16T22:42:12.366Z] ---> Running in 2bc9b09e711d [2020-09-16T22:42:12.676Z] Removing intermediate container 2bc9b09e711d [2020-09-16T22:42:12.676Z] ---> b774701ab3c4 [2020-09-16T22:42:12.676Z] Step 7/8 : COPY go.mod . [2020-09-16T22:42:13.333Z] ---> 3ef52e8775bc [2020-09-16T22:42:13.333Z] Step 8/8 : RUN go mod download [2020-09-16T22:42:13.333Z] ---> Running in 878e7d284864 [2020-09-16T22:42:18.232Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.106s coverage: 86.2% of statements [2020-09-16T22:42:45.913Z] Removing intermediate container 878e7d284864 [2020-09-16T22:42:45.913Z] ---> e6d4ab322bce [2020-09-16T22:42:45.913Z] Successfully built e6d4ab322bce [2020-09-16T22:42:45.913Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:42:46.578Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-16T22:42:46.871Z] . [Pipeline] withDockerContainer [2020-09-16T22:42:47.026Z] prd-centos7-docker-4c-2g-54 does not seem to be running inside a container [2020-09-16T22:42:47.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** ci-base-image-x86_64 cat [2020-09-16T22:42:48.011Z] $ docker top 1e631600a350e546783f0affd4a6f0d353b5cbdd6f881494acfbcd799fac3f4a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T22:42:48.646Z] + go version [2020-09-16T22:42:48.956Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-16T22:42:48.986Z] $ docker stop --time=1 1e631600a350e546783f0affd4a6f0d353b5cbdd6f881494acfbcd799fac3f4a [2020-09-16T22:42:51.064Z] $ docker rm -f 1e631600a350e546783f0affd4a6f0d353b5cbdd6f881494acfbcd799fac3f4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:42:52.083Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-16T22:42:52.083Z] . [Pipeline] withDockerContainer [2020-09-16T22:42:52.237Z] prd-centos7-docker-4c-2g-54 does not seem to be running inside a container [2020-09-16T22:42:52.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** ci-base-image-x86_64 cat [2020-09-16T22:42:53.270Z] $ docker top 16f5cffb4da8c0403bc4c80547b3e09ff05ad853b95cda95864d6a816abf38b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T22:42:53.853Z] + make test [2020-09-16T22:42:53.853Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-16T22:42:56.545Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-16T22:42:57.301Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.068s coverage: 56.1% of statements [2020-09-16T22:42:57.301Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-16T22:42:57.301Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-16T22:42:57.301Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.074s coverage: 53.5% of statements [2020-09-16T22:42:57.301Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-16T22:42:57.301Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.453s coverage: 69.1% of statements [2020-09-16T22:43:07.500Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.560s coverage: 61.6% of statements [2020-09-16T22:43:07.500Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.012s coverage: 89.5% of statements [2020-09-16T22:43:07.500Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.013s coverage: 100.0% of statements [2020-09-16T22:43:07.500Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.131s coverage: 100.0% of statements [2020-09-16T22:43:07.500Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements [2020-09-16T22:43:07.500Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.011s coverage: 100.0% of statements [2020-09-16T22:43:07.500Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-16T22:43:07.500Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-16T22:43:07.501Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-16T22:43:07.501Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-16T22:43:07.501Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-16T22:43:07.501Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-16T22:43:07.501Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-16T22:43:07.501Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.018s coverage: 96.6% of statements [2020-09-16T22:43:07.501Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-16T22:43:07.501Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.012s coverage: 97.7% of statements [2020-09-16T22:43:07.501Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-16T22:43:07.501Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-16T22:43:07.501Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.023s coverage: 9.4% of statements [2020-09-16T22:43:08.931Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.173s coverage: 75.0% of statements [2020-09-16T22:43:08.931Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.042s coverage: 89.3% of statements [2020-09-16T22:43:08.931Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.029s coverage: 88.9% of statements [2020-09-16T22:43:08.931Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.249s coverage: 80.0% of statements [2020-09-16T22:43:09.286Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.132s coverage: 86.2% of statements [2020-09-16T22:43:32.318Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.130s coverage: 56.1% of statements [2020-09-16T22:43:32.318Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-16T22:43:32.318Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-16T22:43:32.318Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.056s coverage: 53.5% of statements [2020-09-16T22:43:32.318Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-16T22:43:32.318Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.636s coverage: 69.1% of statements [2020-09-16T22:43:36.894Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.625s coverage: 71.6% of statements [2020-09-16T22:43:36.894Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.014s coverage: 94.4% of statements [2020-09-16T22:43:36.894Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-16T22:43:47.106Z] gofmt -l . [2020-09-16T22:43:47.106Z] [ "`gofmt -l .`" = "" ] [2020-09-16T22:43:47.106Z] ./bin/test-go-mod-tidy.sh [2020-09-16T22:43:47.735Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.542s coverage: 61.6% of statements [2020-09-16T22:43:47.735Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.008s coverage: 89.5% of statements [2020-09-16T22:43:47.735Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.013s coverage: 100.0% of statements [2020-09-16T22:43:47.735Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.104s coverage: 100.0% of statements [2020-09-16T22:43:47.735Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.006s coverage: 100.0% of statements [2020-09-16T22:43:47.735Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.018s coverage: 100.0% of statements [2020-09-16T22:43:47.735Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-16T22:43:47.735Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-16T22:43:47.735Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-16T22:43:47.735Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-16T22:43:47.735Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-16T22:43:47.735Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-16T22:43:47.735Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-16T22:43:47.735Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.012s coverage: 96.6% of statements [2020-09-16T22:43:47.735Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-16T22:43:47.735Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.012s coverage: 97.7% of statements [2020-09-16T22:43:47.735Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-16T22:43:47.735Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-16T22:43:47.735Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.013s coverage: 9.4% of statements [2020-09-16T22:43:47.735Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.103s coverage: 75.0% of statements [2020-09-16T22:43:47.735Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.035s coverage: 89.3% of statements [2020-09-16T22:43:47.735Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.042s coverage: 88.9% of statements [2020-09-16T22:43:47.735Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.114s coverage: 80.0% of statements [Pipeline] stash [2020-09-16T22:43:48.642Z] Stashed 1 file(s) [Pipeline] } [2020-09-16T22:43:48.664Z] $ docker stop --time=1 c78795a0c22dff0216f3b409a57eddf945b89b9e35ce245c65ed3ea80e34c3c8 [2020-09-16T22:43:50.762Z] $ docker rm -f c78795a0c22dff0216f3b409a57eddf945b89b9e35ce245c65ed3ea80e34c3c8 [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] } [2020-09-16T22:44:06.042Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.469s coverage: 71.6% of statements [2020-09-16T22:44:06.042Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.026s coverage: 94.4% of statements [2020-09-16T22:44:06.042Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-16T22:44:12.826Z] gofmt -l . [2020-09-16T22:44:13.110Z] [ "`gofmt -l .`" = "" ] [2020-09-16T22:44:13.110Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-16T22:44:14.110Z] Warning: overwriting stash ‘coverage-report’ [2020-09-16T22:44:14.653Z] Stashed 1 file(s) [Pipeline] } [2020-09-16T22:44:14.663Z] $ docker stop --time=1 16f5cffb4da8c0403bc4c80547b3e09ff05ad853b95cda95864d6a816abf38b3 [2020-09-16T22:44:16.459Z] $ docker rm -f 16f5cffb4da8c0403bc4c80547b3e09ff05ad853b95cda95864d6a816abf38b3 [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-16T22:44:19.154Z] provisioning config files... [2020-09-16T22:44:19.175Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-490@tmp/config6648540040061465988tmp [Pipeline] { [Pipeline] sh [2020-09-16T22:44:19.613Z] + curl -s https://codecov.io/bash [2020-09-16T22:44:19.613Z] + bash -s - -t @/w/workspace/ndry_app-functions-sdk-go_PR-490@tmp/config6648540040061465988tmp [Pipeline] } [2020-09-16T22:44:19.622Z] 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] { (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-16T22:44:22.403Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T22:44:22.709Z] ---> package-listing.sh [2020-09-16T22:44:22.709Z] ++ facter osfamily [2020-09-16T22:44:22.709Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-16T22:44:22.709Z] + OS_FAMILY=redhat [2020-09-16T22:44:22.709Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-490 [2020-09-16T22:44:22.709Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-16T22:44:22.709Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-16T22:44:22.709Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-16T22:44:22.709Z] + PACKAGES=/tmp/packages_start.txt [2020-09-16T22:44:22.709Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-490 ']' [2020-09-16T22:44:22.709Z] + PACKAGES=/tmp/packages_end.txt [2020-09-16T22:44:22.709Z] + case "${OS_FAMILY}" in [2020-09-16T22:44:22.709Z] + rpm -qa [2020-09-16T22:44:22.709Z] + sort [2020-09-16T22:44:26.936Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-16T22:44:26.936Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-16T22:44:26.936Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-16T22:44:26.936Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-490 ']' [2020-09-16T22:44:26.936Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-490/archives/ [2020-09-16T22:44:26.936Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-490/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:44:27.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T22:44:27.422Z] [2020-09-16T22:44:27.422Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:44:27.777Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T22:44:27.778Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-16T22:44:27.778Z] df20fa9351a1: Pulling fs layer [2020-09-16T22:44:27.778Z] 36b3adc4ff6f: Pulling fs layer [2020-09-16T22:44:27.778Z] 8ad3a11d3b57: Pulling fs layer [2020-09-16T22:44:27.778Z] 46f8f816bc3b: Pulling fs layer [2020-09-16T22:44:27.778Z] 0dadc02b9964: Pulling fs layer [2020-09-16T22:44:27.778Z] ce6a7cf60c04: Pulling fs layer [2020-09-16T22:44:27.778Z] 7a184a31f384: Pulling fs layer [2020-09-16T22:44:27.778Z] 0879bd2ef858: Pulling fs layer [2020-09-16T22:44:27.778Z] 0dadc02b9964: Waiting [2020-09-16T22:44:27.778Z] ce6a7cf60c04: Waiting [2020-09-16T22:44:27.778Z] 7a184a31f384: Waiting [2020-09-16T22:44:27.778Z] 0879bd2ef858: Waiting [2020-09-16T22:44:27.778Z] 36b3adc4ff6f: Verifying Checksum [2020-09-16T22:44:27.778Z] 36b3adc4ff6f: Download complete [2020-09-16T22:44:27.778Z] 46f8f816bc3b: Verifying Checksum [2020-09-16T22:44:27.778Z] 46f8f816bc3b: Download complete [2020-09-16T22:44:27.778Z] df20fa9351a1: Verifying Checksum [2020-09-16T22:44:27.778Z] df20fa9351a1: Download complete [2020-09-16T22:44:28.042Z] ce6a7cf60c04: Verifying Checksum [2020-09-16T22:44:28.042Z] ce6a7cf60c04: Download complete [2020-09-16T22:44:28.042Z] 7a184a31f384: Download complete [2020-09-16T22:44:28.042Z] 0dadc02b9964: Verifying Checksum [2020-09-16T22:44:28.042Z] 0dadc02b9964: Download complete [2020-09-16T22:44:28.042Z] 8ad3a11d3b57: Verifying Checksum [2020-09-16T22:44:28.042Z] 8ad3a11d3b57: Download complete [2020-09-16T22:44:28.304Z] df20fa9351a1: Pull complete [2020-09-16T22:44:28.304Z] 36b3adc4ff6f: Pull complete [2020-09-16T22:44:28.569Z] 0879bd2ef858: Verifying Checksum [2020-09-16T22:44:28.569Z] 0879bd2ef858: Download complete [2020-09-16T22:44:28.831Z] 8ad3a11d3b57: Pull complete [2020-09-16T22:44:29.095Z] 46f8f816bc3b: Pull complete [2020-09-16T22:44:29.359Z] 0dadc02b9964: Pull complete [2020-09-16T22:44:29.620Z] ce6a7cf60c04: Pull complete [2020-09-16T22:44:29.620Z] 7a184a31f384: Pull complete [2020-09-16T22:44:32.196Z] 0879bd2ef858: Pull complete [2020-09-16T22:44:32.196Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-16T22:44:32.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T22:44:32.196Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-16T22:44:32.353Z] prd-centos7-docker-4c-2g-40 does not seem to be running inside a container [2020-09-16T22:44:32.405Z] $ 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-490 -v /w/workspace/ndry_app-functions-sdk-go_PR-490:/w/workspace/ndry_app-functions-sdk-go_PR-490:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-490@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-490@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-16T22:44:37.186Z] $ docker top 13fd05df0204388a9660ce668b42145aec734c595b47bd29549bff152305255e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T22:44:37.665Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-16T22:44:37.976Z] + ls /var/log/sa-host [2020-09-16T22:44:37.976Z] + sadf -c /var/log/sa-host/sa05 [2020-09-16T22:44:37.976Z] file_magic: OK [2020-09-16T22:44:37.976Z] HZ: Using current value: 100 [2020-09-16T22:44:37.976Z] file_header: OK [2020-09-16T22:44:37.976Z] 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-16T22:44:37.976Z] Statistics: [2020-09-16T22:44:37.976Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-16T22:44:37.976Z] File successfully converted to sysstat format version 12.2.1 [2020-09-16T22:44:37.976Z] + sadf -c /var/log/sa-host/sa16 [2020-09-16T22:44:37.976Z] file_magic: OK [2020-09-16T22:44:37.976Z] HZ: Using current value: 100 [2020-09-16T22:44:37.976Z] file_header: OK [2020-09-16T22:44:37.976Z] 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-16T22:44:37.976Z] Statistics: [2020-09-16T22:44:37.976Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-16T22:44:37.976Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-16T22:44:38.076Z] provisioning config files... [2020-09-16T22:44:38.092Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-490@tmp/config3219281222666920066tmp [Pipeline] { [Pipeline] echo [2020-09-16T22:44:38.161Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T22:44:38.459Z] ---> create-netrc.sh [Pipeline] echo [2020-09-16T22:44:38.470Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T22:44:38.768Z] ---> logs-deploy.sh [2020-09-16T22:44:38.768Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-490/3 [2020-09-16T22:44:38.768Z] INFO: archiving workspace using pattern(s): [2020-09-16T22:44:40.156Z] Archives upload complete. [2020-09-16T22:44:40.156Z] INFO: archiving logs to Nexus