Pull request #125 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 lenny-intel for edgexfoundry/go-mod-bootstrap Obtained Jenkinsfile from 4f61d0f563ecb4fc9543320b7a0804a0055c5189+79eb29d299abbb493294a056159a83325eb5ef8f (73f41ac4b549c17480cb5d3afae369c57401caf3) 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-12822 in /w/workspace/xfoundry_go-mod-bootstrap_PR-125 [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-125 # 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 79eb29d299abbb493294a056159a83325eb5ef8f into PR head commit 4f61d0f563ecb4fc9543320b7a0804a0055c5189 Merge succeeded, producing 4f61d0f563ecb4fc9543320b7a0804a0055c5189 Checking out Revision 4f61d0f563ecb4fc9543320b7a0804a0055c5189 (PR-125) > 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/125/head:refs/remotes/origin/PR-125 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f61d0f563ecb4fc9543320b7a0804a0055c5189 # 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 79eb29d299abbb493294a056159a83325eb5ef8f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f61d0f563ecb4fc9543320b7a0804a0055c5189 # timeout=10 Commit message: "fix: Fixed failing unit test" > git rev-list --no-walk 3651de7107942df3a5e0279978d810b602da9220 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:28:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:28:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:29:00 ========================================================= 20:29:00 EdgeX Global Pipelines Version Info 20:29:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:29:02 ------------------- 20:29:02 stable info: 20:29:02 ------------------- 20:29:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:29:02 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 20:29:02 Message: update stable to v1.0.167 20:29:02 ------------------- 20:29:02 experimental info: 20:29:02 ------------------- 20:29:02 Commited By: **** collab-it+edgex@linuxfoundation.org 20:29:02 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 20:29:02 Message: update experimental to v1.0.167 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 20:29:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 20:29:03 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 20:29:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:29:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:29:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:29:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 20:29:03 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:29:03 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 20:29:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:29:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:29:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:29:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo 20:29:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:29:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:29:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 20:29:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:29:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:29:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:29:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 20:29:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:29:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:29:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:29:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:29:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:29:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 20:29:05 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 20:29:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo 20:29:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo 20:29:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo 20:29:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f61d0f563ecb4fc9543320b7a0804a0055c5189 [Pipeline] echo 20:29:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f61d0f [Pipeline] echo 20:29:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:29:06 provisioning config files... 20:29:06 copy managed file [go-mod-bootstrap-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-125@tmp/config8995438355736897640tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:07 ---> docker-login.sh 20:29:07 nexus3.edgexfoundry.org:10001 20:29:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:07 Configure a credential helper to remove this warning. See 20:29:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:07 20:29:07 Login Succeeded 20:29:07 nexus3.edgexfoundry.org:10002 20:29:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:07 Configure a credential helper to remove this warning. See 20:29:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:07 20:29:07 Login Succeeded 20:29:07 nexus3.edgexfoundry.org:10003 20:29:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:07 Configure a credential helper to remove this warning. See 20:29:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:07 20:29:07 Login Succeeded 20:29:07 nexus3.edgexfoundry.org:10004 20:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:08 Configure a credential helper to remove this warning. See 20:29:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:08 20:29:08 Login Succeeded 20:29:08 docker.io 20:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:09 Configure a credential helper to remove this warning. See 20:29:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:09 20:29:09 Login Succeeded 20:29:09 ---> docker-login.sh ends [Pipeline] } 20:29:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:29:10 + git log --format=format:%s -1 4f61d0f563ecb4fc9543320b7a0804a0055c5189 [Pipeline] echo 20:29:10 GIT_COMMIT: 4f61d0f563ecb4fc9543320b7a0804a0055c5189, Commit Message: fix: Fixed failing unit test [Pipeline] echo 20:29:10 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:29:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:29:11 20:29:11 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:29:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:29:11 latest: Pulling from edgex-devops/git-semver 20:29:11 31603596830f: Pulling fs layer 20:29:11 2a8b12db71e7: Pulling fs layer 20:29:11 6ca5941a6612: Pulling fs layer 20:29:11 ecc8261a40a4: Pulling fs layer 20:29:11 ecc8261a40a4: Waiting 20:29:11 2a8b12db71e7: Verifying Checksum 20:29:11 2a8b12db71e7: Download complete 20:29:11 31603596830f: Verifying Checksum 20:29:11 31603596830f: Download complete 20:29:12 ecc8261a40a4: Verifying Checksum 20:29:12 ecc8261a40a4: Download complete 20:29:12 6ca5941a6612: Verifying Checksum 20:29:12 6ca5941a6612: Download complete 20:29:12 31603596830f: Pull complete 20:29:12 2a8b12db71e7: Pull complete 20:29:13 6ca5941a6612: Pull complete 20:29:13 ecc8261a40a4: Pull complete 20:29:13 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:29:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:29:13 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:29:13 prd-centos7-docker-4c-2g-12822 does not seem to be running inside a container 20:29:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-125 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-125:/w/workspace/xfoundry_go-mod-bootstrap_PR-125:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-125@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-125@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 20:29:16 $ docker top 33c02b724f7adc8e914011f9d977646cc92e95bd775048a34a6b0836a01105a3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:29:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:16 [ssh-agent] Looking for ssh-agent implementation... 20:29:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:16 $ docker exec 33c02b724f7adc8e914011f9d977646cc92e95bd775048a34a6b0836a01105a3 ssh-agent 20:29:16 SSH_AUTH_SOCK=/tmp/ssh-vdHhA9Eoj4jf/agent.11 20:29:16 SSH_AGENT_PID=17 20:29:17 Running ssh-add (command line suppressed) 20:29:17 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-125@tmp/private_key_1382132368608362823.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-125@tmp/private_key_1382132368608362823.key) 20:29:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:17 + git tag --points-at HEAD [Pipeline] } 20:29:17 $ docker exec --env ******** --env ******** 33c02b724f7adc8e914011f9d977646cc92e95bd775048a34a6b0836a01105a3 ssh-agent -k 20:29:17 unset SSH_AUTH_SOCK; 20:29:17 unset SSH_AGENT_PID; 20:29:17 echo Agent pid 17 killed; 20:29:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:29:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:17 [ssh-agent] Looking for ssh-agent implementation... 20:29:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:18 $ docker exec 33c02b724f7adc8e914011f9d977646cc92e95bd775048a34a6b0836a01105a3 ssh-agent 20:29:18 SSH_AUTH_SOCK=/tmp/ssh-tXQQAwKqNEgK/agent.46 20:29:18 SSH_AGENT_PID=52 20:29:18 Running ssh-add (command line suppressed) 20:29:18 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-125@tmp/private_key_6866755138096254934.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-125@tmp/private_key_6866755138096254934.key) 20:29:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:18 + git semver init 20:29:18 # -> Open(): unable to determine branch for HEAD 20:29:18 # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-125/.git 20:29:18 # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-125 20:29:18 # $SEMVER_REMOTE_NAME = origin 20:29:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:29:18 # $SEMVER_USER_NAME = edgex-jenkins 20:29:18 # $SEMVER_BRANCH = PR-125 20:29:18 # $SEMVER_TEMP = /tmp/semver-857476847 20:29:18 # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP 20:29:19 # '/tmp/semver-857476847' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-125/.semver' 20:29:19 # -> Force: false 20:29:19 # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-125/.semver [Pipeline] } 20:29:19 $ docker exec --env ******** --env ******** 33c02b724f7adc8e914011f9d977646cc92e95bd775048a34a6b0836a01105a3 ssh-agent -k 20:29:19 unset SSH_AUTH_SOCK; 20:29:19 unset SSH_AGENT_PID; 20:29:19 echo Agent pid 52 killed; 20:29:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:29:19 + git semver [Pipeline] } 20:29:19 $ docker stop --time=1 33c02b724f7adc8e914011f9d977646cc92e95bd775048a34a6b0836a01105a3 20:29:21 $ docker rm -f 33c02b724f7adc8e914011f9d977646cc92e95bd775048a34a6b0836a01105a3 [Pipeline] // withDockerContainer [Pipeline] sh 20:29:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:29:22 Stashed 1 file(s) [Pipeline] echo 20:29:22 [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 20:29:38 Still waiting to schedule task 20:29:38 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:29:38 Still waiting to schedule task 20:29:38 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 20:33:04 Running on prd-centos7-docker-4c-2g-12824 in /w/workspace/xfoundry_go-mod-bootstrap_PR-125 [Pipeline] { [Pipeline] ws 20:33:04 Running in /w/workspace/go-mod-bootstrap/4 [Pipeline] { [Pipeline] checkout 20:33:08 using credential edgex-jenkins-ssh 20:33:08 Cloning the remote Git repository 20:33:08 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 20:33:08 > git init /w/workspace/go-mod-bootstrap/4 # timeout=10 20:33:08 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 20:33:08 > git --version # timeout=10 20:33:08 > git --version # 'git version 2.16.5' 20:33:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:33:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:33:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 20:33:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:33:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 20:33:08 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 20:33:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:33:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:33:09 Merging remotes/origin/master commit 79eb29d299abbb493294a056159a83325eb5ef8f into PR head commit 4f61d0f563ecb4fc9543320b7a0804a0055c5189 20:33:09 Merge succeeded, producing 4f61d0f563ecb4fc9543320b7a0804a0055c5189 20:33:09 Checking out Revision 4f61d0f563ecb4fc9543320b7a0804a0055c5189 (PR-125) 20:33:09 > git config core.sparsecheckout # timeout=10 20:33:09 > git checkout -f 4f61d0f563ecb4fc9543320b7a0804a0055c5189 # timeout=10 20:33:09 > git remote # timeout=10 20:33:09 > git config --get remote.origin.url # timeout=10 20:33:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:33:09 > git merge 79eb29d299abbb493294a056159a83325eb5ef8f # timeout=10 20:33:09 > git rev-parse HEAD^{commit} # timeout=10 20:33:09 > git config core.sparsecheckout # timeout=10 20:33:09 > git checkout -f 4f61d0f563ecb4fc9543320b7a0804a0055c5189 # timeout=10 20:33:13 Commit message: "fix: Fixed failing unit test" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:33:14 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:33:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:33:15 + sudo service docker restart 20:33:15 + true 20:33:15 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:33:16 provisioning config files... 20:33:16 copy managed file [go-mod-bootstrap-settings] to file:/w/workspace/go-mod-bootstrap/4@tmp/config2379404688403532952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:33:16 ---> docker-login.sh 20:33:16 nexus3.edgexfoundry.org:10001 20:33:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:17 Configure a credential helper to remove this warning. See 20:33:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:17 20:33:17 Login Succeeded 20:33:17 nexus3.edgexfoundry.org:10002 20:33:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:17 Configure a credential helper to remove this warning. See 20:33:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:17 20:33:17 Login Succeeded 20:33:17 nexus3.edgexfoundry.org:10003 20:33:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:17 Configure a credential helper to remove this warning. See 20:33:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:17 20:33:17 Login Succeeded 20:33:17 nexus3.edgexfoundry.org:10004 20:33:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:17 Configure a credential helper to remove this warning. See 20:33:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:17 20:33:17 Login Succeeded 20:33:17 docker.io 20:33:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-12823 in /w/workspace/xfoundry_go-mod-bootstrap_PR-125 [Pipeline] { [Pipeline] ws 20:33:17 Running in /w/workspace/go-mod-bootstrap/4 [Pipeline] { [Pipeline] checkout 20:33:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:18 Configure a credential helper to remove this warning. See 20:33:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:18 20:33:18 Login Succeeded 20:33:18 ---> docker-login.sh ends [Pipeline] } 20:33:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:33:18 ========================================================= 20:33:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 20:33:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:33:19 + 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 . 20:33:19 Sending build context to Docker daemon 576kB 20:33:19 Step 1/8 : ARG BASE=golang:1.15-alpine 20:33:19 Step 2/8 : FROM ${BASE} 20:33:19 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 20:33:19 df20fa9351a1: Pulling fs layer 20:33:19 ed8968b2872e: Pulling fs layer 20:33:19 a92cc7c5fd73: Pulling fs layer 20:33:19 e871e8e8d7a9: Pulling fs layer 20:33:19 e73272ec9a57: Pulling fs layer 20:33:19 1e910a182e73: Pulling fs layer 20:33:19 4e634b169226: Pulling fs layer 20:33:19 e73272ec9a57: Waiting 20:33:19 1e910a182e73: Waiting 20:33:19 4e634b169226: Waiting 20:33:19 e871e8e8d7a9: Waiting 20:33:19 a92cc7c5fd73: Download complete 20:33:19 ed8968b2872e: Verifying Checksum 20:33:19 ed8968b2872e: Download complete 20:33:19 e73272ec9a57: Download complete 20:33:19 1e910a182e73: Verifying Checksum 20:33:19 1e910a182e73: Download complete 20:33:20 df20fa9351a1: Verifying Checksum 20:33:20 df20fa9351a1: Download complete 20:33:20 df20fa9351a1: Pull complete 20:33:20 ed8968b2872e: Pull complete 20:33:20 a92cc7c5fd73: Pull complete 20:33:22 4e634b169226: Verifying Checksum 20:33:22 4e634b169226: Download complete 20:33:22 e871e8e8d7a9: Verifying Checksum 20:33:22 e871e8e8d7a9: Download complete 20:33:23 using credential edgex-jenkins-ssh 20:33:23 Cloning the remote Git repository 20:33:23 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 20:33:23 > git init /w/workspace/go-mod-bootstrap/4 # timeout=10 20:33:23 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 20:33:23 > git --version # timeout=10 20:33:23 > git --version # 'git version 2.17.1' 20:33:23 using GIT_SSH to set credentials SSH Credentials for GitHub 20:33:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:33:25 Merging remotes/origin/master commit 79eb29d299abbb493294a056159a83325eb5ef8f into PR head commit 4f61d0f563ecb4fc9543320b7a0804a0055c5189 20:33:24 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 20:33:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:33:24 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 20:33:24 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 20:33:24 using GIT_SSH to set credentials SSH Credentials for GitHub 20:33:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:33:25 > git config core.sparsecheckout # timeout=10 20:33:25 > git checkout -f 4f61d0f563ecb4fc9543320b7a0804a0055c5189 # timeout=10 20:33:25 Merge succeeded, producing 4f61d0f563ecb4fc9543320b7a0804a0055c5189 20:33:25 Checking out Revision 4f61d0f563ecb4fc9543320b7a0804a0055c5189 (PR-125) 20:33:25 > git remote # timeout=10 20:33:25 > git config --get remote.origin.url # timeout=10 20:33:25 using GIT_SSH to set credentials SSH Credentials for GitHub 20:33:25 > git merge 79eb29d299abbb493294a056159a83325eb5ef8f # timeout=10 20:33:25 > git rev-parse HEAD^{commit} # timeout=10 20:33:25 > git config core.sparsecheckout # timeout=10 20:33:25 > git checkout -f 4f61d0f563ecb4fc9543320b7a0804a0055c5189 # timeout=10 20:33:28 e871e8e8d7a9: Pull complete 20:33:28 e73272ec9a57: Pull complete 20:33:28 1e910a182e73: Pull complete 20:33:30 Commit message: "fix: Fixed failing unit test" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:33:31 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:33:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:33:32 + sudo service+ docker restart 20:33:32 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:33:35 provisioning config files... 20:33:35 copy managed file [go-mod-bootstrap-settings] to file:/w/workspace/go-mod-bootstrap/4@tmp/config6629656190907982993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:33:35 ---> docker-login.sh 20:33:35 nexus3.edgexfoundry.org:10001 20:33:36 4e634b169226: Pull complete 20:33:36 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 20:33:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 20:33:36 ---> f7629b54cfaa 20:33:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:33:36 ---> Running in 11a4bc528c89 20:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:37 Removing intermediate container 11a4bc528c89 20:33:37 ---> 86faddeed3e4 20:33:37 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:33:37 ---> Running in df048297bf6f 20:33:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:37 Configure a credential helper to remove this warning. See 20:33:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:37 20:33:37 Login Succeeded 20:33:37 nexus3.edgexfoundry.org:10002 20:33:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:37 Configure a credential helper to remove this warning. See 20:33:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:37 20:33:37 Login Succeeded 20:33:37 nexus3.edgexfoundry.org:10003 20:33:37 Removing intermediate container df048297bf6f 20:33:37 ---> 51f4115bc043 20:33:37 Step 5/8 : RUN apk add --update --no-cache git make 20:33:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:38 Configure a credential helper to remove this warning. See 20:33:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:38 20:33:38 Login Succeeded 20:33:38 nexus3.edgexfoundry.org:10004 20:33:38 ---> Running in a521f81736b3 20:33:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:38 Configure a credential helper to remove this warning. See 20:33:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:38 20:33:38 Login Succeeded 20:33:38 docker.io 20:33:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:39 Configure a credential helper to remove this warning. See 20:33:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:39 20:33:39 Login Succeeded 20:33:39 ---> docker-login.sh ends [Pipeline] } 20:33:39 Deleting 1 temporary files [Pipeline] // wrap 20:33:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 20:33:40 OK: 166 MiB in 39 packages [Pipeline] echo 20:33:40 ========================================================= 20:33:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 20:33:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:33:40 + 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 . 20:33:40 Removing intermediate container a521f81736b3 20:33:40 ---> b4b750b841ec 20:33:40 Step 6/8 : WORKDIR /build 20:33:40 ---> Running in aa1fc7b7c4c4 20:33:40 Removing intermediate container aa1fc7b7c4c4 20:33:40 ---> 9857ecd520ab 20:33:40 Step 7/8 : COPY go.mod . 20:33:40 ---> 7b768dafd963 20:33:40 Step 8/8 : RUN go mod download 20:33:40 ---> Running in bf9e29cf2f8e 20:33:40 Sending build context to Docker daemon 576kB 20:33:41 Step 1/8 : ARG BASE=golang:1.15-alpine 20:33:41 Step 2/8 : FROM ${BASE} 20:33:41 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:33:41 b538f80385f9: Pulling fs layer 20:33:41 74f711af9a0d: Pulling fs layer 20:33:41 99f96fe45779: Pulling fs layer 20:33:41 8529a6b9a6be: Pulling fs layer 20:33:41 45590311c82a: Pulling fs layer 20:33:41 69ca0ff8b7b3: Pulling fs layer 20:33:41 209524e5b208: Pulling fs layer 20:33:41 8529a6b9a6be: Waiting 20:33:41 45590311c82a: Waiting 20:33:41 69ca0ff8b7b3: Waiting 20:33:41 209524e5b208: Waiting 20:33:41 99f96fe45779: Download complete 20:33:41 74f711af9a0d: Verifying Checksum 20:33:41 74f711af9a0d: Download complete 20:33:41 45590311c82a: Download complete 20:33:41 b538f80385f9: Download complete 20:33:41 69ca0ff8b7b3: Verifying Checksum 20:33:41 69ca0ff8b7b3: Download complete 20:33:42 b538f80385f9: Pull complete 20:33:43 74f711af9a0d: Pull complete 20:33:43 99f96fe45779: Pull complete 20:33:43 209524e5b208: Verifying Checksum 20:33:43 209524e5b208: Download complete 20:33:44 8529a6b9a6be: Verifying Checksum 20:33:44 8529a6b9a6be: Download complete 20:33:55 8529a6b9a6be: Pull complete 20:33:55 45590311c82a: Pull complete 20:33:55 69ca0ff8b7b3: Pull complete 20:33:58 209524e5b208: Pull complete 20:33:58 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 20:33:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 20:33:58 ---> 5bddaf1c2fca 20:33:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:33:59 Removing intermediate container bf9e29cf2f8e 20:33:59 ---> 6294178e8478 20:33:59 Successfully built 6294178e8478 20:33:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:33:59 + docker inspect -f . ci-base-image-x86_64 20:33:59 . [Pipeline] withDockerContainer 20:33:59 prd-centos7-docker-4c-2g-12824 does not seem to be running inside a container 20:33:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/4 -v /w/workspace/go-mod-bootstrap/4:/w/workspace/go-mod-bootstrap/4:rw,z -v /w/workspace/go-mod-bootstrap/4@tmp:/w/workspace/go-mod-bootstrap/4@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 ******** ci-base-image-x86_64 cat 20:34:00 $ docker top fb6eb18ae424925a23dd9992f23ded0279f4ff0e4c3d752d633e3204a314298a -eo pid,comm [Pipeline] { [Pipeline] sh 20:34:00 + go version 20:34:00 go version go1.15.2 linux/amd64 [Pipeline] } 20:34:00 $ docker stop --time=1 fb6eb18ae424925a23dd9992f23ded0279f4ff0e4c3d752d633e3204a314298a 20:34:02 ---> Running in 74009ce9c84c 20:34:02 Removing intermediate container 74009ce9c84c 20:34:02 ---> f657969e60fc 20:34:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:34:02 ---> Running in 174ba96dced0 20:34:02 $ docker rm -f fb6eb18ae424925a23dd9992f23ded0279f4ff0e4c3d752d633e3204a314298a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:34:03 + docker inspect -f . ci-base-image-x86_64 20:34:03 . [Pipeline] withDockerContainer 20:34:03 prd-centos7-docker-4c-2g-12824 does not seem to be running inside a container 20:34:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/4 -v /w/workspace/go-mod-bootstrap/4:/w/workspace/go-mod-bootstrap/4:rw,z -v /w/workspace/go-mod-bootstrap/4@tmp:/w/workspace/go-mod-bootstrap/4@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 ******** ci-base-image-x86_64 cat 20:34:04 $ docker top a954a42ed7e7bc1ead551d2d98b162e71437a0eb15b48dee413153ab3f5fafb5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:34:04 + make test 20:34:04 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:34:04 Removing intermediate container 174ba96dced0 20:34:04 ---> 0d93f209a6ec 20:34:04 Step 5/8 : RUN apk add --update --no-cache git make 20:34:04 ---> Running in a2f3098c7445 20:34:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:34:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:34:07 OK: 142 MiB in 39 packages 20:34:09 Removing intermediate container a2f3098c7445 20:34:09 ---> c43236018da9 20:34:09 Step 6/8 : WORKDIR /build 20:34:09 ---> Running in 7c0ea3b67750 20:34:09 Removing intermediate container 7c0ea3b67750 20:34:09 ---> 0cfb6d8499e3 20:34:09 Step 7/8 : COPY go.mod . 20:34:10 ---> 6fadaa387b7b 20:34:10 Step 8/8 : RUN go mod download 20:34:10 ---> Running in 9da4f0896ec8 20:34:14 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap [no test files] 20:34:14 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/config 0.017s coverage: 9.0% of statements 20:34:14 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/container [no test files] 20:34:14 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/environment 0.010s coverage: 95.1% of statements 20:34:14 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/flags 0.006s coverage: 87.8% of statements 20:34:14 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [no test files] 20:34:14 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [no test files] 20:34:14 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret [no test files] 20:34:23 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret/client 7.014s coverage: 100.0% of statements 20:34:23 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/testing [no test files] 20:34:23 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/interfaces [no test files] 20:34:23 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [no test files] 20:34:23 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/registration 0.011s coverage: 48.9% of statements 20:34:23 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/startup [no test files] 20:34:23 ? github.com/edgexfoundry/go-mod-bootstrap/config [no test files] 20:34:23 ok github.com/edgexfoundry/go-mod-bootstrap/di 0.005s coverage: 91.3% of statements 20:34:23 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:34:23 gofmt -l . 20:34:23 [ "`gofmt -l .`" = "" ] [Pipeline] } 20:34:23 $ docker stop --time=1 a954a42ed7e7bc1ead551d2d98b162e71437a0eb15b48dee413153ab3f5fafb5 20:34:25 $ docker rm -f a954a42ed7e7bc1ead551d2d98b162e71437a0eb15b48dee413153ab3f5fafb5 [Pipeline] // withDockerContainer [Pipeline] sh 20:34:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:34:26 Stashed 1 file(s) [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] } 20:34:32 Removing intermediate container 9da4f0896ec8 20:34:32 ---> ef368b9ff125 20:34:32 Successfully built ef368b9ff125 20:34:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:34:33 + docker inspect -f . ci-base-image-arm64 20:34:33 . [Pipeline] withDockerContainer 20:34:33 prd-ubuntu18.04-docker-arm64-4c-16g-12823 does not seem to be running inside a container 20:34:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/4 -v /w/workspace/go-mod-bootstrap/4:/w/workspace/go-mod-bootstrap/4:rw,z -v /w/workspace/go-mod-bootstrap/4@tmp:/w/workspace/go-mod-bootstrap/4@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-arm64 cat 20:34:35 $ docker top e974e0709859f1d562ca46f6d66fa173029bf9043b0fc2ce8d798961df4ac8f4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:34:36 + go version 20:34:36 go version go1.15.2 linux/arm64 [Pipeline] } 20:34:36 $ docker stop --time=1 e974e0709859f1d562ca46f6d66fa173029bf9043b0fc2ce8d798961df4ac8f4 20:34:38 $ docker rm -f e974e0709859f1d562ca46f6d66fa173029bf9043b0fc2ce8d798961df4ac8f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:34:39 + docker inspect -f . ci-base-image-arm64 20:34:39 . [Pipeline] withDockerContainer 20:34:39 prd-ubuntu18.04-docker-arm64-4c-16g-12823 does not seem to be running inside a container 20:34:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/4 -v /w/workspace/go-mod-bootstrap/4:/w/workspace/go-mod-bootstrap/4:rw,z -v /w/workspace/go-mod-bootstrap/4@tmp:/w/workspace/go-mod-bootstrap/4@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-arm64 cat 20:34:41 $ docker top e260d3ef90305f01fabd283c37551bc98cfd48f9d781db16952cb030667b759a -eo pid,comm [Pipeline] { [Pipeline] sh 20:34:43 + make test 20:34:43 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:35:09 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap [no test files] 20:35:10 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/config 0.019s coverage: 9.0% of statements 20:35:10 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/container [no test files] 20:35:11 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/environment 0.042s coverage: 95.1% of statements 20:35:11 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/flags 0.015s coverage: 87.8% of statements 20:35:11 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [no test files] 20:35:11 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [no test files] 20:35:11 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret [no test files] 20:35:21 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret/client 7.035s coverage: 100.0% of statements 20:35:21 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/testing [no test files] 20:35:21 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/interfaces [no test files] 20:35:21 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [no test files] 20:35:21 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/registration 0.016s coverage: 48.9% of statements 20:35:21 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/startup [no test files] 20:35:21 ? github.com/edgexfoundry/go-mod-bootstrap/config [no test files] 20:35:21 ok github.com/edgexfoundry/go-mod-bootstrap/di 0.013s coverage: 91.3% of statements 20:35:21 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:35:25 gofmt -l . 20:35:25 [ "`gofmt -l .`" = "" ] [Pipeline] } 20:35:25 $ docker stop --time=1 e260d3ef90305f01fabd283c37551bc98cfd48f9d781db16952cb030667b759a 20:35:28 $ docker rm -f e260d3ef90305f01fabd283c37551bc98cfd48f9d781db16952cb030667b759a [Pipeline] // withDockerContainer [Pipeline] sh 20:35:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:35:29 Warning: overwriting stash ‘coverage-report’ 20:35:29 Stashed 1 file(s) [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] } [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 20:35:32 provisioning config files... 20:35:32 copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-125@tmp/config5518974777607825044tmp [Pipeline] { [Pipeline] sh 20:35:32 + set +x 20:35:32 + bash -s -- 20:35:32 + curl -s https://codecov.io/bash 20:35:32 20:35:32 _____ _ 20:35:32 / ____| | | 20:35:32 | | ___ __| | ___ ___ _____ __ 20:35:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:35:32 | |___| (_) | (_| | __/ (_| (_) \ V / 20:35:32 \_____\___/ \__,_|\___|\___\___/ \_/ 20:35:32 Bash-20201116-eea08d9 20:35:32 20:35:32 20:35:32 ==> Jenkins CI detected. 20:35:32 project root: . 20:35:32 --> token set from env 20:35:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:35:32 ==> Running gcov in . (disable via -X gcov) 20:35:32 ==> Python coveragepy not found 20:35:32 ==> Searching for coverage reports in: 20:35:32 + . 20:35:32 -> Found 1 reports 20:35:32 ==> Detecting git/mercurial file structure 20:35:32 ==> Reading reports 20:35:32 + ./coverage.out bytes=21004 20:35:32 ==> Appending adjustments 20:35:32 https://docs.codecov.io/docs/fixing-reports 20:35:33 + Found adjustments 20:35:33 ==> Gzipping contents 20:35:33 ==> Uploading reports 20:35:33 url: https://codecov.io 20:35:33 query: branch=PR-125&commit=4f61d0f563ecb4fc9543320b7a0804a0055c5189&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-125%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=125&job=&cmd_args= 20:35:33 -> Pinging Codecov 20:35:33 https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=PR-125&commit=4f61d0f563ecb4fc9543320b7a0804a0055c5189&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-125%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=125&job=&cmd_args= 20:35:34 -> Uploading to 20:35:34 https://storage.googleapis.com/codecov/v4/raw/2020-11-19/833815588EE85121546D348822E98E2E/4f61d0f563ecb4fc9543320b7a0804a0055c5189/0d7fb3a1-5146-4dcc-9d04-47d9a3da7c01.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201119T203534Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ba7d485bed6a0516a5d9d243ab78a1d2543e761d72b19a4acfa934fe0bade4e 20:35:34 % Total % Received % Xferd Average Speed Time Time Time Current 20:35:34 Dload Upload Total Spent Left Speed 20:35:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4405 0 0 100 4405 0 10035 --:--:-- --:--:-- --:--:-- 10034 20:35:35 -> View reports at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/4f61d0f563ecb4fc9543320b7a0804a0055c5189 [Pipeline] } 20:35:35 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 20:35:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:35:39 ---> package-listing.sh 20:35:39 ++ facter osfamily 20:35:39 ++ tr '[:upper:]' '[:lower:]' 20:35:39 + OS_FAMILY=redhat 20:35:39 + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-125 20:35:39 + START_PACKAGES=/tmp/packages_start.txt 20:35:39 + END_PACKAGES=/tmp/packages_end.txt 20:35:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:35:39 + PACKAGES=/tmp/packages_start.txt 20:35:39 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-125 ']' 20:35:39 + PACKAGES=/tmp/packages_end.txt 20:35:39 + case "${OS_FAMILY}" in 20:35:39 + rpm -qa 20:35:39 + sort 20:35:43 + '[' -f /tmp/packages_start.txt ']' 20:35:43 + '[' -f /tmp/packages_end.txt ']' 20:35:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:35:43 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-125 ']' 20:35:43 + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-125/archives/ 20:35:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-125/archives/ [Pipeline] echo 20:35:43 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-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:35:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:35:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:35:44 20:35:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:35:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:35:44 alpine: Pulling from edgex-lftools-log-publisher 20:35:44 df20fa9351a1: Pulling fs layer 20:35:44 36b3adc4ff6f: Pulling fs layer 20:35:44 8ad3a11d3b57: Pulling fs layer 20:35:44 46f8f816bc3b: Pulling fs layer 20:35:44 93b61091891f: Pulling fs layer 20:35:44 93b9cdb0e59b: Pulling fs layer 20:35:44 5e14af77c1be: Pulling fs layer 20:35:44 01666e4c0597: Pulling fs layer 20:35:44 aa168da1d23b: Pulling fs layer 20:35:44 46f8f816bc3b: Waiting 20:35:44 93b61091891f: Waiting 20:35:44 aa168da1d23b: Waiting 20:35:44 93b9cdb0e59b: Waiting 20:35:44 5e14af77c1be: Waiting 20:35:44 01666e4c0597: Waiting 20:35:44 36b3adc4ff6f: Verifying Checksum 20:35:44 36b3adc4ff6f: Download complete 20:35:44 46f8f816bc3b: Verifying Checksum 20:35:44 46f8f816bc3b: Download complete 20:35:44 df20fa9351a1: Verifying Checksum 20:35:44 df20fa9351a1: Download complete 20:35:44 93b9cdb0e59b: Verifying Checksum 20:35:44 93b9cdb0e59b: Download complete 20:35:44 5e14af77c1be: Verifying Checksum 20:35:44 5e14af77c1be: Download complete 20:35:44 93b61091891f: Verifying Checksum 20:35:44 93b61091891f: Download complete 20:35:44 01666e4c0597: Verifying Checksum 20:35:44 01666e4c0597: Download complete 20:35:44 8ad3a11d3b57: Verifying Checksum 20:35:44 df20fa9351a1: Pull complete 20:35:45 36b3adc4ff6f: Pull complete 20:35:45 8ad3a11d3b57: Pull complete 20:35:45 46f8f816bc3b: Pull complete 20:35:46 93b61091891f: Pull complete 20:35:46 93b9cdb0e59b: Pull complete 20:35:46 aa168da1d23b: Verifying Checksum 20:35:46 aa168da1d23b: Download complete 20:35:46 5e14af77c1be: Pull complete 20:35:47 01666e4c0597: Pull complete 20:35:55 aa168da1d23b: Pull complete 20:35:55 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:35:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:35:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:35:55 prd-centos7-docker-4c-2g-12822 does not seem to be running inside a container 20:35:55 $ 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-125/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-125 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-125:/w/workspace/xfoundry_go-mod-bootstrap_PR-125:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-125@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-125@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 20:35:59 $ docker top d4a3ecac4259596128586b2369724554ee828ee24f63164c706372fbc534c97f -eo pid,comm [Pipeline] { [Pipeline] sh 20:36:00 + touch /tmp/pre-build-complete [Pipeline] sh 20:36:00 + mkdir -p /var/log/sa [Pipeline] sh 20:36:00 + ls /var/log/sa-host 20:36:00 + sadf -c /var/log/sa-host/sa05 20:36:00 file_magic: OK 20:36:00 HZ: Using current value: 100 20:36:00 file_header: OK 20:36:00 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 20:36:00 Statistics: 20:36:00 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:36:00 File successfully converted to sysstat format version 12.2.1 20:36:00 + sadf -c /var/log/sa-host/sa19 20:36:00 file_magic: OK 20:36:00 HZ: Using current value: 100 20:36:00 file_header: OK 20:36:00 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 20:36:00 Statistics: 20:36:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:36:00 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:36:01 provisioning config files... 20:36:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-125@tmp/config1646460849688072715tmp [Pipeline] { [Pipeline] echo 20:36:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:36:01 ---> create-netrc.sh [Pipeline] } 20:36:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:36:02 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:36:02 ---> python-tools-install.sh [Pipeline] echo 20:36:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:36:02 ---> sudo-logs.sh 20:36:02 Archiving 'sudo' log.. [Pipeline] echo 20:36:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:36:02 ---> job-cost.sh 20:36:02 lf-activate-venv: SKIPPING 20:36:02 INFO: No Stack... 20:36:04 INFO: Retrieving Pricing Info for: v1-standard-2 20:36:04 INFO: Archiving Costs [Pipeline] echo 20:36:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:36:04 ---> logs-deploy.sh 20:36:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-125/4 20:36:04 INFO: archiving workspace using pattern(s): 20:36:06 Archives upload complete. 20:36:06 INFO: archiving logs to Nexus 20:36:07 ---> uname -a: 20:36:07 Linux prd-centos7-docker-4c-2g-12822.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 20:36:07 20:36:07 20:36:07 ---> lscpu: 20:36:07 Architecture: x86_64 20:36:07 CPU op-mode(s): 32-bit, 64-bit 20:36:07 Byte Order: Little Endian 20:36:07 Address sizes: 40 bits physical, 48 bits virtual 20:36:07 CPU(s): 4 20:36:07 On-line CPU(s) list: 0-3 20:36:07 Thread(s) per core: 1 20:36:07 Core(s) per socket: 1 20:36:07 Socket(s): 4 20:36:07 NUMA node(s): 1 20:36:07 Vendor ID: GenuineIntel 20:36:07 CPU family: 6 20:36:07 Model: 44 20:36:07 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 20:36:07 Stepping: 1 20:36:07 CPU MHz: 2933.438 20:36:07 BogoMIPS: 5866.87 20:36:07 Virtualization: VT-x 20:36:07 Hypervisor vendor: KVM 20:36:07 Virtualization type: full 20:36:07 L1d cache: 128 KiB 20:36:07 L1i cache: 128 KiB 20:36:07 L2 cache: 16 MiB 20:36:07 L3 cache: 64 MiB 20:36:07 NUMA node0 CPU(s): 0-3 20:36:07 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 20:36:07 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 20:36:07 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 20:36:07 Vulnerability Meltdown: Mitigation; PTI 20:36:07 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:36:07 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 20:36:07 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 20:36:07 Vulnerability Tsx async abort: Not affected 20:36:07 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 20:36:07 20:36:07 20:36:07 ---> nproc: 20:36:07 4 20:36:07 20:36:07 20:36:07 ---> df -h: 20:36:07 Filesystem Size Used Available Use% Mounted on 20:36:07 overlay 50.0G 7.2G 42.8G 14% / 20:36:07 tmpfs 64.0M 0 64.0M 0% /dev 20:36:07 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 20:36:07 shm 64.0M 0 64.0M 0% /dev/shm 20:36:07 /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os 20:36:07 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 20:36:07 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 20:36:07 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 20:36:07 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure 20:36:07 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log 20:36:07 /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json 20:36:07 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/xfoundry_go-mod-bootstrap_PR-125 20:36:07 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/xfoundry_go-mod-bootstrap_PR-125@tmp 20:36:07 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host 20:36:07 20:36:07 20:36:07 ---> free -m: 20:36:07 total used free shared buff/cache available 20:36:07 Mem: 1837 672 107 0 1057 1062 20:36:07 Swap: 1023 0 1023 20:36:07 20:36:07 20:36:07 ---> ip addr: 20:36:07 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 20:36:07 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 20:36:07 inet 127.0.0.1/8 scope host lo 20:36:07 valid_lft forever preferred_lft forever 20:36:07 inet6 ::1/128 scope host 20:36:07 valid_lft forever preferred_lft forever 20:36:07 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 20:36:07 link/ether fa:16:3e:37:a8:14 brd ff:ff:ff:ff:ff:ff 20:36:07 inet 10.30.123.12/23 brd 10.30.123.255 scope global dynamic eth0 20:36:07 valid_lft 85938sec preferred_lft 85938sec 20:36:07 inet6 fe80::f816:3eff:fe37:a814/64 scope link 20:36:07 valid_lft forever preferred_lft forever 20:36:07 3: docker0: mtu 1500 qdisc noqueue state DOWN 20:36:07 link/ether 02:42:d6:66:b9:9d brd ff:ff:ff:ff:ff:ff 20:36:07 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 20:36:07 valid_lft forever preferred_lft forever 20:36:07 inet6 fe80::42:d6ff:fe66:b99d/64 scope link 20:36:07 valid_lft forever preferred_lft forever 20:36:07 20:36:07 20:36:07 ---> sar -b -r -n DEV: 20:36:07 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/19/20 _x86_64_ (4 CPU) 20:36:07 20:36:07 20:28:10 LINUX RESTART (4 CPU) 20:36:07 20:36:07 20:29:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:36:07 20:30:01 29.68 11.00 18.68 0.00 4458.93 2094.02 0.00 20:36:07 20:31:01 1.87 0.00 1.87 0.00 0.00 35.14 0.00 20:36:07 20:32:02 0.32 0.00 0.32 0.00 0.00 3.40 0.00 20:36:07 20:33:01 0.25 0.00 0.25 0.00 0.00 2.71 0.00 20:36:07 20:34:01 0.20 0.00 0.20 0.00 0.00 3.20 0.00 20:36:07 20:35:01 0.32 0.02 0.30 0.00 0.13 3.53 0.00 20:36:07 Average: 5.46 1.84 3.61 0.00 745.54 358.12 0.00 20:36:07 20:36:07 20:29:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:36:07 20:30:01 175888 0 561356 29.83 2620 1141692 1103872 37.67 420668 1124440 20 20:36:07 20:31:01 181396 0 555844 29.54 2620 1141696 1070328 36.53 419452 1121268 8 20:36:07 20:32:02 180608 0 556620 29.58 2620 1141708 1070328 36.53 421896 1119744 8 20:36:07 20:33:01 179180 0 558048 29.66 2620 1141708 1070328 36.53 423836 1119164 20 20:36:07 20:34:01 178352 0 558868 29.70 2620 1141716 1070520 36.53 430008 1114064 12 20:36:07 20:35:01 178932 0 558280 29.67 2620 1141724 1070388 36.53 429428 1114064 12 20:36:07 Average: 179059 0 558169 29.67 2620 1141707 1075961 36.72 424215 1118791 13 20:36:07 20:36:07 20:29:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:36:07 20:30:01 eth0 76.04 57.92 346.74 30.57 0.00 0.00 0.00 0.00 20:36:07 20:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:36:07 20:30:01 docker0 1.80 1.60 0.51 3.74 0.00 0.00 0.00 0.00 20:36:07 20:31:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:36:07 20:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:36:07 20:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:36:07 20:32:02 eth0 0.23 0.07 0.01 0.01 0.00 0.00 0.00 0.00 20:36:07 20:32:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:36:07 20:32:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:36:07 20:33:01 eth0 1.12 0.02 0.11 0.00 0.00 0.00 0.00 0.00 20:36:07 20:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:36:07 20:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:36:07 20:34:01 eth0 1.08 0.63 0.61 0.46 0.00 0.00 0.00 0.00 20:36:07 20:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:36:07 20:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:36:07 20:35:01 eth0 0.20 0.12 0.07 0.01 0.00 0.00 0.00 0.00 20:36:07 20:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:36:07 20:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:36:07 Average: eth0 13.17 9.84 58.11 5.19 0.00 0.00 0.00 0.00 20:36:07 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:36:07 Average: docker0 0.30 0.27 0.08 0.63 0.00 0.00 0.00 0.00 20:36:07 20:36:07 20:36:07 ---> sar -P ALL: 20:36:07 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/19/20 _x86_64_ (4 CPU) 20:36:07 20:36:07 20:28:10 LINUX RESTART (4 CPU) 20:36:07 20:36:07 20:29:01 CPU %user %nice %system %iowait %steal %idle 20:36:07 20:30:01 all 2.74 0.00 1.87 0.89 0.02 94.48 20:36:07 20:30:01 0 3.06 0.00 1.76 0.08 0.02 95.08 20:36:07 20:30:01 1 2.51 0.00 2.37 2.22 0.02 92.88 20:36:07 20:30:01 2 2.82 0.00 1.42 0.65 0.02 95.09 20:36:07 20:30:01 3 2.58 0.00 1.91 0.60 0.02 94.88 20:36:07 20:31:01 all 0.10 0.00 0.05 0.00 0.00 99.85 20:36:07 20:31:01 0 0.18 0.00 0.05 0.00 0.00 99.77 20:36:07 20:31:01 1 0.03 0.00 0.03 0.00 0.00 99.93 20:36:07 20:31:01 2 0.03 0.00 0.07 0.00 0.00 99.90 20:36:07 20:31:01 3 0.13 0.00 0.05 0.00 0.00 99.82 20:36:07 20:32:02 all 0.14 0.00 0.04 0.00 0.00 99.82 20:36:07 20:32:02 0 0.05 0.00 0.05 0.00 0.00 99.90 20:36:07 20:32:02 1 0.03 0.00 0.03 0.00 0.00 99.93 20:36:07 20:32:02 2 0.03 0.00 0.03 0.00 0.00 99.93 20:36:07 20:32:02 3 0.45 0.00 0.05 0.00 0.00 99.50 20:36:07 20:33:01 all 0.15 0.00 0.03 0.00 0.00 99.83 20:36:07 20:33:01 0 0.02 0.00 0.03 0.00 0.00 99.95 20:36:07 20:33:01 1 0.03 0.00 0.03 0.00 0.00 99.93 20:36:07 20:33:01 2 0.03 0.00 0.00 0.00 0.00 99.97 20:36:07 20:33:01 3 0.51 0.00 0.03 0.00 0.00 99.46 20:36:07 20:34:01 all 0.17 0.00 0.08 0.00 0.01 99.74 20:36:07 20:34:01 0 0.03 0.00 0.18 0.00 0.00 99.78 20:36:07 20:34:01 1 0.07 0.00 0.07 0.00 0.02 99.85 20:36:07 20:34:01 2 0.05 0.00 0.03 0.00 0.00 99.92 20:36:07 20:34:01 3 0.53 0.00 0.03 0.00 0.02 99.42 20:36:07 20:35:01 all 0.14 0.00 0.02 0.00 0.00 99.84 20:36:07 20:35:01 0 0.02 0.00 0.02 0.00 0.00 99.97 20:36:07 20:35:01 1 0.00 0.00 0.00 0.00 0.00 100.00 20:36:07 20:35:01 2 0.05 0.00 0.05 0.00 0.00 99.90 20:36:07 20:35:01 3 0.50 0.00 0.02 0.00 0.00 99.48 20:36:07 Average: all 0.57 0.00 0.35 0.15 0.00 98.93 20:36:07 Average: 0 0.56 0.00 0.35 0.01 0.00 99.07 20:36:07 Average: 1 0.45 0.00 0.42 0.37 0.01 98.75 20:36:07 Average: 2 0.50 0.00 0.27 0.11 0.00 99.12 20:36:07 Average: 3 0.78 0.00 0.35 0.10 0.01 98.76 20:36:07 20:36:07 20:36:07