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