Pull request #121 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 andresrinivasan for edgexfoundry/go-mod-bootstrap Loading trusted files from base branch master at 1c12cdf02cb8f3331559680e92071a911139f922 rather than dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 Obtained Jenkinsfile from 1c12cdf02cb8f3331559680e92071a911139f922 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-9534 in /w/workspace/xfoundry_go-mod-bootstrap_PR-121 [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-121 # 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 Merging remotes/origin/master commit 1c12cdf02cb8f3331559680e92071a911139f922 into PR head commit dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 Merge succeeded, producing dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 Checking out Revision dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 (PR-121) > 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/121/head:refs/remotes/origin/PR-121 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 # 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 1c12cdf02cb8f3331559680e92071a911139f922 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 # timeout=10 Commit message: "fix: Accept argument lists with a -r substring" First time build. Skipping changelog. > git rev-list --no-walk 573b73cce9b2d89b51bda7e25706a3c47e53b1bd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:42:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:42:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:42:52 ========================================================= 17:42:52 EdgeX Global Pipelines Version Info 17:42:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:42:53 ------------------- 17:42:53 stable info: 17:42:53 ------------------- 17:42:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:42:53 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 17:42:53 Message: update stable to v1.0.148 17:42:54 ------------------- 17:42:54 experimental info: 17:42:54 ------------------- 17:42:54 Commited By: **** collab-it+edgex@linuxfoundation.org 17:42:54 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 17:42:54 Message: update experimental to v1.0.152 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 17:42:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 17:42:55 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 17:42:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:42:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:42:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:42:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 17:42:55 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:42:55 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 17:42:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:42:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:42:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:42:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo 17:42:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:42:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:42:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:42:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:42:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:42:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:42:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 17:42:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:42:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:42:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:42:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:42:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:42:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:42:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-121 [Pipeline] echo 17:42:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-121 [Pipeline] echo 17:42:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-121 [Pipeline] echo 17:42:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 [Pipeline] echo 17:42:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc0e6ea [Pipeline] echo 17:42:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:42:58 + git log --format=format:%s -1 dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 [Pipeline] echo 17:42:58 GIT_COMMIT: dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6, Commit Message: fix: Accept argument lists with a -r substring [Pipeline] echo 17:42:58 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:42:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:43:00 17:43:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:43:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:43:00 latest: Pulling from edgex-devops/git-semver 17:43:00 31603596830f: Pulling fs layer 17:43:00 2a8b12db71e7: Pulling fs layer 17:43:00 6ca5941a6612: Pulling fs layer 17:43:00 ecc8261a40a4: Pulling fs layer 17:43:00 ecc8261a40a4: Waiting 17:43:00 2a8b12db71e7: Verifying Checksum 17:43:00 2a8b12db71e7: Download complete 17:43:00 31603596830f: Download complete 17:43:00 ecc8261a40a4: Verifying Checksum 17:43:00 ecc8261a40a4: Download complete 17:43:00 6ca5941a6612: Verifying Checksum 17:43:00 6ca5941a6612: Download complete 17:43:00 31603596830f: Pull complete 17:43:01 2a8b12db71e7: Pull complete 17:43:02 6ca5941a6612: Pull complete 17:43:02 ecc8261a40a4: Pull complete 17:43:02 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:43:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:43:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:43:02 prd-centos7-docker-4c-2g-9534 does not seem to be running inside a container 17:43:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-121 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-121:/w/workspace/xfoundry_go-mod-bootstrap_PR-121:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-121@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-121@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:43:04 $ docker top 2ad957d6963dc138c1d2b1dadba17b565e4850ca44fb72d169483c0e8f7bf999 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:43:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:43:05 [ssh-agent] Looking for ssh-agent implementation... 17:43:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:43:05 $ docker exec 2ad957d6963dc138c1d2b1dadba17b565e4850ca44fb72d169483c0e8f7bf999 ssh-agent 17:43:05 SSH_AUTH_SOCK=/tmp/ssh-ZPivkAplouxY/agent.11 17:43:05 SSH_AGENT_PID=17 17:43:05 Running ssh-add (command line suppressed) 17:43:05 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-121@tmp/private_key_3890039224914210150.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-121@tmp/private_key_3890039224914210150.key) 17:43:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:43:06 + git tag --points-at HEAD [Pipeline] } 17:43:06 $ docker exec --env ******** --env ******** 2ad957d6963dc138c1d2b1dadba17b565e4850ca44fb72d169483c0e8f7bf999 ssh-agent -k 17:43:06 unset SSH_AUTH_SOCK; 17:43:06 unset SSH_AGENT_PID; 17:43:06 echo Agent pid 17 killed; 17:43:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:43:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:43:06 [ssh-agent] Looking for ssh-agent implementation... 17:43:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:43:06 $ docker exec 2ad957d6963dc138c1d2b1dadba17b565e4850ca44fb72d169483c0e8f7bf999 ssh-agent 17:43:06 SSH_AUTH_SOCK=/tmp/ssh-9pCxT1y5jGwV/agent.46 17:43:06 SSH_AGENT_PID=51 17:43:06 Running ssh-add (command line suppressed) 17:43:06 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-121@tmp/private_key_4170062053531534331.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-121@tmp/private_key_4170062053531534331.key) 17:43:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:43:07 + git semver init 17:43:07 # -> Open(): unable to determine branch for HEAD 17:43:07 # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-121/.git 17:43:07 # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-121 17:43:07 # $SEMVER_REMOTE_NAME = origin 17:43:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:43:07 # $SEMVER_USER_NAME = edgex-jenkins 17:43:07 # $SEMVER_BRANCH = PR-121 17:43:07 # $SEMVER_TEMP = /tmp/semver-793918192 17:43:07 # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP 17:43:07 # '/tmp/semver-793918192' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-121/.semver' 17:43:07 # -> Force: false 17:43:07 # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-121/.semver [Pipeline] } 17:43:07 $ docker exec --env ******** --env ******** 2ad957d6963dc138c1d2b1dadba17b565e4850ca44fb72d169483c0e8f7bf999 ssh-agent -k 17:43:07 unset SSH_AUTH_SOCK; 17:43:07 unset SSH_AGENT_PID; 17:43:07 echo Agent pid 51 killed; 17:43:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:43:08 + git semver [Pipeline] } 17:43:08 $ docker stop --time=1 2ad957d6963dc138c1d2b1dadba17b565e4850ca44fb72d169483c0e8f7bf999 17:43:10 $ docker rm -f 2ad957d6963dc138c1d2b1dadba17b565e4850ca44fb72d169483c0e8f7bf999 [Pipeline] // withDockerContainer [Pipeline] sh 17:43:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:43:11 Stashed 1 file(s) [Pipeline] echo 17:43:11 [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 17:43:26 Still waiting to schedule task 17:43:26 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:43:26 Still waiting to schedule task 17:43:26 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:45:03 Running on prd-centos7-docker-4c-2g-9536 in /w/workspace/xfoundry_go-mod-bootstrap_PR-121 [Pipeline] { [Pipeline] ws 17:45:03 Running in /w/workspace/go-mod-bootstrap/5 [Pipeline] { [Pipeline] checkout 17:45:06 using credential edgex-jenkins-ssh 17:45:06 Cloning the remote Git repository 17:45:06 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 17:45:06 > git init /w/workspace/go-mod-bootstrap/5 # timeout=10 17:45:07 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 17:45:07 > git --version # timeout=10 17:45:07 > git --version # 'git version 2.16.5' 17:45:07 using GIT_SSH to set credentials SSH Credentials for GitHub 17:45:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:45:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 17:45:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:45:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 17:45:08 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 17:45:08 using GIT_SSH to set credentials SSH Credentials for GitHub 17:45:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/121/head:refs/remotes/origin/PR-121 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:45:08 Merging remotes/origin/master commit 1c12cdf02cb8f3331559680e92071a911139f922 into PR head commit dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 17:45:08 Merge succeeded, producing dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 17:45:08 Checking out Revision dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 (PR-121) 17:45:08 > git config core.sparsecheckout # timeout=10 17:45:08 > git checkout -f dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 # timeout=10 17:45:08 > git remote # timeout=10 17:45:08 > git config --get remote.origin.url # timeout=10 17:45:08 using GIT_SSH to set credentials SSH Credentials for GitHub 17:45:08 > git merge 1c12cdf02cb8f3331559680e92071a911139f922 # timeout=10 17:45:08 > git rev-parse HEAD^{commit} # timeout=10 17:45:08 > git config core.sparsecheckout # timeout=10 17:45:08 > git checkout -f dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 # timeout=10 17:45:12 Commit message: "fix: Accept argument lists with a -r substring" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:45:13 ========================================================= 17:45:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 17:45:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:45:14 + 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 . 17:45:14 Sending build context to Docker daemon 561.7kB 17:45:14 Step 1/8 : ARG BASE=golang:1.15-alpine 17:45:14 Step 2/8 : FROM ${BASE} 17:45:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 17:45:14 df20fa9351a1: Pulling fs layer 17:45:14 ed8968b2872e: Pulling fs layer 17:45:14 a92cc7c5fd73: Pulling fs layer 17:45:14 e871e8e8d7a9: Pulling fs layer 17:45:14 e73272ec9a57: Pulling fs layer 17:45:14 1e910a182e73: Pulling fs layer 17:45:14 4e634b169226: Pulling fs layer 17:45:14 e73272ec9a57: Waiting 17:45:14 e871e8e8d7a9: Waiting 17:45:14 4e634b169226: Waiting 17:45:14 1e910a182e73: Waiting 17:45:14 a92cc7c5fd73: Verifying Checksum 17:45:14 a92cc7c5fd73: Download complete 17:45:14 ed8968b2872e: Verifying Checksum 17:45:14 ed8968b2872e: Download complete 17:45:14 e73272ec9a57: Verifying Checksum 17:45:14 e73272ec9a57: Download complete 17:45:14 1e910a182e73: Verifying Checksum 17:45:14 1e910a182e73: Download complete 17:45:14 df20fa9351a1: Verifying Checksum 17:45:14 df20fa9351a1: Download complete 17:45:14 df20fa9351a1: Pull complete 17:45:15 ed8968b2872e: Pull complete 17:45:15 a92cc7c5fd73: Pull complete 17:45:17 4e634b169226: Verifying Checksum 17:45:17 4e634b169226: Download complete 17:45:17 e871e8e8d7a9: Verifying Checksum 17:45:17 e871e8e8d7a9: Download complete 17:45:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-9535 in /w/workspace/xfoundry_go-mod-bootstrap_PR-121 [Pipeline] { [Pipeline] ws 17:45:19 Running in /w/workspace/go-mod-bootstrap/5 [Pipeline] { [Pipeline] checkout 17:45:22 e871e8e8d7a9: Pull complete 17:45:22 e73272ec9a57: Pull complete 17:45:23 1e910a182e73: Pull complete 17:45:23 using credential edgex-jenkins-ssh 17:45:24 Cloning the remote Git repository 17:45:24 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 17:45:24 > git init /w/workspace/go-mod-bootstrap/5 # timeout=10 17:45:24 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 17:45:24 > git --version # timeout=10 17:45:24 > git --version # 'git version 2.17.1' 17:45:24 using GIT_SSH to set credentials SSH Credentials for GitHub 17:45:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:45:25 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 17:45:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:45:25 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 17:45:25 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 17:45:25 using GIT_SSH to set credentials SSH Credentials for GitHub 17:45:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/121/head:refs/remotes/origin/PR-121 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:45:25 Merging remotes/origin/master commit 1c12cdf02cb8f3331559680e92071a911139f922 into PR head commit dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 17:45:26 Merge succeeded, producing dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 17:45:26 Checking out Revision dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 (PR-121) 17:45:25 > git config core.sparsecheckout # timeout=10 17:45:25 > git checkout -f dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 # timeout=10 17:45:26 > git remote # timeout=10 17:45:26 > git config --get remote.origin.url # timeout=10 17:45:26 using GIT_SSH to set credentials SSH Credentials for GitHub 17:45:26 > git merge 1c12cdf02cb8f3331559680e92071a911139f922 # timeout=10 17:45:26 > git rev-parse HEAD^{commit} # timeout=10 17:45:26 > git config core.sparsecheckout # timeout=10 17:45:26 > git checkout -f dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 # timeout=10 17:45:27 4e634b169226: Pull complete 17:45:27 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 17:45:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:45:27 ---> f7629b54cfaa 17:45:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:45:27 ---> Running in ad199953503c 17:45:27 Removing intermediate container ad199953503c 17:45:27 ---> 8182ea45f3d4 17:45:27 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:45:28 ---> Running in b85447232899 17:45:28 Removing intermediate container b85447232899 17:45:28 ---> 40eef34c603a 17:45:28 Step 5/8 : RUN apk add --update --no-cache git make 17:45:28 ---> Running in e450f635fb28 17:45:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:45:30 Commit message: "fix: Accept argument lists with a -r substring" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 17:45:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] echo 17:45:31 ========================================================= 17:45:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:45:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:45:31 OK: 166 MiB in 39 packages 17:45:32 + 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 . 17:45:32 Removing intermediate container e450f635fb28 17:45:32 ---> ca73c2cd26d9 17:45:32 Step 6/8 : WORKDIR /build 17:45:32 ---> Running in 402ed9e5aaa3 17:45:32 Removing intermediate container 402ed9e5aaa3 17:45:32 ---> 14a988b0dd2d 17:45:32 Step 7/8 : COPY go.mod . 17:45:33 ---> d98f2f3cd8ee 17:45:33 Step 8/8 : RUN go mod download 17:45:33 ---> Running in 5c8d57db6a85 17:45:33 Sending build context to Docker daemon 561.7kB 17:45:33 Step 1/8 : ARG BASE=golang:1.15-alpine 17:45:33 Step 2/8 : FROM ${BASE} 17:45:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:45:33 b538f80385f9: Pulling fs layer 17:45:33 74f711af9a0d: Pulling fs layer 17:45:33 99f96fe45779: Pulling fs layer 17:45:33 8529a6b9a6be: Pulling fs layer 17:45:33 45590311c82a: Pulling fs layer 17:45:33 69ca0ff8b7b3: Pulling fs layer 17:45:33 209524e5b208: Pulling fs layer 17:45:33 45590311c82a: Waiting 17:45:33 69ca0ff8b7b3: Waiting 17:45:33 209524e5b208: Waiting 17:45:33 8529a6b9a6be: Waiting 17:45:33 99f96fe45779: Verifying Checksum 17:45:33 99f96fe45779: Download complete 17:45:33 74f711af9a0d: Verifying Checksum 17:45:33 74f711af9a0d: Download complete 17:45:33 45590311c82a: Download complete 17:45:33 69ca0ff8b7b3: Verifying Checksum 17:45:33 69ca0ff8b7b3: Download complete 17:45:33 b538f80385f9: Verifying Checksum 17:45:33 b538f80385f9: Download complete 17:45:34 b538f80385f9: Pull complete 17:45:34 74f711af9a0d: Pull complete 17:45:35 99f96fe45779: Pull complete 17:45:36 209524e5b208: Verifying Checksum 17:45:36 209524e5b208: Download complete 17:45:38 8529a6b9a6be: Verifying Checksum 17:45:38 8529a6b9a6be: Download complete 17:45:48 8529a6b9a6be: Pull complete 17:45:48 45590311c82a: Pull complete 17:45:49 69ca0ff8b7b3: Pull complete 17:45:51 Removing intermediate container 5c8d57db6a85 17:45:51 ---> 5374ad83502f 17:45:51 Successfully built 5374ad83502f 17:45:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:45:51 + docker inspect -f . ci-base-image-x86_64 17:45:51 . [Pipeline] withDockerContainer 17:45:51 prd-centos7-docker-4c-2g-9536 does not seem to be running inside a container 17:45:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/5 -v /w/workspace/go-mod-bootstrap/5:/w/workspace/go-mod-bootstrap/5:rw,z -v /w/workspace/go-mod-bootstrap/5@tmp:/w/workspace/go-mod-bootstrap/5@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 ******** ci-base-image-x86_64 cat 17:45:53 $ docker top 319e8dd1fa2aeeba3d94d4f335bc2199dddad70b35673ecbe700bb3deaa6cf6f -eo pid,comm [Pipeline] { [Pipeline] sh 17:45:53 209524e5b208: Pull complete 17:45:53 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 17:45:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:45:53 ---> 5bddaf1c2fca 17:45:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:45:53 + go version 17:45:53 go version go1.15.2 linux/amd64 [Pipeline] } 17:45:53 $ docker stop --time=1 319e8dd1fa2aeeba3d94d4f335bc2199dddad70b35673ecbe700bb3deaa6cf6f 17:45:55 $ docker rm -f 319e8dd1fa2aeeba3d94d4f335bc2199dddad70b35673ecbe700bb3deaa6cf6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 17:45:55 ---> Running in 9312f84abc72 [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:45:56 + docker inspect -f . ci-base-image-x86_64 17:45:56 . [Pipeline] withDockerContainer 17:45:56 Removing intermediate container 9312f84abc72 17:45:56 ---> 3a1743c7fe75 17:45:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:45:56 ---> Running in 23c87d9853f6 17:45:56 prd-centos7-docker-4c-2g-9536 does not seem to be running inside a container 17:45:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/5 -v /w/workspace/go-mod-bootstrap/5:/w/workspace/go-mod-bootstrap/5:rw,z -v /w/workspace/go-mod-bootstrap/5@tmp:/w/workspace/go-mod-bootstrap/5@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 ******** ci-base-image-x86_64 cat 17:45:57 $ docker top 62ac8b07fe0ef6d0dfa0a3c79af460f82e4c6c92d101898d822da1660de2b2d8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:45:57 + make test 17:45:57 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:45:58 Removing intermediate container 23c87d9853f6 17:45:58 ---> 718930ac0f14 17:45:58 Step 5/8 : RUN apk add --update --no-cache git make 17:45:58 ---> Running in 766beff5cd38 17:46:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:46:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:46:02 OK: 142 MiB in 39 packages 17:46:03 Removing intermediate container 766beff5cd38 17:46:03 ---> 0ffd3d64ec54 17:46:03 Step 6/8 : WORKDIR /build 17:46:03 ---> Running in f134fc6d518f 17:46:03 Removing intermediate container f134fc6d518f 17:46:03 ---> dcdabef56976 17:46:03 Step 7/8 : COPY go.mod . 17:46:04 ---> aa9c1260b927 17:46:04 Step 8/8 : RUN go mod download 17:46:04 ---> Running in 9a3346c05b00 17:46:07 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap [no test files] 17:46:07 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/config 0.007s coverage: 9.0% of statements 17:46:07 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/container [no test files] 17:46:07 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/environment 0.015s coverage: 95.1% of statements 17:46:07 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/flags 0.020s coverage: 87.8% of statements 17:46:07 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [no test files] 17:46:07 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [no test files] 17:46:07 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret [no test files] 17:46:15 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret/client 7.017s coverage: 100.0% of statements 17:46:15 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/testing [no test files] 17:46:15 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/interfaces [no test files] 17:46:15 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [no test files] 17:46:15 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/registration 0.006s coverage: 48.9% of statements 17:46:15 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/startup [no test files] 17:46:15 ? github.com/edgexfoundry/go-mod-bootstrap/config [no test files] 17:46:15 ok github.com/edgexfoundry/go-mod-bootstrap/di 0.006s coverage: 91.3% of statements 17:46:15 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:46:16 gofmt -l . 17:46:16 [ "`gofmt -l .`" = "" ] [Pipeline] stash 17:46:16 Stashed 1 file(s) [Pipeline] } 17:46:16 $ docker stop --time=1 62ac8b07fe0ef6d0dfa0a3c79af460f82e4c6c92d101898d822da1660de2b2d8 17:46:19 $ docker rm -f 62ac8b07fe0ef6d0dfa0a3c79af460f82e4c6c92d101898d822da1660de2b2d8 [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] } 17:46:26 Removing intermediate container 9a3346c05b00 17:46:26 ---> a7b853a2a4eb 17:46:26 Successfully built a7b853a2a4eb 17:46:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:46:27 + docker inspect -f . ci-base-image-arm64 17:46:27 . [Pipeline] withDockerContainer 17:46:27 prd-ubuntu18.04-docker-arm64-4c-16g-9535 does not seem to be running inside a container 17:46:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/5 -v /w/workspace/go-mod-bootstrap/5:/w/workspace/go-mod-bootstrap/5:rw,z -v /w/workspace/go-mod-bootstrap/5@tmp:/w/workspace/go-mod-bootstrap/5@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 ******** ci-base-image-arm64 cat 17:46:29 $ docker top f66f82b62265526ff0f9e1d9cf6925afae7d02b4c9b98c0520f2b412b652f5bc -eo pid,comm [Pipeline] { [Pipeline] sh 17:46:30 + go version 17:46:30 go version go1.15.2 linux/arm64 [Pipeline] } 17:46:30 $ docker stop --time=1 f66f82b62265526ff0f9e1d9cf6925afae7d02b4c9b98c0520f2b412b652f5bc 17:46:32 $ docker rm -f f66f82b62265526ff0f9e1d9cf6925afae7d02b4c9b98c0520f2b412b652f5bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:46:34 + docker inspect -f . ci-base-image-arm64 17:46:34 . [Pipeline] withDockerContainer 17:46:34 prd-ubuntu18.04-docker-arm64-4c-16g-9535 does not seem to be running inside a container 17:46:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/5 -v /w/workspace/go-mod-bootstrap/5:/w/workspace/go-mod-bootstrap/5:rw,z -v /w/workspace/go-mod-bootstrap/5@tmp:/w/workspace/go-mod-bootstrap/5@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 ******** ci-base-image-arm64 cat 17:46:36 $ docker top 5effeba93644b8179066e2049821de67dd38668a18bade54c39558164903c45e -eo pid,comm [Pipeline] { [Pipeline] sh 17:46:37 + make test 17:46:37 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:47:04 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap [no test files] 17:47:06 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/config 0.016s coverage: 9.0% of statements 17:47:06 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/container [no test files] 17:47:06 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/environment 0.027s coverage: 95.1% of statements 17:47:06 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/flags 0.045s coverage: 87.8% of statements 17:47:06 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [no test files] 17:47:06 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [no test files] 17:47:06 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret [no test files] 17:47:16 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret/client 7.057s coverage: 100.0% of statements 17:47:16 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/testing [no test files] 17:47:16 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/interfaces [no test files] 17:47:16 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [no test files] 17:47:16 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/registration 0.013s coverage: 48.9% of statements 17:47:16 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/startup [no test files] 17:47:16 ? github.com/edgexfoundry/go-mod-bootstrap/config [no test files] 17:47:16 ok github.com/edgexfoundry/go-mod-bootstrap/di 0.011s coverage: 91.3% of statements 17:47:16 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:47:19 gofmt -l . 17:47:19 [ "`gofmt -l .`" = "" ] [Pipeline] stash 17:47:19 Warning: overwriting stash ‘coverage-report’ 17:47:20 Stashed 1 file(s) [Pipeline] } 17:47:20 $ docker stop --time=1 5effeba93644b8179066e2049821de67dd38668a18bade54c39558164903c45e 17:47:22 $ docker rm -f 5effeba93644b8179066e2049821de67dd38668a18bade54c39558164903c45e [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 17:47:25 provisioning config files... 17:47:25 copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-121@tmp/config2811725423193204149tmp [Pipeline] { [Pipeline] sh 17:47:25 + set +x 17:47:25 + curl -s https://codecov.io/bash 17:47:25 + bash -s -- 17:47:25 17:47:25 _____ _ 17:47:25 / ____| | | 17:47:25 | | ___ __| | ___ ___ _____ __ 17:47:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:47:25 | |___| (_) | (_| | __/ (_| (_) \ V / 17:47:25 \_____\___/ \__,_|\___|\___\___/ \_/ 17:47:25 Bash-20201009-048fee3 17:47:25 17:47:25 17:47:25 ==> Jenkins CI detected. 17:47:25 project root: . 17:47:25 --> token set from env 17:47:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:47:25 ==> Running gcov in . (disable via -X gcov) 17:47:25 ==> Python coveragepy not found 17:47:25 ==> Searching for coverage reports in: 17:47:25 + . 17:47:25 -> Found 1 reports 17:47:25 ==> Detecting git/mercurial file structure 17:47:25 ==> Reading reports 17:47:25 + ./coverage.out bytes=21005 17:47:25 ==> Appending adjustments 17:47:25 https://docs.codecov.io/docs/fixing-reports 17:47:26 + Found adjustments 17:47:26 ==> Gzipping contents 17:47:26 ==> Uploading reports 17:47:26 url: https://codecov.io 17:47:26 query: branch=PR-121&commit=dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-121%2F5%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=121&job=&cmd_args= 17:47:26 -> Pinging Codecov 17:47:26 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-121&commit=dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-121%2F5%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=121&job=&cmd_args= 17:47:26 -> Uploading to 17:47:26 17:47:26 % Total % Received % Xferd Average Speed Time Time Time Current 17:47:26 Dload Upload Total Spent Left Speed 17:47:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 17:47:26 X> Failed to upload 17:47:26 ==> Uploading to Codecov 17:47:26 % Total % Received % Xferd Average Speed Time Time Time Current 17:47:26 Dload Upload Total Spent Left Speed 17:47:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4517 100 113 100 4404 211 8228 --:--:-- --:--:-- --:--:-- 8231 17:47:26 View reports at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/dc0e6ea44e8b63a3dada2ec09fbd7dd7bbd1e1c6 [Pipeline] } 17:47:26 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 17:47:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:47:30 ---> package-listing.sh 17:47:30 ++ facter osfamily 17:47:30 ++ tr '[:upper:]' '[:lower:]' 17:47:30 + OS_FAMILY=redhat 17:47:30 + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-121 17:47:30 + START_PACKAGES=/tmp/packages_start.txt 17:47:30 + END_PACKAGES=/tmp/packages_end.txt 17:47:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:47:30 + PACKAGES=/tmp/packages_start.txt 17:47:30 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-121 ']' 17:47:30 + PACKAGES=/tmp/packages_end.txt 17:47:30 + case "${OS_FAMILY}" in 17:47:30 + rpm -qa 17:47:30 + sort 17:47:34 + '[' -f /tmp/packages_start.txt ']' 17:47:34 + '[' -f /tmp/packages_end.txt ']' 17:47:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:47:34 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-121 ']' 17:47:34 + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-121/archives/ 17:47:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-121/archives/ [Pipeline] echo 17:47:34 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-121/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:47:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:47:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:47:35 17:47:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:47:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:47:35 alpine: Pulling from edgex-lftools-log-publisher 17:47:35 df20fa9351a1: Pulling fs layer 17:47:35 36b3adc4ff6f: Pulling fs layer 17:47:35 8ad3a11d3b57: Pulling fs layer 17:47:35 46f8f816bc3b: Pulling fs layer 17:47:35 93b61091891f: Pulling fs layer 17:47:35 93b9cdb0e59b: Pulling fs layer 17:47:35 5e14af77c1be: Pulling fs layer 17:47:35 01666e4c0597: Pulling fs layer 17:47:35 aa168da1d23b: Pulling fs layer 17:47:35 46f8f816bc3b: Waiting 17:47:35 93b61091891f: Waiting 17:47:35 01666e4c0597: Waiting 17:47:35 aa168da1d23b: Waiting 17:47:35 93b9cdb0e59b: Waiting 17:47:35 5e14af77c1be: Waiting 17:47:35 36b3adc4ff6f: Verifying Checksum 17:47:35 36b3adc4ff6f: Download complete 17:47:35 46f8f816bc3b: Verifying Checksum 17:47:35 46f8f816bc3b: Download complete 17:47:35 df20fa9351a1: Verifying Checksum 17:47:35 93b9cdb0e59b: Download complete 17:47:35 5e14af77c1be: Verifying Checksum 17:47:35 5e14af77c1be: Download complete 17:47:35 93b61091891f: Verifying Checksum 17:47:35 93b61091891f: Download complete 17:47:35 01666e4c0597: Verifying Checksum 17:47:35 01666e4c0597: Download complete 17:47:36 df20fa9351a1: Pull complete 17:47:36 36b3adc4ff6f: Pull complete 17:47:36 8ad3a11d3b57: Verifying Checksum 17:47:36 8ad3a11d3b57: Download complete 17:47:37 8ad3a11d3b57: Pull complete 17:47:37 46f8f816bc3b: Pull complete 17:47:38 93b61091891f: Pull complete 17:47:38 93b9cdb0e59b: Pull complete 17:47:38 aa168da1d23b: Verifying Checksum 17:47:38 aa168da1d23b: Download complete 17:47:38 5e14af77c1be: Pull complete 17:47:38 01666e4c0597: Pull complete 17:47:45 aa168da1d23b: Pull complete 17:47:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:47:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:47:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:47:45 prd-centos7-docker-4c-2g-9534 does not seem to be running inside a container 17:47:45 $ 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-121/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-121 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-121:/w/workspace/xfoundry_go-mod-bootstrap_PR-121:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-121@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-121@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:47:53 $ docker top 3d46115f6a66c5e8b470f1a6eba358b1d7238749220cd58b3f419433d60bec51 -eo pid,comm [Pipeline] { [Pipeline] sh 17:47:54 + touch /tmp/pre-build-complete [Pipeline] sh 17:47:54 + mkdir -p /var/log/sa [Pipeline] sh 17:47:54 + ls /var/log/sa-host 17:47:54 + sadf -c /var/log/sa-host/sa05 17:47:54 file_magic: OK 17:47:54 HZ: Using current value: 100 17:47:54 file_header: OK 17:47:54 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 17:47:54 Statistics: 17:47:54 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:47:54 File successfully converted to sysstat format version 12.2.1 17:47:54 + sadf -c /var/log/sa-host/sa28 17:47:54 file_magic: OK 17:47:54 HZ: Using current value: 100 17:47:54 file_header: OK 17:47:54 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 17:47:54 Statistics: 17:47:54 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:47:54 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:47:55 provisioning config files... 17:47:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-121@tmp/config3991269666377024485tmp [Pipeline] { [Pipeline] echo 17:47:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:47:55 ---> create-netrc.sh [Pipeline] } 17:47:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:47:55 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:47:55 ---> python-tools-install.sh [Pipeline] echo 17:47:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:47:56 ---> sudo-logs.sh 17:47:56 Archiving 'sudo' log.. [Pipeline] echo 17:47:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:47:56 ---> job-cost.sh 17:47:56 lf-activate-venv: SKIPPING 17:47:56 INFO: No Stack... 17:47:57 INFO: Retrieving Pricing Info for: v1-standard-2 17:47:58 INFO: Archiving Costs [Pipeline] echo 17:47:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:47:58 ---> logs-deploy.sh 17:47:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-121/5 17:47:58 INFO: archiving workspace using pattern(s): 17:48:00 Archives upload complete. 17:48:00 INFO: archiving logs to Nexus