Pull request #486 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a41bce40d4c720421b4417385b37b85b233d3be4+dd68bd8a16b73082b1b414d7611500291c5101af (0cbe0dca6e18fecd683503cec6bceac3eb236cc9) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-486/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, goVersion:1.13, 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.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-43421 in /w/workspace/ndry_app-functions-sdk-go_PR-486 [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-486 # 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/486/head:refs/remotes/origin/PR-486 +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/486/head:refs/remotes/origin/PR-486 # 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/486/head:refs/remotes/origin/PR-486 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit dd68bd8a16b73082b1b414d7611500291c5101af into PR head commit a41bce40d4c720421b4417385b37b85b233d3be4 Merge succeeded, producing a41bce40d4c720421b4417385b37b85b233d3be4 Checking out Revision a41bce40d4c720421b4417385b37b85b233d3be4 (PR-486) > git config core.sparsecheckout # timeout=10 > git checkout -f a41bce40d4c720421b4417385b37b85b233d3be4 # 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 dd68bd8a16b73082b1b414d7611500291c5101af # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a41bce40d4c720421b4417385b37b85b233d3be4 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:19:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:19:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:19:01 ========================================================= 22:19:01 EdgeX Global Pipelines Version Info 22:19:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:19:02 ------------------- 22:19:02 stable info: 22:19:02 ------------------- 22:19:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:19:02 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 22:19:02 Message: update stable to v1.0.122 22:19:03 ------------------- 22:19:03 experimental info: 22:19:03 ------------------- 22:19:03 Commited By: **** collab-it+edgex@linuxfoundation.org 22:19:03 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 22:19:03 Message: update experimental to v1.0.122 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 22:19:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 22:19:04 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 22:19:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:19:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:19:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:19:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 22:19:05 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 22:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 22:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:19:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:19:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:19:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:19:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:19:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:19:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:19:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:19:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:19:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-486 [Pipeline] echo 22:19:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-486 [Pipeline] echo 22:19:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-486 [Pipeline] echo 22:19:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a41bce40d4c720421b4417385b37b85b233d3be4 [Pipeline] echo 22:19:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a41bce4 [Pipeline] echo 22:19:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:08 + git log --format=format:%s -1 a41bce40d4c720421b4417385b37b85b233d3be4 [Pipeline] echo 22:19:09 GIT_COMMIT: a41bce40d4c720421b4417385b37b85b233d3be4, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 22:19:09 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:19:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:19:09 22:19:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:19:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:19:10 latest: Pulling from edgex-devops/git-semver 22:19:10 31603596830f: Pulling fs layer 22:19:10 2a8b12db71e7: Pulling fs layer 22:19:10 6ca5941a6612: Pulling fs layer 22:19:10 ecc8261a40a4: Pulling fs layer 22:19:10 ecc8261a40a4: Waiting 22:19:10 2a8b12db71e7: Verifying Checksum 22:19:10 2a8b12db71e7: Download complete 22:19:10 31603596830f: Verifying Checksum 22:19:10 31603596830f: Download complete 22:19:10 ecc8261a40a4: Verifying Checksum 22:19:10 ecc8261a40a4: Download complete 22:19:10 6ca5941a6612: Verifying Checksum 22:19:10 6ca5941a6612: Download complete 22:19:10 31603596830f: Pull complete 22:19:10 2a8b12db71e7: Pull complete 22:19:11 6ca5941a6612: Pull complete 22:19:11 ecc8261a40a4: Pull complete 22:19:11 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:19:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:19:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:19:12 prd-centos7-docker-4c-2g-43421 does not seem to be running inside a container 22:19:12 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-486 -v /w/workspace/ndry_app-functions-sdk-go_PR-486:/w/workspace/ndry_app-functions-sdk-go_PR-486:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-486@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-486@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:19:14 $ docker top f7e408fb913df8b5e947d24b18b8f0bff65f054a3b189c1bb3f4015df6f254b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:19:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:19:14 [ssh-agent] Looking for ssh-agent implementation... 22:19:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:19:14 $ docker exec f7e408fb913df8b5e947d24b18b8f0bff65f054a3b189c1bb3f4015df6f254b9 ssh-agent 22:19:14 SSH_AUTH_SOCK=/tmp/ssh-UvvOJe5yx51n/agent.12 22:19:14 SSH_AGENT_PID=18 22:19:14 Running ssh-add (command line suppressed) 22:19:15 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-486@tmp/private_key_1448439177214513846.key (/w/workspace/ndry_app-functions-sdk-go_PR-486@tmp/private_key_1448439177214513846.key) 22:19:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:19:15 + git describe --exact-match --tags HEAD 22:19:15 fatal: No names found, cannot describe anything. [Pipeline] } 22:19:15 $ docker exec --env ******** --env ******** f7e408fb913df8b5e947d24b18b8f0bff65f054a3b189c1bb3f4015df6f254b9 ssh-agent -k 22:19:15 unset SSH_AUTH_SOCK; 22:19:15 unset SSH_AGENT_PID; 22:19:15 echo Agent pid 18 killed; 22:19:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:19:15 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 22:19:15 This usually means this commit has not been tagged. [Pipeline] sshagent 22:19:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:19:15 [ssh-agent] Looking for ssh-agent implementation... 22:19:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:19:16 $ docker exec f7e408fb913df8b5e947d24b18b8f0bff65f054a3b189c1bb3f4015df6f254b9 ssh-agent 22:19:16 SSH_AUTH_SOCK=/tmp/ssh-ECPf5B8QdgPf/agent.46 22:19:16 SSH_AGENT_PID=51 22:19:16 Running ssh-add (command line suppressed) 22:19:16 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-486@tmp/private_key_2555780373565300298.key (/w/workspace/ndry_app-functions-sdk-go_PR-486@tmp/private_key_2555780373565300298.key) 22:19:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:19:16 + git semver init 22:19:16 # -> Open(): unable to determine branch for HEAD 22:19:16 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-486/.git 22:19:16 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-486 22:19:16 # $SEMVER_REMOTE_NAME = origin 22:19:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:19:16 # $SEMVER_USER_NAME = edgex-jenkins 22:19:16 # $SEMVER_BRANCH = PR-486 22:19:16 # $SEMVER_TEMP = /tmp/semver-381905497 22:19:16 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 22:19:19 # '/tmp/semver-381905497' -> '/w/workspace/ndry_app-functions-sdk-go_PR-486/.semver' 22:19:19 # -> Force: false 22:19:19 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-486/.semver [Pipeline] } 22:19:19 $ docker exec --env ******** --env ******** f7e408fb913df8b5e947d24b18b8f0bff65f054a3b189c1bb3f4015df6f254b9 ssh-agent -k 22:19:19 unset SSH_AUTH_SOCK; 22:19:19 unset SSH_AGENT_PID; 22:19:19 echo Agent pid 51 killed; 22:19:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:19:20 + git semver [Pipeline] } 22:19:20 $ docker stop --time=1 f7e408fb913df8b5e947d24b18b8f0bff65f054a3b189c1bb3f4015df6f254b9 22:19:21 $ docker rm -f f7e408fb913df8b5e947d24b18b8f0bff65f054a3b189c1bb3f4015df6f254b9 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 22:19:24 Stashed 41 file(s) [Pipeline] echo 22:19:24 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 22:19:24 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 22:19:39 Still waiting to schedule task 22:19:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:19:39 Still waiting to schedule task 22:19:39 ‘prd-centos7-builder-2c-1g-1807’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-213’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-43413’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-43414’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-43415’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-43417’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-43424’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-43423’ is offline 22:21:19 Running on prd-centos7-docker-4c-2g-43429 in /w/workspace/ndry_app-functions-sdk-go_PR-486 [Pipeline] { [Pipeline] ws 22:21:19 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 22:21:27 using credential edgex-jenkins-ssh 22:21:27 Cloning the remote Git repository 22:21:27 Cloning with configured refspecs honoured and without tags 22:21:27 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:21:27 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 22:21:27 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:21:27 > git --version # timeout=10 22:21:27 > git --version # 'git version 2.16.5' 22:21:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:21:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:21:29 Fetching without tags 22:21:30 Merging remotes/origin/master commit dd68bd8a16b73082b1b414d7611500291c5101af into PR head commit a41bce40d4c720421b4417385b37b85b233d3be4 22:21:29 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:21:29 > git config --add remote.origin.fetch +refs/pull/486/head:refs/remotes/origin/PR-486 # timeout=10 22:21:29 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:21:29 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:21:29 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:21:29 using GIT_SSH to set credentials SSH Credentials for GitHub 22:21:29 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:21:30 > git config core.sparsecheckout # timeout=10 22:21:30 > git checkout -f a41bce40d4c720421b4417385b37b85b233d3be4 # timeout=10 22:21:30 > git remote # timeout=10 22:21:30 > git config --get remote.origin.url # timeout=10 22:21:30 using GIT_SSH to set credentials SSH Credentials for GitHub 22:21:30 > git merge dd68bd8a16b73082b1b414d7611500291c5101af # timeout=10 22:21:30 > git rev-parse HEAD^{commit} # timeout=10 22:21:30 Merge succeeded, producing a41bce40d4c720421b4417385b37b85b233d3be4 22:21:30 Checking out Revision a41bce40d4c720421b4417385b37b85b233d3be4 (PR-486) 22:21:30 > git config core.sparsecheckout # timeout=10 22:21:30 > git checkout -f a41bce40d4c720421b4417385b37b85b233d3be4 # timeout=10 22:21:34 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 22:21:34 > git --version # timeout=10 22:21:34 > git --version # 'git version 2.16.5' 22:21:34 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:21:37 ========================================================= 22:21:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 22:21:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:21:38 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 22:21:38 Sending build context to Docker daemon 37.16MB 22:21:38 Step 1/8 : ARG BASE=golang:1.13-alpine 22:21:38 Step 2/8 : FROM ${BASE} 22:21:39 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 22:21:39 df20fa9351a1: Pulling fs layer 22:21:39 ed8968b2872e: Pulling fs layer 22:21:39 a92cc7c5fd73: Pulling fs layer 22:21:39 2dd03ba5bac4: Pulling fs layer 22:21:39 1e091d79d1de: Pulling fs layer 22:21:39 481702a1767f: Pulling fs layer 22:21:39 f64a6f60c768: Pulling fs layer 22:21:39 e78d2573fc39: Pulling fs layer 22:21:39 e876d2f968b6: Pulling fs layer 22:21:39 ce8a83651883: Pulling fs layer 22:21:39 07967f4d0e4b: Pulling fs layer 22:21:39 f64a6f60c768: Waiting 22:21:39 e78d2573fc39: Waiting 22:21:39 e876d2f968b6: Waiting 22:21:39 ce8a83651883: Waiting 22:21:39 07967f4d0e4b: Waiting 22:21:39 481702a1767f: Waiting 22:21:39 1e091d79d1de: Waiting 22:21:39 2dd03ba5bac4: Waiting 22:21:39 a92cc7c5fd73: Verifying Checksum 22:21:39 a92cc7c5fd73: Download complete 22:21:39 ed8968b2872e: Verifying Checksum 22:21:39 ed8968b2872e: Download complete 22:21:39 1e091d79d1de: Verifying Checksum 22:21:39 1e091d79d1de: Download complete 22:21:39 481702a1767f: Verifying Checksum 22:21:39 481702a1767f: Download complete 22:21:39 df20fa9351a1: Verifying Checksum 22:21:39 df20fa9351a1: Download complete 22:21:40 df20fa9351a1: Pull complete 22:21:40 ed8968b2872e: Pull complete 22:21:40 a92cc7c5fd73: Pull complete 22:21:46 f64a6f60c768: Verifying Checksum 22:21:46 f64a6f60c768: Download complete 22:21:46 e876d2f968b6: Verifying Checksum 22:21:46 e876d2f968b6: Download complete 22:21:50 e78d2573fc39: Verifying Checksum 22:21:50 e78d2573fc39: Download complete 22:21:50 07967f4d0e4b: Verifying Checksum 22:21:50 07967f4d0e4b: Download complete 22:21:50 ce8a83651883: Verifying Checksum 22:21:50 ce8a83651883: Download complete 22:21:51 2dd03ba5bac4: Verifying Checksum 22:21:51 2dd03ba5bac4: Download complete 22:22:02 2dd03ba5bac4: Pull complete 22:22:02 1e091d79d1de: Pull complete 22:22:02 481702a1767f: Pull complete 22:22:06 f64a6f60c768: Pull complete 22:22:11 e78d2573fc39: Pull complete 22:22:11 e876d2f968b6: Pull complete 22:22:12 ce8a83651883: Pull complete 22:22:12 07967f4d0e4b: Pull complete 22:22:12 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 22:22:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 22:22:12 ---> 5d7c900382c6 22:22:12 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 22:22:12 latest: Pulling from library/docker 22:22:12 df20fa9351a1: Already exists 22:22:12 25ad7478873d: Pulling fs layer 22:22:12 4684f6177b5d: Pulling fs layer 22:22:12 46e300cec669: Pulling fs layer 22:22:12 63038576ad94: Pulling fs layer 22:22:12 0fdb76c4706c: Pulling fs layer 22:22:12 cb7edeffdfd5: Pulling fs layer 22:22:12 63038576ad94: Waiting 22:22:12 0fdb76c4706c: Waiting 22:22:12 cb7edeffdfd5: Waiting 22:22:13 25ad7478873d: Verifying Checksum 22:22:13 25ad7478873d: Download complete 22:22:13 4684f6177b5d: Verifying Checksum 22:22:13 4684f6177b5d: Download complete 22:22:13 25ad7478873d: Pull complete 22:22:13 0fdb76c4706c: Verifying Checksum 22:22:13 0fdb76c4706c: Download complete 22:22:13 63038576ad94: Verifying Checksum 22:22:13 63038576ad94: Download complete 22:22:13 4684f6177b5d: Pull complete 22:22:13 cb7edeffdfd5: Verifying Checksum 22:22:13 cb7edeffdfd5: Download complete 22:22:16 46e300cec669: Verifying Checksum 22:22:16 46e300cec669: Download complete 22:22:19 46e300cec669: Pull complete 22:22:19 63038576ad94: Pull complete 22:22:19 0fdb76c4706c: Pull complete 22:22:19 cb7edeffdfd5: Pull complete 22:22:19 Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 22:22:19 Status: Downloaded newer image for docker:latest 22:22:21 ---> ee0342294a10 22:22:21 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:22:21 ---> Running in 070491345d2e 22:22:21 Removing intermediate container 070491345d2e 22:22:21 ---> 72bc223250c0 22:22:21 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 22:22:22 ---> Running in 93390a0f6c9d 22:22:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:22:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:22:27 (1/5) Installing libsodium (1.0.18-r0) 22:22:27 (2/5) Installing libzmq (4.3.3-r0) 22:22:27 (3/5) Installing pkgconf (1.7.2-r0) 22:22:27 (4/5) Installing libsodium-dev (1.0.18-r0) 22:22:27 (5/5) Installing zeromq-dev (4.3.3-r0) 22:22:28 Executing busybox-1.31.1-r16.trigger 22:22:28 OK: 167 MiB in 44 packages 22:22:28 Removing intermediate container 93390a0f6c9d 22:22:28 ---> 241e7a9a25bf 22:22:28 Step 6/8 : WORKDIR /build 22:22:28 ---> Running in c595d63f9065 22:22:29 Removing intermediate container c595d63f9065 22:22:29 ---> 4081fde5d871 22:22:29 Step 7/8 : COPY go.mod . 22:22:29 ---> 8f5522dd7ecc 22:22:29 Step 8/8 : RUN go mod download 22:22:29 ---> Running in d68a67e7dbd8 22:22:32 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 22:22:32 go: finding github.com/BurntSushi/toml v0.3.1 22:22:32 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:22:32 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:22:32 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:22:32 go: finding github.com/bgentry/speakeasy v0.1.0 22:22:32 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 22:22:32 go: finding github.com/davecgh/go-spew v1.1.1 22:22:32 go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 22:22:32 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 22:22:32 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 22:22:32 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 22:22:32 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.79 22:22:32 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.21 22:22:32 go: finding github.com/edgexfoundry/go-mod-registry v0.1.21 22:22:32 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.19 22:22:32 go: finding github.com/fatih/color v1.7.0 22:22:32 go: finding github.com/fsnotify/fsnotify v1.4.7 22:22:32 go: finding github.com/fxamacker/cbor/v2 v2.2.0 22:22:32 go: finding github.com/go-kit/kit v0.8.0 22:22:32 go: finding github.com/go-logfmt/logfmt v0.4.0 22:22:32 go: finding github.com/go-playground/assert/v2 v2.0.1 22:22:32 go: finding github.com/go-playground/locales v0.13.0 22:22:32 go: finding github.com/go-playground/universal-translator v0.17.0 22:22:32 go: finding github.com/go-playground/validator/v10 v10.3.0 22:22:32 go: finding github.com/go-redis/redis/v7 v7.2.0 22:22:32 go: finding github.com/go-stack/stack v1.8.0 22:22:32 go: finding github.com/golang/protobuf v1.3.2 22:22:32 go: finding github.com/golang/snappy v0.0.1 22:22:32 go: finding github.com/gomodule/redigo v2.0.0+incompatible 22:22:32 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:22:32 go: finding github.com/google/go-cmp v0.4.0 22:22:32 go: finding github.com/google/uuid v1.1.1 22:22:32 go: finding github.com/gorilla/mux v1.8.0 22:22:32 go: finding github.com/hashicorp/consul/api v1.1.0 22:22:32 go: finding github.com/hashicorp/consul/sdk v0.1.1 22:22:32 go: finding github.com/hashicorp/errwrap v1.0.0 22:22:32 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 22:22:32 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:22:32 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:22:32 go: finding github.com/hashicorp/go-multierror v1.0.0 22:22:33 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:22:33 go: finding github.com/hashicorp/go-sockaddr v1.0.0 22:22:33 go: finding github.com/hashicorp/go-syslog v1.0.0 22:22:33 go: finding github.com/hashicorp/go-uuid v1.0.1 22:22:33 go: finding github.com/hashicorp/go.net v0.0.1 22:22:33 go: finding github.com/hashicorp/golang-lru v0.5.0 22:22:33 go: finding github.com/hashicorp/logutils v1.0.0 22:22:33 go: finding github.com/hashicorp/mdns v1.0.0 22:22:33 go: finding github.com/hashicorp/memberlist v0.1.3 22:22:33 go: finding github.com/hashicorp/serf v0.8.2 22:22:33 go: finding github.com/hpcloud/tail v1.0.0 22:22:33 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:22:33 go: finding github.com/kr/pretty v0.1.0 22:22:33 go: finding github.com/kr/pty v1.1.1 22:22:33 go: finding github.com/kr/text v0.1.0 22:22:33 go: finding github.com/leodido/go-urn v1.2.0 22:22:33 go: finding github.com/mattn/go-colorable v0.0.9 22:22:33 go: finding github.com/mattn/go-isatty v0.0.3 22:22:33 go: finding github.com/miekg/dns v1.0.14 22:22:33 go: finding github.com/mitchellh/cli v1.0.0 22:22:33 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:22:33 go: finding github.com/mitchellh/copystructure v1.0.0 22:22:33 go: finding github.com/mitchellh/go-homedir v1.0.0 22:22:33 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:22:33 go: finding github.com/mitchellh/gox v0.4.0 22:22:33 go: finding github.com/mitchellh/iochan v1.0.0 22:22:33 go: finding github.com/mitchellh/mapstructure v1.1.2 22:22:33 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:22:33 go: finding github.com/onsi/ginkgo v1.10.1 22:22:33 go: finding github.com/onsi/gomega v1.7.0 22:22:33 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:22:33 go: finding github.com/pebbe/zmq4 v1.0.0 22:22:33 go: finding github.com/pelletier/go-toml v1.2.0 22:22:34 go: finding github.com/pkg/errors v0.8.1 22:22:34 go: finding github.com/pmezard/go-difflib v1.0.0 22:22:34 go: finding github.com/posener/complete v1.1.1 22:22:34 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 22:22:34 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:22:34 go: finding github.com/stretchr/objx v0.2.0 22:22:34 go: finding github.com/stretchr/testify v1.6.1 22:22:34 go: finding github.com/tidwall/pretty v1.0.1 22:22:34 go: finding github.com/ugorji/go v1.1.4 22:22:34 go: finding github.com/x448/float16 v0.8.4 22:22:34 go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c 22:22:34 go: finding github.com/xdg/stringprep v1.0.0 22:22:34 go: finding go.mongodb.org/mongo-driver v1.1.1 22:22:34 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 22:22:34 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 22:22:34 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:22:34 go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 22:22:34 go: finding golang.org/x/text v0.3.2 22:22:34 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 22:22:34 go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 22:22:34 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 22:22:34 go: finding gopkg.in/fsnotify.v1 v1.4.7 22:22:34 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 22:22:34 go: finding gopkg.in/yaml.v2 v2.2.8 22:22:34 go: finding gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 22:22:57 Removing intermediate container d68a67e7dbd8 22:22:57 ---> 4b56878f6158 22:22:57 Successfully built 4b56878f6158 22:22:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:22:57 + docker inspect -f . ci-base-image-x86_64 22:22:57 . [Pipeline] withDockerContainer 22:22:58 prd-centos7-docker-4c-2g-43429 does not seem to be running inside a container 22:22:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:22:59 $ docker top edff68e36a34cff8390889400a52c85a1ea7ff7a81ff164f0a6e67d3f380dfe9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:00 + go version 22:23:00 go version go1.13.13 linux/amd64 [Pipeline] } 22:23:00 $ docker stop --time=1 edff68e36a34cff8390889400a52c85a1ea7ff7a81ff164f0a6e67d3f380dfe9 22:23:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43433 in /w/workspace/ndry_app-functions-sdk-go_PR-486 22:23:01 $ docker rm -f edff68e36a34cff8390889400a52c85a1ea7ff7a81ff164f0a6e67d3f380dfe9 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws 22:23:02 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:23:03 + docker inspect -f . ci-base-image-x86_64 22:23:03 . [Pipeline] withDockerContainer 22:23:03 prd-centos7-docker-4c-2g-43429 does not seem to be running inside a container 22:23:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:23:04 $ docker top f8578653be51d8fa3d0849f53bcd46951c63093a145d7e962a71484fa4615161 -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:05 + make test 22:23:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:23:07 using credential edgex-jenkins-ssh 22:23:07 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 22:23:07 Cloning the remote Git repository 22:23:07 Cloning with configured refspecs honoured and without tags 22:23:07 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:23:08 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 22:23:08 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:23:08 > git --version # timeout=10 22:23:08 > git --version # 'git version 2.17.1' 22:23:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:23:08 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:23:11 Fetching without tags 22:23:10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:23:11 > git config --add remote.origin.fetch +refs/pull/486/head:refs/remotes/origin/PR-486 # timeout=10 22:23:11 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:23:11 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:23:11 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:23:11 using GIT_SSH to set credentials SSH Credentials for GitHub 22:23:11 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:23:11 Merging remotes/origin/master commit dd68bd8a16b73082b1b414d7611500291c5101af into PR head commit a41bce40d4c720421b4417385b37b85b233d3be4 22:23:11 Merge succeeded, producing a41bce40d4c720421b4417385b37b85b233d3be4 22:23:11 Checking out Revision a41bce40d4c720421b4417385b37b85b233d3be4 (PR-486) 22:23:11 > git config core.sparsecheckout # timeout=10 22:23:11 > git checkout -f a41bce40d4c720421b4417385b37b85b233d3be4 # timeout=10 22:23:11 > git remote # timeout=10 22:23:11 > git config --get remote.origin.url # timeout=10 22:23:11 using GIT_SSH to set credentials SSH Credentials for GitHub 22:23:11 > git merge dd68bd8a16b73082b1b414d7611500291c5101af # timeout=10 22:23:11 > git rev-parse HEAD^{commit} # timeout=10 22:23:11 > git config core.sparsecheckout # timeout=10 22:23:11 > git checkout -f a41bce40d4c720421b4417385b37b85b233d3be4 # timeout=10 22:23:16 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.150s coverage: 86.2% of statements 22:23:16 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 22:23:16 > git --version # timeout=10 22:23:16 > git --version # 'git version 2.17.1' 22:23:16 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 22:23:18 # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 22:23:18 internal/v2/dtos/requests/secrets.go:56:10: undefined: v2.NewErrContractInvalid [Pipeline] echo 22:23:21 ========================================================= 22:23:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 22:23:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:23:22 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 22:23:23 Sending build context to Docker daemon 37.16MB 22:23:23 Step 1/8 : ARG BASE=golang:1.13-alpine 22:23:23 Step 2/8 : FROM ${BASE} 22:23:24 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:23:24 b538f80385f9: Pulling fs layer 22:23:24 74f711af9a0d: Pulling fs layer 22:23:24 99f96fe45779: Pulling fs layer 22:23:24 fd7a069fd194: Pulling fs layer 22:23:24 66aa3694b03b: Pulling fs layer 22:23:24 170f70906a0f: Pulling fs layer 22:23:24 ad7c5574e4b9: Pulling fs layer 22:23:24 e772456be8f7: Pulling fs layer 22:23:24 c890913d741a: Pulling fs layer 22:23:24 2480fcc9aa5a: Pulling fs layer 22:23:24 09adf4765672: Pulling fs layer 22:23:24 fd7a069fd194: Waiting 22:23:24 66aa3694b03b: Waiting 22:23:24 170f70906a0f: Waiting 22:23:24 ad7c5574e4b9: Waiting 22:23:24 e772456be8f7: Waiting 22:23:24 c890913d741a: Waiting 22:23:24 2480fcc9aa5a: Waiting 22:23:24 09adf4765672: Waiting 22:23:24 99f96fe45779: Verifying Checksum 22:23:24 99f96fe45779: Download complete 22:23:24 74f711af9a0d: Verifying Checksum 22:23:24 74f711af9a0d: Download complete 22:23:24 66aa3694b03b: Verifying Checksum 22:23:24 66aa3694b03b: Download complete 22:23:24 170f70906a0f: Verifying Checksum 22:23:24 170f70906a0f: Download complete 22:23:24 b538f80385f9: Verifying Checksum 22:23:24 b538f80385f9: Download complete 22:23:25 b538f80385f9: Pull complete 22:23:25 74f711af9a0d: Pull complete 22:23:26 99f96fe45779: Pull complete 22:23:27 ad7c5574e4b9: Verifying Checksum 22:23:27 ad7c5574e4b9: Download complete 22:23:27 c890913d741a: Verifying Checksum 22:23:29 2480fcc9aa5a: Verifying Checksum 22:23:29 2480fcc9aa5a: Download complete 22:23:29 09adf4765672: Verifying Checksum 22:23:29 09adf4765672: Download complete 22:23:31 fd7a069fd194: Verifying Checksum 22:23:31 fd7a069fd194: Download complete 22:23:31 e772456be8f7: Verifying Checksum 22:23:31 e772456be8f7: Download complete 22:23:38 FAIL github.com/edgexfoundry/app-functions-sdk-go/appsdk [build failed] 22:23:38 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 22:23:38 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 22:23:39 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.071s coverage: 53.5% of statements 22:23:39 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 22:23:39 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.339s coverage: 69.1% of statements 22:23:41 fd7a069fd194: Pull complete 22:23:41 66aa3694b03b: Pull complete 22:23:42 170f70906a0f: Pull complete 22:23:44 # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests.test] 22:23:44 internal/v2/dtos/requests/secrets.go:56: undefined: v2.NewErrContractInvalid 22:23:46 ad7c5574e4b9: Pull complete 22:23:50 e772456be8f7: Pull complete 22:23:50 c890913d741a: Pull complete 22:23:53 2480fcc9aa5a: Pull complete 22:23:53 09adf4765672: Pull complete 22:23:53 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 22:23:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 22:23:53 ---> 2248a725d1cf 22:23:53 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 22:23:54 latest: Pulling from library/docker 22:23:54 b538f80385f9: Already exists 22:23:54 259a493cd78d: Pulling fs layer 22:23:54 b8e66b5100f5: Pulling fs layer 22:23:54 39dc9c94d07c: Pulling fs layer 22:23:54 551b823b3b82: Pulling fs layer 22:23:54 3c52a74df98c: Pulling fs layer 22:23:54 6c9b121b6998: Pulling fs layer 22:23:54 551b823b3b82: Waiting 22:23:54 3c52a74df98c: Waiting 22:23:54 6c9b121b6998: Waiting 22:23:54 b8e66b5100f5: Verifying Checksum 22:23:54 b8e66b5100f5: Download complete 22:23:54 259a493cd78d: Verifying Checksum 22:23:54 259a493cd78d: Download complete 22:23:54 551b823b3b82: Verifying Checksum 22:23:54 551b823b3b82: Download complete 22:23:54 3c52a74df98c: Verifying Checksum 22:23:54 3c52a74df98c: Download complete 22:23:54 6c9b121b6998: Verifying Checksum 22:23:54 6c9b121b6998: Download complete 22:23:55 259a493cd78d: Pull complete 22:23:55 39dc9c94d07c: Verifying Checksum 22:23:55 39dc9c94d07c: Download complete 22:23:55 b8e66b5100f5: Pull complete 22:23:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.509s coverage: 61.6% of statements 22:23:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.006s coverage: 89.5% of statements 22:23:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.009s coverage: 100.0% of statements 22:23:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.127s coverage: 100.0% of statements 22:23:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.006s coverage: 100.0% of statements 22:23:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.008s coverage: 100.0% of statements 22:23:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 22:23:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 22:23:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 22:23:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 22:23:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 22:23:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 22:23:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 22:23:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.007s coverage: 96.6% of statements 22:23:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 22:23:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.019s coverage: 97.7% of statements 22:23:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 22:23:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 22:23:56 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [build failed] 22:23:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.202s coverage: 75.0% of statements 22:23:56 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http [build failed] 22:23:56 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [build failed] 22:23:56 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver [build failed] 22:23:58 39dc9c94d07c: Pull complete 22:23:59 551b823b3b82: Pull complete 22:23:59 3c52a74df98c: Pull complete 22:23:59 6c9b121b6998: Pull complete 22:23:59 Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 22:23:59 Status: Downloaded newer image for docker:latest 22:24:08 ---> 5e5fccfee4cb 22:24:08 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:24:08 ---> Running in 4ad55b59356c 22:24:08 Removing intermediate container 4ad55b59356c 22:24:08 ---> 8b8e2fb382a5 22:24:08 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 22:24:08 ---> Running in 35dc1e562f1b 22:24:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:24:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:24:11 (1/5) Installing libsodium (1.0.18-r0) 22:24:11 (2/5) Installing libzmq (4.3.3-r0) 22:24:12 (3/5) Installing pkgconf (1.7.2-r0) 22:24:12 (4/5) Installing libsodium-dev (1.0.18-r0) 22:24:12 (5/5) Installing zeromq-dev (4.3.3-r0) 22:24:12 Executing busybox-1.31.1-r16.trigger 22:24:12 OK: 144 MiB in 44 packages 22:24:13 Removing intermediate container 35dc1e562f1b 22:24:13 ---> bf7b71db5f28 22:24:13 Step 6/8 : WORKDIR /build 22:24:14 ---> Running in 7fcd12e3a74e 22:24:14 Removing intermediate container 7fcd12e3a74e 22:24:14 ---> ee9bfb057bac 22:24:14 Step 7/8 : COPY go.mod . 22:24:14 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.414s coverage: 71.6% of statements 22:24:14 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.022s coverage: 94.4% of statements 22:24:14 FAIL 22:24:14 make: *** [Makefile:6: test] Error 2 [Pipeline] } 22:24:14 $ docker stop --time=1 f8578653be51d8fa3d0849f53bcd46951c63093a145d7e962a71484fa4615161 22:24:15 ---> 07092f36c73f 22:24:15 Step 8/8 : RUN go mod download 22:24:15 ---> Running in 37669efc1697 22:24:16 $ docker rm -f f8578653be51d8fa3d0849f53bcd46951c63093a145d7e962a71484fa4615161 [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 22:24:18 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 22:24:18 go: finding github.com/BurntSushi/toml v0.3.1 22:24:18 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:24:18 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:24:18 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:24:18 go: finding github.com/bgentry/speakeasy v0.1.0 22:24:18 go: finding github.com/cenkalti/backoff v2.2.1+incompatible [Pipeline] } [Pipeline] // withEnv [Pipeline] } 22:24:18 go: finding github.com/davecgh/go-spew v1.1.1 22:24:18 go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 22:24:18 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 22:24:18 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 22:24:18 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 22:24:18 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.79 22:24:18 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.21 22:24:18 go: finding github.com/edgexfoundry/go-mod-registry v0.1.21 22:24:18 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.19 22:24:18 go: finding github.com/fatih/color v1.7.0 [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 22:24:19 go: finding github.com/fsnotify/fsnotify v1.4.7 22:24:19 go: finding github.com/fxamacker/cbor/v2 v2.2.0 22:24:19 go: finding github.com/go-kit/kit v0.8.0 22:24:19 go: finding github.com/go-logfmt/logfmt v0.4.0 22:24:19 go: finding github.com/go-playground/assert/v2 v2.0.1 22:24:19 go: finding github.com/go-playground/locales v0.13.0 22:24:19 go: finding github.com/go-playground/universal-translator v0.17.0 22:24:19 go: finding github.com/go-playground/validator/v10 v10.3.0 22:24:19 go: finding github.com/go-redis/redis/v7 v7.2.0 22:24:19 go: finding github.com/go-stack/stack v1.8.0 22:24:19 go: finding github.com/golang/protobuf v1.3.2 [Pipeline] // stage [Pipeline] } 22:24:19 Failed in branch amd64 22:24:19 go: finding github.com/golang/snappy v0.0.1 22:24:19 go: finding github.com/gomodule/redigo v2.0.0+incompatible 22:24:19 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:24:19 go: finding github.com/google/go-cmp v0.4.0 22:24:19 go: finding github.com/google/uuid v1.1.1 22:24:19 go: finding github.com/gorilla/mux v1.8.0 22:24:19 go: finding github.com/hashicorp/consul/api v1.1.0 22:24:19 go: finding github.com/hashicorp/consul/sdk v0.1.1 22:24:19 go: finding github.com/hashicorp/errwrap v1.0.0 22:24:19 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 22:24:19 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:24:19 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:24:19 go: finding github.com/hashicorp/go-multierror v1.0.0 22:24:19 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:24:19 go: finding github.com/hashicorp/go-sockaddr v1.0.0 22:24:19 go: finding github.com/hashicorp/go-syslog v1.0.0 22:24:19 go: finding github.com/hashicorp/go-uuid v1.0.1 22:24:19 go: finding github.com/hashicorp/go.net v0.0.1 22:24:19 go: finding github.com/hashicorp/golang-lru v0.5.0 22:24:19 go: finding github.com/hashicorp/logutils v1.0.0 22:24:20 go: finding github.com/hashicorp/mdns v1.0.0 22:24:20 go: finding github.com/hashicorp/memberlist v0.1.3 22:24:20 go: finding github.com/hashicorp/serf v0.8.2 22:24:20 go: finding github.com/hpcloud/tail v1.0.0 22:24:20 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:24:20 go: finding github.com/kr/pretty v0.1.0 22:24:20 go: finding github.com/kr/pty v1.1.1 22:24:20 go: finding github.com/kr/text v0.1.0 22:24:20 go: finding github.com/leodido/go-urn v1.2.0 22:24:20 go: finding github.com/mattn/go-colorable v0.0.9 22:24:20 go: finding github.com/mattn/go-isatty v0.0.3 22:24:20 go: finding github.com/miekg/dns v1.0.14 22:24:20 go: finding github.com/mitchellh/cli v1.0.0 22:24:20 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:24:20 go: finding github.com/mitchellh/copystructure v1.0.0 22:24:20 go: finding github.com/mitchellh/go-homedir v1.0.0 22:24:20 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:24:20 go: finding github.com/mitchellh/gox v0.4.0 22:24:20 go: finding github.com/mitchellh/iochan v1.0.0 22:24:20 go: finding github.com/mitchellh/mapstructure v1.1.2 22:24:20 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:24:20 go: finding github.com/onsi/ginkgo v1.10.1 22:24:20 go: finding github.com/onsi/gomega v1.7.0 22:24:20 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:24:20 go: finding github.com/pebbe/zmq4 v1.0.0 22:24:20 go: finding github.com/pelletier/go-toml v1.2.0 22:24:20 go: finding github.com/pkg/errors v0.8.1 22:24:20 go: finding github.com/pmezard/go-difflib v1.0.0 22:24:20 go: finding github.com/posener/complete v1.1.1 22:24:20 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 22:24:20 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:24:20 go: finding github.com/stretchr/objx v0.2.0 22:24:20 go: finding github.com/stretchr/testify v1.6.1 22:24:20 go: finding github.com/tidwall/pretty v1.0.1 22:24:20 go: finding github.com/ugorji/go v1.1.4 22:24:20 go: finding github.com/x448/float16 v0.8.4 22:24:20 go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c 22:24:20 go: finding github.com/xdg/stringprep v1.0.0 22:24:21 go: finding go.mongodb.org/mongo-driver v1.1.1 22:24:21 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 22:24:21 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 22:24:21 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:24:21 go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 22:24:21 go: finding golang.org/x/text v0.3.2 22:24:21 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 22:24:21 go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 22:24:21 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 22:24:21 go: finding gopkg.in/fsnotify.v1 v1.4.7 22:24:21 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 22:24:21 go: finding gopkg.in/yaml.v2 v2.2.8 22:24:21 go: finding gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 22:24:48 Removing intermediate container 37669efc1697 22:24:48 ---> 7f35df49dcdb 22:24:48 Successfully built 7f35df49dcdb 22:24:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:24:48 + docker inspect -f . ci-base-image-arm64 22:24:48 . [Pipeline] withDockerContainer 22:24:49 prd-ubuntu18.04-docker-arm64-4c-16g-43433 does not seem to be running inside a container 22:24:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:24:51 $ docker top 709ca4859fa0704c05d760a34190702cc9a9f2103405d6f72017499088aae18c -eo pid,comm [Pipeline] { [Pipeline] sh 22:24:52 + go version 22:24:52 go version go1.13.13 linux/arm64 [Pipeline] } 22:24:52 $ docker stop --time=1 709ca4859fa0704c05d760a34190702cc9a9f2103405d6f72017499088aae18c 22:24:54 $ docker rm -f 709ca4859fa0704c05d760a34190702cc9a9f2103405d6f72017499088aae18c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:24:56 + docker inspect -f . ci-base-image-arm64 22:24:56 . [Pipeline] withDockerContainer 22:24:56 prd-ubuntu18.04-docker-arm64-4c-16g-43433 does not seem to be running inside a container 22:24:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:24:58 $ docker top dd699988bfa57a6c8b1a659abdd008765a33e34461d44ff530a7a4363cbf161b -eo pid,comm [Pipeline] { [Pipeline] sh 22:25:00 + make test 22:25:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:25:01 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 22:25:28 # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 22:25:28 internal/v2/dtos/requests/secrets.go:56:10: undefined: v2.NewErrContractInvalid 22:25:28 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.086s coverage: 86.2% of statements 22:26:01 FAIL github.com/edgexfoundry/app-functions-sdk-go/appsdk [build failed] 22:26:01 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 22:26:01 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 22:26:01 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.068s coverage: 53.5% of statements 22:26:01 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 22:26:02 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.456s coverage: 69.1% of statements 22:26:09 # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests.test] 22:26:09 internal/v2/dtos/requests/secrets.go:56: undefined: v2.NewErrContractInvalid 22:26:16 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.560s coverage: 61.6% of statements 22:26:16 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.045s coverage: 89.5% of statements 22:26:16 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.027s coverage: 100.0% of statements 22:26:16 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.236s coverage: 100.0% of statements 22:26:16 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.019s coverage: 100.0% of statements 22:26:16 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.021s coverage: 100.0% of statements 22:26:16 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 22:26:16 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 22:26:16 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 22:26:16 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 22:26:16 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 22:26:16 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 22:26:16 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 22:26:16 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.022s coverage: 96.6% of statements 22:26:16 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 22:26:16 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.015s coverage: 97.7% of statements 22:26:16 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 22:26:16 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 22:26:16 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [build failed] 22:26:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.076s coverage: 75.0% of statements 22:26:21 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http [build failed] 22:26:21 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [build failed] 22:26:21 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver [build failed] 22:26:39 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.689s coverage: 71.6% of statements 22:26:39 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.019s coverage: 94.4% of statements 22:26:39 FAIL 22:26:39 make: *** [Makefile:6: test] Error 2 [Pipeline] } 22:26:39 $ docker stop --time=1 dd699988bfa57a6c8b1a659abdd008765a33e34461d44ff530a7a4363cbf161b 22:26:42 $ docker rm -f dd699988bfa57a6c8b1a659abdd008765a33e34461d44ff530a7a4363cbf161b [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] } 22:26:45 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 22:26:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:26:49 ---> package-listing.sh 22:26:49 ++ facter osfamily 22:26:49 ++ tr '[:upper:]' '[:lower:]' 22:26:49 + OS_FAMILY=redhat 22:26:49 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-486 22:26:49 + START_PACKAGES=/tmp/packages_start.txt 22:26:49 + END_PACKAGES=/tmp/packages_end.txt 22:26:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:26:49 + PACKAGES=/tmp/packages_start.txt 22:26:49 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-486 ']' 22:26:49 + PACKAGES=/tmp/packages_end.txt 22:26:49 + case "${OS_FAMILY}" in 22:26:49 + rpm -qa 22:26:49 + sort 22:26:53 + '[' -f /tmp/packages_start.txt ']' 22:26:53 + '[' -f /tmp/packages_end.txt ']' 22:26:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:26:53 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-486 ']' 22:26:53 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-486/archives/ 22:26:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-486/archives/ [Pipeline] isUnix [Pipeline] sh 22:26:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:26:54 22:26:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:26:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:26:54 alpine: Pulling from edgex-lftools-log-publisher 22:26:54 df20fa9351a1: Pulling fs layer 22:26:54 36b3adc4ff6f: Pulling fs layer 22:26:54 8ad3a11d3b57: Pulling fs layer 22:26:54 46f8f816bc3b: Pulling fs layer 22:26:54 0dadc02b9964: Pulling fs layer 22:26:54 ce6a7cf60c04: Pulling fs layer 22:26:54 7a184a31f384: Pulling fs layer 22:26:54 0879bd2ef858: Pulling fs layer 22:26:54 0dadc02b9964: Waiting 22:26:54 ce6a7cf60c04: Waiting 22:26:54 7a184a31f384: Waiting 22:26:54 46f8f816bc3b: Waiting 22:26:54 0879bd2ef858: Waiting 22:26:54 36b3adc4ff6f: Download complete 22:26:54 46f8f816bc3b: Verifying Checksum 22:26:54 46f8f816bc3b: Download complete 22:26:54 df20fa9351a1: Verifying Checksum 22:26:54 df20fa9351a1: Download complete 22:26:54 ce6a7cf60c04: Download complete 22:26:54 0dadc02b9964: Verifying Checksum 22:26:54 0dadc02b9964: Download complete 22:26:54 7a184a31f384: Verifying Checksum 22:26:54 7a184a31f384: Download complete 22:26:54 8ad3a11d3b57: Verifying Checksum 22:26:54 8ad3a11d3b57: Download complete 22:26:55 df20fa9351a1: Pull complete 22:26:55 36b3adc4ff6f: Pull complete 22:26:55 0879bd2ef858: Verifying Checksum 22:26:55 0879bd2ef858: Download complete 22:26:56 8ad3a11d3b57: Pull complete 22:26:56 46f8f816bc3b: Pull complete 22:26:56 0dadc02b9964: Pull complete 22:26:56 ce6a7cf60c04: Pull complete 22:26:56 7a184a31f384: Pull complete 22:26:58 0879bd2ef858: Pull complete 22:26:58 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 22:26:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:26:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:26:59 prd-centos7-docker-4c-2g-43421 does not seem to be running inside a container 22:26:59 $ 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-486 -v /w/workspace/ndry_app-functions-sdk-go_PR-486:/w/workspace/ndry_app-functions-sdk-go_PR-486:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-486@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:27:05 $ docker top 7723fcd975da6b12202f2894e74e2bc252828d727e18e6201d0a8474a895bf56 -eo pid,comm [Pipeline] { [Pipeline] sh 22:27:05 + mkdir -p /var/log/sa [Pipeline] sh 22:27:06 + ls /var/log/sa-host 22:27:06 + sadf -c /var/log/sa-host/sa05 22:27:06 file_magic: OK 22:27:06 HZ: Using current value: 100 22:27:06 file_header: OK 22:27:06 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 22:27:06 Statistics: 22:27:06 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:27:06 File successfully converted to sysstat format version 12.2.1 22:27:06 + sadf -c /var/log/sa-host/sa15 22:27:06 file_magic: OK 22:27:06 HZ: Using current value: 100 22:27:06 file_header: OK 22:27:06 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 22:27:06 Statistics: 22:27:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:27:06 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:27:06 provisioning config files... 22:27:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-486@tmp/config4316440460550489550tmp [Pipeline] { [Pipeline] echo 22:27:06 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:27:06 ---> create-netrc.sh [Pipeline] echo 22:27:06 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:27:07 ---> logs-deploy.sh 22:27:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-486/1 22:27:07 INFO: archiving workspace using pattern(s): 22:27:08 Archives upload complete. 22:27:08 INFO: archiving logs to Nexus