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 2e2e20a2afff0345c80348d55f505bd82c9da0fe+c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 (c3be2605adfb8f606c02e3b16c976d2e0bebffe8) 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 ‘prd-centos7-docker-4c-2g-10’ is offline; ‘prd-centos7-docker-4c-2g-11’ is offline; ‘prd-centos7-docker-4c-2g-5’ is offline; ‘prd-centos7-docker-4c-2g-7’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-9’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13 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 Merging remotes/origin/master commit c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 into PR head commit 2e2e20a2afff0345c80348d55f505bd82c9da0fe Merge succeeded, producing 2e2e20a2afff0345c80348d55f505bd82c9da0fe Checking out Revision 2e2e20a2afff0345c80348d55f505bd82c9da0fe (PR-478) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e2e20a2afff0345c80348d55f505bd82c9da0fe # 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 2e2e20a2afff0345c80348d55f505bd82c9da0fe # 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:22:46.867Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-16T21:22:47.214Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-16T21:22:47.338Z] ========================================================= [2020-09-16T21:22:47.338Z] EdgeX Global Pipelines Version Info [2020-09-16T21:22:47.338Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-16T21:22:48.934Z] ------------------- [2020-09-16T21:22:48.934Z] stable info: [2020-09-16T21:22:48.934Z] ------------------- [2020-09-16T21:22:48.934Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-16T21:22:48.935Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-16T21:22:48.935Z] Message: update stable to v1.0.122 > git rev-list --no-walk 89fd32c84b345df5722f940feabe1cc679a40bc6 # timeout=10 [2020-09-16T21:22:49.910Z] ------------------- [2020-09-16T21:22:49.910Z] experimental info: [2020-09-16T21:22:49.910Z] ------------------- [2020-09-16T21:22:49.910Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-16T21:22:49.910Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-16T21:22:49.910Z] Message: update experimental to v1.0.122 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-16T21:22:50.621Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-16T21:22:50.787Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-16T21:22:50.898Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-16T21:22:51.005Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-16T21:22:51.121Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-16T21:22:51.300Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-16T21:22:51.437Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-16T21:22:51.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-16T21:22:51.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-16T21:22:51.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-16T21:22:51.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-16T21:22:52.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-16T21:22:52.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-16T21:22:52.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-16T21:22:52.296Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T21:22:52.390Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T21:22:52.549Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T21:22:52.645Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T21:22:52.748Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-16T21:22:52.897Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-16T21:22:52.988Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-16T21:22:53.082Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-16T21:22:53.248Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-478 [Pipeline] echo [2020-09-16T21:22:53.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-478 [Pipeline] echo [2020-09-16T21:22:53.454Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-478 [Pipeline] echo [2020-09-16T21:22:53.559Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2e2e20a2afff0345c80348d55f505bd82c9da0fe [Pipeline] echo [2020-09-16T21:22:53.661Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2e2e20a [Pipeline] echo [2020-09-16T21:22:53.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-16T21:22:54.458Z] + git log --format=format:%s -1 2e2e20a2afff0345c80348d55f505bd82c9da0fe [Pipeline] echo [2020-09-16T21:22:54.531Z] GIT_COMMIT: 2e2e20a2afff0345c80348d55f505bd82c9da0fe, Commit Message: fix: Fixed broken unit tests now failing with Go 1.15.2 [Pipeline] echo [2020-09-16T21:22:54.575Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:22:55.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T21:22:55.686Z] [2020-09-16T21:22:55.686Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:22:56.095Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T21:22:56.095Z] latest: Pulling from edgex-devops/git-semver [2020-09-16T21:22:56.095Z] 31603596830f: Pulling fs layer [2020-09-16T21:22:56.095Z] 2a8b12db71e7: Pulling fs layer [2020-09-16T21:22:56.095Z] 6ca5941a6612: Pulling fs layer [2020-09-16T21:22:56.095Z] ecc8261a40a4: Pulling fs layer [2020-09-16T21:22:56.095Z] ecc8261a40a4: Waiting [2020-09-16T21:22:56.095Z] 2a8b12db71e7: Verifying Checksum [2020-09-16T21:22:56.372Z] 31603596830f: Verifying Checksum [2020-09-16T21:22:56.372Z] 31603596830f: Download complete [2020-09-16T21:22:56.372Z] ecc8261a40a4: Verifying Checksum [2020-09-16T21:22:56.372Z] ecc8261a40a4: Download complete [2020-09-16T21:22:56.641Z] 6ca5941a6612: Verifying Checksum [2020-09-16T21:22:56.641Z] 6ca5941a6612: Download complete [2020-09-16T21:22:56.641Z] 31603596830f: Pull complete [2020-09-16T21:22:56.906Z] 2a8b12db71e7: Pull complete [2020-09-16T21:22:57.498Z] 6ca5941a6612: Pull complete [2020-09-16T21:22:57.766Z] ecc8261a40a4: Pull complete [2020-09-16T21:22:57.767Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-16T21:22:57.767Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T21:22:57.767Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-16T21:22:57.870Z] prd-centos7-docker-4c-2g-13 does not seem to be running inside a container [2020-09-16T21:22:57.924Z] $ 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:23:00.048Z] $ docker top 68f183fa13eb169dc4028c4d8473ee0da759fe998d8ef15a08cf70eab56a7137 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-16T21:23:00.434Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-16T21:23:00.434Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-16T21:23:00.634Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-16T21:23:00.640Z] $ docker exec 68f183fa13eb169dc4028c4d8473ee0da759fe998d8ef15a08cf70eab56a7137 ssh-agent [2020-09-16T21:23:00.789Z] SSH_AUTH_SOCK=/tmp/ssh-1xDrqBHsU5HV/agent.11 [2020-09-16T21:23:00.789Z] SSH_AGENT_PID=16 [2020-09-16T21:23:00.803Z] Running ssh-add (command line suppressed) [2020-09-16T21:23:00.917Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_4907603564393557819.key (/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_4907603564393557819.key) [2020-09-16T21:23:00.974Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-16T21:23:01.397Z] + git describe --exact-match --tags HEAD [2020-09-16T21:23:01.397Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-16T21:23:01.438Z] $ docker exec --env ******** --env ******** 68f183fa13eb169dc4028c4d8473ee0da759fe998d8ef15a08cf70eab56a7137 ssh-agent -k [2020-09-16T21:23:01.570Z] unset SSH_AUTH_SOCK; [2020-09-16T21:23:01.571Z] unset SSH_AGENT_PID; [2020-09-16T21:23:01.571Z] echo Agent pid 16 killed; [2020-09-16T21:23:01.616Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-16T21:23:01.728Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-16T21:23:01.728Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-16T21:23:01.835Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-16T21:23:01.835Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-16T21:23:02.023Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-16T21:23:02.030Z] $ docker exec 68f183fa13eb169dc4028c4d8473ee0da759fe998d8ef15a08cf70eab56a7137 ssh-agent [2020-09-16T21:23:02.189Z] SSH_AUTH_SOCK=/tmp/ssh-D8OOkJYnAdbG/agent.45 [2020-09-16T21:23:02.189Z] SSH_AGENT_PID=50 [2020-09-16T21:23:02.197Z] Running ssh-add (command line suppressed) [2020-09-16T21:23:02.308Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_6352614854402988669.key (/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_6352614854402988669.key) [2020-09-16T21:23:02.356Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-16T21:23:02.724Z] + git semver init [2020-09-16T21:23:02.724Z] # -> Open(): unable to determine branch for HEAD [2020-09-16T21:23:02.724Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-478/.git [2020-09-16T21:23:02.724Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-478 [2020-09-16T21:23:02.724Z] # $SEMVER_REMOTE_NAME = origin [2020-09-16T21:23:02.724Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-16T21:23:02.724Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-16T21:23:02.724Z] # $SEMVER_BRANCH = PR-478 [2020-09-16T21:23:02.724Z] # $SEMVER_TEMP = /tmp/semver-238659756 [2020-09-16T21:23:02.724Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-16T21:23:05.293Z] # '/tmp/semver-238659756' -> '/w/workspace/ndry_app-functions-sdk-go_PR-478/.semver' [2020-09-16T21:23:05.293Z] # -> Force: false [2020-09-16T21:23:05.293Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-478/.semver [Pipeline] } [2020-09-16T21:23:05.317Z] $ docker exec --env ******** --env ******** 68f183fa13eb169dc4028c4d8473ee0da759fe998d8ef15a08cf70eab56a7137 ssh-agent -k [2020-09-16T21:23:05.432Z] unset SSH_AUTH_SOCK; [2020-09-16T21:23:05.432Z] unset SSH_AGENT_PID; [2020-09-16T21:23:05.432Z] echo Agent pid 50 killed; [2020-09-16T21:23:05.501Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-16T21:23:05.992Z] + git semver [Pipeline] } [2020-09-16T21:23:06.026Z] $ docker stop --time=1 68f183fa13eb169dc4028c4d8473ee0da759fe998d8ef15a08cf70eab56a7137 [2020-09-16T21:23:07.496Z] $ docker rm -f 68f183fa13eb169dc4028c4d8473ee0da759fe998d8ef15a08cf70eab56a7137 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-16T21:23:09.980Z] Stashed 43 file(s) [Pipeline] echo [2020-09-16T21:23:09.984Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-16T21:23:10.098Z] 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:23:10.827Z] Running on prd-centos7-docker-4c-2g-16 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] ws [2020-09-16T21:23:10.882Z] Running in /w/workspace/app-functions-sdk-go/19 [Pipeline] { [Pipeline] checkout [2020-09-16T21:23:13.496Z] using credential edgex-jenkins-ssh [2020-09-16T21:23:13.551Z] Cloning the remote Git repository [2020-09-16T21:23:13.552Z] Cloning with configured refspecs honoured and without tags [2020-09-16T21:23:13.591Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:23:13.671Z] > git init /w/workspace/app-functions-sdk-go/19 # timeout=10 [2020-09-16T21:23:13.716Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:23:13.717Z] > git --version # timeout=10 [2020-09-16T21:23:13.721Z] > git --version # 'git version 2.16.5' [2020-09-16T21:23:13.722Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T21:23:13.750Z] > 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:23:14.960Z] Fetching without tags [2020-09-16T21:23:15.339Z] Merging remotes/origin/master commit c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 into PR head commit 2e2e20a2afff0345c80348d55f505bd82c9da0fe [2020-09-16T21:23:15.424Z] Merge succeeded, producing 2e2e20a2afff0345c80348d55f505bd82c9da0fe [2020-09-16T21:23:15.425Z] Checking out Revision 2e2e20a2afff0345c80348d55f505bd82c9da0fe (PR-478) [2020-09-16T21:23:14.914Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T21:23:14.920Z] > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 [2020-09-16T21:23:14.925Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T21:23:14.948Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T21:23:14.966Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:23:14.966Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T21:23:14.974Z] > 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:23:15.348Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T21:23:15.355Z] > git checkout -f 2e2e20a2afff0345c80348d55f505bd82c9da0fe # timeout=10 [2020-09-16T21:23:15.397Z] > git remote # timeout=10 [2020-09-16T21:23:15.402Z] > git config --get remote.origin.url # timeout=10 [2020-09-16T21:23:15.407Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T21:23:15.410Z] > git merge c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 # timeout=10 [2020-09-16T21:23:15.419Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-16T21:23:15.428Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T21:23:15.434Z] > git checkout -f 2e2e20a2afff0345c80348d55f505bd82c9da0fe # timeout=10 [2020-09-16T21:23:19.094Z] 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:23:21.096Z] ========================================================= [2020-09-16T21:23:21.096Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-16T21:23:21.096Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:23:21.818Z] + 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:23:22.094Z] Sending build context to Docker daemon 37.16MB [2020-09-16T21:23:22.358Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-16T21:23:22.358Z] Step 2/8 : FROM ${BASE} [2020-09-16T21:23:22.358Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-16T21:23:22.358Z] df20fa9351a1: Pulling fs layer [2020-09-16T21:23:22.358Z] ed8968b2872e: Pulling fs layer [2020-09-16T21:23:22.358Z] a92cc7c5fd73: Pulling fs layer [2020-09-16T21:23:22.358Z] e871e8e8d7a9: Pulling fs layer [2020-09-16T21:23:22.358Z] e73272ec9a57: Pulling fs layer [2020-09-16T21:23:22.358Z] 1e910a182e73: Pulling fs layer [2020-09-16T21:23:22.358Z] 4e634b169226: Pulling fs layer [2020-09-16T21:23:22.358Z] e871e8e8d7a9: Waiting [2020-09-16T21:23:22.358Z] e73272ec9a57: Waiting [2020-09-16T21:23:22.358Z] 4e634b169226: Waiting [2020-09-16T21:23:22.358Z] a92cc7c5fd73: Download complete [2020-09-16T21:23:22.358Z] ed8968b2872e: Download complete [2020-09-16T21:23:22.358Z] e73272ec9a57: Verifying Checksum [2020-09-16T21:23:22.358Z] e73272ec9a57: Download complete [2020-09-16T21:23:22.358Z] 1e910a182e73: Verifying Checksum [2020-09-16T21:23:22.358Z] 1e910a182e73: Download complete [2020-09-16T21:23:22.946Z] df20fa9351a1: Verifying Checksum [2020-09-16T21:23:22.946Z] df20fa9351a1: Download complete [2020-09-16T21:23:22.946Z] df20fa9351a1: Pull complete [2020-09-16T21:23:23.212Z] ed8968b2872e: Pull complete [2020-09-16T21:23:23.212Z] a92cc7c5fd73: Pull complete [2020-09-16T21:23:25.175Z] 4e634b169226: Verifying Checksum [2020-09-16T21:23:25.175Z] 4e634b169226: Download complete [2020-09-16T21:23:25.664Z] Still waiting to schedule task [2020-09-16T21:23:25.664Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-14’ is offline [2020-09-16T21:23:25.755Z] e871e8e8d7a9: Verifying Checksum [2020-09-16T21:23:25.755Z] e871e8e8d7a9: Download complete [2020-09-16T21:23:31.593Z] e871e8e8d7a9: Pull complete [2020-09-16T21:23:31.593Z] e73272ec9a57: Pull complete [2020-09-16T21:23:31.593Z] 1e910a182e73: Pull complete [2020-09-16T21:23:38.348Z] 4e634b169226: Pull complete [2020-09-16T21:23:38.348Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-16T21:23:38.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-16T21:23:38.348Z] ---> f7629b54cfaa [2020-09-16T21:23:38.348Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-16T21:23:38.348Z] latest: Pulling from library/docker [2020-09-16T21:23:38.348Z] df20fa9351a1: Already exists [2020-09-16T21:23:38.348Z] 25ad7478873d: Pulling fs layer [2020-09-16T21:23:38.348Z] 4684f6177b5d: Pulling fs layer [2020-09-16T21:23:38.348Z] 46e300cec669: Pulling fs layer [2020-09-16T21:23:38.348Z] 63038576ad94: Pulling fs layer [2020-09-16T21:23:38.348Z] 0fdb76c4706c: Pulling fs layer [2020-09-16T21:23:38.348Z] cb7edeffdfd5: Pulling fs layer [2020-09-16T21:23:38.348Z] 63038576ad94: Waiting [2020-09-16T21:23:38.348Z] 0fdb76c4706c: Waiting [2020-09-16T21:23:38.348Z] cb7edeffdfd5: Waiting [2020-09-16T21:23:38.348Z] 4684f6177b5d: Verifying Checksum [2020-09-16T21:23:38.348Z] 4684f6177b5d: Download complete [2020-09-16T21:23:38.348Z] 25ad7478873d: Verifying Checksum [2020-09-16T21:23:38.348Z] 25ad7478873d: Download complete [2020-09-16T21:23:38.348Z] 63038576ad94: Verifying Checksum [2020-09-16T21:23:38.348Z] 63038576ad94: Download complete [2020-09-16T21:23:38.616Z] cb7edeffdfd5: Verifying Checksum [2020-09-16T21:23:38.616Z] cb7edeffdfd5: Download complete [2020-09-16T21:23:38.616Z] 0fdb76c4706c: Verifying Checksum [2020-09-16T21:23:38.616Z] 0fdb76c4706c: Download complete [2020-09-16T21:23:38.616Z] 25ad7478873d: Pull complete [2020-09-16T21:23:38.616Z] 4684f6177b5d: Pull complete [2020-09-16T21:23:39.569Z] 46e300cec669: Verifying Checksum [2020-09-16T21:23:39.569Z] 46e300cec669: Download complete [2020-09-16T21:23:41.532Z] 46e300cec669: Pull complete [2020-09-16T21:23:41.532Z] 63038576ad94: Pull complete [2020-09-16T21:23:41.532Z] 0fdb76c4706c: Pull complete [2020-09-16T21:23:41.532Z] cb7edeffdfd5: Pull complete [2020-09-16T21:23:41.532Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-16T21:23:41.796Z] Status: Downloaded newer image for docker:latest [2020-09-16T21:23:43.228Z] ---> eb6d76338be5 [2020-09-16T21:23:43.229Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-16T21:23:43.229Z] ---> Running in c25f16a86cc8 [2020-09-16T21:23:43.229Z] Removing intermediate container c25f16a86cc8 [2020-09-16T21:23:43.229Z] ---> 8c62e7bac3ed [2020-09-16T21:23:43.229Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-16T21:23:43.502Z] ---> Running in 0ebc0db4db0e [2020-09-16T21:23:44.100Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-16T21:23:44.700Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-16T21:23:45.288Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-16T21:23:45.551Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-16T21:23:45.815Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-16T21:23:45.815Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-16T21:23:45.815Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-16T21:23:46.089Z] Executing busybox-1.31.1-r16.trigger [2020-09-16T21:23:46.089Z] OK: 167 MiB in 44 packages [2020-09-16T21:23:46.713Z] Removing intermediate container 0ebc0db4db0e [2020-09-16T21:23:46.713Z] ---> eefa07425cb2 [2020-09-16T21:23:46.713Z] Step 6/8 : WORKDIR /build [2020-09-16T21:23:46.713Z] ---> Running in 725e7e6f2aa2 [2020-09-16T21:23:46.713Z] Removing intermediate container 725e7e6f2aa2 [2020-09-16T21:23:46.713Z] ---> a434ebac99a7 [2020-09-16T21:23:46.713Z] Step 7/8 : COPY go.mod . [2020-09-16T21:23:46.986Z] ---> ccf7af347101 [2020-09-16T21:23:46.986Z] Step 8/8 : RUN go mod download [2020-09-16T21:23:46.986Z] ---> Running in 1d2cd672ea1b [2020-09-16T21:24:13.752Z] Removing intermediate container 1d2cd672ea1b [2020-09-16T21:24:13.752Z] ---> ae4fce5a5c51 [2020-09-16T21:24:13.752Z] Successfully built ae4fce5a5c51 [2020-09-16T21:24:13.752Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:24:14.128Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-16T21:24:14.128Z] . [Pipeline] withDockerContainer [2020-09-16T21:24:14.247Z] prd-centos7-docker-4c-2g-16 does not seem to be running inside a container [2020-09-16T21:24:14.473Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/19 -v /w/workspace/app-functions-sdk-go/19:/w/workspace/app-functions-sdk-go/19:rw,z -v /w/workspace/app-functions-sdk-go/19@tmp:/w/workspace/app-functions-sdk-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-16T21:24:15.139Z] $ docker top d116688d0a5af40ae184fa0fe145797a3cb0c6ffa60d71bbd3fe330abb598ae6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T21:24:15.653Z] + go version [2020-09-16T21:24:15.653Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-16T21:24:15.669Z] $ docker stop --time=1 d116688d0a5af40ae184fa0fe145797a3cb0c6ffa60d71bbd3fe330abb598ae6 [2020-09-16T21:24:17.008Z] $ docker rm -f d116688d0a5af40ae184fa0fe145797a3cb0c6ffa60d71bbd3fe330abb598ae6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:24:17.855Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-16T21:24:17.855Z] . [Pipeline] withDockerContainer [2020-09-16T21:24:17.954Z] prd-centos7-docker-4c-2g-16 does not seem to be running inside a container [2020-09-16T21:24:17.999Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/19 -v /w/workspace/app-functions-sdk-go/19:/w/workspace/app-functions-sdk-go/19:rw,z -v /w/workspace/app-functions-sdk-go/19@tmp:/w/workspace/app-functions-sdk-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-16T21:24:18.556Z] $ docker top b792974b1c867bdeaf4a26e03595dfcbe3cc06439336914725f58ae7cddf6c4a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T21:24:19.055Z] + make test [2020-09-16T21:24:19.055Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-16T21:24:20.457Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-16T21:24:27.126Z] # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [2020-09-16T21:24:27.126Z] internal/v2/dtos/requests/secrets.go:56:10: undefined: v2.NewErrContractInvalid [2020-09-16T21:24:27.126Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.103s coverage: 86.2% of statements [2020-09-16T21:24:37.246Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appsdk [build failed] [2020-09-16T21:24:37.246Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-16T21:24:37.246Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-16T21:24:37.247Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.030s coverage: 53.5% of statements [2020-09-16T21:24:37.247Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-16T21:24:37.247Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.253s coverage: 69.1% of statements [2020-09-16T21:24:38.212Z] # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests.test] [2020-09-16T21:24:38.212Z] internal/v2/dtos/requests/secrets.go:56: undefined: v2.NewErrContractInvalid [2020-09-16T21:24:53.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.951s coverage: 61.6% of statements [2020-09-16T21:24:53.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements [2020-09-16T21:24:53.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.004s coverage: 100.0% of statements [2020-09-16T21:24:53.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.127s coverage: 100.0% of statements [2020-09-16T21:24:53.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements [2020-09-16T21:24:53.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.007s coverage: 100.0% of statements [2020-09-16T21:24:53.141Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-16T21:24:53.141Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-16T21:24:53.141Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-16T21:24:53.141Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-16T21:24:53.141Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-16T21:24:53.141Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-16T21:24:53.141Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-16T21:24:53.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.004s coverage: 96.6% of statements [2020-09-16T21:24:53.141Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-16T21:24:53.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.004s coverage: 97.7% of statements [2020-09-16T21:24:53.141Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-16T21:24:53.141Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-16T21:24:53.141Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [build failed] [2020-09-16T21:24:53.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.762s coverage: 75.0% of statements [2020-09-16T21:24:53.141Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http [build failed] [2020-09-16T21:24:53.141Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [build failed] [2020-09-16T21:24:53.141Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver [build failed] [2020-09-16T21:25:05.387Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.434s coverage: 71.6% of statements [2020-09-16T21:25:05.387Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-09-16T21:25:05.387Z] FAIL [2020-09-16T21:25:05.387Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2020-09-16T21:25:05.407Z] $ docker stop --time=1 b792974b1c867bdeaf4a26e03595dfcbe3cc06439336914725f58ae7cddf6c4a [2020-09-16T21:25:07.191Z] $ docker rm -f b792974b1c867bdeaf4a26e03595dfcbe3cc06439336914725f58ae7cddf6c4a [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:25:08.797Z] Failed in branch amd64 [2020-09-16T21:25:57.435Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] ws [2020-09-16T21:25:57.498Z] Running in /w/workspace/app-functions-sdk-go/19 [Pipeline] { [Pipeline] checkout [2020-09-16T21:26:02.361Z] using credential edgex-jenkins-ssh [2020-09-16T21:26:02.427Z] Cloning the remote Git repository [2020-09-16T21:26:02.427Z] Cloning with configured refspecs honoured and without tags [2020-09-16T21:26:02.530Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:26:02.642Z] > git init /w/workspace/app-functions-sdk-go/19 # timeout=10 [2020-09-16T21:26:02.700Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:26:02.702Z] > git --version # timeout=10 [2020-09-16T21:26:02.737Z] > git --version # 'git version 2.17.1' [2020-09-16T21:26:02.739Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T21:26:02.828Z] > 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:26:05.757Z] Fetching without tags [2020-09-16T21:26:06.317Z] Merging remotes/origin/master commit c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 into PR head commit 2e2e20a2afff0345c80348d55f505bd82c9da0fe [2020-09-16T21:26:05.677Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T21:26:05.703Z] > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 [2020-09-16T21:26:05.716Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T21:26:05.739Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T21:26:05.767Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:26:05.768Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T21:26:05.779Z] > 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:26:06.337Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T21:26:06.351Z] > git checkout -f 2e2e20a2afff0345c80348d55f505bd82c9da0fe # timeout=10 [2020-09-16T21:26:06.585Z] Merge succeeded, producing 2e2e20a2afff0345c80348d55f505bd82c9da0fe [2020-09-16T21:26:06.586Z] Checking out Revision 2e2e20a2afff0345c80348d55f505bd82c9da0fe (PR-478) [2020-09-16T21:26:06.461Z] > git remote # timeout=10 [2020-09-16T21:26:06.478Z] > git config --get remote.origin.url # timeout=10 [2020-09-16T21:26:06.491Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T21:26:06.502Z] > git merge c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 # timeout=10 [2020-09-16T21:26:06.568Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-16T21:26:06.597Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T21:26:06.628Z] > git checkout -f 2e2e20a2afff0345c80348d55f505bd82c9da0fe # timeout=10 [2020-09-16T21:26:10.988Z] 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:26:14.282Z] ========================================================= [2020-09-16T21:26:14.282Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-16T21:26:14.282Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:26:15.257Z] + 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:26:16.263Z] Sending build context to Docker daemon 37.16MB [2020-09-16T21:26:16.537Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-16T21:26:16.537Z] Step 2/8 : FROM ${BASE} [2020-09-16T21:26:16.815Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-16T21:26:16.815Z] b538f80385f9: Pulling fs layer [2020-09-16T21:26:16.816Z] 74f711af9a0d: Pulling fs layer [2020-09-16T21:26:16.816Z] 99f96fe45779: Pulling fs layer [2020-09-16T21:26:16.816Z] 8529a6b9a6be: Pulling fs layer [2020-09-16T21:26:16.816Z] 45590311c82a: Pulling fs layer [2020-09-16T21:26:16.816Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-16T21:26:16.816Z] 209524e5b208: Pulling fs layer [2020-09-16T21:26:16.816Z] 45590311c82a: Waiting [2020-09-16T21:26:16.816Z] 69ca0ff8b7b3: Waiting [2020-09-16T21:26:16.816Z] 209524e5b208: Waiting [2020-09-16T21:26:16.816Z] 8529a6b9a6be: Waiting [2020-09-16T21:26:16.816Z] 99f96fe45779: Download complete [2020-09-16T21:26:16.816Z] 74f711af9a0d: Verifying Checksum [2020-09-16T21:26:16.816Z] 74f711af9a0d: Download complete [2020-09-16T21:26:16.816Z] 45590311c82a: Verifying Checksum [2020-09-16T21:26:16.816Z] 45590311c82a: Download complete [2020-09-16T21:26:16.816Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-16T21:26:16.816Z] 69ca0ff8b7b3: Download complete [2020-09-16T21:26:16.816Z] b538f80385f9: Verifying Checksum [2020-09-16T21:26:16.816Z] b538f80385f9: Download complete [2020-09-16T21:26:17.430Z] b538f80385f9: Pull complete [2020-09-16T21:26:18.033Z] 74f711af9a0d: Pull complete [2020-09-16T21:26:18.306Z] 99f96fe45779: Pull complete [2020-09-16T21:26:19.287Z] 209524e5b208: Verifying Checksum [2020-09-16T21:26:19.287Z] 209524e5b208: Download complete [2020-09-16T21:26:20.722Z] 8529a6b9a6be: Download complete [2020-09-16T21:26:30.898Z] 8529a6b9a6be: Pull complete [2020-09-16T21:26:31.171Z] 45590311c82a: Pull complete [2020-09-16T21:26:31.766Z] 69ca0ff8b7b3: Pull complete [2020-09-16T21:26:36.111Z] 209524e5b208: Pull complete [2020-09-16T21:26:36.111Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-16T21:26:36.111Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-16T21:26:36.111Z] ---> 5bddaf1c2fca [2020-09-16T21:26:36.111Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-16T21:26:36.111Z] latest: Pulling from library/docker [2020-09-16T21:26:36.111Z] b538f80385f9: Already exists [2020-09-16T21:26:36.111Z] 259a493cd78d: Pulling fs layer [2020-09-16T21:26:36.111Z] b8e66b5100f5: Pulling fs layer [2020-09-16T21:26:36.111Z] 39dc9c94d07c: Pulling fs layer [2020-09-16T21:26:36.111Z] 551b823b3b82: Pulling fs layer [2020-09-16T21:26:36.111Z] 3c52a74df98c: Pulling fs layer [2020-09-16T21:26:36.111Z] 6c9b121b6998: Pulling fs layer [2020-09-16T21:26:36.111Z] 551b823b3b82: Waiting [2020-09-16T21:26:36.111Z] 3c52a74df98c: Waiting [2020-09-16T21:26:36.111Z] 6c9b121b6998: Waiting [2020-09-16T21:26:36.111Z] b8e66b5100f5: Verifying Checksum [2020-09-16T21:26:36.111Z] b8e66b5100f5: Download complete [2020-09-16T21:26:36.111Z] 259a493cd78d: Verifying Checksum [2020-09-16T21:26:36.111Z] 259a493cd78d: Download complete [2020-09-16T21:26:36.111Z] 551b823b3b82: Download complete [2020-09-16T21:26:36.111Z] 3c52a74df98c: Verifying Checksum [2020-09-16T21:26:36.111Z] 3c52a74df98c: Download complete [2020-09-16T21:26:36.111Z] 6c9b121b6998: Verifying Checksum [2020-09-16T21:26:36.111Z] 6c9b121b6998: Download complete [2020-09-16T21:26:36.719Z] 259a493cd78d: Pull complete [2020-09-16T21:26:36.997Z] b8e66b5100f5: Pull complete [2020-09-16T21:26:37.274Z] 39dc9c94d07c: Verifying Checksum [2020-09-16T21:26:37.274Z] 39dc9c94d07c: Download complete [2020-09-16T21:26:40.702Z] 39dc9c94d07c: Pull complete [2020-09-16T21:26:40.702Z] 551b823b3b82: Pull complete [2020-09-16T21:26:40.702Z] 3c52a74df98c: Pull complete [2020-09-16T21:26:41.320Z] 6c9b121b6998: Pull complete [2020-09-16T21:26:41.320Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-16T21:26:41.320Z] Status: Downloaded newer image for docker:latest [2020-09-16T21:26:48.051Z] ---> 4a3764833fb1 [2020-09-16T21:26:48.051Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-16T21:26:48.051Z] ---> Running in 925d4bc1099a [2020-09-16T21:26:48.051Z] Removing intermediate container 925d4bc1099a [2020-09-16T21:26:48.051Z] ---> b1047bacd376 [2020-09-16T21:26:48.051Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-16T21:26:48.051Z] ---> Running in 14cbcdec6afe [2020-09-16T21:26:49.495Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-16T21:26:50.088Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-16T21:26:51.065Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-16T21:26:51.065Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-16T21:26:51.656Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-16T21:26:51.656Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-16T21:26:51.656Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-16T21:26:51.929Z] Executing busybox-1.31.1-r16.trigger [2020-09-16T21:26:51.929Z] OK: 144 MiB in 44 packages [2020-09-16T21:26:53.368Z] Removing intermediate container 14cbcdec6afe [2020-09-16T21:26:53.368Z] ---> 8ef21212678f [2020-09-16T21:26:53.368Z] Step 6/8 : WORKDIR /build [2020-09-16T21:26:53.368Z] ---> Running in d584f0a42bea [2020-09-16T21:26:53.991Z] Removing intermediate container d584f0a42bea [2020-09-16T21:26:53.991Z] ---> a59a3fd89858 [2020-09-16T21:26:53.991Z] Step 7/8 : COPY go.mod . [2020-09-16T21:26:54.583Z] ---> a64f296e992c [2020-09-16T21:26:54.583Z] Step 8/8 : RUN go mod download [2020-09-16T21:26:54.860Z] ---> Running in 8a29adea057e [2020-09-16T21:27:27.192Z] Removing intermediate container 8a29adea057e [2020-09-16T21:27:27.192Z] ---> 3a8d34a84777 [2020-09-16T21:27:27.192Z] Successfully built 3a8d34a84777 [2020-09-16T21:27:27.192Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:27:27.610Z] + docker inspect -f . ci-base-image-arm64 [2020-09-16T21:27:27.610Z] . [Pipeline] withDockerContainer [2020-09-16T21:27:27.887Z] prd-ubuntu18.04-docker-arm64-4c-16g-17 does not seem to be running inside a container [2020-09-16T21:27:27.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/19 -v /w/workspace/app-functions-sdk-go/19:/w/workspace/app-functions-sdk-go/19:rw,z -v /w/workspace/app-functions-sdk-go/19@tmp:/w/workspace/app-functions-sdk-go/19@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:27:29.863Z] $ docker top 2d8fb0792da9ec61f290f6d7b05e117c18d1f8bc3548581bdebee8ccb11efc83 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T21:27:31.303Z] + go version [2020-09-16T21:27:31.304Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-16T21:27:31.330Z] $ docker stop --time=1 2d8fb0792da9ec61f290f6d7b05e117c18d1f8bc3548581bdebee8ccb11efc83 [2020-09-16T21:27:33.289Z] $ docker rm -f 2d8fb0792da9ec61f290f6d7b05e117c18d1f8bc3548581bdebee8ccb11efc83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:27:34.406Z] + docker inspect -f . ci-base-image-arm64 [2020-09-16T21:27:34.406Z] . [Pipeline] withDockerContainer [2020-09-16T21:27:34.711Z] prd-ubuntu18.04-docker-arm64-4c-16g-17 does not seem to be running inside a container [2020-09-16T21:27:34.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/19 -v /w/workspace/app-functions-sdk-go/19:/w/workspace/app-functions-sdk-go/19:rw,z -v /w/workspace/app-functions-sdk-go/19@tmp:/w/workspace/app-functions-sdk-go/19@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:27:36.706Z] $ docker top 3e5ca6f1d36732e02fe0383ae33d130f31e86182d64128c5b8032f01b819a479 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T21:27:38.151Z] + make test [2020-09-16T21:27:38.151Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-16T21:27:40.133Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-16T21:27:55.280Z] # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [2020-09-16T21:27:55.281Z] internal/v2/dtos/requests/secrets.go:56:10: undefined: v2.NewErrContractInvalid [2020-09-16T21:28:05.472Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.098s coverage: 86.2% of statements [2020-09-16T21:28:32.337Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appsdk [build failed] [2020-09-16T21:28:32.337Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-16T21:28:32.337Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-16T21:28:32.337Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.076s coverage: 53.5% of statements [2020-09-16T21:28:32.337Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-16T21:28:33.336Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.385s coverage: 69.1% of statements [2020-09-16T21:28:37.663Z] # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests.test] [2020-09-16T21:28:37.663Z] internal/v2/dtos/requests/secrets.go:56: undefined: v2.NewErrContractInvalid [2020-09-16T21:28:47.825Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.709s coverage: 61.6% of statements [2020-09-16T21:28:47.825Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.016s coverage: 89.5% of statements [2020-09-16T21:28:47.826Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.031s coverage: 100.0% of statements [2020-09-16T21:28:47.826Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.121s coverage: 100.0% of statements [2020-09-16T21:28:47.826Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.021s coverage: 100.0% of statements [2020-09-16T21:28:47.826Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.013s coverage: 100.0% of statements [2020-09-16T21:28:47.826Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-16T21:28:47.826Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-16T21:28:47.826Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-16T21:28:47.826Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-16T21:28:47.826Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-16T21:28:47.826Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-16T21:28:47.826Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-16T21:28:47.826Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.011s coverage: 96.6% of statements [2020-09-16T21:28:47.826Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-16T21:28:47.826Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.011s coverage: 97.7% of statements [2020-09-16T21:28:47.826Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-16T21:28:47.826Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-16T21:28:47.826Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [build failed] [2020-09-16T21:28:48.417Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.064s coverage: 75.0% of statements [2020-09-16T21:28:48.417Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http [build failed] [2020-09-16T21:28:48.417Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [build failed] [2020-09-16T21:28:48.417Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver [build failed] [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:28:41.320703591Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:28:41.332159248Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:28:41.345588032Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:28:41.358578367Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:28:41.371564323Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:28:41.384822393Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:28:41.397487973Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:28:41.404237645Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:28:41.410982647Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:28:43.411586467Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:28:43.411628508Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:28:43.418716666Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:28:43.440364658Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:28:43.447151061Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:28:53.447724413Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:29:03.448118846Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:29:03.58280886Z app=app_functions_sdk_go source=batch.go:148 msg="Batch count has been reached" [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:29:03.582683797Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-16T21:29:06.692Z] level=DEBUG ts=2020-09-16T21:29:03.59061492Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-16T21:29:06.692Z] panic: interface conversion: interface {} is nil, not [][]uint8 [2020-09-16T21:29:06.692Z] [2020-09-16T21:29:06.692Z] goroutine 15 [running]: [2020-09-16T21:29:06.692Z] github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.TestBatchInTimeAndCountMode_CountMet.func3(0x400002ae50, 0x400002ae60, 0x400015a900, 0x4000190600, 0x400002ae40) [2020-09-16T21:29:06.692Z] /w/workspace/app-functions-sdk-go/19/pkg/transforms/batch_test.go:119 +0x224 [2020-09-16T21:29:06.692Z] created by github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.TestBatchInTimeAndCountMode_CountMet [2020-09-16T21:29:06.692Z] /w/workspace/app-functions-sdk-go/19/pkg/transforms/batch_test.go:114 +0x17c [2020-09-16T21:29:06.692Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 22.299s [2020-09-16T21:29:06.692Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements [2020-09-16T21:29:06.692Z] FAIL [2020-09-16T21:29:06.692Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2020-09-16T21:29:06.719Z] $ docker stop --time=1 3e5ca6f1d36732e02fe0383ae33d130f31e86182d64128c5b8032f01b819a479 [2020-09-16T21:29:08.741Z] $ docker rm -f 3e5ca6f1d36732e02fe0383ae33d130f31e86182d64128c5b8032f01b819a479 [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:29:11.279Z] Failed in branch arm64 [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:29:13.982Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T21:29:14.559Z] ---> package-listing.sh [2020-09-16T21:29:14.560Z] ++ facter osfamily [2020-09-16T21:29:14.560Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-16T21:29:14.560Z] + OS_FAMILY=redhat [2020-09-16T21:29:14.560Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-478 [2020-09-16T21:29:14.560Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-16T21:29:14.560Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-16T21:29:14.560Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-16T21:29:14.560Z] + PACKAGES=/tmp/packages_start.txt [2020-09-16T21:29:14.560Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-478 ']' [2020-09-16T21:29:14.560Z] + PACKAGES=/tmp/packages_end.txt [2020-09-16T21:29:14.560Z] + case "${OS_FAMILY}" in [2020-09-16T21:29:14.560Z] + rpm -qa [2020-09-16T21:29:14.560Z] + sort [2020-09-16T21:29:18.785Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-16T21:29:18.785Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-16T21:29:18.785Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-16T21:29:18.785Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-478 ']' [2020-09-16T21:29:18.785Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-478/archives/ [2020-09-16T21:29:18.785Z] + 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:29:19.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T21:29:19.917Z] [2020-09-16T21:29:19.917Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:29:20.317Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T21:29:20.317Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-16T21:29:20.317Z] df20fa9351a1: Pulling fs layer [2020-09-16T21:29:20.317Z] 36b3adc4ff6f: Pulling fs layer [2020-09-16T21:29:20.317Z] 8ad3a11d3b57: Pulling fs layer [2020-09-16T21:29:20.317Z] 46f8f816bc3b: Pulling fs layer [2020-09-16T21:29:20.317Z] 0dadc02b9964: Pulling fs layer [2020-09-16T21:29:20.317Z] ce6a7cf60c04: Pulling fs layer [2020-09-16T21:29:20.317Z] 7a184a31f384: Pulling fs layer [2020-09-16T21:29:20.317Z] 0879bd2ef858: Pulling fs layer [2020-09-16T21:29:20.317Z] 46f8f816bc3b: Waiting [2020-09-16T21:29:20.317Z] 0dadc02b9964: Waiting [2020-09-16T21:29:20.317Z] ce6a7cf60c04: Waiting [2020-09-16T21:29:20.317Z] 7a184a31f384: Waiting [2020-09-16T21:29:20.317Z] 0879bd2ef858: Waiting [2020-09-16T21:29:20.317Z] 36b3adc4ff6f: Verifying Checksum [2020-09-16T21:29:20.317Z] 36b3adc4ff6f: Download complete [2020-09-16T21:29:20.317Z] 46f8f816bc3b: Download complete [2020-09-16T21:29:20.588Z] df20fa9351a1: Verifying Checksum [2020-09-16T21:29:20.588Z] df20fa9351a1: Download complete [2020-09-16T21:29:20.588Z] ce6a7cf60c04: Verifying Checksum [2020-09-16T21:29:20.588Z] ce6a7cf60c04: Download complete [2020-09-16T21:29:20.588Z] 0dadc02b9964: Download complete [2020-09-16T21:29:20.588Z] 7a184a31f384: Verifying Checksum [2020-09-16T21:29:20.588Z] 7a184a31f384: Download complete [2020-09-16T21:29:20.851Z] df20fa9351a1: Pull complete [2020-09-16T21:29:20.851Z] 8ad3a11d3b57: Verifying Checksum [2020-09-16T21:29:20.851Z] 8ad3a11d3b57: Download complete [2020-09-16T21:29:20.851Z] 36b3adc4ff6f: Pull complete [2020-09-16T21:29:21.116Z] 0879bd2ef858: Verifying Checksum [2020-09-16T21:29:21.116Z] 0879bd2ef858: Download complete [2020-09-16T21:29:21.698Z] 8ad3a11d3b57: Pull complete [2020-09-16T21:29:21.698Z] 46f8f816bc3b: Pull complete [2020-09-16T21:29:21.964Z] 0dadc02b9964: Pull complete [2020-09-16T21:29:21.964Z] ce6a7cf60c04: Pull complete [2020-09-16T21:29:22.226Z] 7a184a31f384: Pull complete [2020-09-16T21:29:24.163Z] 0879bd2ef858: Pull complete [2020-09-16T21:29:24.163Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-16T21:29:24.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T21:29:24.163Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-16T21:29:24.311Z] prd-centos7-docker-4c-2g-13 does not seem to be running inside a container [2020-09-16T21:29:24.359Z] $ 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:29:30.382Z] $ docker top b9420ea4ac4487b32607087494350be1e59a8f081c3e9d6b7821c29bc8ae1f6f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T21:29:30.943Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-16T21:29:31.261Z] + ls /var/log/sa-host [2020-09-16T21:29:31.261Z] + sadf -c /var/log/sa-host/sa05 [2020-09-16T21:29:31.261Z] file_magic: OK [2020-09-16T21:29:31.261Z] HZ: Using current value: 100 [2020-09-16T21:29:31.261Z] file_header: OK [2020-09-16T21:29:31.261Z] 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:29:31.261Z] Statistics: [2020-09-16T21:29:31.261Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-16T21:29:31.261Z] File successfully converted to sysstat format version 12.2.1 [2020-09-16T21:29:31.261Z] + sadf -c /var/log/sa-host/sa16 [2020-09-16T21:29:31.261Z] file_magic: OK [2020-09-16T21:29:31.261Z] HZ: Using current value: 100 [2020-09-16T21:29:31.261Z] file_header: OK [2020-09-16T21:29:31.261Z] 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:29:31.261Z] Statistics: [2020-09-16T21:29:31.261Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-16T21:29:31.261Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-16T21:29:31.340Z] provisioning config files... [2020-09-16T21:29:31.365Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/config9136021205740034057tmp [Pipeline] { [Pipeline] echo [2020-09-16T21:29:31.444Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T21:29:31.746Z] ---> create-netrc.sh [Pipeline] echo [2020-09-16T21:29:31.760Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T21:29:32.069Z] ---> logs-deploy.sh [2020-09-16T21:29:32.069Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-478/19 [2020-09-16T21:29:32.069Z] INFO: archiving workspace using pattern(s): [2020-09-16T21:29:33.461Z] Archives upload complete. [2020-09-16T21:29:33.461Z] INFO: archiving logs to Nexus