Pull request #405 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 2c16e10e85a372cb7d93da91f7726e341f1303a7 rather than fafe343e2956323d4152197172055befad930f88 Obtained Jenkinsfile from 2c16e10e85a372cb7d93da91f7726e341f1303a7 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-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:go-mod-core-contracts, buildImage:false, pushImage:false, semverBump:patch] ========================================================= [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: go-mod-core-contracts-settings PROJECT: go-mod-core-contracts USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-core-contracts 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: patch BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-17521 in /w/workspace/dry_go-mod-core-contracts_PR-405 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-405 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 2c16e10e85a372cb7d93da91f7726e341f1303a7 into PR head commit fafe343e2956323d4152197172055befad930f88 Merge succeeded, producing fafe343e2956323d4152197172055befad930f88 Checking out Revision fafe343e2956323d4152197172055befad930f88 (PR-405) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/405/head:refs/remotes/origin/PR-405 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fafe343e2956323d4152197172055befad930f88 # 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 2c16e10e85a372cb7d93da91f7726e341f1303a7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fafe343e2956323d4152197172055befad930f88 # timeout=10 Commit message: "Merge branch 'master' into issue-404" > git rev-list --no-walk ed4f3184ac53a8b32ddd15b9b1774c124da9ddd9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:09:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:09:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:09:26 ========================================================= 16:09:26 EdgeX Global Pipelines Version Info 16:09:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:09:27 ------------------- 16:09:27 stable info: 16:09:27 ------------------- 16:09:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:09:27 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 16:09:27 Message: update stable to v1.0.173 16:09:28 ------------------- 16:09:28 experimental info: 16:09:28 ------------------- 16:09:28 Commited By: **** collab-it+edgex@linuxfoundation.org 16:09:28 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 16:09:28 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:09:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 16:09:28 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 16:09:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:09:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:09:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:09:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:09:29 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:09:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:09:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:09:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:09:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:09:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 16:09:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:09:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:09:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 16:09:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:09:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:09:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:09:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 16:09:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:09:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:09:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:09:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:09:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:09:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 16:09:31 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 16:09:31 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 16:09:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-405 [Pipeline] echo 16:09:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-405 [Pipeline] echo 16:09:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-405 [Pipeline] echo 16:09:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fafe343e2956323d4152197172055befad930f88 [Pipeline] echo 16:09:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fafe343 [Pipeline] echo 16:09:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:09:32 + git log --format=format:%s -1 fafe343e2956323d4152197172055befad930f88 [Pipeline] echo 16:09:33 GIT_COMMIT: fafe343e2956323d4152197172055befad930f88, Commit Message: Merge branch 'master' into issue-404 [Pipeline] echo 16:09:33 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:09:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:09:34 16:09:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:09:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:09:34 latest: Pulling from edgex-devops/git-semver 16:09:34 31603596830f: Pulling fs layer 16:09:34 2a8b12db71e7: Pulling fs layer 16:09:34 6ca5941a6612: Pulling fs layer 16:09:34 ecc8261a40a4: Pulling fs layer 16:09:34 ecc8261a40a4: Waiting 16:09:34 2a8b12db71e7: Verifying Checksum 16:09:34 2a8b12db71e7: Download complete 16:09:34 31603596830f: Verifying Checksum 16:09:34 31603596830f: Download complete 16:09:34 6ca5941a6612: Verifying Checksum 16:09:34 6ca5941a6612: Download complete 16:09:34 ecc8261a40a4: Verifying Checksum 16:09:34 ecc8261a40a4: Download complete 16:09:35 31603596830f: Pull complete 16:09:35 2a8b12db71e7: Pull complete 16:09:36 6ca5941a6612: Pull complete 16:09:36 ecc8261a40a4: Pull complete 16:09:36 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:09:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:09:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:09:36 prd-centos7-docker-4c-2g-17521 does not seem to be running inside a container 16:09:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-405 -v /w/workspace/dry_go-mod-core-contracts_PR-405:/w/workspace/dry_go-mod-core-contracts_PR-405:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-405@tmp:/w/workspace/dry_go-mod-core-contracts_PR-405@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:09:38 $ docker top f378386193ec75eb7488240fd2b45cbd1387cec42cb2ed39b91e471ab058b961 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:09:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:09:38 [ssh-agent] Looking for ssh-agent implementation... 16:09:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:09:38 $ docker exec f378386193ec75eb7488240fd2b45cbd1387cec42cb2ed39b91e471ab058b961 ssh-agent 16:09:39 SSH_AUTH_SOCK=/tmp/ssh-JQ7fBYnWmwDI/agent.12 16:09:39 SSH_AGENT_PID=17 16:09:39 Running ssh-add (command line suppressed) 16:09:39 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-405@tmp/private_key_6325076228931684759.key (/w/workspace/dry_go-mod-core-contracts_PR-405@tmp/private_key_6325076228931684759.key) 16:09:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:09:39 + git tag --points-at HEAD [Pipeline] } 16:09:39 $ docker exec --env ******** --env ******** f378386193ec75eb7488240fd2b45cbd1387cec42cb2ed39b91e471ab058b961 ssh-agent -k 16:09:39 unset SSH_AUTH_SOCK; 16:09:39 unset SSH_AGENT_PID; 16:09:39 echo Agent pid 17 killed; 16:09:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:09:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:09:40 [ssh-agent] Looking for ssh-agent implementation... 16:09:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:09:40 $ docker exec f378386193ec75eb7488240fd2b45cbd1387cec42cb2ed39b91e471ab058b961 ssh-agent 16:09:40 SSH_AUTH_SOCK=/tmp/ssh-umUnxupt03GC/agent.48 16:09:40 SSH_AGENT_PID=53 16:09:40 Running ssh-add (command line suppressed) 16:09:40 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-405@tmp/private_key_8282011655896778415.key (/w/workspace/dry_go-mod-core-contracts_PR-405@tmp/private_key_8282011655896778415.key) 16:09:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:09:40 + git semver init 16:09:40 # -> Open(): unable to determine branch for HEAD 16:09:40 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-405/.git 16:09:40 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-405 16:09:40 # $SEMVER_REMOTE_NAME = origin 16:09:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:09:40 # $SEMVER_USER_NAME = edgex-jenkins 16:09:40 # $SEMVER_BRANCH = PR-405 16:09:40 # $SEMVER_TEMP = /tmp/semver-266542486 16:09:40 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 16:09:41 # '/tmp/semver-266542486' -> '/w/workspace/dry_go-mod-core-contracts_PR-405/.semver' 16:09:41 # -> Force: false 16:09:41 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-405/.semver [Pipeline] } 16:09:41 $ docker exec --env ******** --env ******** f378386193ec75eb7488240fd2b45cbd1387cec42cb2ed39b91e471ab058b961 ssh-agent -k 16:09:41 unset SSH_AUTH_SOCK; 16:09:41 unset SSH_AGENT_PID; 16:09:41 echo Agent pid 53 killed; 16:09:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:09:42 + git semver [Pipeline] } 16:09:42 $ docker stop --time=1 f378386193ec75eb7488240fd2b45cbd1387cec42cb2ed39b91e471ab058b961 16:09:44 $ docker rm -f f378386193ec75eb7488240fd2b45cbd1387cec42cb2ed39b91e471ab058b961 [Pipeline] // withDockerContainer [Pipeline] sh 16:09:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:09:45 Stashed 1 file(s) [Pipeline] echo 16:09:45 [edgeXSemver]: initialized semver on 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 16:10:00 Still waiting to schedule task 16:10:00 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:10:00 Still waiting to schedule task 16:10:00 ‘prd-ubuntu18.04-docker-arm64-4c-16g-17517’ is offline 16:12:04 Running on prd-centos7-docker-4c-2g-17525 in /w/workspace/dry_go-mod-core-contracts_PR-405 [Pipeline] { [Pipeline] ws 16:12:04 Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout 16:12:07 using credential edgex-jenkins-ssh 16:12:07 Cloning the remote Git repository 16:12:07 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 16:12:07 > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 16:12:07 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 16:12:07 > git --version # timeout=10 16:12:07 > git --version # 'git version 2.24.3' 16:12:07 using GIT_SSH to set credentials SSH Credentials for GitHub 16:12:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:12:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 16:12:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:12:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 16:12:08 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 16:12:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:12:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/405/head:refs/remotes/origin/PR-405 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:12:08 Merging remotes/origin/master commit 2c16e10e85a372cb7d93da91f7726e341f1303a7 into PR head commit fafe343e2956323d4152197172055befad930f88 16:12:08 Merge succeeded, producing fafe343e2956323d4152197172055befad930f88 16:12:08 Checking out Revision fafe343e2956323d4152197172055befad930f88 (PR-405) 16:12:08 > git config core.sparsecheckout # timeout=10 16:12:08 > git checkout -f fafe343e2956323d4152197172055befad930f88 # timeout=10 16:12:08 > git remote # timeout=10 16:12:08 > git config --get remote.origin.url # timeout=10 16:12:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:12:08 > git merge 2c16e10e85a372cb7d93da91f7726e341f1303a7 # timeout=10 16:12:08 > git rev-parse HEAD^{commit} # timeout=10 16:12:08 > git config core.sparsecheckout # timeout=10 16:12:08 > git checkout -f fafe343e2956323d4152197172055befad930f88 # timeout=10 16:12:12 Commit message: "Merge branch 'master' into issue-404" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:12:13 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:12:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:12:14 + true 16:12:14 + sudo service docker restart 16:12:14 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 16:12:15 ========================================================= 16:12:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:12:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:12:16 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 16:12:16 Sending build context to Docker daemon 2.084MB 16:12:16 Step 1/7 : ARG BASE=golang:1.15-alpine 16:12:16 Step 2/7 : FROM ${BASE} 16:12:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:12:16 188c0c94c7c5: Pulling fs layer 16:12:16 0ef7d3d256c8: Pulling fs layer 16:12:16 de9db76c5a1d: Pulling fs layer 16:12:16 bca2f99d35d6: Pulling fs layer 16:12:16 93359f2a8cfa: Pulling fs layer 16:12:16 7c6f9722023f: Pulling fs layer 16:12:16 a35cf1a2eb13: Pulling fs layer 16:12:16 93359f2a8cfa: Waiting 16:12:16 7c6f9722023f: Waiting 16:12:16 a35cf1a2eb13: Waiting 16:12:16 bca2f99d35d6: Waiting 16:12:16 de9db76c5a1d: Verifying Checksum 16:12:16 de9db76c5a1d: Download complete 16:12:16 0ef7d3d256c8: Download complete 16:12:16 7c6f9722023f: Verifying Checksum 16:12:16 7c6f9722023f: Download complete 16:12:16 188c0c94c7c5: Download complete 16:12:17 188c0c94c7c5: Pull complete 16:12:17 0ef7d3d256c8: Pull complete 16:12:17 de9db76c5a1d: Pull complete 16:12:18 a35cf1a2eb13: Verifying Checksum 16:12:18 a35cf1a2eb13: Download complete 16:12:19 bca2f99d35d6: Verifying Checksum 16:12:19 bca2f99d35d6: Download complete 16:12:24 bca2f99d35d6: Pull complete 16:12:24 93359f2a8cfa: Pull complete 16:12:24 7c6f9722023f: Pull complete 16:12:30 a35cf1a2eb13: Pull complete 16:12:30 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 16:12:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 16:12:30 ---> a62c8e92a672 16:12:30 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:12:30 ---> Running in 4376763d5a73 16:12:30 Removing intermediate container 4376763d5a73 16:12:30 ---> a7e863c69cf2 16:12:30 Step 4/7 : RUN apk add bash 16:12:30 ---> Running in d5e0e480b583 16:12:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:12:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:12:32 OK: 166 MiB in 39 packages 16:12:32 Removing intermediate container d5e0e480b583 16:12:32 ---> 9d80fed8bcf3 16:12:32 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 16:12:32 ---> Running in 3888f4b59ca5 16:12:33 Removing intermediate container 3888f4b59ca5 16:12:33 ---> 63eb72515cbf 16:12:33 Step 6/7 : COPY go.mod . 16:12:33 ---> 836473c52754 16:12:33 Step 7/7 : RUN go mod download 16:12:33 ---> Running in d080bea5a1e8 16:12:44 Removing intermediate container d080bea5a1e8 16:12:44 ---> 72872a886eef 16:12:44 Successfully built 72872a886eef 16:12:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:12:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-17524 in /w/workspace/dry_go-mod-core-contracts_PR-405 [Pipeline] { [Pipeline] ws 16:12:44 Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout 16:12:44 + docker inspect -f . ci-base-image-x86_64 16:12:44 . [Pipeline] withDockerContainer 16:12:44 prd-centos7-docker-4c-2g-17525 does not seem to be running inside a container 16:12:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:12:45 $ docker top 0fa27da6319d0421805180c4b55468c4e3e56ecdfc37e27105af524be6b8640a -eo pid,comm [Pipeline] { [Pipeline] sh 16:12:46 + go version 16:12:46 go version go1.15.5 linux/amd64 [Pipeline] } 16:12:46 $ docker stop --time=1 0fa27da6319d0421805180c4b55468c4e3e56ecdfc37e27105af524be6b8640a 16:12:47 $ docker rm -f 0fa27da6319d0421805180c4b55468c4e3e56ecdfc37e27105af524be6b8640a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:12:48 + docker inspect -f . ci-base-image-x86_64 16:12:48 . [Pipeline] withDockerContainer 16:12:48 prd-centos7-docker-4c-2g-17525 does not seem to be running inside a container 16:12:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:12:49 $ docker top b6de7284805ceb7e6b9ab8008aaa2e6c36ec4b93f26b8f97ee909a68b25b5330 -eo pid,comm [Pipeline] { [Pipeline] sh 16:12:49 + make test 16:12:49 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:12:50 using credential edgex-jenkins-ssh 16:12:50 Cloning the remote Git repository 16:12:50 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 16:12:50 > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 16:12:50 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 16:12:50 > git --version # timeout=10 16:12:50 > git --version # 'git version 2.17.1' 16:12:50 using GIT_SSH to set credentials SSH Credentials for GitHub 16:12:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:12:51 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 16:12:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:12:51 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 16:12:51 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 16:12:51 using GIT_SSH to set credentials SSH Credentials for GitHub 16:12:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/405/head:refs/remotes/origin/PR-405 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:12:52 Merging remotes/origin/master commit 2c16e10e85a372cb7d93da91f7726e341f1303a7 into PR head commit fafe343e2956323d4152197172055befad930f88 16:12:52 Merge succeeded, producing fafe343e2956323d4152197172055befad930f88 16:12:52 Checking out Revision fafe343e2956323d4152197172055befad930f88 (PR-405) 16:12:52 > git config core.sparsecheckout # timeout=10 16:12:52 > git checkout -f fafe343e2956323d4152197172055befad930f88 # timeout=10 16:12:52 > git remote # timeout=10 16:12:52 > git config --get remote.origin.url # timeout=10 16:12:52 using GIT_SSH to set credentials SSH Credentials for GitHub 16:12:52 > git merge 2c16e10e85a372cb7d93da91f7726e341f1303a7 # timeout=10 16:12:52 > git rev-parse HEAD^{commit} # timeout=10 16:12:52 > git config core.sparsecheckout # timeout=10 16:12:52 > git checkout -f fafe343e2956323d4152197172055befad930f88 # timeout=10 16:12:56 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 16:12:56 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.017s coverage: 85.7% of statements 16:12:56 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.016s coverage: 100.0% of statements 16:12:57 Commit message: "Merge branch 'master' into issue-404" 16:12:57 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.012s coverage: 45.4% of statements 16:12:57 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.008s coverage: 77.8% of statements 16:12:57 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:12:57 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.011s coverage: 18.6% of statements 16:12:58 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.016s coverage: 14.7% of statements 16:12:58 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.008s coverage: 100.0% of statements 16:12:58 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.024s coverage: 91.8% of statements 16:12:58 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 16:12:58 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 16:12:58 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.010s coverage: 100.0% of statements 16:12:58 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.006s coverage: 47.8% of statements 16:12:58 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:12:58 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:12:59 + sudo service docker restart 16:12:59 + true 16:13:00 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.025s coverage: 63.0% of statements 16:13:00 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.004s coverage: 26.3% of statements 16:13:00 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.005s coverage: 15.4% of statements 16:13:00 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.008s coverage: 15.4% of statements 16:13:00 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.010s coverage: 14.3% of statements 16:13:00 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 16:13:00 # github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http [github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http.test] 16:13:00 v2/clients/http/device.go:80: not enough arguments in call to utils.DeleteRequest 16:13:00 have (context.Context, *common.BaseResponse, string) 16:13:00 want (context.Context, interface {}, string, string) 16:13:00 FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http [build failed] 16:13:00 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 16:13:00 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 16:13:01 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.008s coverage: 44.6% of statements 16:13:01 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.031s coverage: 100.0% of statements 16:13:01 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.030s coverage: 93.6% of statements 16:13:01 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.007s coverage: 100.0% of statements 16:13:01 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 16:13:01 FAIL 16:13:01 make: *** [Makefile:6: test] Error 2 [Pipeline] } 16:13:01 $ docker stop --time=1 b6de7284805ceb7e6b9ab8008aaa2e6c36ec4b93f26b8f97ee909a68b25b5330 16:13:03 $ docker rm -f b6de7284805ceb7e6b9ab8008aaa2e6c36ec4b93f26b8f97ee909a68b25b5330 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] unstash [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] echo 16:13:04 ========================================================= 16:13:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 16:13:04 ========================================================= [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 16:13:04 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 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] } 16:13:05 Failed in branch amd64 16:13:05 Sending build context to Docker daemon 2.083MB 16:13:05 Step 1/7 : ARG BASE=golang:1.15-alpine 16:13:05 Step 2/7 : FROM ${BASE} 16:13:06 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:13:06 5f621e34cdf4: Pulling fs layer 16:13:06 a4357932f1b6: Pulling fs layer 16:13:06 18c013af1878: Pulling fs layer 16:13:06 00ac8860ef70: Pulling fs layer 16:13:06 63d7cb157983: Pulling fs layer 16:13:06 b116817d02f9: Pulling fs layer 16:13:06 745a02a5169b: Pulling fs layer 16:13:06 63d7cb157983: Waiting 16:13:06 b116817d02f9: Waiting 16:13:06 745a02a5169b: Waiting 16:13:06 00ac8860ef70: Waiting 16:13:06 18c013af1878: Verifying Checksum 16:13:06 18c013af1878: Download complete 16:13:06 a4357932f1b6: Verifying Checksum 16:13:06 a4357932f1b6: Download complete 16:13:06 63d7cb157983: Verifying Checksum 16:13:06 63d7cb157983: Download complete 16:13:06 b116817d02f9: Verifying Checksum 16:13:06 b116817d02f9: Download complete 16:13:06 5f621e34cdf4: Verifying Checksum 16:13:06 5f621e34cdf4: Download complete 16:13:07 5f621e34cdf4: Pull complete 16:13:07 a4357932f1b6: Pull complete 16:13:07 18c013af1878: Pull complete 16:13:08 745a02a5169b: Verifying Checksum 16:13:08 745a02a5169b: Download complete 16:13:10 00ac8860ef70: Verifying Checksum 16:13:10 00ac8860ef70: Download complete 16:13:20 00ac8860ef70: Pull complete 16:13:20 63d7cb157983: Pull complete 16:13:20 b116817d02f9: Pull complete 16:13:24 745a02a5169b: Pull complete 16:13:24 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 16:13:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 16:13:24 ---> b7e6874047d6 16:13:24 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:13:27 ---> Running in b85698817333 16:13:27 Removing intermediate container b85698817333 16:13:27 ---> 0b323b21d40d 16:13:27 Step 4/7 : RUN apk add bash 16:13:27 ---> Running in 61214ca5961f 16:13:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:13:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:13:34 OK: 142 MiB in 39 packages 16:13:36 Removing intermediate container 61214ca5961f 16:13:36 ---> 63ae39495a14 16:13:36 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 16:13:36 ---> Running in 81d16d0d7bfa 16:13:36 Removing intermediate container 81d16d0d7bfa 16:13:36 ---> 1f2fbf42279f 16:13:36 Step 6/7 : COPY go.mod . 16:13:36 ---> 9f34b34d0353 16:13:36 Step 7/7 : RUN go mod download 16:13:37 ---> Running in 27097218783d 16:13:52 Removing intermediate container 27097218783d 16:13:52 ---> 777a226f0cc6 16:13:52 Successfully built 777a226f0cc6 16:13:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:13:52 + docker inspect -f . ci-base-image-arm64 16:13:52 . [Pipeline] withDockerContainer 16:13:52 prd-ubuntu18.04-docker-arm64-4c-16g-17524 does not seem to be running inside a container 16:13:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:13:54 $ docker top eac54580a1c1f595dadf36d8f3d04de0239bb5d9e2b6153498a605f89d27ba4c -eo pid,comm [Pipeline] { [Pipeline] sh 16:13:55 + go version 16:13:55 go version go1.15.5 linux/arm64 [Pipeline] } 16:13:55 $ docker stop --time=1 eac54580a1c1f595dadf36d8f3d04de0239bb5d9e2b6153498a605f89d27ba4c 16:13:57 $ docker rm -f eac54580a1c1f595dadf36d8f3d04de0239bb5d9e2b6153498a605f89d27ba4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:13:58 + docker inspect -f . ci-base-image-arm64 16:13:58 . [Pipeline] withDockerContainer 16:13:58 prd-ubuntu18.04-docker-arm64-4c-16g-17524 does not seem to be running inside a container 16:13:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:14:00 $ docker top e9edb8502654512bd6d0cb7fc5616ab843b0907d8a4e8db29184bc679583cb9c -eo pid,comm [Pipeline] { [Pipeline] sh 16:14:01 + make test 16:14:01 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:14:23 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 16:14:24 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.089s coverage: 85.7% of statements 16:14:24 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.039s coverage: 100.0% of statements 16:14:26 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.059s coverage: 45.4% of statements 16:14:26 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.024s coverage: 77.8% of statements 16:14:26 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 16:14:26 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.018s coverage: 18.6% of statements 16:14:28 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.068s coverage: 14.7% of statements 16:14:29 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.036s coverage: 100.0% of statements 16:14:29 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.088s coverage: 91.8% of statements 16:14:29 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 16:14:29 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 16:14:29 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.059s coverage: 100.0% of statements 16:14:29 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.028s coverage: 47.8% of statements 16:14:33 # github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http [github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http.test] 16:14:33 v2/clients/http/device.go:80: not enough arguments in call to utils.DeleteRequest 16:14:33 have (context.Context, *common.BaseResponse, string) 16:14:33 want (context.Context, interface {}, string, string) 16:14:35 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.089s coverage: 63.0% of statements 16:14:35 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.027s coverage: 26.3% of statements 16:14:35 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.013s coverage: 15.4% of statements 16:14:35 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.014s coverage: 15.4% of statements 16:14:35 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.019s coverage: 14.3% of statements 16:14:35 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 16:14:35 FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http [build failed] 16:14:35 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 16:14:35 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 16:14:36 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.032s coverage: 44.6% of statements 16:14:36 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.032s coverage: 100.0% of statements 16:14:37 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.137s coverage: 93.6% of statements 16:14:37 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.020s coverage: 100.0% of statements 16:14:37 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 16:14:37 FAIL 16:14:37 make: *** [Makefile:6: test] Error 2 [Pipeline] } 16:14:37 $ docker stop --time=1 e9edb8502654512bd6d0cb7fc5616ab843b0907d8a4e8db29184bc679583cb9c 16:14:39 $ docker rm -f e9edb8502654512bd6d0cb7fc5616ab843b0907d8a4e8db29184bc679583cb9c [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:14:41 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 Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" 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 16:14:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:14:45 ---> package-listing.sh 16:14:45 ++ facter osfamily 16:14:45 ++ tr '[:upper:]' '[:lower:]' 16:14:45 + OS_FAMILY=redhat 16:14:45 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-405 16:14:45 + START_PACKAGES=/tmp/packages_start.txt 16:14:45 + END_PACKAGES=/tmp/packages_end.txt 16:14:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:14:45 + PACKAGES=/tmp/packages_start.txt 16:14:45 + '[' /w/workspace/dry_go-mod-core-contracts_PR-405 ']' 16:14:45 + PACKAGES=/tmp/packages_end.txt 16:14:45 + case "${OS_FAMILY}" in 16:14:45 + rpm -qa 16:14:45 + sort 16:14:50 + '[' -f /tmp/packages_start.txt ']' 16:14:50 + '[' -f /tmp/packages_end.txt ']' 16:14:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:14:50 + '[' /w/workspace/dry_go-mod-core-contracts_PR-405 ']' 16:14:50 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-405/archives/ 16:14:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-405/archives/ [Pipeline] echo 16:14:50 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-405/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:14:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:14:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:14:50 16:14:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:14:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:14:51 alpine: Pulling from edgex-lftools-log-publisher 16:14:51 df20fa9351a1: Pulling fs layer 16:14:51 36b3adc4ff6f: Pulling fs layer 16:14:51 8ad3a11d3b57: Pulling fs layer 16:14:51 46f8f816bc3b: Pulling fs layer 16:14:51 93b61091891f: Pulling fs layer 16:14:51 93b9cdb0e59b: Pulling fs layer 16:14:51 5e14af77c1be: Pulling fs layer 16:14:51 01666e4c0597: Pulling fs layer 16:14:51 aa168da1d23b: Pulling fs layer 16:14:51 5e14af77c1be: Waiting 16:14:51 93b61091891f: Waiting 16:14:51 93b9cdb0e59b: Waiting 16:14:51 01666e4c0597: Waiting 16:14:51 aa168da1d23b: Waiting 16:14:51 36b3adc4ff6f: Verifying Checksum 16:14:51 36b3adc4ff6f: Download complete 16:14:51 46f8f816bc3b: Download complete 16:14:51 df20fa9351a1: Verifying Checksum 16:14:51 df20fa9351a1: Download complete 16:14:51 93b9cdb0e59b: Download complete 16:14:51 93b61091891f: Verifying Checksum 16:14:51 93b61091891f: Download complete 16:14:51 5e14af77c1be: Verifying Checksum 16:14:51 5e14af77c1be: Download complete 16:14:51 01666e4c0597: Verifying Checksum 16:14:51 01666e4c0597: Download complete 16:14:51 8ad3a11d3b57: Verifying Checksum 16:14:51 8ad3a11d3b57: Download complete 16:14:51 df20fa9351a1: Pull complete 16:14:52 36b3adc4ff6f: Pull complete 16:14:52 8ad3a11d3b57: Pull complete 16:14:52 46f8f816bc3b: Pull complete 16:14:53 aa168da1d23b: Verifying Checksum 16:14:53 aa168da1d23b: Download complete 16:14:54 93b61091891f: Pull complete 16:14:54 93b9cdb0e59b: Pull complete 16:14:54 5e14af77c1be: Pull complete 16:14:54 01666e4c0597: Pull complete 16:15:01 aa168da1d23b: Pull complete 16:15:01 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:15:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:15:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:15:01 prd-centos7-docker-4c-2g-17521 does not seem to be running inside a container 16:15:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-405/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-405 -v /w/workspace/dry_go-mod-core-contracts_PR-405:/w/workspace/dry_go-mod-core-contracts_PR-405:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-405@tmp:/w/workspace/dry_go-mod-core-contracts_PR-405@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:15:05 $ docker top 289f2128a39afed83a5f907559cf3babae23f7b52186ab91866abe8bde508028 -eo pid,comm [Pipeline] { [Pipeline] sh 16:15:05 + touch /tmp/pre-build-complete [Pipeline] sh 16:15:06 + mkdir -p /var/log/sa [Pipeline] sh 16:15:06 + ls /var/log/sa-host 16:15:06 + sadf -c /var/log/sa-host/sa23 16:15:06 file_magic: OK 16:15:06 HZ: Using current value: 100 16:15:06 file_header: OK 16:15: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 16:15:06 Statistics: 16:15:06 Hnuu...uuuununununu... 16:15:06 File successfully converted to sysstat format version 12.2.1 16:15:06 + sadf -c /var/log/sa-host/sa28 16:15:06 file_magic: OK 16:15:06 HZ: Using current value: 100 16:15:06 file_header: OK 16:15: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 16:15:06 Statistics: 16:15:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:15:06 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:15:06 provisioning config files... 16:15:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-405@tmp/config6330941280832003449tmp [Pipeline] { [Pipeline] echo 16:15:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:15:07 ---> create-netrc.sh [Pipeline] } 16:15:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:15:07 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:15:07 ---> python-tools-install.sh [Pipeline] echo 16:15:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:15:07 ---> sudo-logs.sh 16:15:07 Archiving 'sudo' log.. [Pipeline] echo 16:15:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:15:08 ---> job-cost.sh 16:15:08 lf-activate-venv: SKIPPING 16:15:08 INFO: No Stack... 16:15:09 INFO: Retrieving Pricing Info for: v1-standard-2 16:15:10 INFO: Archiving Costs [Pipeline] echo 16:15:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:15:10 ---> logs-deploy.sh 16:15:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-405/2 16:15:10 INFO: archiving workspace using pattern(s): 16:15:12 Archives upload complete. 16:15:12 INFO: archiving logs to Nexus