Pull request #117 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e9161000b5c30b5c6954c5943c6b2326186a788d+fb98e0c50a6079cd6039d0c16dfa27373e63787d (4981946da3d2b769bbdf1ad3d377be485adea699) 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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-bootstrap, 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-bootstrap-settings PROJECT: go-mod-bootstrap 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-bootstrap 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-8887 in /w/workspace/xfoundry_go-mod-bootstrap_PR-117 [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-bootstrap.git > git init /w/workspace/xfoundry_go-mod-bootstrap_PR-117 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.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-bootstrap.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit fb98e0c50a6079cd6039d0c16dfa27373e63787d into PR head commit e9161000b5c30b5c6954c5943c6b2326186a788d Merge succeeded, producing e9161000b5c30b5c6954c5943c6b2326186a788d Checking out Revision e9161000b5c30b5c6954c5943c6b2326186a788d (PR-117) > git config core.sparsecheckout # timeout=10 > git checkout -f e9161000b5c30b5c6954c5943c6b2326186a788d # 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 fb98e0c50a6079cd6039d0c16dfa27373e63787d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9161000b5c30b5c6954c5943c6b2326186a788d # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:23:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk eaa39a125c8b68ef051c36069897d4d9e7644339 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:23:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:23:33 ========================================================= 15:23:33 EdgeX Global Pipelines Version Info 15:23:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:23:35 ------------------- 15:23:35 stable info: 15:23:35 ------------------- 15:23:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:23:35 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 15:23:35 Message: update stable to v1.0.148 15:23:36 ------------------- 15:23:36 experimental info: 15:23:36 ------------------- 15:23:36 Commited By: **** collab-it+edgex@linuxfoundation.org 15:23:36 Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc 15:23:36 Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 15:23:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 15:23:36 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 15:23:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:23:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:23:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:23:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 15:23:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 15:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo 15:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:23:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 15:23:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-117 [Pipeline] echo 15:23:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-117 [Pipeline] echo 15:23:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-117 [Pipeline] echo 15:23:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e9161000b5c30b5c6954c5943c6b2326186a788d [Pipeline] echo 15:23:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e916100 [Pipeline] echo 15:23:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:23:40 + git log --format=format:%s -1 e9161000b5c30b5c6954c5943c6b2326186a788d [Pipeline] echo 15:23:40 GIT_COMMIT: e9161000b5c30b5c6954c5943c6b2326186a788d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-secrets [Pipeline] echo 15:23:40 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:23:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:23:41 15:23:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:23:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:23:41 latest: Pulling from edgex-devops/git-semver 15:23:41 31603596830f: Pulling fs layer 15:23:41 2a8b12db71e7: Pulling fs layer 15:23:41 6ca5941a6612: Pulling fs layer 15:23:41 ecc8261a40a4: Pulling fs layer 15:23:41 ecc8261a40a4: Waiting 15:23:41 2a8b12db71e7: Verifying Checksum 15:23:41 2a8b12db71e7: Download complete 15:23:41 31603596830f: Download complete 15:23:41 ecc8261a40a4: Verifying Checksum 15:23:41 ecc8261a40a4: Download complete 15:23:41 6ca5941a6612: Verifying Checksum 15:23:41 6ca5941a6612: Download complete 15:23:42 31603596830f: Pull complete 15:23:42 2a8b12db71e7: Pull complete 15:23:43 6ca5941a6612: Pull complete 15:23:43 ecc8261a40a4: Pull complete 15:23:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:23:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:23:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:23:43 prd-centos7-docker-4c-2g-8887 does not seem to be running inside a container 15:23:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-117 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-117:/w/workspace/xfoundry_go-mod-bootstrap_PR-117:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-117@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-117@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:23:46 $ docker top 72457e5d73d456c28a862889062ed0696bd0355d16bb299277c0c1772eb74d13 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:23:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:23:46 [ssh-agent] Looking for ssh-agent implementation... 15:23:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:23:46 $ docker exec 72457e5d73d456c28a862889062ed0696bd0355d16bb299277c0c1772eb74d13 ssh-agent 15:23:46 SSH_AUTH_SOCK=/tmp/ssh-NpNs5WGcrFEW/agent.11 15:23:46 SSH_AGENT_PID=16 15:23:46 Running ssh-add (command line suppressed) 15:23:47 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-117@tmp/private_key_1011054757332777885.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-117@tmp/private_key_1011054757332777885.key) 15:23:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:23:47 + git tag --points-at HEAD [Pipeline] } 15:23:47 $ docker exec --env ******** --env ******** 72457e5d73d456c28a862889062ed0696bd0355d16bb299277c0c1772eb74d13 ssh-agent -k 15:23:47 unset SSH_AUTH_SOCK; 15:23:47 unset SSH_AGENT_PID; 15:23:47 echo Agent pid 16 killed; 15:23:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:23:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:23:48 [ssh-agent] Looking for ssh-agent implementation... 15:23:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:23:48 $ docker exec 72457e5d73d456c28a862889062ed0696bd0355d16bb299277c0c1772eb74d13 ssh-agent 15:23:48 SSH_AUTH_SOCK=/tmp/ssh-F8loLfq7kmOF/agent.47 15:23:48 SSH_AGENT_PID=53 15:23:48 Running ssh-add (command line suppressed) 15:23:48 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-117@tmp/private_key_1973694293866025441.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-117@tmp/private_key_1973694293866025441.key) 15:23:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:23:49 + git semver init 15:23:49 # -> Open(): unable to determine branch for HEAD 15:23:49 # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-117/.git 15:23:49 # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-117 15:23:49 # $SEMVER_REMOTE_NAME = origin 15:23:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:23:49 # $SEMVER_USER_NAME = edgex-jenkins 15:23:49 # $SEMVER_BRANCH = PR-117 15:23:49 # $SEMVER_TEMP = /tmp/semver-700115856 15:23:49 # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP 15:23:49 # '/tmp/semver-700115856' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-117/.semver' 15:23:49 # -> Force: false 15:23:49 # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-117/.semver [Pipeline] } 15:23:49 $ docker exec --env ******** --env ******** 72457e5d73d456c28a862889062ed0696bd0355d16bb299277c0c1772eb74d13 ssh-agent -k 15:23:49 unset SSH_AUTH_SOCK; 15:23:49 unset SSH_AGENT_PID; 15:23:49 echo Agent pid 53 killed; 15:23:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:23:50 + git semver [Pipeline] } 15:23:50 $ docker stop --time=1 72457e5d73d456c28a862889062ed0696bd0355d16bb299277c0c1772eb74d13 15:23:52 $ docker rm -f 72457e5d73d456c28a862889062ed0696bd0355d16bb299277c0c1772eb74d13 [Pipeline] // withDockerContainer [Pipeline] sh 15:23:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:23:53 Stashed 1 file(s) [Pipeline] echo 15:23:53 [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 15:24:08 Still waiting to schedule task 15:24:08 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-8889’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’ 15:24:08 Still waiting to schedule task 15:24:08 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 15:25:13 Running on prd-centos7-docker-4c-2g-8891 in /w/workspace/xfoundry_go-mod-bootstrap_PR-117 [Pipeline] { [Pipeline] ws 15:25:13 Running in /w/workspace/go-mod-bootstrap/3 [Pipeline] { [Pipeline] checkout 15:25:18 using credential edgex-jenkins-ssh 15:25:18 Cloning the remote Git repository 15:25:18 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 15:25:18 > git init /w/workspace/go-mod-bootstrap/3 # timeout=10 15:25:19 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 15:25:19 > git --version # timeout=10 15:25:19 > git --version # 'git version 2.16.5' 15:25:19 using GIT_SSH to set credentials SSH Credentials for GitHub 15:25:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:25:20 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 15:25:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:25:20 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 15:25:20 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 15:25:20 using GIT_SSH to set credentials SSH Credentials for GitHub 15:25:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:25:20 Merging remotes/origin/master commit fb98e0c50a6079cd6039d0c16dfa27373e63787d into PR head commit e9161000b5c30b5c6954c5943c6b2326186a788d 15:25:20 Merge succeeded, producing e9161000b5c30b5c6954c5943c6b2326186a788d 15:25:20 Checking out Revision e9161000b5c30b5c6954c5943c6b2326186a788d (PR-117) 15:25:20 > git config core.sparsecheckout # timeout=10 15:25:20 > git checkout -f e9161000b5c30b5c6954c5943c6b2326186a788d # timeout=10 15:25:20 > git remote # timeout=10 15:25:20 > git config --get remote.origin.url # timeout=10 15:25:20 using GIT_SSH to set credentials SSH Credentials for GitHub 15:25:20 > git merge fb98e0c50a6079cd6039d0c16dfa27373e63787d # timeout=10 15:25:20 > git rev-parse HEAD^{commit} # timeout=10 15:25:20 > git config core.sparsecheckout # timeout=10 15:25:20 > git checkout -f e9161000b5c30b5c6954c5943c6b2326186a788d # timeout=10 15:25:24 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:25:25 ========================================================= 15:25:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 15:25:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:25:25 + 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 . 15:25:26 Sending build context to Docker daemon 546.8kB 15:25:26 Step 1/8 : ARG BASE=golang:1.15-alpine 15:25:26 Step 2/8 : FROM ${BASE} 15:25:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 15:25:26 df20fa9351a1: Pulling fs layer 15:25:26 ed8968b2872e: Pulling fs layer 15:25:26 a92cc7c5fd73: Pulling fs layer 15:25:26 e871e8e8d7a9: Pulling fs layer 15:25:26 e73272ec9a57: Pulling fs layer 15:25:26 1e910a182e73: Pulling fs layer 15:25:26 4e634b169226: Pulling fs layer 15:25:26 e73272ec9a57: Waiting 15:25:26 1e910a182e73: Waiting 15:25:26 4e634b169226: Waiting 15:25:26 e871e8e8d7a9: Waiting 15:25:26 a92cc7c5fd73: Verifying Checksum 15:25:26 a92cc7c5fd73: Download complete 15:25:26 ed8968b2872e: Download complete 15:25:26 e73272ec9a57: Download complete 15:25:26 1e910a182e73: Verifying Checksum 15:25:26 1e910a182e73: Download complete 15:25:26 df20fa9351a1: Verifying Checksum 15:25:26 df20fa9351a1: Download complete 15:25:27 df20fa9351a1: Pull complete 15:25:27 ed8968b2872e: Pull complete 15:25:27 a92cc7c5fd73: Pull complete 15:25:28 4e634b169226: Verifying Checksum 15:25:28 4e634b169226: Download complete 15:25:28 e871e8e8d7a9: Download complete 15:25:34 e871e8e8d7a9: Pull complete 15:25:34 e73272ec9a57: Pull complete 15:25:34 1e910a182e73: Pull complete 15:25:40 4e634b169226: Pull complete 15:25:40 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 15:25:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 15:25:40 ---> f7629b54cfaa 15:25:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:25:40 ---> Running in 985da30669ff 15:25:40 Removing intermediate container 985da30669ff 15:25:40 ---> a38190dd30b9 15:25:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:25:40 ---> Running in 99a5659531a8 15:25:41 Removing intermediate container 99a5659531a8 15:25:41 ---> 383817d00736 15:25:41 Step 5/8 : RUN apk add --update --no-cache git make 15:25:41 ---> Running in f596f76c1f39 15:25:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:25:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:25:43 OK: 166 MiB in 39 packages 15:25:43 Removing intermediate container f596f76c1f39 15:25:43 ---> 2832fd72caa1 15:25:43 Step 6/8 : WORKDIR /build 15:25:43 ---> Running in 4a51bea0c3eb 15:25:44 Removing intermediate container 4a51bea0c3eb 15:25:44 ---> cc8f33a7a831 15:25:44 Step 7/8 : COPY go.mod . 15:25:44 ---> 76a6179105c3 15:25:44 Step 8/8 : RUN go mod download 15:25:44 ---> Running in abe0d56c45e7 15:26:06 Removing intermediate container abe0d56c45e7 15:26:06 ---> 81f30cd6e3f4 15:26:06 Successfully built 81f30cd6e3f4 15:26:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:26:06 + docker inspect -f . ci-base-image-x86_64 15:26:06 . [Pipeline] withDockerContainer 15:26:06 prd-centos7-docker-4c-2g-8891 does not seem to be running inside a container 15:26:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/3 -v /w/workspace/go-mod-bootstrap/3:/w/workspace/go-mod-bootstrap/3:rw,z -v /w/workspace/go-mod-bootstrap/3@tmp:/w/workspace/go-mod-bootstrap/3@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 ******** ci-base-image-x86_64 cat 15:26:07 $ docker top d8027d568efe2c1f5c208d67199dc57efa376319c0f7e85e80d1947a9203fafb -eo pid,comm [Pipeline] { [Pipeline] sh 15:26:08 + go version 15:26:08 go version go1.15.2 linux/amd64 [Pipeline] } 15:26:08 $ docker stop --time=1 d8027d568efe2c1f5c208d67199dc57efa376319c0f7e85e80d1947a9203fafb 15:26:09 $ docker rm -f d8027d568efe2c1f5c208d67199dc57efa376319c0f7e85e80d1947a9203fafb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:26:10 + docker inspect -f . ci-base-image-x86_64 15:26:10 . [Pipeline] withDockerContainer 15:26:10 prd-centos7-docker-4c-2g-8891 does not seem to be running inside a container 15:26:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/3 -v /w/workspace/go-mod-bootstrap/3:/w/workspace/go-mod-bootstrap/3:rw,z -v /w/workspace/go-mod-bootstrap/3@tmp:/w/workspace/go-mod-bootstrap/3@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 ******** ci-base-image-x86_64 cat 15:26:11 $ docker top 25e5accde35b58a9a3cd8f8e1b873317a7245888d9049012813ee41bf7c0094c -eo pid,comm [Pipeline] { [Pipeline] sh 15:26:12 + make test 15:26:12 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:26:22 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap [no test files] 15:26:22 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/config 0.015s coverage: 9.0% of statements 15:26:22 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/container [no test files] 15:26:22 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/environment 0.020s coverage: 95.1% of statements 15:26:22 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/flags 0.007s coverage: 84.2% of statements 15:26:22 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [no test files] 15:26:22 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [no test files] 15:26:22 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret [no test files] 15:26:29 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret/client 7.014s coverage: 100.0% of statements 15:26:29 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/testing [no test files] 15:26:29 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/interfaces [no test files] 15:26:29 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [no test files] 15:26:29 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/registration 0.005s coverage: 48.9% of statements 15:26:29 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/startup [no test files] 15:26:29 ? github.com/edgexfoundry/go-mod-bootstrap/config [no test files] 15:26:29 ok github.com/edgexfoundry/go-mod-bootstrap/di 0.005s coverage: 91.3% of statements 15:26:29 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:26:30 gofmt -l . 15:26:30 [ "`gofmt -l .`" = "" ] [Pipeline] stash 15:26:30 Stashed 1 file(s) [Pipeline] } 15:26:31 $ docker stop --time=1 25e5accde35b58a9a3cd8f8e1b873317a7245888d9049012813ee41bf7c0094c 15:26:34 $ docker rm -f 25e5accde35b58a9a3cd8f8e1b873317a7245888d9049012813ee41bf7c0094c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:27:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-8894 in /w/workspace/xfoundry_go-mod-bootstrap_PR-117 [Pipeline] { [Pipeline] ws 15:27:13 Running in /w/workspace/go-mod-bootstrap/3 [Pipeline] { [Pipeline] checkout 15:27:19 using credential edgex-jenkins-ssh 15:27:19 Cloning the remote Git repository 15:27:19 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 15:27:19 > git init /w/workspace/go-mod-bootstrap/3 # timeout=10 15:27:19 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 15:27:19 > git --version # timeout=10 15:27:19 > git --version # 'git version 2.17.1' 15:27:19 using GIT_SSH to set credentials SSH Credentials for GitHub 15:27:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:27:20 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 15:27:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:27:21 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 15:27:21 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 15:27:21 using GIT_SSH to set credentials SSH Credentials for GitHub 15:27:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:27:21 Merging remotes/origin/master commit fb98e0c50a6079cd6039d0c16dfa27373e63787d into PR head commit e9161000b5c30b5c6954c5943c6b2326186a788d 15:27:22 Merge succeeded, producing e9161000b5c30b5c6954c5943c6b2326186a788d 15:27:22 Checking out Revision e9161000b5c30b5c6954c5943c6b2326186a788d (PR-117) 15:27:21 > git config core.sparsecheckout # timeout=10 15:27:21 > git checkout -f e9161000b5c30b5c6954c5943c6b2326186a788d # timeout=10 15:27:22 > git remote # timeout=10 15:27:22 > git config --get remote.origin.url # timeout=10 15:27:22 using GIT_SSH to set credentials SSH Credentials for GitHub 15:27:22 > git merge fb98e0c50a6079cd6039d0c16dfa27373e63787d # timeout=10 15:27:22 > git rev-parse HEAD^{commit} # timeout=10 15:27:22 > git config core.sparsecheckout # timeout=10 15:27:22 > git checkout -f e9161000b5c30b5c6954c5943c6b2326186a788d # timeout=10 15:27:26 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:27:27 ========================================================= 15:27:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 15:27:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:27:29 + 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 . 15:27:30 Sending build context to Docker daemon 548.9kB 15:27:30 Step 1/8 : ARG BASE=golang:1.15-alpine 15:27:30 Step 2/8 : FROM ${BASE} 15:27:31 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:27:31 b538f80385f9: Pulling fs layer 15:27:31 74f711af9a0d: Pulling fs layer 15:27:31 99f96fe45779: Pulling fs layer 15:27:31 8529a6b9a6be: Pulling fs layer 15:27:31 45590311c82a: Pulling fs layer 15:27:31 69ca0ff8b7b3: Pulling fs layer 15:27:31 209524e5b208: Pulling fs layer 15:27:31 8529a6b9a6be: Waiting 15:27:31 45590311c82a: Waiting 15:27:31 69ca0ff8b7b3: Waiting 15:27:31 209524e5b208: Waiting 15:27:31 99f96fe45779: Download complete 15:27:31 74f711af9a0d: Download complete 15:27:31 45590311c82a: Download complete 15:27:31 69ca0ff8b7b3: Verifying Checksum 15:27:31 69ca0ff8b7b3: Download complete 15:27:34 b538f80385f9: Verifying Checksum 15:27:34 b538f80385f9: Download complete 15:27:35 b538f80385f9: Pull complete 15:27:35 74f711af9a0d: Pull complete 15:27:36 99f96fe45779: Pull complete 15:27:43 209524e5b208: Verifying Checksum 15:27:43 209524e5b208: Download complete 15:27:43 8529a6b9a6be: Verifying Checksum 15:27:43 8529a6b9a6be: Download complete 15:27:55 8529a6b9a6be: Pull complete 15:27:55 45590311c82a: Pull complete 15:27:55 69ca0ff8b7b3: Pull complete 15:27:58 209524e5b208: Pull complete 15:27:58 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 15:27:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 15:27:58 ---> 5bddaf1c2fca 15:27:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:28:01 ---> Running in 5a1ff2d57511 15:28:02 Removing intermediate container 5a1ff2d57511 15:28:02 ---> 779bdfb001b0 15:28:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:28:02 ---> Running in 1cc7ea1e308c 15:28:05 Removing intermediate container 1cc7ea1e308c 15:28:05 ---> 08d0da7101f7 15:28:05 Step 5/8 : RUN apk add --update --no-cache git make 15:28:05 ---> Running in 7793b46d496d 15:28:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:28:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:28:09 OK: 142 MiB in 39 packages 15:28:10 Removing intermediate container 7793b46d496d 15:28:10 ---> 232b2e3df4d3 15:28:10 Step 6/8 : WORKDIR /build 15:28:10 ---> Running in 3631bddccf3b 15:28:10 Removing intermediate container 3631bddccf3b 15:28:10 ---> c63cd88a171a 15:28:10 Step 7/8 : COPY go.mod . 15:28:11 ---> c42418b29856 15:28:11 Step 8/8 : RUN go mod download 15:28:11 ---> Running in 2f7563d20333 15:28:33 Removing intermediate container 2f7563d20333 15:28:33 ---> 7f98572acafc 15:28:33 Successfully built 7f98572acafc 15:28:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:28:34 + docker inspect -f . ci-base-image-arm64 15:28:34 . [Pipeline] withDockerContainer 15:28:34 prd-ubuntu18.04-docker-arm64-4c-16g-8894 does not seem to be running inside a container 15:28:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/3 -v /w/workspace/go-mod-bootstrap/3:/w/workspace/go-mod-bootstrap/3:rw,z -v /w/workspace/go-mod-bootstrap/3@tmp:/w/workspace/go-mod-bootstrap/3@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 ******** ci-base-image-arm64 cat 15:28:36 $ docker top 0730e5e2c286173855027ebf2a8bd835970c18a2eecb3e1b6736e6467bc9d207 -eo pid,comm [Pipeline] { [Pipeline] sh 15:28:37 + go version 15:28:37 go version go1.15.2 linux/arm64 [Pipeline] } 15:28:37 $ docker stop --time=1 0730e5e2c286173855027ebf2a8bd835970c18a2eecb3e1b6736e6467bc9d207 15:28:39 $ docker rm -f 0730e5e2c286173855027ebf2a8bd835970c18a2eecb3e1b6736e6467bc9d207 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:28:41 + docker inspect -f . ci-base-image-arm64 15:28:41 . [Pipeline] withDockerContainer 15:28:41 prd-ubuntu18.04-docker-arm64-4c-16g-8894 does not seem to be running inside a container 15:28:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/3 -v /w/workspace/go-mod-bootstrap/3:/w/workspace/go-mod-bootstrap/3:rw,z -v /w/workspace/go-mod-bootstrap/3@tmp:/w/workspace/go-mod-bootstrap/3@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 ******** ci-base-image-arm64 cat 15:28:43 $ docker top 40f0184e26e0831c9b889cfc0ef1136a186e748d18e67a409d7d31078df1d260 -eo pid,comm [Pipeline] { [Pipeline] sh 15:28:45 + make test 15:28:45 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:29:12 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap [no test files] 15:29:12 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/config 0.016s coverage: 9.0% of statements 15:29:12 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/container [no test files] 15:29:12 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/environment 0.032s coverage: 95.1% of statements 15:29:12 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/flags 0.032s coverage: 84.2% of statements 15:29:12 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [no test files] 15:29:12 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [no test files] 15:29:12 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret [no test files] 15:29:23 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret/client 7.033s coverage: 100.0% of statements 15:29:23 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/testing [no test files] 15:29:23 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/interfaces [no test files] 15:29:23 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [no test files] 15:29:23 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/registration 0.015s coverage: 48.9% of statements 15:29:23 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/startup [no test files] 15:29:23 ? github.com/edgexfoundry/go-mod-bootstrap/config [no test files] 15:29:23 ok github.com/edgexfoundry/go-mod-bootstrap/di 0.013s coverage: 91.3% of statements 15:29:23 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:29:27 gofmt -l . 15:29:27 [ "`gofmt -l .`" = "" ] [Pipeline] stash 15:29:27 Warning: overwriting stash ‘coverage-report’ 15:29:28 Stashed 1 file(s) [Pipeline] } 15:29:28 $ docker stop --time=1 40f0184e26e0831c9b889cfc0ef1136a186e748d18e67a409d7d31078df1d260 15:29:30 $ docker rm -f 40f0184e26e0831c9b889cfc0ef1136a186e748d18e67a409d7d31078df1d260 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 15:29:33 provisioning config files... 15:29:33 copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-117@tmp/config1482417815386070007tmp [Pipeline] { [Pipeline] sh 15:29:33 + set +x 15:29:33 + curl -s https://codecov.io/bash 15:29:33 + bash -s -- 15:29:33 15:29:33 _____ _ 15:29:33 / ____| | | 15:29:33 | | ___ __| | ___ ___ _____ __ 15:29:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:29:33 | |___| (_) | (_| | __/ (_| (_) \ V / 15:29:33 \_____\___/ \__,_|\___|\___\___/ \_/ 15:29:33 Bash-20201009-048fee3 15:29:33 15:29:33 15:29:33 ==> Jenkins CI detected. 15:29:33 project root: . 15:29:33 --> token set from env 15:29:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:29:33 ==> Running gcov in . (disable via -X gcov) 15:29:33 ==> Python coveragepy not found 15:29:33 ==> Searching for coverage reports in: 15:29:33 + . 15:29:33 -> Found 1 reports 15:29:33 ==> Detecting git/mercurial file structure 15:29:33 ==> Reading reports 15:29:33 + ./coverage.out bytes=20923 15:29:33 ==> Appending adjustments 15:29:33 https://docs.codecov.io/docs/fixing-reports 15:29:34 + Found adjustments 15:29:34 ==> Gzipping contents 15:29:34 ==> Uploading reports 15:29:34 url: https://codecov.io 15:29:34 query: branch=PR-117&commit=e9161000b5c30b5c6954c5943c6b2326186a788d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-117%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=117&job=&cmd_args= 15:29:34 -> Pinging Codecov 15:29:34 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-117&commit=e9161000b5c30b5c6954c5943c6b2326186a788d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-117%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=117&job=&cmd_args= 15:29:34 -> Uploading to 15:29:34 15:29:34 % Total % Received % Xferd Average Speed Time Time Time Current 15:29:34 Dload Upload Total Spent Left Speed 15:29:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 15:29:34 X> Failed to upload 15:29:34 ==> Uploading to Codecov 15:29:34 % Total % Received % Xferd Average Speed Time Time Time Current 15:29:34 Dload Upload Total Spent Left Speed 15:29:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 97 4492 0 0 100 4379 0 6313 --:--:-- --:--:-- --:--:-- 6309 100 4492 100 113 100 4379 162 6311 --:--:-- --:--:-- --:--:-- 6309 15:29:34 View reports at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/e9161000b5c30b5c6954c5943c6b2326186a788d [Pipeline] } 15:29:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 15:29:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:29:38 ---> package-listing.sh 15:29:38 ++ facter osfamily 15:29:38 ++ tr '[:upper:]' '[:lower:]' 15:29:38 + OS_FAMILY=redhat 15:29:38 + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-117 15:29:38 + START_PACKAGES=/tmp/packages_start.txt 15:29:38 + END_PACKAGES=/tmp/packages_end.txt 15:29:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:29:38 + PACKAGES=/tmp/packages_start.txt 15:29:38 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-117 ']' 15:29:38 + PACKAGES=/tmp/packages_end.txt 15:29:38 + case "${OS_FAMILY}" in 15:29:38 + rpm -qa 15:29:38 + sort 15:29:41 + '[' -f /tmp/packages_start.txt ']' 15:29:41 + '[' -f /tmp/packages_end.txt ']' 15:29:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:29:41 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-117 ']' 15:29:41 + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-117/archives/ 15:29:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-117/archives/ [Pipeline] echo 15:29:41 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/xfoundry_go-mod-bootstrap_PR-117/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:29:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:29:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:29:42 15:29:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:29:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:29:42 alpine: Pulling from edgex-lftools-log-publisher 15:29:42 df20fa9351a1: Pulling fs layer 15:29:42 36b3adc4ff6f: Pulling fs layer 15:29:42 8ad3a11d3b57: Pulling fs layer 15:29:42 46f8f816bc3b: Pulling fs layer 15:29:42 93b61091891f: Pulling fs layer 15:29:42 93b9cdb0e59b: Pulling fs layer 15:29:42 5e14af77c1be: Pulling fs layer 15:29:42 01666e4c0597: Pulling fs layer 15:29:42 aa168da1d23b: Pulling fs layer 15:29:42 46f8f816bc3b: Waiting 15:29:42 93b61091891f: Waiting 15:29:42 01666e4c0597: Waiting 15:29:42 aa168da1d23b: Waiting 15:29:42 5e14af77c1be: Waiting 15:29:42 93b9cdb0e59b: Waiting 15:29:42 36b3adc4ff6f: Verifying Checksum 15:29:42 36b3adc4ff6f: Download complete 15:29:42 46f8f816bc3b: Verifying Checksum 15:29:42 46f8f816bc3b: Download complete 15:29:42 df20fa9351a1: Verifying Checksum 15:29:42 93b9cdb0e59b: Download complete 15:29:42 93b61091891f: Download complete 15:29:42 5e14af77c1be: Verifying Checksum 15:29:42 5e14af77c1be: Download complete 15:29:42 01666e4c0597: Verifying Checksum 15:29:42 01666e4c0597: Download complete 15:29:42 8ad3a11d3b57: Verifying Checksum 15:29:42 8ad3a11d3b57: Download complete 15:29:43 df20fa9351a1: Pull complete 15:29:43 36b3adc4ff6f: Pull complete 15:29:43 8ad3a11d3b57: Pull complete 15:29:44 46f8f816bc3b: Pull complete 15:29:44 93b61091891f: Pull complete 15:29:44 93b9cdb0e59b: Pull complete 15:29:45 5e14af77c1be: Pull complete 15:29:45 01666e4c0597: Pull complete 15:29:45 aa168da1d23b: Verifying Checksum 15:29:45 aa168da1d23b: Download complete 15:29:52 aa168da1d23b: Pull complete 15:29:52 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 15:29:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:29:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:29:52 prd-centos7-docker-4c-2g-8887 does not seem to be running inside a container 15:29:52 $ 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/xfoundry_go-mod-bootstrap_PR-117/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-bootstrap_PR-117 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-117:/w/workspace/xfoundry_go-mod-bootstrap_PR-117:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-117@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-117@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:29:56 $ docker top 5e3ae88747a7b6cdbb2e1a54ce967dc2a58397758772886f842314baaa659cd7 -eo pid,comm [Pipeline] { [Pipeline] sh 15:29:56 + touch /tmp/pre-build-complete [Pipeline] sh 15:29:57 + mkdir -p /var/log/sa [Pipeline] sh 15:29:57 + ls /var/log/sa-host 15:29:57 + sadf -c /var/log/sa-host/sa05 15:29:57 file_magic: OK 15:29:57 HZ: Using current value: 100 15:29:57 file_header: OK 15:29:57 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 15:29:57 Statistics: 15:29:57 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:29:57 File successfully converted to sysstat format version 12.2.1 15:29:57 + sadf -c /var/log/sa-host/sa26 15:29:57 file_magic: OK 15:29:57 HZ: Using current value: 100 15:29:57 file_header: OK 15:29:57 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 15:29:57 Statistics: 15:29:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:29:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:29:57 provisioning config files... 15:29:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-117@tmp/config8701902135357661712tmp [Pipeline] { [Pipeline] echo 15:29:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:29:58 ---> create-netrc.sh [Pipeline] } 15:29:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 15:29:58 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 15:29:58 ---> python-tools-install.sh [Pipeline] echo 15:29:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:29:58 ---> sudo-logs.sh 15:29:58 Archiving 'sudo' log.. [Pipeline] echo 15:29:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:29:59 ---> job-cost.sh 15:29:59 lf-activate-venv: SKIPPING 15:29:59 INFO: No Stack... 15:30:00 INFO: Retrieving Pricing Info for: v1-standard-2 15:30:01 INFO: Archiving Costs [Pipeline] echo 15:30:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:30:01 ---> logs-deploy.sh 15:30:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-117/3 15:30:01 INFO: archiving workspace using pattern(s): 15:30:02 Archives upload complete. 15:30:03 INFO: archiving logs to Nexus 15:30:04 ---> uname -a: 15:30:04 Linux prd-centos7-docker-4c-2g-8887.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 15:30:04 15:30:04