Pull request #478 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 78d0103db57c684904304b0b7446412895394689+c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 (f519ae17bbfc6962a17d48c0371ac2895d92fb73) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-18 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [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-478 # 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/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # 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/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 into PR head commit 78d0103db57c684904304b0b7446412895394689 Merge succeeded, producing 78d0103db57c684904304b0b7446412895394689 Checking out Revision 78d0103db57c684904304b0b7446412895394689 (PR-478) > git config core.sparsecheckout # timeout=10 > git checkout -f 78d0103db57c684904304b0b7446412895394689 # 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 c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78d0103db57c684904304b0b7446412895394689 # timeout=10 Commit message: "fix: Fixed broken unit tests now failing with Go 1.15.2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-16T21:31:02.340Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 2e2e20a2afff0345c80348d55f505bd82c9da0fe # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-16T21:31:02.631Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-16T21:31:02.745Z] ========================================================= [2020-09-16T21:31:02.745Z] EdgeX Global Pipelines Version Info [2020-09-16T21:31:02.745Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-16T21:31:04.658Z] ------------------- [2020-09-16T21:31:04.658Z] stable info: [2020-09-16T21:31:04.658Z] ------------------- [2020-09-16T21:31:04.658Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-16T21:31:04.658Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-16T21:31:04.658Z] Message: update stable to v1.0.122 [2020-09-16T21:31:06.049Z] ------------------- [2020-09-16T21:31:06.049Z] experimental info: [2020-09-16T21:31:06.049Z] ------------------- [2020-09-16T21:31:06.049Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-16T21:31:06.049Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-16T21:31:06.049Z] Message: update experimental to v1.0.122 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-16T21:31:06.473Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-16T21:31:06.573Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-16T21:31:06.712Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-16T21:31:06.822Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-16T21:31:06.932Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-16T21:31:07.043Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-16T21:31:07.144Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-16T21:31:07.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-16T21:31:07.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-16T21:31:07.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-16T21:31:07.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-16T21:31:07.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-16T21:31:07.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-16T21:31:07.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-16T21:31:08.083Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T21:31:08.191Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T21:31:08.322Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T21:31:08.420Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T21:31:08.519Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-16T21:31:08.620Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-16T21:31:08.720Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-16T21:31:08.820Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-16T21:31:08.915Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-478 [Pipeline] echo [2020-09-16T21:31:09.032Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-478 [Pipeline] echo [2020-09-16T21:31:09.135Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-478 [Pipeline] echo [2020-09-16T21:31:09.232Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78d0103db57c684904304b0b7446412895394689 [Pipeline] echo [2020-09-16T21:31:09.328Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78d0103 [Pipeline] echo [2020-09-16T21:31:09.429Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-16T21:31:10.048Z] + git log --format=format:%s -1 78d0103db57c684904304b0b7446412895394689 [Pipeline] echo [2020-09-16T21:31:10.114Z] GIT_COMMIT: 78d0103db57c684904304b0b7446412895394689, Commit Message: fix: Fixed broken unit tests now failing with Go 1.15.2 [Pipeline] echo [2020-09-16T21:31:10.165Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:31:11.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T21:31:11.453Z] [2020-09-16T21:31:11.453Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:31:11.864Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T21:31:11.864Z] latest: Pulling from edgex-devops/git-semver [2020-09-16T21:31:11.864Z] 31603596830f: Pulling fs layer [2020-09-16T21:31:11.864Z] 2a8b12db71e7: Pulling fs layer [2020-09-16T21:31:11.864Z] 6ca5941a6612: Pulling fs layer [2020-09-16T21:31:11.864Z] ecc8261a40a4: Pulling fs layer [2020-09-16T21:31:11.864Z] ecc8261a40a4: Waiting [2020-09-16T21:31:11.864Z] 2a8b12db71e7: Verifying Checksum [2020-09-16T21:31:11.864Z] 2a8b12db71e7: Download complete [2020-09-16T21:31:12.136Z] 31603596830f: Verifying Checksum [2020-09-16T21:31:12.136Z] 31603596830f: Download complete [2020-09-16T21:31:12.136Z] ecc8261a40a4: Verifying Checksum [2020-09-16T21:31:12.136Z] ecc8261a40a4: Download complete [2020-09-16T21:31:12.136Z] 6ca5941a6612: Verifying Checksum [2020-09-16T21:31:12.136Z] 6ca5941a6612: Download complete [2020-09-16T21:31:12.402Z] 31603596830f: Pull complete [2020-09-16T21:31:12.402Z] 2a8b12db71e7: Pull complete [2020-09-16T21:31:13.359Z] 6ca5941a6612: Pull complete [2020-09-16T21:31:13.622Z] ecc8261a40a4: Pull complete [2020-09-16T21:31:13.622Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-16T21:31:13.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T21:31:13.622Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-16T21:31:13.758Z] prd-centos7-docker-4c-2g-18 does not seem to be running inside a container [2020-09-16T21:31:13.811Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-478 -v /w/workspace/ndry_app-functions-sdk-go_PR-478:/w/workspace/ndry_app-functions-sdk-go_PR-478:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-478@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:10004/edgex-devops/git-semver:latest cat [2020-09-16T21:31:16.010Z] $ docker top 8ff680b8e9c85b751ebbf99010088906aff6155b9f98939567111b2469c9ea9d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-16T21:31:16.320Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-16T21:31:16.320Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-16T21:31:16.536Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-16T21:31:16.541Z] $ docker exec 8ff680b8e9c85b751ebbf99010088906aff6155b9f98939567111b2469c9ea9d ssh-agent [2020-09-16T21:31:16.707Z] SSH_AUTH_SOCK=/tmp/ssh-k8bcRc6DdAfy/agent.13 [2020-09-16T21:31:16.707Z] SSH_AGENT_PID=18 [2020-09-16T21:31:16.719Z] Running ssh-add (command line suppressed) [2020-09-16T21:31:16.840Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_7194727588592051135.key (/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_7194727588592051135.key) [2020-09-16T21:31:16.898Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-16T21:31:17.238Z] + git describe --exact-match --tags HEAD [2020-09-16T21:31:17.238Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-16T21:31:17.263Z] $ docker exec --env ******** --env ******** 8ff680b8e9c85b751ebbf99010088906aff6155b9f98939567111b2469c9ea9d ssh-agent -k [2020-09-16T21:31:17.378Z] unset SSH_AUTH_SOCK; [2020-09-16T21:31:17.379Z] unset SSH_AGENT_PID; [2020-09-16T21:31:17.379Z] echo Agent pid 18 killed; [2020-09-16T21:31:17.423Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-16T21:31:17.523Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-16T21:31:17.523Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-16T21:31:17.632Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-16T21:31:17.632Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-16T21:31:17.801Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-16T21:31:17.807Z] $ docker exec 8ff680b8e9c85b751ebbf99010088906aff6155b9f98939567111b2469c9ea9d ssh-agent [2020-09-16T21:31:17.964Z] SSH_AUTH_SOCK=/tmp/ssh-jdFbbF71K89N/agent.48 [2020-09-16T21:31:17.964Z] SSH_AGENT_PID=53 [2020-09-16T21:31:17.972Z] Running ssh-add (command line suppressed) [2020-09-16T21:31:18.091Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_6057442216828902890.key (/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_6057442216828902890.key) [2020-09-16T21:31:18.143Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-16T21:31:18.488Z] + git semver init [2020-09-16T21:31:18.489Z] # -> Open(): unable to determine branch for HEAD [2020-09-16T21:31:18.489Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-478/.git [2020-09-16T21:31:18.489Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-478 [2020-09-16T21:31:18.489Z] # $SEMVER_REMOTE_NAME = origin [2020-09-16T21:31:18.489Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-16T21:31:18.489Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-16T21:31:18.489Z] # $SEMVER_BRANCH = PR-478 [2020-09-16T21:31:18.489Z] # $SEMVER_TEMP = /tmp/semver-034441356 [2020-09-16T21:31:18.489Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-16T21:31:21.059Z] # '/tmp/semver-034441356' -> '/w/workspace/ndry_app-functions-sdk-go_PR-478/.semver' [2020-09-16T21:31:21.059Z] # -> Force: false [2020-09-16T21:31:21.059Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-478/.semver [Pipeline] } [2020-09-16T21:31:21.073Z] $ docker exec --env ******** --env ******** 8ff680b8e9c85b751ebbf99010088906aff6155b9f98939567111b2469c9ea9d ssh-agent -k [2020-09-16T21:31:21.193Z] unset SSH_AUTH_SOCK; [2020-09-16T21:31:21.194Z] unset SSH_AGENT_PID; [2020-09-16T21:31:21.194Z] echo Agent pid 53 killed; [2020-09-16T21:31:21.248Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-16T21:31:21.762Z] + git semver [Pipeline] } [2020-09-16T21:31:21.783Z] $ docker stop --time=1 8ff680b8e9c85b751ebbf99010088906aff6155b9f98939567111b2469c9ea9d [2020-09-16T21:31:23.311Z] $ docker rm -f 8ff680b8e9c85b751ebbf99010088906aff6155b9f98939567111b2469c9ea9d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-16T21:31:26.016Z] Stashed 43 file(s) [Pipeline] echo [2020-09-16T21:31:26.019Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-16T21:31:26.172Z] 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-16T21:31:41.737Z] Still waiting to schedule task [2020-09-16T21:31:41.738Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-16T21:31:41.741Z] Still waiting to schedule task [2020-09-16T21:31:41.741Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-16T21:33:23.522Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] ws [2020-09-16T21:33:23.612Z] Running in /w/workspace/app-functions-sdk-go/20 [Pipeline] { [Pipeline] checkout [2020-09-16T21:33:28.773Z] using credential edgex-jenkins-ssh [2020-09-16T21:33:28.884Z] Cloning the remote Git repository [2020-09-16T21:33:28.884Z] Cloning with configured refspecs honoured and without tags [2020-09-16T21:33:28.948Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:33:29.068Z] > git init /w/workspace/app-functions-sdk-go/20 # timeout=10 [2020-09-16T21:33:29.157Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:33:29.160Z] > git --version # timeout=10 [2020-09-16T21:33:29.180Z] > git --version # 'git version 2.17.1' [2020-09-16T21:33:29.183Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T21:33:29.248Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T21:34:17.378Z] Running on prd-centos7-docker-4c-2g-20 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] ws [2020-09-16T21:34:17.456Z] Running in /w/workspace/app-functions-sdk-go/20 [Pipeline] { [Pipeline] checkout [2020-09-16T21:34:20.712Z] using credential edgex-jenkins-ssh [2020-09-16T21:34:20.786Z] Cloning the remote Git repository [2020-09-16T21:34:20.786Z] Cloning with configured refspecs honoured and without tags [2020-09-16T21:34:20.815Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:34:20.893Z] > git init /w/workspace/app-functions-sdk-go/20 # timeout=10 [2020-09-16T21:34:20.942Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:34:20.943Z] > git --version # timeout=10 [2020-09-16T21:34:20.951Z] > git --version # 'git version 2.16.5' [2020-09-16T21:34:20.951Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T21:34:20.997Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T21:34:22.636Z] Fetching without tags [2020-09-16T21:34:22.606Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T21:34:22.614Z] > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 [2020-09-16T21:34:22.620Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T21:34:22.632Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T21:34:22.643Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:34:22.643Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T21:34:22.647Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T21:34:24.117Z] Merging remotes/origin/master commit c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 into PR head commit 78d0103db57c684904304b0b7446412895394689 [2020-09-16T21:34:24.205Z] Merge succeeded, producing 78d0103db57c684904304b0b7446412895394689 [2020-09-16T21:34:24.206Z] Checking out Revision 78d0103db57c684904304b0b7446412895394689 (PR-478) [2020-09-16T21:34:24.126Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T21:34:24.132Z] > git checkout -f 78d0103db57c684904304b0b7446412895394689 # timeout=10 [2020-09-16T21:34:24.180Z] > git remote # timeout=10 [2020-09-16T21:34:24.185Z] > git config --get remote.origin.url # timeout=10 [2020-09-16T21:34:24.190Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T21:34:24.193Z] > git merge c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 # timeout=10 [2020-09-16T21:34:24.202Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-16T21:34:24.210Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T21:34:24.216Z] > git checkout -f 78d0103db57c684904304b0b7446412895394689 # timeout=10 [2020-09-16T21:34:27.871Z] Commit message: "fix: Fixed broken unit tests now failing with Go 1.15.2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-16T21:34:29.855Z] ========================================================= [2020-09-16T21:34:29.855Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-16T21:34:29.855Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:34:30.557Z] + 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-16T21:34:31.711Z] Sending build context to Docker daemon 37.16MB [2020-09-16T21:34:31.711Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-16T21:34:31.711Z] Step 2/8 : FROM ${BASE} [2020-09-16T21:34:31.711Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-16T21:34:31.711Z] df20fa9351a1: Pulling fs layer [2020-09-16T21:34:31.711Z] ed8968b2872e: Pulling fs layer [2020-09-16T21:34:31.711Z] a92cc7c5fd73: Pulling fs layer [2020-09-16T21:34:31.711Z] e871e8e8d7a9: Pulling fs layer [2020-09-16T21:34:31.711Z] e73272ec9a57: Pulling fs layer [2020-09-16T21:34:31.711Z] 1e910a182e73: Pulling fs layer [2020-09-16T21:34:31.711Z] 4e634b169226: Pulling fs layer [2020-09-16T21:34:31.711Z] e871e8e8d7a9: Waiting [2020-09-16T21:34:31.711Z] e73272ec9a57: Waiting [2020-09-16T21:34:31.711Z] 1e910a182e73: Waiting [2020-09-16T21:34:31.711Z] 4e634b169226: Waiting [2020-09-16T21:34:31.711Z] a92cc7c5fd73: Verifying Checksum [2020-09-16T21:34:31.711Z] a92cc7c5fd73: Download complete [2020-09-16T21:34:31.711Z] ed8968b2872e: Verifying Checksum [2020-09-16T21:34:31.711Z] ed8968b2872e: Download complete [2020-09-16T21:34:31.711Z] e73272ec9a57: Verifying Checksum [2020-09-16T21:34:31.711Z] e73272ec9a57: Download complete [2020-09-16T21:34:31.711Z] 1e910a182e73: Verifying Checksum [2020-09-16T21:34:31.711Z] 1e910a182e73: Download complete [2020-09-16T21:34:32.286Z] df20fa9351a1: Verifying Checksum [2020-09-16T21:34:32.287Z] df20fa9351a1: Download complete [2020-09-16T21:34:32.549Z] df20fa9351a1: Pull complete [2020-09-16T21:34:32.549Z] ed8968b2872e: Pull complete [2020-09-16T21:34:32.813Z] a92cc7c5fd73: Pull complete [2020-09-16T21:34:34.745Z] 4e634b169226: Verifying Checksum [2020-09-16T21:34:34.745Z] 4e634b169226: Download complete [2020-09-16T21:34:34.745Z] e871e8e8d7a9: Download complete [2020-09-16T21:34:40.074Z] e871e8e8d7a9: Pull complete [2020-09-16T21:34:40.074Z] e73272ec9a57: Pull complete [2020-09-16T21:34:40.341Z] 1e910a182e73: Pull complete [2020-09-16T21:34:43.662Z] 4e634b169226: Pull complete [2020-09-16T21:34:43.662Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-16T21:34:43.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-16T21:34:43.662Z] ---> f7629b54cfaa [2020-09-16T21:34:43.662Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-16T21:34:43.926Z] latest: Pulling from library/docker [2020-09-16T21:34:44.191Z] df20fa9351a1: Already exists [2020-09-16T21:34:44.191Z] 25ad7478873d: Pulling fs layer [2020-09-16T21:34:44.191Z] 4684f6177b5d: Pulling fs layer [2020-09-16T21:34:44.191Z] 46e300cec669: Pulling fs layer [2020-09-16T21:34:44.191Z] 63038576ad94: Pulling fs layer [2020-09-16T21:34:44.191Z] 0fdb76c4706c: Pulling fs layer [2020-09-16T21:34:44.191Z] cb7edeffdfd5: Pulling fs layer [2020-09-16T21:34:44.191Z] 63038576ad94: Waiting [2020-09-16T21:34:44.191Z] 0fdb76c4706c: Waiting [2020-09-16T21:34:44.191Z] cb7edeffdfd5: Waiting [2020-09-16T21:34:44.191Z] 25ad7478873d: Verifying Checksum [2020-09-16T21:34:44.191Z] 25ad7478873d: Download complete [2020-09-16T21:34:44.191Z] 4684f6177b5d: Verifying Checksum [2020-09-16T21:34:44.191Z] 4684f6177b5d: Download complete [2020-09-16T21:34:44.457Z] 63038576ad94: Verifying Checksum [2020-09-16T21:34:44.457Z] 63038576ad94: Download complete [2020-09-16T21:34:44.457Z] cb7edeffdfd5: Verifying Checksum [2020-09-16T21:34:44.457Z] cb7edeffdfd5: Download complete [2020-09-16T21:34:44.725Z] 25ad7478873d: Pull complete [2020-09-16T21:34:44.725Z] 4684f6177b5d: Pull complete [2020-09-16T21:34:44.989Z] 46e300cec669: Verifying Checksum [2020-09-16T21:34:44.990Z] 46e300cec669: Download complete [2020-09-16T21:34:45.252Z] 0fdb76c4706c: Verifying Checksum [2020-09-16T21:34:45.252Z] 0fdb76c4706c: Download complete [2020-09-16T21:34:47.185Z] 46e300cec669: Pull complete [2020-09-16T21:34:47.448Z] 63038576ad94: Pull complete [2020-09-16T21:34:47.448Z] 0fdb76c4706c: Pull complete [2020-09-16T21:34:47.448Z] cb7edeffdfd5: Pull complete [2020-09-16T21:34:47.712Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-16T21:34:47.712Z] Status: Downloaded newer image for docker:latest [2020-09-16T21:34:49.105Z] ---> dd1839e0d41f [2020-09-16T21:34:49.106Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-16T21:34:49.106Z] ---> Running in 574282bf8cd5 [2020-09-16T21:34:49.368Z] Removing intermediate container 574282bf8cd5 [2020-09-16T21:34:49.368Z] ---> fe32051c61bd [2020-09-16T21:34:49.368Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-16T21:34:49.368Z] ---> Running in c6ba83d6211a [2020-09-16T21:34:50.318Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-16T21:34:51.265Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-16T21:34:52.210Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-16T21:34:52.471Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-16T21:34:52.471Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-16T21:34:52.733Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-16T21:34:52.733Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-16T21:34:52.733Z] Executing busybox-1.31.1-r16.trigger [2020-09-16T21:34:52.995Z] OK: 167 MiB in 44 packages [2020-09-16T21:34:53.575Z] Removing intermediate container c6ba83d6211a [2020-09-16T21:34:53.575Z] ---> 3242f168b8df [2020-09-16T21:34:53.575Z] Step 6/8 : WORKDIR /build [2020-09-16T21:34:53.575Z] ---> Running in 5045d3c986a1 [2020-09-16T21:34:53.575Z] Removing intermediate container 5045d3c986a1 [2020-09-16T21:34:53.575Z] ---> 522bec00cbbc [2020-09-16T21:34:53.575Z] Step 7/8 : COPY go.mod . [2020-09-16T21:34:53.881Z] ---> 25e4d6127767 [2020-09-16T21:34:53.881Z] Step 8/8 : RUN go mod download [2020-09-16T21:34:53.881Z] ---> Running in c65e80486573 [2020-09-16T21:35:03.871Z] Fetching without tags [2020-09-16T21:35:04.518Z] Merging remotes/origin/master commit c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 into PR head commit 78d0103db57c684904304b0b7446412895394689 [2020-09-16T21:35:04.881Z] Merge succeeded, producing 78d0103db57c684904304b0b7446412895394689 [2020-09-16T21:35:04.881Z] Checking out Revision 78d0103db57c684904304b0b7446412895394689 (PR-478) [2020-09-16T21:35:03.795Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T21:35:03.815Z] > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 [2020-09-16T21:35:03.832Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T21:35:03.858Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T21:35:03.889Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:35:03.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T21:35:03.903Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T21:35:04.543Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T21:35:04.560Z] > git checkout -f 78d0103db57c684904304b0b7446412895394689 # timeout=10 [2020-09-16T21:35:04.665Z] > git remote # timeout=10 [2020-09-16T21:35:04.743Z] > git config --get remote.origin.url # timeout=10 [2020-09-16T21:35:04.760Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T21:35:04.785Z] > git merge c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 # timeout=10 [2020-09-16T21:35:04.856Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-16T21:35:04.894Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T21:35:04.946Z] > git checkout -f 78d0103db57c684904304b0b7446412895394689 # timeout=10 [2020-09-16T21:35:09.220Z] Commit message: "fix: Fixed broken unit tests now failing with Go 1.15.2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-16T21:35:12.788Z] ========================================================= [2020-09-16T21:35:12.788Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-16T21:35:12.788Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:35:13.923Z] + 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-16T21:35:15.368Z] Sending build context to Docker daemon 37.16MB [2020-09-16T21:35:15.368Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-16T21:35:15.368Z] Step 2/8 : FROM ${BASE} [2020-09-16T21:35:15.368Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-16T21:35:15.368Z] b538f80385f9: Pulling fs layer [2020-09-16T21:35:15.368Z] 74f711af9a0d: Pulling fs layer [2020-09-16T21:35:15.368Z] 99f96fe45779: Pulling fs layer [2020-09-16T21:35:15.368Z] 8529a6b9a6be: Pulling fs layer [2020-09-16T21:35:15.368Z] 45590311c82a: Pulling fs layer [2020-09-16T21:35:15.368Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-16T21:35:15.368Z] 209524e5b208: Pulling fs layer [2020-09-16T21:35:15.368Z] 8529a6b9a6be: Waiting [2020-09-16T21:35:15.368Z] 45590311c82a: Waiting [2020-09-16T21:35:15.368Z] 69ca0ff8b7b3: Waiting [2020-09-16T21:35:15.368Z] 209524e5b208: Waiting [2020-09-16T21:35:15.368Z] 99f96fe45779: Verifying Checksum [2020-09-16T21:35:15.368Z] 99f96fe45779: Download complete [2020-09-16T21:35:15.368Z] 74f711af9a0d: Verifying Checksum [2020-09-16T21:35:15.368Z] 74f711af9a0d: Download complete [2020-09-16T21:35:15.641Z] 45590311c82a: Download complete [2020-09-16T21:35:15.641Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-16T21:35:15.641Z] 69ca0ff8b7b3: Download complete [2020-09-16T21:35:15.916Z] b538f80385f9: Verifying Checksum [2020-09-16T21:35:15.916Z] b538f80385f9: Download complete [2020-09-16T21:35:16.524Z] b538f80385f9: Pull complete [2020-09-16T21:35:17.131Z] 74f711af9a0d: Pull complete [2020-09-16T21:35:17.434Z] 99f96fe45779: Pull complete [2020-09-16T21:35:18.428Z] 209524e5b208: Verifying Checksum [2020-09-16T21:35:18.428Z] 209524e5b208: Download complete [2020-09-16T21:35:19.422Z] 8529a6b9a6be: Verifying Checksum [2020-09-16T21:35:19.422Z] 8529a6b9a6be: Download complete [2020-09-16T21:35:20.531Z] Removing intermediate container c65e80486573 [2020-09-16T21:35:20.531Z] ---> 977235c35a2f [2020-09-16T21:35:20.531Z] Successfully built 977235c35a2f [2020-09-16T21:35:20.531Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:35:20.900Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-16T21:35:20.900Z] . [Pipeline] withDockerContainer [2020-09-16T21:35:21.079Z] prd-centos7-docker-4c-2g-20 does not seem to be running inside a container [2020-09-16T21:35:21.132Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/20 -v /w/workspace/app-functions-sdk-go/20:/w/workspace/app-functions-sdk-go/20:rw,z -v /w/workspace/app-functions-sdk-go/20@tmp:/w/workspace/app-functions-sdk-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-16T21:35:21.821Z] $ docker top a75aca237546ec82d658c1434f088c1f0b6eb23980a6e9ead0b4a1735595389e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T21:35:22.334Z] + go version [2020-09-16T21:35:22.334Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-16T21:35:22.353Z] $ docker stop --time=1 a75aca237546ec82d658c1434f088c1f0b6eb23980a6e9ead0b4a1735595389e [2020-09-16T21:35:23.699Z] $ docker rm -f a75aca237546ec82d658c1434f088c1f0b6eb23980a6e9ead0b4a1735595389e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:35:24.680Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-16T21:35:24.680Z] . [Pipeline] withDockerContainer [2020-09-16T21:35:24.798Z] prd-centos7-docker-4c-2g-20 does not seem to be running inside a container [2020-09-16T21:35:24.845Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/20 -v /w/workspace/app-functions-sdk-go/20:/w/workspace/app-functions-sdk-go/20:rw,z -v /w/workspace/app-functions-sdk-go/20@tmp:/w/workspace/app-functions-sdk-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-16T21:35:25.470Z] $ docker top 8b25dbdd87fdffcc99644820b6726a6eb084f8142d8bb2e8cd79f0435c3c361c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T21:35:26.005Z] + make test [2020-09-16T21:35:26.005Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-16T21:35:27.401Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-16T21:35:29.601Z] 8529a6b9a6be: Pull complete [2020-09-16T21:35:30.202Z] 45590311c82a: Pull complete [2020-09-16T21:35:30.474Z] 69ca0ff8b7b3: Pull complete [2020-09-16T21:35:33.883Z] 209524e5b208: Pull complete [2020-09-16T21:35:33.883Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-16T21:35:33.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-16T21:35:33.883Z] ---> 5bddaf1c2fca [2020-09-16T21:35:33.883Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-16T21:35:34.112Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.105s coverage: 86.2% of statements [2020-09-16T21:35:34.484Z] latest: Pulling from library/docker [2020-09-16T21:35:34.484Z] b538f80385f9: Already exists [2020-09-16T21:35:34.484Z] 259a493cd78d: Pulling fs layer [2020-09-16T21:35:34.484Z] b8e66b5100f5: Pulling fs layer [2020-09-16T21:35:34.484Z] 39dc9c94d07c: Pulling fs layer [2020-09-16T21:35:34.484Z] 551b823b3b82: Pulling fs layer [2020-09-16T21:35:34.484Z] 3c52a74df98c: Pulling fs layer [2020-09-16T21:35:34.484Z] 6c9b121b6998: Pulling fs layer [2020-09-16T21:35:34.484Z] 3c52a74df98c: Waiting [2020-09-16T21:35:34.484Z] 6c9b121b6998: Waiting [2020-09-16T21:35:34.484Z] 551b823b3b82: Waiting [2020-09-16T21:35:34.484Z] b8e66b5100f5: Verifying Checksum [2020-09-16T21:35:34.484Z] b8e66b5100f5: Download complete [2020-09-16T21:35:34.761Z] 259a493cd78d: Download complete [2020-09-16T21:35:34.761Z] 551b823b3b82: Download complete [2020-09-16T21:35:34.761Z] 3c52a74df98c: Verifying Checksum [2020-09-16T21:35:34.761Z] 3c52a74df98c: Download complete [2020-09-16T21:35:34.761Z] 6c9b121b6998: Verifying Checksum [2020-09-16T21:35:34.761Z] 6c9b121b6998: Download complete [2020-09-16T21:35:35.367Z] 259a493cd78d: Pull complete [2020-09-16T21:35:35.644Z] b8e66b5100f5: Pull complete [2020-09-16T21:35:35.919Z] 39dc9c94d07c: Verifying Checksum [2020-09-16T21:35:35.919Z] 39dc9c94d07c: Download complete [2020-09-16T21:35:39.322Z] 39dc9c94d07c: Pull complete [2020-09-16T21:35:39.322Z] 551b823b3b82: Pull complete [2020-09-16T21:35:39.599Z] 3c52a74df98c: Pull complete [2020-09-16T21:35:39.874Z] 6c9b121b6998: Pull complete [2020-09-16T21:35:39.874Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-16T21:35:39.874Z] Status: Downloaded newer image for docker:latest [2020-09-16T21:35:46.593Z] ---> ac096b0ac1fc [2020-09-16T21:35:46.594Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-16T21:35:46.594Z] ---> Running in ee4923347d67 [2020-09-16T21:35:46.594Z] Removing intermediate container ee4923347d67 [2020-09-16T21:35:46.594Z] ---> eec0a603354d [2020-09-16T21:35:46.594Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-16T21:35:46.594Z] ---> Running in 6d0bd74810a4 [2020-09-16T21:35:48.570Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-16T21:35:49.177Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-16T21:35:49.180Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.025s coverage: 56.1% of statements [2020-09-16T21:35:49.180Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-16T21:35:49.180Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-16T21:35:49.180Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.052s coverage: 53.5% of statements [2020-09-16T21:35:49.180Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-16T21:35:49.180Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.276s coverage: 69.1% of statements [2020-09-16T21:35:50.601Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-16T21:35:50.601Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-16T21:35:50.601Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-16T21:35:50.875Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-16T21:35:50.875Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-16T21:35:50.875Z] Executing busybox-1.31.1-r16.trigger [2020-09-16T21:35:50.875Z] OK: 144 MiB in 44 packages [2020-09-16T21:35:52.324Z] Removing intermediate container 6d0bd74810a4 [2020-09-16T21:35:52.324Z] ---> f1a6492e7a7c [2020-09-16T21:35:52.324Z] Step 6/8 : WORKDIR /build [2020-09-16T21:35:52.324Z] ---> Running in 161fb0fe8fbd [2020-09-16T21:35:52.924Z] Removing intermediate container 161fb0fe8fbd [2020-09-16T21:35:52.924Z] ---> 29654e5131e6 [2020-09-16T21:35:52.924Z] Step 7/8 : COPY go.mod . [2020-09-16T21:35:53.522Z] ---> bcd81010ca02 [2020-09-16T21:35:53.523Z] Step 8/8 : RUN go mod download [2020-09-16T21:35:53.523Z] ---> Running in a41e308403ac [2020-09-16T21:36:01.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.483s coverage: 61.6% of statements [2020-09-16T21:36:01.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements [2020-09-16T21:36:01.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2020-09-16T21:36:01.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.084s coverage: 100.0% of statements [2020-09-16T21:36:01.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements [2020-09-16T21:36:01.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2020-09-16T21:36:01.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-16T21:36:01.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-16T21:36:01.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-16T21:36:01.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-16T21:36:01.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-16T21:36:01.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-16T21:36:01.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-16T21:36:01.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.004s coverage: 96.6% of statements [2020-09-16T21:36:01.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-16T21:36:01.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.004s coverage: 97.7% of statements [2020-09-16T21:36:01.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-16T21:36:01.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-16T21:36:01.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.008s coverage: 9.4% of statements [2020-09-16T21:36:01.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.014s coverage: 75.0% of statements [2020-09-16T21:36:01.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.012s coverage: 89.3% of statements [2020-09-16T21:36:01.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.008s coverage: 88.9% of statements [2020-09-16T21:36:01.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.100s coverage: 80.0% of statements [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:35:51.576936009Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:35:51.589352652Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:35:51.595371225Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:35:51.600587863Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:35:51.605721075Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:35:51.610654205Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:35:51.616752738Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:35:51.623899333Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:35:51.629153542Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:35:53.629534874Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:35:53.629814457Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:35:53.633436663Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:35:53.647227032Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:35:53.652629291Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:36:03.653062446Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:36:13.653808726Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:36:13.661219723Z app=app_functions_sdk_go source=batch.go:148 msg="Batch count has been reached" [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:36:13.661328561Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-16T21:36:13.700Z] level=DEBUG ts=2020-09-16T21:36:13.667577941Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-16T21:36:13.700Z] panic: interface conversion: interface {} is nil, not [][]uint8 [2020-09-16T21:36:13.700Z] [2020-09-16T21:36:13.700Z] goroutine 29 [running]: [2020-09-16T21:36:13.700Z] github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.TestBatchInTimeAndCountMode_CountMet.func3(0xc0000a6d60, 0xc0000a6d70, 0xc0000f8900, 0xc000083500, 0xc0000a6d50) [2020-09-16T21:36:13.700Z] /w/workspace/app-functions-sdk-go/20/pkg/transforms/batch_test.go:119 +0x296 [2020-09-16T21:36:13.700Z] created by github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.TestBatchInTimeAndCountMode_CountMet [2020-09-16T21:36:13.700Z] /w/workspace/app-functions-sdk-go/20/pkg/transforms/batch_test.go:114 +0x1b9 [2020-09-16T21:36:13.700Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 22.112s [2020-09-16T21:36:13.700Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-09-16T21:36:13.700Z] FAIL [2020-09-16T21:36:13.965Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2020-09-16T21:36:13.988Z] $ docker stop --time=1 8b25dbdd87fdffcc99644820b6726a6eb084f8142d8bb2e8cd79f0435c3c361c [2020-09-16T21:36:15.790Z] $ docker rm -f 8b25dbdd87fdffcc99644820b6726a6eb084f8142d8bb2e8cd79f0435c3c361c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-16T21:36:17.977Z] Failed in branch amd64 [2020-09-16T21:36:25.874Z] Removing intermediate container a41e308403ac [2020-09-16T21:36:25.875Z] ---> 2db408d2a357 [2020-09-16T21:36:25.875Z] Successfully built 2db408d2a357 [2020-09-16T21:36:25.875Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:36:26.279Z] + docker inspect -f . ci-base-image-arm64 [2020-09-16T21:36:26.279Z] . [Pipeline] withDockerContainer [2020-09-16T21:36:26.558Z] prd-ubuntu18.04-docker-arm64-4c-16g-19 does not seem to be running inside a container [2020-09-16T21:36:26.645Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/20 -v /w/workspace/app-functions-sdk-go/20:/w/workspace/app-functions-sdk-go/20:rw,z -v /w/workspace/app-functions-sdk-go/20@tmp:/w/workspace/app-functions-sdk-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-16T21:36:28.484Z] $ docker top 2114b109dba5423cb517b2828cfb18cf96a2e94a7f862c70235d586737ec1c55 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T21:36:29.923Z] + go version [2020-09-16T21:36:29.923Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-16T21:36:29.957Z] $ docker stop --time=1 2114b109dba5423cb517b2828cfb18cf96a2e94a7f862c70235d586737ec1c55 [2020-09-16T21:36:31.810Z] $ docker rm -f 2114b109dba5423cb517b2828cfb18cf96a2e94a7f862c70235d586737ec1c55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:36:32.864Z] + docker inspect -f . ci-base-image-arm64 [2020-09-16T21:36:32.864Z] . [Pipeline] withDockerContainer [2020-09-16T21:36:33.099Z] prd-ubuntu18.04-docker-arm64-4c-16g-19 does not seem to be running inside a container [2020-09-16T21:36:33.189Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/20 -v /w/workspace/app-functions-sdk-go/20:/w/workspace/app-functions-sdk-go/20:rw,z -v /w/workspace/app-functions-sdk-go/20@tmp:/w/workspace/app-functions-sdk-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-16T21:36:34.965Z] $ docker top 571ca5c5d1fa625570896b9894904b140bec6df25da07710e68243662604f71c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T21:36:36.505Z] + make test [2020-09-16T21:36:36.505Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-16T21:36:38.577Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-16T21:37:00.797Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.105s coverage: 86.2% of statements [2020-09-16T21:37:39.890Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.064s coverage: 56.1% of statements [2020-09-16T21:37:39.890Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-16T21:37:39.890Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-16T21:37:39.890Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.116s coverage: 53.5% of statements [2020-09-16T21:37:39.890Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-16T21:37:39.890Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.333s coverage: 69.1% of statements [2020-09-16T21:37:50.084Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.538s coverage: 61.6% of statements [2020-09-16T21:37:50.084Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.026s coverage: 89.5% of statements [2020-09-16T21:37:50.084Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.023s coverage: 100.0% of statements [2020-09-16T21:37:50.084Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.185s coverage: 100.0% of statements [2020-09-16T21:37:50.084Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements [2020-09-16T21:37:50.084Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.011s coverage: 100.0% of statements [2020-09-16T21:37:50.084Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-16T21:37:50.084Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-16T21:37:50.084Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-16T21:37:50.084Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-16T21:37:50.084Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-16T21:37:50.084Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-16T21:37:50.084Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-16T21:37:50.084Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.012s coverage: 96.6% of statements [2020-09-16T21:37:50.084Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-16T21:37:50.084Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.013s coverage: 97.7% of statements [2020-09-16T21:37:50.084Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-16T21:37:50.084Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-16T21:37:50.084Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.022s coverage: 9.4% of statements [2020-09-16T21:37:50.677Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.052s coverage: 75.0% of statements [2020-09-16T21:37:50.677Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.039s coverage: 89.3% of statements [2020-09-16T21:37:50.677Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.024s coverage: 88.9% of statements [2020-09-16T21:37:50.677Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.222s coverage: 80.0% of statements [2020-09-16T21:38:17.458Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.811s coverage: 71.6% of statements [2020-09-16T21:38:17.458Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.019s coverage: 94.4% of statements [2020-09-16T21:38:17.458Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-16T21:38:27.691Z] gofmt -l . [2020-09-16T21:38:27.691Z] [ "`gofmt -l .`" = "" ] [2020-09-16T21:38:27.981Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-16T21:38:29.500Z] Stashed 1 file(s) [Pipeline] } [2020-09-16T21:38:29.522Z] $ docker stop --time=1 571ca5c5d1fa625570896b9894904b140bec6df25da07710e68243662604f71c [2020-09-16T21:38:31.612Z] $ docker rm -f 571ca5c5d1fa625570896b9894904b140bec6df25da07710e68243662604f71c [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-16T21:38:37.316Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T21:38:37.942Z] ---> package-listing.sh [2020-09-16T21:38:37.942Z] ++ facter osfamily [2020-09-16T21:38:37.942Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-16T21:38:37.942Z] + OS_FAMILY=redhat [2020-09-16T21:38:37.942Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-478 [2020-09-16T21:38:37.942Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-16T21:38:37.942Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-16T21:38:37.942Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-16T21:38:37.942Z] + PACKAGES=/tmp/packages_start.txt [2020-09-16T21:38:37.942Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-478 ']' [2020-09-16T21:38:37.942Z] + PACKAGES=/tmp/packages_end.txt [2020-09-16T21:38:37.942Z] + case "${OS_FAMILY}" in [2020-09-16T21:38:37.942Z] + rpm -qa [2020-09-16T21:38:37.942Z] + sort [2020-09-16T21:38:41.319Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-16T21:38:41.319Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-16T21:38:41.319Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-16T21:38:41.319Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-478 ']' [2020-09-16T21:38:41.319Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-478/archives/ [2020-09-16T21:38:41.319Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-478/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:38:41.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T21:38:41.974Z] [2020-09-16T21:38:41.974Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:38:42.489Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T21:38:42.489Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-16T21:38:42.489Z] df20fa9351a1: Pulling fs layer [2020-09-16T21:38:42.489Z] 36b3adc4ff6f: Pulling fs layer [2020-09-16T21:38:42.489Z] 8ad3a11d3b57: Pulling fs layer [2020-09-16T21:38:42.489Z] 46f8f816bc3b: Pulling fs layer [2020-09-16T21:38:42.489Z] 0dadc02b9964: Pulling fs layer [2020-09-16T21:38:42.489Z] ce6a7cf60c04: Pulling fs layer [2020-09-16T21:38:42.489Z] 7a184a31f384: Pulling fs layer [2020-09-16T21:38:42.489Z] 0879bd2ef858: Pulling fs layer [2020-09-16T21:38:42.489Z] ce6a7cf60c04: Waiting [2020-09-16T21:38:42.489Z] 7a184a31f384: Waiting [2020-09-16T21:38:42.489Z] 0879bd2ef858: Waiting [2020-09-16T21:38:42.489Z] 46f8f816bc3b: Waiting [2020-09-16T21:38:42.489Z] 0dadc02b9964: Waiting [2020-09-16T21:38:42.489Z] 36b3adc4ff6f: Verifying Checksum [2020-09-16T21:38:42.489Z] 36b3adc4ff6f: Download complete [2020-09-16T21:38:42.489Z] 46f8f816bc3b: Verifying Checksum [2020-09-16T21:38:42.489Z] 46f8f816bc3b: Download complete [2020-09-16T21:38:42.759Z] df20fa9351a1: Verifying Checksum [2020-09-16T21:38:42.759Z] df20fa9351a1: Download complete [2020-09-16T21:38:42.759Z] ce6a7cf60c04: Verifying Checksum [2020-09-16T21:38:42.759Z] ce6a7cf60c04: Download complete [2020-09-16T21:38:42.759Z] 7a184a31f384: Download complete [2020-09-16T21:38:43.040Z] 0dadc02b9964: Verifying Checksum [2020-09-16T21:38:43.040Z] 0dadc02b9964: Download complete [2020-09-16T21:38:43.040Z] df20fa9351a1: Pull complete [2020-09-16T21:38:43.312Z] 8ad3a11d3b57: Verifying Checksum [2020-09-16T21:38:43.312Z] 8ad3a11d3b57: Download complete [2020-09-16T21:38:43.312Z] 36b3adc4ff6f: Pull complete [2020-09-16T21:38:43.909Z] 8ad3a11d3b57: Pull complete [2020-09-16T21:38:43.909Z] 46f8f816bc3b: Pull complete [2020-09-16T21:38:43.909Z] 0879bd2ef858: Verifying Checksum [2020-09-16T21:38:43.909Z] 0879bd2ef858: Download complete [2020-09-16T21:38:44.178Z] 0dadc02b9964: Pull complete [2020-09-16T21:38:44.448Z] ce6a7cf60c04: Pull complete [2020-09-16T21:38:44.448Z] 7a184a31f384: Pull complete [2020-09-16T21:38:47.048Z] 0879bd2ef858: Pull complete [2020-09-16T21:38:47.048Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-16T21:38:47.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T21:38:47.048Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-16T21:38:47.201Z] prd-centos7-docker-4c-2g-18 does not seem to be running inside a container [2020-09-16T21:38:47.259Z] $ 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-478 -v /w/workspace/ndry_app-functions-sdk-go_PR-478:/w/workspace/ndry_app-functions-sdk-go_PR-478:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-478@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-16T21:38:51.974Z] $ docker top a34421ec305e5d5b8be2d430e47b8448e8a67dd6a7360b0189719affdaed0c36 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T21:38:52.502Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-16T21:38:52.809Z] + ls /var/log/sa-host [2020-09-16T21:38:52.809Z] + sadf -c /var/log/sa-host/sa05 [2020-09-16T21:38:52.809Z] file_magic: OK [2020-09-16T21:38:52.809Z] HZ: Using current value: 100 [2020-09-16T21:38:52.809Z] file_header: OK [2020-09-16T21:38:52.809Z] 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-16T21:38:52.809Z] Statistics: [2020-09-16T21:38:52.809Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-16T21:38:52.809Z] File successfully converted to sysstat format version 12.2.1 [2020-09-16T21:38:52.809Z] + sadf -c /var/log/sa-host/sa16 [2020-09-16T21:38:52.809Z] file_magic: OK [2020-09-16T21:38:52.809Z] HZ: Using current value: 100 [2020-09-16T21:38:52.809Z] file_header: OK [2020-09-16T21:38:52.809Z] 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-16T21:38:52.809Z] Statistics: [2020-09-16T21:38:52.809Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-16T21:38:52.809Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-16T21:38:52.907Z] provisioning config files... [2020-09-16T21:38:52.940Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/config5038792173167831975tmp [Pipeline] { [Pipeline] echo [2020-09-16T21:38:53.028Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T21:38:53.364Z] ---> create-netrc.sh [Pipeline] echo [2020-09-16T21:38:53.381Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T21:38:53.705Z] ---> logs-deploy.sh [2020-09-16T21:38:53.705Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-478/20 [2020-09-16T21:38:53.705Z] INFO: archiving workspace using pattern(s): [2020-09-16T21:38:55.119Z] Archives upload complete. [2020-09-16T21:38:55.119Z] INFO: archiving logs to Nexus