Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cbc1fb126fca16d22f986b5cd5c305caa6710614 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > 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:device-rest-go] ========================================================= [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: device-rest-go-settings PROJECT: device-rest-go 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-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-12255’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10024’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-11550’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-12260 in /w/workspace/gexfoundry_device-rest-go_master [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/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision cbc1fb126fca16d22f986b5cd5c305caa6710614 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.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/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 Commit message: "Merge pull request #58 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" > git rev-list --no-walk d1bfd12592bfcc37ebda2d741922e4b068f28a62 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:22:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:22:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:22:05 ========================================================= 16:22:05 EdgeX Global Pipelines Version Info 16:22:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:22:07 ------------------- 16:22:07 stable info: 16:22:07 ------------------- 16:22:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:22:07 Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 16:22:07 Message: update stable to v1.0.162 16:22:08 ------------------- 16:22:08 experimental info: 16:22:08 ------------------- 16:22:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:22:08 Commit SHA: 6f2ee81cce8ce978e0d8ebd6865d4103bdd6920b 16:22:08 Message: update experimental to v1.0.164 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 16:22:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 16:22:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 16:22:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:22:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:22:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:22:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:22:09 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 16:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:22:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:22:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:22:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:22:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:22:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:22:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:22:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:22:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:22:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:22:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:22:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:22:11 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 16:22:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 16:22:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 16:22:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 16:22:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] echo 16:22:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cbc1fb1 [Pipeline] echo 16:22:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:22:12 provisioning config files... 16:22:12 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config567243780894769680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:22:12 ---> docker-login.sh 16:22:12 nexus3.edgexfoundry.org:10001 16:22:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:13 Configure a credential helper to remove this warning. See 16:22:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:13 16:22:13 Login Succeeded 16:22:13 nexus3.edgexfoundry.org:10002 16:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:13 Configure a credential helper to remove this warning. See 16:22:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:13 16:22:13 Login Succeeded 16:22:13 nexus3.edgexfoundry.org:10003 16:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:13 Configure a credential helper to remove this warning. See 16:22:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:13 16:22:13 Login Succeeded 16:22:13 nexus3.edgexfoundry.org:10004 16:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:14 Configure a credential helper to remove this warning. See 16:22:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:14 16:22:14 Login Succeeded 16:22:14 docker.io 16:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:14 Configure a credential helper to remove this warning. See 16:22:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:14 16:22:14 Login Succeeded 16:22:14 ---> docker-login.sh ends [Pipeline] } 16:22:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:22:15 + git log --format=format:%s -1 cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] echo 16:22:15 GIT_COMMIT: cbc1fb126fca16d22f986b5cd5c305caa6710614, Commit Message: Merge pull request #58 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0 [Pipeline] echo 16:22:15 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:22:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:22:16 16:22:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:22:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:22:16 latest: Pulling from edgex-devops/git-semver 16:22:16 31603596830f: Pulling fs layer 16:22:16 2a8b12db71e7: Pulling fs layer 16:22:16 6ca5941a6612: Pulling fs layer 16:22:16 ecc8261a40a4: Pulling fs layer 16:22:16 ecc8261a40a4: Waiting 16:22:16 2a8b12db71e7: Verifying Checksum 16:22:16 2a8b12db71e7: Download complete 16:22:16 31603596830f: Verifying Checksum 16:22:16 31603596830f: Download complete 16:22:17 ecc8261a40a4: Verifying Checksum 16:22:17 ecc8261a40a4: Download complete 16:22:17 6ca5941a6612: Verifying Checksum 16:22:17 6ca5941a6612: Download complete 16:22:17 31603596830f: Pull complete 16:22:17 2a8b12db71e7: Pull complete 16:22:18 6ca5941a6612: Pull complete 16:22:18 ecc8261a40a4: Pull complete 16:22:18 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:22:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:22:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:22:19 prd-centos7-docker-4c-2g-12260 does not seem to be running inside a container 16:22:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:22:21 $ docker top f7b2e32833f8bd2456f1810024034bf7ee08b34571383e0c137fb1baa91b1fdb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:22:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:22:21 [ssh-agent] Looking for ssh-agent implementation... 16:22:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:22:22 $ docker exec f7b2e32833f8bd2456f1810024034bf7ee08b34571383e0c137fb1baa91b1fdb ssh-agent 16:22:22 SSH_AUTH_SOCK=/tmp/ssh-Tudfvr4oXMwY/agent.11 16:22:22 SSH_AGENT_PID=16 16:22:22 Running ssh-add (command line suppressed) 16:22:22 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4422660669540859134.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4422660669540859134.key) 16:22:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:22:23 + git tag --points-at HEAD [Pipeline] } 16:22:23 $ docker exec --env ******** --env ******** f7b2e32833f8bd2456f1810024034bf7ee08b34571383e0c137fb1baa91b1fdb ssh-agent -k 16:22:23 unset SSH_AUTH_SOCK; 16:22:23 unset SSH_AGENT_PID; 16:22:23 echo Agent pid 16 killed; 16:22:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:22:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:22:23 [ssh-agent] Looking for ssh-agent implementation... 16:22:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:22:23 $ docker exec f7b2e32833f8bd2456f1810024034bf7ee08b34571383e0c137fb1baa91b1fdb ssh-agent 16:22:24 SSH_AUTH_SOCK=/tmp/ssh-N1BfLGQ9McW7/agent.44 16:22:24 SSH_AGENT_PID=50 16:22:24 Running ssh-add (command line suppressed) 16:22:24 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3743535304369445830.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3743535304369445830.key) 16:22:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:22:24 + git semver init 16:22:24 # -> Open(): unable to determine branch for HEAD 16:22:24 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 16:22:24 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 16:22:24 # $SEMVER_REMOTE_NAME = origin 16:22:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:22:24 # $SEMVER_USER_NAME = edgex-jenkins 16:22:24 # $SEMVER_BRANCH = master 16:22:24 # $SEMVER_TEMP = /tmp/semver-538142230 16:22:24 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 16:22:26 # '/tmp/semver-538142230' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 16:22:26 # -> Force: false 16:22:26 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 16:22:26 $ docker exec --env ******** --env ******** f7b2e32833f8bd2456f1810024034bf7ee08b34571383e0c137fb1baa91b1fdb ssh-agent -k 16:22:26 unset SSH_AUTH_SOCK; 16:22:26 unset SSH_AGENT_PID; 16:22:26 echo Agent pid 50 killed; 16:22:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:22:27 + git semver [Pipeline] } 16:22:27 $ docker stop --time=1 f7b2e32833f8bd2456f1810024034bf7ee08b34571383e0c137fb1baa91b1fdb 16:22:28 $ docker rm -f f7b2e32833f8bd2456f1810024034bf7ee08b34571383e0c137fb1baa91b1fdb [Pipeline] // withDockerContainer [Pipeline] sh 16:22:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:22:30 Stashed 1 file(s) [Pipeline] echo 16:22:30 [edgeXSemver]: initialized semver on version 1.1.3-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 16:22:46 Still waiting to schedule task 16:22:46 ‘prd-centos7-docker-4c-2g-12255’ is offline; ‘prd-centos7-docker-4c-2g-12261’ is offline; ‘prd-centos7-docker-4c-2g-12262’ is offline; ‘prd-centos7-docker-4c-2g-12263’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10024’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-11550’ doesn’t have label ‘centos7-docker-4c-2g’ 16:22:46 Still waiting to schedule task 16:22:46 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 16:24:03 Running on prd-centos7-docker-4c-2g-12267 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 16:24:03 Running in /w/workspace/device-rest-go/26 [Pipeline] { [Pipeline] checkout 16:24:06 using credential edgex-jenkins-ssh 16:24:06 Cloning the remote Git repository 16:24:06 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:24:06 > git init /w/workspace/device-rest-go/26 # timeout=10 16:24:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:24:06 > git --version # timeout=10 16:24:06 > git --version # 'git version 2.16.5' 16:24:06 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:24:08 Checking out Revision cbc1fb126fca16d22f986b5cd5c305caa6710614 (master) 16:24:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:24:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:24:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:24:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:24:07 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:24:08 > git config core.sparsecheckout # timeout=10 16:24:08 > git checkout -f cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 16:24:11 Commit message: "Merge pull request #58 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:24:12 provisioning config files... 16:24:12 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/26@tmp/config8906184490658317324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:24:13 ---> docker-login.sh 16:24:13 nexus3.edgexfoundry.org:10001 16:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:13 Configure a credential helper to remove this warning. See 16:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:13 16:24:13 Login Succeeded 16:24:13 nexus3.edgexfoundry.org:10002 16:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:13 Configure a credential helper to remove this warning. See 16:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:13 16:24:13 Login Succeeded 16:24:13 nexus3.edgexfoundry.org:10003 16:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:13 Configure a credential helper to remove this warning. See 16:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:13 16:24:13 Login Succeeded 16:24:13 nexus3.edgexfoundry.org:10004 16:24:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:14 Configure a credential helper to remove this warning. See 16:24:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:14 16:24:14 Login Succeeded 16:24:14 docker.io 16:24:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:14 Configure a credential helper to remove this warning. See 16:24:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:14 16:24:14 Login Succeeded 16:24:14 ---> docker-login.sh ends [Pipeline] } 16:24:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:24:15 ========================================================= 16:24:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:24:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:24:15 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 16:24:15 Sending build context to Docker daemon 79.87kB 16:24:15 Step 1/10 : ARG BASE=golang:1.15-alpine 16:24:15 Step 2/10 : FROM ${BASE} 16:24:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:24:15 df20fa9351a1: Pulling fs layer 16:24:15 ed8968b2872e: Pulling fs layer 16:24:15 a92cc7c5fd73: Pulling fs layer 16:24:15 e871e8e8d7a9: Pulling fs layer 16:24:15 e73272ec9a57: Pulling fs layer 16:24:15 1e910a182e73: Pulling fs layer 16:24:15 4e634b169226: Pulling fs layer 16:24:15 e871e8e8d7a9: Waiting 16:24:15 e73272ec9a57: Waiting 16:24:15 1e910a182e73: Waiting 16:24:15 4e634b169226: Waiting 16:24:15 a92cc7c5fd73: Verifying Checksum 16:24:15 a92cc7c5fd73: Download complete 16:24:15 ed8968b2872e: Download complete 16:24:15 e73272ec9a57: Download complete 16:24:15 df20fa9351a1: Verifying Checksum 16:24:15 df20fa9351a1: Download complete 16:24:16 1e910a182e73: Verifying Checksum 16:24:16 1e910a182e73: Download complete 16:24:16 df20fa9351a1: Pull complete 16:24:16 ed8968b2872e: Pull complete 16:24:16 a92cc7c5fd73: Pull complete 16:24:17 4e634b169226: Verifying Checksum 16:24:17 4e634b169226: Download complete 16:24:18 e871e8e8d7a9: Verifying Checksum 16:24:18 e871e8e8d7a9: Download complete 16:24:23 e871e8e8d7a9: Pull complete 16:24:23 e73272ec9a57: Pull complete 16:24:23 1e910a182e73: Pull complete 16:24:33 4e634b169226: Pull complete 16:24:33 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 16:24:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 16:24:33 ---> f7629b54cfaa 16:24:33 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 16:24:33 ---> Running in 0f9dc90baf80 16:24:33 Removing intermediate container 0f9dc90baf80 16:24:33 ---> 2a869b92a44f 16:24:33 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 16:24:33 ---> Running in 0e2e0f2fb829 16:24:33 Removing intermediate container 0e2e0f2fb829 16:24:33 ---> 57f4e368ba41 16:24:33 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:24:33 ---> Running in 2c2f9cf19853 16:24:33 Removing intermediate container 2c2f9cf19853 16:24:33 ---> 43c7936a39b2 16:24:33 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:24:33 ---> Running in 106c629be220 16:24:34 Removing intermediate container 106c629be220 16:24:34 ---> 8263cde55a52 16:24:34 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:24:34 ---> Running in 2fa37a083d3c 16:24:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:24:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:24:36 OK: 166 MiB in 39 packages 16:24:36 Removing intermediate container 2fa37a083d3c 16:24:36 ---> 9f678dfc8423 16:24:36 Step 8/10 : WORKDIR /device-rest-go 16:24:36 ---> Running in f4090f20e146 16:24:36 Removing intermediate container f4090f20e146 16:24:36 ---> 52841a989523 16:24:36 Step 9/10 : COPY . . 16:24:37 ---> 733f680c8a24 16:24:37 Step 10/10 : RUN go mod download 16:24:37 ---> Running in ae5a2521e228 16:24:59 Removing intermediate container ae5a2521e228 16:24:59 ---> 868d79c0b60d 16:24:59 Successfully built 868d79c0b60d 16:24:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:24:59 + docker inspect -f . ci-base-image-x86_64 16:24:59 . [Pipeline] withDockerContainer 16:25:00 prd-centos7-docker-4c-2g-12267 does not seem to be running inside a container 16:25:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/26 -v /w/workspace/device-rest-go/26:/w/workspace/device-rest-go/26:rw,z -v /w/workspace/device-rest-go/26@tmp:/w/workspace/device-rest-go/26@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 ******** ci-base-image-x86_64 cat 16:25:01 $ docker top 72ed86c31fc5ff9fbd6a9f92c14d241d398d83c6db393225094f4202f6a7b28c -eo pid,comm [Pipeline] { [Pipeline] sh 16:25:01 + go version 16:25:01 go version go1.15.2 linux/amd64 [Pipeline] } 16:25:01 $ docker stop --time=1 72ed86c31fc5ff9fbd6a9f92c14d241d398d83c6db393225094f4202f6a7b28c 16:25:03 $ docker rm -f 72ed86c31fc5ff9fbd6a9f92c14d241d398d83c6db393225094f4202f6a7b28c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:25:03 + docker inspect -f . ci-base-image-x86_64 16:25:03 . [Pipeline] withDockerContainer 16:25:04 prd-centos7-docker-4c-2g-12267 does not seem to be running inside a container 16:25:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/26 -v /w/workspace/device-rest-go/26:/w/workspace/device-rest-go/26:rw,z -v /w/workspace/device-rest-go/26@tmp:/w/workspace/device-rest-go/26@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 ******** ci-base-image-x86_64 cat 16:25:04 $ docker top a323c038c6cb16bf175b412cd1f61253fc57c5ef4e4e001858f75d6e45348f2f -eo pid,comm [Pipeline] { [Pipeline] sh 16:25:05 + make test 16:25:05 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:25:06 ? github.com/edgexfoundry/device-rest-go [no test files] 16:25:16 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:25:17 ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 56.3% of statements 16:25:17 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:25:19 gofmt -l . 16:25:19 [ "`gofmt -l .`" = "" ] 16:25:19 ./bin/test-go-mod-tidy.sh 16:25:19 ./bin/test-attribution-txt.sh [Pipeline] } 16:25:19 $ docker stop --time=1 a323c038c6cb16bf175b412cd1f61253fc57c5ef4e4e001858f75d6e45348f2f 16:25:22 $ docker rm -f a323c038c6cb16bf175b412cd1f61253fc57c5ef4e4e001858f75d6e45348f2f [Pipeline] // withDockerContainer [Pipeline] sh 16:25:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:25:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:25:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:25:25 + ls -al . 16:25:25 total 96 16:25:25 drwxrwxr-x. 8 jenkins jenkins 4096 Nov 16 16:25 . 16:25:25 drwxrwxr-x. 4 jenkins jenkins 30 Nov 16 16:24 .. 16:25:25 -rw-rw-r--. 1 jenkins jenkins 5294 Nov 16 16:24 Attribution.txt 16:25:25 drwxrwxr-x. 2 jenkins jenkins 64 Nov 16 16:24 bin 16:25:25 drwxrwxr-x. 3 jenkins jenkins 32 Nov 16 16:24 cmd 16:25:25 -rw-r--r--. 1 jenkins jenkins 9369 Nov 16 16:25 coverage.out 16:25:25 -rw-rw-r--. 1 jenkins jenkins 1519 Nov 16 16:24 Dockerfile 16:25:25 -rw-rw-r--. 1 jenkins jenkins 989 Nov 16 16:24 Dockerfile.build 16:25:25 -rw-rw-r--. 1 jenkins jenkins 151 Nov 16 16:24 .dockerignore 16:25:25 drwxrwxr-x. 2 jenkins jenkins 93 Nov 16 16:25 driver 16:25:25 drwxrwxr-x. 8 jenkins jenkins 162 Nov 16 16:24 .git 16:25:25 drwxrwxr-x. 2 jenkins jenkins 60 Nov 16 16:24 .github 16:25:25 -rw-rw-r--. 1 jenkins jenkins 339 Nov 16 16:24 .gitignore 16:25:25 -rw-r--r--. 1 jenkins jenkins 267 Nov 16 16:25 go.mod 16:25:25 -rw-r--r--. 1 jenkins jenkins 13790 Nov 16 16:25 go.sum 16:25:25 -rw-rw-r--. 1 jenkins jenkins 680 Nov 16 16:24 Jenkinsfile 16:25:25 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 16 16:24 LICENSE 16:25:25 -rw-rw-r--. 1 jenkins jenkins 951 Nov 16 16:24 Makefile 16:25:25 -rw-rw-r--. 1 jenkins jenkins 5917 Nov 16 16:24 README.md 16:25:25 drwxrwxr-x. 4 jenkins jenkins 54 Nov 16 16:24 snap 16:25:25 -rw-rw-r--. 1 jenkins jenkins 12 Nov 16 16:22 VERSION 16:25:25 -rw-rw-r--. 1 jenkins jenkins 713 Nov 16 16:24 version.go [Pipeline] isUnix [Pipeline] sh 16:25:25 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=cbc1fb126fca16d22f986b5cd5c305caa6710614 --label arch=amd64 --label version=1.1.3-dev.10 . 16:25:25 Sending build context to Docker daemon 91.65kB 16:25:25 Step 1/25 : ARG BASE=golang:1.15-alpine 16:25:25 Step 2/25 : FROM ${BASE} AS builder 16:25:25 ---> 868d79c0b60d 16:25:25 Step 3/25 : ARG MAKE='make build' 16:25:26 ---> Running in 466e39330aec 16:25:26 Removing intermediate container 466e39330aec 16:25:26 ---> 76ed5a1d2aeb 16:25:26 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 16:25:26 ---> Running in 6f571d61e1c5 16:25:26 Removing intermediate container 6f571d61e1c5 16:25:26 ---> 7d37f50d656c 16:25:26 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 16:25:26 ---> Running in dc228ffd6740 16:25:26 Removing intermediate container dc228ffd6740 16:25:26 ---> 69fe033f56e8 16:25:26 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:25:26 ---> Running in 4d6c1c14fe6a 16:25:27 Removing intermediate container 4d6c1c14fe6a 16:25:27 ---> 0b8d58e64050 16:25:27 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:25:27 ---> Running in d4058bfca0e8 16:25:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:25:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:25:29 OK: 166 MiB in 39 packages 16:25:30 Removing intermediate container d4058bfca0e8 16:25:30 ---> 5f3918ccefd8 16:25:30 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 16:25:30 ---> Running in 97ae8b997bb3 16:25:30 Removing intermediate container 97ae8b997bb3 16:25:30 ---> 7ec30d6406e3 16:25:30 Step 9/25 : COPY go.mod . 16:25:30 ---> 8ca9ca020421 16:25:30 Step 10/25 : COPY Makefile . 16:25:30 ---> eb4e2a454cd8 16:25:30 Step 11/25 : RUN make update 16:25:30 ---> Running in c5bc0c347f64 16:25:31 CGO_ENABLED=0 GO111MODULE=on go mod download 16:25:31 Removing intermediate container c5bc0c347f64 16:25:31 ---> 67d4656b384f 16:25:31 Step 12/25 : COPY . . 16:25:32 ---> 6df3620a8e48 16:25:32 Step 13/25 : RUN $MAKE 16:25:32 ---> Running in cdc421e6c64e 16:25:32 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.10" -o cmd/device-rest-go ./cmd 16:25:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-12271 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 16:25:44 Running in /w/workspace/device-rest-go/26 [Pipeline] { [Pipeline] checkout 16:25:45 Removing intermediate container cdc421e6c64e 16:25:45 ---> ab9aada452c5 16:25:45 Step 14/25 : FROM alpine:latest 16:25:45 latest: Pulling from library/alpine 16:25:45 188c0c94c7c5: Pulling fs layer 16:25:45 188c0c94c7c5: Verifying Checksum 16:25:45 188c0c94c7c5: Download complete 16:25:45 188c0c94c7c5: Pull complete 16:25:45 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 16:25:45 Status: Downloaded newer image for alpine:latest 16:25:45 ---> d6e46aa2470d 16:25:45 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:25:45 ---> Running in 5ac641cf20b9 16:25:45 Removing intermediate container 5ac641cf20b9 16:25:45 ---> ecb2f5e629cb 16:25:45 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 16:25:45 ---> Running in a750c608d581 16:25:45 Removing intermediate container a750c608d581 16:25:45 ---> 466dfb53be47 16:25:45 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 16:25:45 ---> 73da393775e0 16:25:45 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 16:25:45 ---> 3060306e32b5 16:25:45 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 16:25:46 ---> 3e7235d617b4 16:25:46 Step 20/25 : EXPOSE 49986 16:25:46 ---> Running in aa36644969a9 16:25:46 Removing intermediate container aa36644969a9 16:25:46 ---> 02c0fb04b6a7 16:25:46 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 16:25:46 ---> Running in 0c775a815327 16:25:46 Removing intermediate container 0c775a815327 16:25:46 ---> 6db579eadb4f 16:25:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:25:46 ---> Running in e2dff5e4ee67 16:25:46 Removing intermediate container e2dff5e4ee67 16:25:46 ---> 28ae2b3051ad 16:25:46 Step 23/25 : LABEL arch=amd64 16:25:47 ---> Running in c1ae35edaece 16:25:47 Removing intermediate container c1ae35edaece 16:25:47 ---> 75bc1293415f 16:25:47 Step 24/25 : LABEL git_sha=cbc1fb126fca16d22f986b5cd5c305caa6710614 16:25:47 ---> Running in 0d807e2531ea 16:25:47 Removing intermediate container 0d807e2531ea 16:25:47 ---> ba2a38bc0fbf 16:25:47 Step 25/25 : LABEL version=1.1.3-dev.10 16:25:47 ---> Running in 253ae32e1f39 16:25:47 Removing intermediate container 253ae32e1f39 16:25:47 ---> 67ab425f5d6a 16:25:47 [Warning] One or more build-args [ARCH] were not consumed 16:25:47 Successfully built 67ab425f5d6a 16:25:47 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:25:48 provisioning config files... 16:25:48 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/26@tmp/config7391211054534008577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:48 ---> docker-login.sh 16:25:48 nexus3.edgexfoundry.org:10001 16:25:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:48 Configure a credential helper to remove this warning. See 16:25:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:48 16:25:48 Login Succeeded 16:25:48 nexus3.edgexfoundry.org:10002 16:25:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:49 Configure a credential helper to remove this warning. See 16:25:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:49 16:25:49 Login Succeeded 16:25:49 nexus3.edgexfoundry.org:10003 16:25:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:49 Configure a credential helper to remove this warning. See 16:25:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:49 16:25:49 Login Succeeded 16:25:49 nexus3.edgexfoundry.org:10004 16:25:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:49 Configure a credential helper to remove this warning. See 16:25:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:49 16:25:49 Login Succeeded 16:25:49 docker.io 16:25:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:49 Configure a credential helper to remove this warning. See 16:25:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:49 16:25:49 Login Succeeded 16:25:49 ---> docker-login.sh ends [Pipeline] } 16:25:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:25:49 [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: 16:25:49 cbc1fb126fca16d22f986b5cd5c305caa6710614 16:25:49 latest 16:25:49 1.1.3-dev.10 16:25:49 cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10 16:25:49 master 16:25:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:25:50 using credential edgex-jenkins-ssh 16:25:50 Cloning the remote Git repository 16:25:50 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] isUnix [Pipeline] sh 16:25:50 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614 16:25:50 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 16:25:50 8564467f6915: Preparing 16:25:50 dc3972039bf3: Preparing 16:25:50 94c4d9e7f738: Preparing 16:25:50 ace0eda3e3be: Preparing 16:25:50 ace0eda3e3be: Layer already exists 16:25:50 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:25:50 > git init /w/workspace/device-rest-go/26 # timeout=10 16:25:50 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:25:50 > git --version # timeout=10 16:25:50 > git --version # 'git version 2.17.1' 16:25:50 using GIT_SSH to set credentials SSH Credentials for GitHub 16:25:51 dc3972039bf3: Pushed 16:25:51 94c4d9e7f738: Pushed 16:25:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:25:52 8564467f6915: Pushed 16:25:52 cbc1fb126fca16d22f986b5cd5c305caa6710614: digest: sha256:85c2b05b4bc8388002b52a657ddc255ef09fc2cb0af54aee1d769c79be172ddc size: 1155 [Pipeline] isUnix [Pipeline] sh 16:25:53 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh 16:25:53 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 16:25:53 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 16:25:53 8564467f6915: Preparing 16:25:53 dc3972039bf3: Preparing 16:25:53 94c4d9e7f738: Preparing 16:25:53 ace0eda3e3be: Preparing 16:25:53 8564467f6915: Layer already exists 16:25:53 94c4d9e7f738: Layer already exists 16:25:53 dc3972039bf3: Layer already exists 16:25:53 ace0eda3e3be: Layer already exists 16:25:53 latest: digest: sha256:85c2b05b4bc8388002b52a657ddc255ef09fc2cb0af54aee1d769c79be172ddc size: 1155 [Pipeline] isUnix [Pipeline] sh 16:25:53 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.10 [Pipeline] isUnix [Pipeline] sh 16:25:53 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.10 16:25:53 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 16:25:53 8564467f6915: Preparing 16:25:53 dc3972039bf3: Preparing 16:25:53 94c4d9e7f738: Preparing 16:25:53 ace0eda3e3be: Preparing 16:25:53 8564467f6915: Layer already exists 16:25:53 94c4d9e7f738: Layer already exists 16:25:53 ace0eda3e3be: Layer already exists 16:25:53 dc3972039bf3: Layer already exists 16:25:53 1.1.3-dev.10: digest: sha256:85c2b05b4bc8388002b52a657ddc255ef09fc2cb0af54aee1d769c79be172ddc size: 1155 [Pipeline] isUnix [Pipeline] sh 16:25:54 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10 [Pipeline] isUnix [Pipeline] sh 16:25:54 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10 16:25:54 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 16:25:54 8564467f6915: Preparing 16:25:54 dc3972039bf3: Preparing 16:25:54 94c4d9e7f738: Preparing 16:25:54 ace0eda3e3be: Preparing 16:25:54 dc3972039bf3: Layer already exists 16:25:54 8564467f6915: Layer already exists 16:25:54 94c4d9e7f738: Layer already exists 16:25:54 ace0eda3e3be: Layer already exists 16:25:54 cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10: digest: sha256:85c2b05b4bc8388002b52a657ddc255ef09fc2cb0af54aee1d769c79be172ddc size: 1155 [Pipeline] isUnix [Pipeline] sh 16:25:54 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh 16:25:55 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master 16:25:55 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 16:25:55 8564467f6915: Preparing 16:25:55 dc3972039bf3: Preparing 16:25:55 94c4d9e7f738: Preparing 16:25:55 ace0eda3e3be: Preparing 16:25:55 94c4d9e7f738: Layer already exists 16:25:55 dc3972039bf3: Layer already exists 16:25:55 ace0eda3e3be: Layer already exists 16:25:55 8564467f6915: Layer already exists 16:25:55 master: digest: sha256:85c2b05b4bc8388002b52a657ddc255ef09fc2cb0af54aee1d769c79be172ddc size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:25:55 ===================================================== [Pipeline] echo 16:25:55 taggedImages: 16:25:55 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614 16:25:55 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 16:25:55 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.10 16:25:55 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10 16:25:55 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } 16:25:56 Checking out Revision cbc1fb126fca16d22f986b5cd5c305caa6710614 (master) [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 16:25:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:25:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:25:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:25:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:25:55 using GIT_SSH to set credentials SSH Credentials for GitHub 16:25:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:25:56 > git config core.sparsecheckout # timeout=10 16:25:56 > git checkout -f cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:26:00 Commit message: "Merge pull request #58 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:26:01 provisioning config files... 16:26:01 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/26@tmp/config9063952222706213804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:26:02 ---> docker-login.sh 16:26:02 nexus3.edgexfoundry.org:10001 16:26:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:03 Configure a credential helper to remove this warning. See 16:26:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:03 16:26:03 Login Succeeded 16:26:03 nexus3.edgexfoundry.org:10002 16:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:04 Configure a credential helper to remove this warning. See 16:26:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:04 16:26:04 Login Succeeded 16:26:04 nexus3.edgexfoundry.org:10003 16:26:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:05 Configure a credential helper to remove this warning. See 16:26:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:05 16:26:05 Login Succeeded 16:26:05 nexus3.edgexfoundry.org:10004 16:26:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:05 Configure a credential helper to remove this warning. See 16:26:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:05 16:26:05 Login Succeeded 16:26:05 docker.io 16:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:06 Configure a credential helper to remove this warning. See 16:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:06 16:26:06 Login Succeeded 16:26:06 ---> docker-login.sh ends [Pipeline] } 16:26:06 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:26:07 ========================================================= 16:26:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 16:26:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:26:07 + 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 . 16:26:07 Sending build context to Docker daemon 79.87kB 16:26:07 Step 1/10 : ARG BASE=golang:1.15-alpine 16:26:07 Step 2/10 : FROM ${BASE} 16:26:07 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:26:08 b538f80385f9: Pulling fs layer 16:26:08 74f711af9a0d: Pulling fs layer 16:26:08 99f96fe45779: Pulling fs layer 16:26:08 8529a6b9a6be: Pulling fs layer 16:26:08 45590311c82a: Pulling fs layer 16:26:08 69ca0ff8b7b3: Pulling fs layer 16:26:08 209524e5b208: Pulling fs layer 16:26:08 45590311c82a: Waiting 16:26:08 8529a6b9a6be: Waiting 16:26:08 69ca0ff8b7b3: Waiting 16:26:08 209524e5b208: Waiting 16:26:08 99f96fe45779: Verifying Checksum 16:26:08 99f96fe45779: Download complete 16:26:08 74f711af9a0d: Verifying Checksum 16:26:08 74f711af9a0d: Download complete 16:26:08 45590311c82a: Download complete 16:26:08 69ca0ff8b7b3: Verifying Checksum 16:26:08 69ca0ff8b7b3: Download complete 16:26:08 b538f80385f9: Verifying Checksum 16:26:08 b538f80385f9: Download complete 16:26:09 b538f80385f9: Pull complete 16:26:09 74f711af9a0d: Pull complete 16:26:10 99f96fe45779: Pull complete 16:26:10 209524e5b208: Download complete 16:26:12 8529a6b9a6be: Verifying Checksum 16:26:12 8529a6b9a6be: Download complete 16:26:22 8529a6b9a6be: Pull complete 16:26:22 45590311c82a: Pull complete 16:26:22 69ca0ff8b7b3: Pull complete 16:26:26 209524e5b208: Pull complete 16:26:26 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 16:26:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 16:26:26 ---> 5bddaf1c2fca 16:26:26 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 16:26:29 ---> Running in ef93c8474d83 16:26:30 Removing intermediate container ef93c8474d83 16:26:30 ---> a45db3267b3e 16:26:30 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 16:26:30 ---> Running in 791015d883a0 16:26:30 Removing intermediate container 791015d883a0 16:26:30 ---> edd868886e39 16:26:30 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:26:31 ---> Running in 1f72eaa6fb97 16:26:31 Removing intermediate container 1f72eaa6fb97 16:26:31 ---> 9281b8cea8df 16:26:31 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:26:31 ---> Running in e6711c8d33ac 16:26:35 Removing intermediate container e6711c8d33ac 16:26:35 ---> 8a06b48870b9 16:26:35 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:26:35 ---> Running in 0602d8b3fed2 16:26:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:26:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:26:39 OK: 142 MiB in 39 packages 16:26:40 Removing intermediate container 0602d8b3fed2 16:26:40 ---> 696eaeb36442 16:26:40 Step 8/10 : WORKDIR /device-rest-go 16:26:40 ---> Running in 4bfc379529a6 16:26:41 Removing intermediate container 4bfc379529a6 16:26:41 ---> f460a56114ba 16:26:41 Step 9/10 : COPY . . 16:26:41 ---> 80da6431a358 16:26:41 Step 10/10 : RUN go mod download 16:26:42 ---> Running in 733cfe277d73 16:27:09 Removing intermediate container 733cfe277d73 16:27:09 ---> ddcace7a7f02 16:27:09 Successfully built ddcace7a7f02 16:27:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:27:09 + docker inspect -f . ci-base-image-arm64 16:27:09 . [Pipeline] withDockerContainer 16:27:09 prd-ubuntu18.04-docker-arm64-4c-16g-12271 does not seem to be running inside a container 16:27:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/26 -v /w/workspace/device-rest-go/26:/w/workspace/device-rest-go/26:rw,z -v /w/workspace/device-rest-go/26@tmp:/w/workspace/device-rest-go/26@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 ******** ci-base-image-arm64 cat 16:27:11 $ docker top 545a556100c2613448eff2082d5c6b2c61b3ede1dcf4e914dadf32bf27425573 -eo pid,comm [Pipeline] { [Pipeline] sh 16:27:13 + go version 16:27:13 go version go1.15.2 linux/arm64 [Pipeline] } 16:27:13 $ docker stop --time=1 545a556100c2613448eff2082d5c6b2c61b3ede1dcf4e914dadf32bf27425573 16:27:15 $ docker rm -f 545a556100c2613448eff2082d5c6b2c61b3ede1dcf4e914dadf32bf27425573 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:27:16 + docker inspect -f . ci-base-image-arm64 16:27:16 . [Pipeline] withDockerContainer 16:27:17 prd-ubuntu18.04-docker-arm64-4c-16g-12271 does not seem to be running inside a container 16:27:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/26 -v /w/workspace/device-rest-go/26:/w/workspace/device-rest-go/26:rw,z -v /w/workspace/device-rest-go/26@tmp:/w/workspace/device-rest-go/26@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 ******** ci-base-image-arm64 cat 16:27:19 $ docker top c73bdc39881e6a7b0988c088e2a0a77f1d618556c05670bf39484237edfd6c0f -eo pid,comm [Pipeline] { [Pipeline] sh 16:27:20 + make test 16:27:20 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:27:22 ? github.com/edgexfoundry/device-rest-go [no test files] 16:28:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:28:02 ok github.com/edgexfoundry/device-rest-go/driver 0.152s coverage: 56.3% of statements 16:28:02 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:28:09 gofmt -l . 16:28:09 [ "`gofmt -l .`" = "" ] 16:28:09 ./bin/test-go-mod-tidy.sh 16:28:09 ./bin/test-attribution-txt.sh [Pipeline] } 16:28:09 $ docker stop --time=1 c73bdc39881e6a7b0988c088e2a0a77f1d618556c05670bf39484237edfd6c0f 16:28:11 $ docker rm -f c73bdc39881e6a7b0988c088e2a0a77f1d618556c05670bf39484237edfd6c0f [Pipeline] // withDockerContainer [Pipeline] sh 16:28:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:28:12 Warning: overwriting stash ‘coverage-report’ 16:28:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:28:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:28:14 + ls -al . 16:28:14 total 124 16:28:14 drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 16:28 . 16:28:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 16:25 .. 16:28:14 -rw-rw-r-- 1 jenkins jenkins 151 Nov 16 16:25 .dockerignore 16:28:14 drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 16:26 .git 16:28:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:25 .github 16:28:14 -rw-rw-r-- 1 jenkins jenkins 339 Nov 16 16:25 .gitignore 16:28:14 -rw-rw-r-- 1 jenkins jenkins 5294 Nov 16 16:25 Attribution.txt 16:28:14 -rw-rw-r-- 1 jenkins jenkins 1519 Nov 16 16:25 Dockerfile 16:28:14 -rw-rw-r-- 1 jenkins jenkins 989 Nov 16 16:25 Dockerfile.build 16:28:14 -rw-rw-r-- 1 jenkins jenkins 680 Nov 16 16:25 Jenkinsfile 16:28:14 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 16 16:25 LICENSE 16:28:14 -rw-rw-r-- 1 jenkins jenkins 951 Nov 16 16:25 Makefile 16:28:14 -rw-rw-r-- 1 jenkins jenkins 5917 Nov 16 16:25 README.md 16:28:14 -rw-rw-r-- 1 jenkins jenkins 12 Nov 16 16:22 VERSION 16:28:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:25 bin 16:28:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 16:25 cmd 16:28:14 -rw-r--r-- 1 jenkins jenkins 9369 Nov 16 16:28 coverage.out 16:28:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:28 driver 16:28:14 -rw-r--r-- 1 jenkins jenkins 267 Nov 16 16:28 go.mod 16:28:14 -rw-r--r-- 1 jenkins jenkins 13790 Nov 16 16:28 go.sum 16:28:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 16:25 snap 16:28:14 -rw-rw-r-- 1 jenkins jenkins 713 Nov 16 16:25 version.go [Pipeline] isUnix [Pipeline] sh 16:28:15 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=cbc1fb126fca16d22f986b5cd5c305caa6710614 --label arch=arm64 --label version=1.1.3-dev.10 . 16:28:15 Sending build context to Docker daemon 91.65kB 16:28:15 Step 1/25 : ARG BASE=golang:1.15-alpine 16:28:15 Step 2/25 : FROM ${BASE} AS builder 16:28:15 ---> ddcace7a7f02 16:28:15 Step 3/25 : ARG MAKE='make build' 16:28:15 ---> Running in d630cac91aa2 16:28:16 Removing intermediate container d630cac91aa2 16:28:16 ---> 624289f2f73c 16:28:16 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 16:28:16 ---> Running in 7ebe4510f9bb 16:28:16 Removing intermediate container 7ebe4510f9bb 16:28:16 ---> 6223fd7f6f06 16:28:16 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 16:28:17 ---> Running in 1888f2524985 16:28:17 Removing intermediate container 1888f2524985 16:28:17 ---> 7005799a60e2 16:28:17 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:28:17 ---> Running in 81dcb5e46e74 16:28:20 Removing intermediate container 81dcb5e46e74 16:28:20 ---> d6d0912d3406 16:28:20 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:28:20 ---> Running in ad699ad00d55 16:28:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:28:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:28:23 OK: 142 MiB in 39 packages 16:28:24 Removing intermediate container ad699ad00d55 16:28:24 ---> 64fe1701fb4d 16:28:24 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 16:28:24 ---> Running in 2dff0fa1cb0b 16:28:25 Removing intermediate container 2dff0fa1cb0b 16:28:25 ---> c90495cab202 16:28:25 Step 9/25 : COPY go.mod . 16:28:26 ---> f4a660329235 16:28:26 Step 10/25 : COPY Makefile . 16:28:27 ---> 6c7ad01bd2f0 16:28:27 Step 11/25 : RUN make update 16:28:27 ---> Running in a440f43c4a12 16:28:28 CGO_ENABLED=0 GO111MODULE=on go mod download 16:28:29 Removing intermediate container a440f43c4a12 16:28:29 ---> 229ebedc30e8 16:28:29 Step 12/25 : COPY . . 16:28:30 ---> 6c93d61d0b0e 16:28:30 Step 13/25 : RUN $MAKE 16:28:30 ---> Running in 5c7fa4212297 16:28:32 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.10" -o cmd/device-rest-go ./cmd 16:29:04 Removing intermediate container 5c7fa4212297 16:29:04 ---> 834609b36efe 16:29:04 Step 14/25 : FROM alpine:latest 16:29:04 latest: Pulling from library/alpine 16:29:04 5f621e34cdf4: Pulling fs layer 16:29:04 5f621e34cdf4: Verifying Checksum 16:29:04 5f621e34cdf4: Download complete 16:29:04 5f621e34cdf4: Pull complete 16:29:04 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 16:29:04 Status: Downloaded newer image for alpine:latest 16:29:04 ---> 2e77e061c27f 16:29:04 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:29:04 ---> Running in 628b86569f91 16:29:04 Removing intermediate container 628b86569f91 16:29:04 ---> 156e97bb671f 16:29:04 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 16:29:04 ---> Running in 3387c056a2b7 16:29:04 Removing intermediate container 3387c056a2b7 16:29:04 ---> dae7e2468685 16:29:04 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 16:29:04 ---> 7c57300a619f 16:29:04 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 16:29:05 ---> 44db03dc7ebd 16:29:05 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 16:29:06 ---> e4d85c8790e1 16:29:06 Step 20/25 : EXPOSE 49986 16:29:06 ---> Running in c8d5e661793f 16:29:07 Removing intermediate container c8d5e661793f 16:29:07 ---> 0e8238f5e0fb 16:29:07 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 16:29:07 ---> Running in 93998f57acb2 16:29:08 Removing intermediate container 93998f57acb2 16:29:08 ---> 98a5ced23835 16:29:08 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:29:08 ---> Running in 8b9da929b0ad 16:29:08 Removing intermediate container 8b9da929b0ad 16:29:08 ---> 89d3968330ea 16:29:08 Step 23/25 : LABEL arch=arm64 16:29:08 ---> Running in 52aa54e981c9 16:29:09 Removing intermediate container 52aa54e981c9 16:29:09 ---> 395eae5d61eb 16:29:09 Step 24/25 : LABEL git_sha=cbc1fb126fca16d22f986b5cd5c305caa6710614 16:29:09 ---> Running in df06c04e4ba9 16:29:09 Removing intermediate container df06c04e4ba9 16:29:09 ---> fd528ea01faf 16:29:09 Step 25/25 : LABEL version=1.1.3-dev.10 16:29:09 ---> Running in 6c3dd15730d5 16:29:10 Removing intermediate container 6c3dd15730d5 16:29:10 ---> a7a9ecaf75f7 16:29:10 [Warning] One or more build-args [ARCH] were not consumed 16:29:10 Successfully built a7a9ecaf75f7 16:29:10 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:29:10 provisioning config files... 16:29:10 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/26@tmp/config4052245664845188414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:29:11 ---> docker-login.sh 16:29:11 nexus3.edgexfoundry.org:10001 16:29:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:11 Configure a credential helper to remove this warning. See 16:29:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:11 16:29:11 Login Succeeded 16:29:11 nexus3.edgexfoundry.org:10002 16:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:12 Configure a credential helper to remove this warning. See 16:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:12 16:29:12 Login Succeeded 16:29:12 nexus3.edgexfoundry.org:10003 16:29:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:13 Configure a credential helper to remove this warning. See 16:29:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:13 16:29:13 Login Succeeded 16:29:13 nexus3.edgexfoundry.org:10004 16:29:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:13 Configure a credential helper to remove this warning. See 16:29:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:13 16:29:13 Login Succeeded 16:29:13 docker.io 16:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:14 Configure a credential helper to remove this warning. See 16:29:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:14 16:29:14 Login Succeeded 16:29:14 ---> docker-login.sh ends [Pipeline] } 16:29:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:29:14 [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: 16:29:14 cbc1fb126fca16d22f986b5cd5c305caa6710614 16:29:14 latest 16:29:14 1.1.3-dev.10 16:29:14 cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10 16:29:14 master 16:29:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:29:15 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] isUnix [Pipeline] sh 16:29:15 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614 16:29:15 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 16:29:15 24b0d7134b7e: Preparing 16:29:15 7edffebeeac4: Preparing 16:29:15 aa4f4ccee7a4: Preparing 16:29:15 cd3761cfa1d9: Preparing 16:29:15 cd3761cfa1d9: Layer already exists 16:29:15 7edffebeeac4: Pushed 16:29:15 aa4f4ccee7a4: Pushed 16:29:18 24b0d7134b7e: Pushed 16:29:18 cbc1fb126fca16d22f986b5cd5c305caa6710614: digest: sha256:a3c15e10914c2ba05d774ad95b9c1fa176b3727e79dad83224c4911cf83edf42 size: 1155 [Pipeline] isUnix [Pipeline] sh 16:29:19 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:29:19 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 16:29:19 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 16:29:19 24b0d7134b7e: Preparing 16:29:19 7edffebeeac4: Preparing 16:29:19 aa4f4ccee7a4: Preparing 16:29:19 cd3761cfa1d9: Preparing 16:29:19 7edffebeeac4: Layer already exists 16:29:19 24b0d7134b7e: Layer already exists 16:29:19 cd3761cfa1d9: Layer already exists 16:29:19 aa4f4ccee7a4: Layer already exists 16:29:19 latest: digest: sha256:a3c15e10914c2ba05d774ad95b9c1fa176b3727e79dad83224c4911cf83edf42 size: 1155 [Pipeline] isUnix [Pipeline] sh 16:29:20 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.10 [Pipeline] isUnix [Pipeline] sh 16:29:20 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.10 16:29:20 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 16:29:20 24b0d7134b7e: Preparing 16:29:20 7edffebeeac4: Preparing 16:29:20 aa4f4ccee7a4: Preparing 16:29:20 cd3761cfa1d9: Preparing 16:29:20 aa4f4ccee7a4: Layer already exists 16:29:20 cd3761cfa1d9: Layer already exists 16:29:20 7edffebeeac4: Layer already exists 16:29:20 24b0d7134b7e: Layer already exists 16:29:20 1.1.3-dev.10: digest: sha256:a3c15e10914c2ba05d774ad95b9c1fa176b3727e79dad83224c4911cf83edf42 size: 1155 [Pipeline] isUnix [Pipeline] sh 16:29:21 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10 [Pipeline] isUnix [Pipeline] sh 16:29:21 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10 16:29:21 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 16:29:21 24b0d7134b7e: Preparing 16:29:21 7edffebeeac4: Preparing 16:29:21 aa4f4ccee7a4: Preparing 16:29:21 cd3761cfa1d9: Preparing 16:29:21 cd3761cfa1d9: Layer already exists 16:29:21 7edffebeeac4: Layer already exists 16:29:21 aa4f4ccee7a4: Layer already exists 16:29:21 24b0d7134b7e: Layer already exists 16:29:21 cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10: digest: sha256:a3c15e10914c2ba05d774ad95b9c1fa176b3727e79dad83224c4911cf83edf42 size: 1155 [Pipeline] isUnix [Pipeline] sh 16:29:22 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh 16:29:22 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master 16:29:22 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 16:29:22 24b0d7134b7e: Preparing 16:29:22 7edffebeeac4: Preparing 16:29:22 aa4f4ccee7a4: Preparing 16:29:22 cd3761cfa1d9: Preparing 16:29:22 cd3761cfa1d9: Layer already exists 16:29:22 aa4f4ccee7a4: Layer already exists 16:29:22 7edffebeeac4: Layer already exists 16:29:22 24b0d7134b7e: Layer already exists 16:29:22 master: digest: sha256:a3c15e10914c2ba05d774ad95b9c1fa176b3727e79dad83224c4911cf83edf42 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:29:22 ===================================================== [Pipeline] echo 16:29:22 taggedImages: 16:29:22 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614 16:29:22 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 16:29:22 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.10 16:29:22 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10 16:29:22 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] } [Pipeline] // script [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 16:29:24 provisioning config files... 16:29:24 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config347807762659207791tmp [Pipeline] { [Pipeline] sh 16:29:24 + set +x 16:29:24 + curl -s https://codecov.io/bash 16:29:24 + bash -s -- 16:29:24 16:29:24 _____ _ 16:29:24 / ____| | | 16:29:24 | | ___ __| | ___ ___ _____ __ 16:29:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:29:24 | |___| (_) | (_| | __/ (_| (_) \ V / 16:29:24 \_____\___/ \__,_|\___|\___\___/ \_/ 16:29:24 Bash-20201116-eea08d9 16:29:24 16:29:24 16:29:24 ==> Jenkins CI detected. 16:29:24 project root: . 16:29:24 --> token set from env 16:29:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:29:24 ==> Running gcov in . (disable via -X gcov) 16:29:24 ==> Python coveragepy not found 16:29:24 ==> Searching for coverage reports in: 16:29:24 + . 16:29:24 -> Found 1 reports 16:29:24 ==> Detecting git/mercurial file structure 16:29:24 ==> Reading reports 16:29:24 + ./coverage.out bytes=9369 16:29:24 ==> Appending adjustments 16:29:24 https://docs.codecov.io/docs/fixing-reports 16:29:25 + Found adjustments 16:29:25 ==> Gzipping contents 16:29:25 ==> Uploading reports 16:29:25 url: https://codecov.io 16:29:25 query: branch=master&commit=cbc1fb126fca16d22f986b5cd5c305caa6710614&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:29:25 -> Pinging Codecov 16:29:25 https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=master&commit=cbc1fb126fca16d22f986b5cd5c305caa6710614&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:29:25 -> Uploading to 16:29:25 https://storage.googleapis.com/codecov/v4/raw/2020-11-16/4E5D53B4F1F92C436F7061BF334D961C/cbc1fb126fca16d22f986b5cd5c305caa6710614/558aaad8-499f-4433-b97f-62508983c1b7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201116T162925Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4c448af415e81f6773ca1e7f3104d502a668f350c7c929a6412b2b5d695d20b8 16:29:25 % Total % Received % Xferd Average Speed Time Time Time Current 16:29:25 Dload Upload Total Spent Left Speed 16:29:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1695 0 0 100 1695 0 4044 --:--:-- --:--:-- --:--:-- 4055 16:29:26 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] } 16:29:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:29:26 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:29:26 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:29:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:29:27 16:29:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 16:29:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:29:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:29:28 188c0c94c7c5: Pulling fs layer 16:29:28 0ef7d3d256c8: Pulling fs layer 16:29:28 de9db76c5a1d: Pulling fs layer 16:29:28 0eba1c9be4d2: Pulling fs layer 16:29:28 0d57e429df01: Pulling fs layer 16:29:28 4e4be7b47b0d: Pulling fs layer 16:29:28 e1f770b5df2f: Pulling fs layer 16:29:28 85a0685a4137: Pulling fs layer 16:29:28 0d57e429df01: Waiting 16:29:28 4e4be7b47b0d: Waiting 16:29:28 e1f770b5df2f: Waiting 16:29:28 85a0685a4137: Waiting 16:29:28 0eba1c9be4d2: Waiting 16:29:28 de9db76c5a1d: Download complete 16:29:28 0ef7d3d256c8: Download complete 16:29:28 0d57e429df01: Verifying Checksum 16:29:28 0d57e429df01: Download complete 16:29:28 4e4be7b47b0d: Verifying Checksum 16:29:28 4e4be7b47b0d: Download complete 16:29:28 188c0c94c7c5: Verifying Checksum 16:29:28 188c0c94c7c5: Download complete 16:29:28 188c0c94c7c5: Pull complete 16:29:29 0ef7d3d256c8: Pull complete 16:29:29 de9db76c5a1d: Pull complete 16:29:29 e1f770b5df2f: Verifying Checksum 16:29:29 e1f770b5df2f: Download complete 16:29:33 0eba1c9be4d2: Verifying Checksum 16:29:33 0eba1c9be4d2: Download complete 16:29:34 85a0685a4137: Verifying Checksum 16:29:34 85a0685a4137: Download complete 16:29:41 0eba1c9be4d2: Pull complete 16:29:41 0d57e429df01: Pull complete 16:29:41 4e4be7b47b0d: Pull complete 16:29:44 e1f770b5df2f: Pull complete 16:29:52 85a0685a4137: Pull complete 16:29:52 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 16:29:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:29:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 16:29:53 prd-centos7-docker-4c-2g-12260 does not seem to be running inside a container 16:29:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:29:54 $ docker top 92dd811397711c2519e21d0c4630a487668ccdc37f11757e682dfd24048cbe04 -eo pid,comm [Pipeline] { [Pipeline] echo 16:29:54 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 16:29:54 + set -o pipefail 16:29:54 + snyk monitor '--org=edgex-jenkins' 16:30:03 16:30:03 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 16:30:03 16:30:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/1d2b505c-7311-429f-aac6-5450aa9576d7 16:30:03 16:30:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:30:03 16:30:03 [Pipeline] } 16:30:03 $ docker stop --time=1 92dd811397711c2519e21d0c4630a487668ccdc37f11757e682dfd24048cbe04 16:30:05 $ docker rm -f 92dd811397711c2519e21d0c4630a487668ccdc37f11757e682dfd24048cbe04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo 16:30:06 [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614, dockerFile=Dockerfile [Pipeline] echo 16:30:06 [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh 16:30:07 + set -o pipefail 16:30:07 + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk 16:30:07 + tee .snyk 16:30:07 # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. 16:30:07 version: v1.14.1 16:30:07 # ignores vulnerabilities until expiry date; change duration by modifying expiry date 16:30:07 # ignore: 16:30:07 # SNYK-ALPINE39-ONIGURUMA-1017393: # snyk ID for the issue to ignore. Required. 16:30:07 # - '*': 16:30:07 # reason: does not apply # justification for ignoring 16:30:07 # expires: 2020-11-18T20:53:17.624Z # expiry date string, according to RFC2822 (https://tools.ietf.org/html/rfc2822#page-14) 16:30:07 # patch: {} [Pipeline] withCredentials 16:30:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:30:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:30:07 . [Pipeline] withDockerContainer 16:30:08 prd-centos7-docker-4c-2g-12260 does not seem to be running inside a container 16:30:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:30:09 $ docker top 9f6482a09e7d678aaf9bb9600b4b4f76a1c6c6634a7d79ab14866b2e54603c62 -eo pid,comm [Pipeline] { [Pipeline] sh 16:30:10 + rm -f snykReport.html [Pipeline] echo 16:30:10 [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614 --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh 16:30:10 + set -o pipefail 16:30:10 + snyk test '--org=edgex-jenkins' --docker nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614 '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json 16:30:10 + snyk-to-html -o snykReport.html 16:30:23 Vulnerability snapshot saved at snykReport.html [Pipeline] } 16:30:23 $ docker stop --time=1 9f6482a09e7d678aaf9bb9600b4b4f76a1c6c6634a7d79ab14866b2e54603c62 16:30:24 $ docker rm -f 9f6482a09e7d678aaf9bb9600b4b4f76a1c6c6634a7d79ab14866b2e54603c62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:30:26 + git log --format=format:%s -1 cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] isUnix [Pipeline] sh 16:30:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:30:26 . [Pipeline] withDockerContainer 16:30:27 prd-centos7-docker-4c-2g-12260 does not seem to be running inside a container 16:30:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:30:28 $ docker top ecc6673fedfed5bb9a2c8597dd853a6d209f6f6dfc744d79a055f5373e4d52a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:30:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:30:29 [ssh-agent] Looking for ssh-agent implementation... 16:30:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:30:29 $ docker exec ecc6673fedfed5bb9a2c8597dd853a6d209f6f6dfc744d79a055f5373e4d52a6 ssh-agent 16:30:30 SSH_AUTH_SOCK=/tmp/ssh-VS1c5VEVj92N/agent.13 16:30:30 SSH_AGENT_PID=18 16:30:30 Running ssh-add (command line suppressed) 16:30:30 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7126425175864216257.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7126425175864216257.key) 16:30:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:30:32 + git semver tag 16:30:32 # -> Open(): unable to determine branch for HEAD 16:30:32 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 16:30:32 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 16:30:32 # $SEMVER_REMOTE_NAME = origin 16:30:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:30:32 # $SEMVER_USER_NAME = edgex-jenkins 16:30:32 # $SEMVER_BRANCH = master 16:30:32 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 16:30:32 # cbc1fb126fca16d22f986b5cd5c305caa6710614 HEAD 16:30:32 # -> Force: false 16:30:32 # 6abe38e4455ea273c9607bdca4314d907a757f11 refs/tags/v1.1.3-dev.10 [Pipeline] } 16:30:32 $ docker exec --env ******** --env ******** ecc6673fedfed5bb9a2c8597dd853a6d209f6f6dfc744d79a055f5373e4d52a6 ssh-agent -k 16:30:32 unset SSH_AUTH_SOCK; 16:30:32 unset SSH_AGENT_PID; 16:30:32 echo Agent pid 18 killed; 16:30:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:30:33 + git semver [Pipeline] } 16:30:33 $ docker stop --time=1 ecc6673fedfed5bb9a2c8597dd853a6d209f6f6dfc744d79a055f5373e4d52a6 16:30:35 $ docker rm -f ecc6673fedfed5bb9a2c8597dd853a6d209f6f6dfc744d79a055f5373e4d52a6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:30:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:30:36 16:30:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:30:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:30:36 0.23.1-centos7: Pulling from edgex-lftools 16:30:36 ab5ef0e58194: Pulling fs layer 16:30:36 9712f1f96733: Pulling fs layer 16:30:36 63f879dbbcfc: Pulling fs layer 16:30:36 0d9ebad4ef96: Pulling fs layer 16:30:36 e9a5061849ea: Pulling fs layer 16:30:36 d747dcd14b5f: Pulling fs layer 16:30:36 2de7ff778b66: Pulling fs layer 16:30:36 e9a5061849ea: Waiting 16:30:36 d747dcd14b5f: Waiting 16:30:36 0d9ebad4ef96: Waiting 16:30:36 2de7ff778b66: Waiting 16:30:36 9712f1f96733: Verifying Checksum 16:30:36 9712f1f96733: Download complete 16:30:39 63f879dbbcfc: Verifying Checksum 16:30:39 63f879dbbcfc: Download complete 16:30:40 e9a5061849ea: Verifying Checksum 16:30:40 e9a5061849ea: Download complete 16:30:40 d747dcd14b5f: Verifying Checksum 16:30:40 d747dcd14b5f: Download complete 16:30:41 2de7ff778b66: Verifying Checksum 16:30:41 2de7ff778b66: Download complete 16:30:41 0d9ebad4ef96: Verifying Checksum 16:30:41 0d9ebad4ef96: Download complete 16:30:42 ab5ef0e58194: Verifying Checksum 16:30:42 ab5ef0e58194: Download complete 16:30:48 ab5ef0e58194: Pull complete 16:30:48 9712f1f96733: Pull complete 16:30:52 63f879dbbcfc: Pull complete 16:31:00 0d9ebad4ef96: Pull complete 16:31:01 e9a5061849ea: Pull complete 16:31:01 d747dcd14b5f: Pull complete 16:31:06 2de7ff778b66: Pull complete 16:31:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:31:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:31:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:31:06 prd-centos7-docker-4c-2g-12260 does not seem to be running inside a container 16:31:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:31:09 $ docker top 15b9bf7a98af1d9d4098c5b8e9a57dc4f83783b078ab7ac4670a537888addd35 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:31:10 provisioning config files... 16:31:10 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2015437702236430718tmp 16:31:10 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config513161217228958477tmp 16:31:10 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2871334143440201158tmp [Pipeline] { [Pipeline] echo 16:31:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:31:11 ---> sigul-configuration.sh 16:31:11 gpg: directory `/root/.gnupg' created 16:31:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:31:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:31:11 gpg: keyring `/root/.gnupg/secring.gpg' created 16:31:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:31:11 gpg: CAST5 encrypted data 16:31:11 gpg: encrypted with 1 passphrase 16:31:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:31:11 + mkdir /home/jenkins 16:31:11 + mkdir /home/jenkins/sigul [Pipeline] sh 16:31:11 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 16:31:11 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:31:12 ---> sigul-install.sh 16:31:17 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 16:31:18 + git tag --list 16:31:18 v1.0.0 16:31:18 v1.1.0 16:31:18 v1.1.1 16:31:18 v1.1.2 16:31:18 v1.1.2-dev.1 16:31:18 v1.1.2-dev.2 16:31:18 v1.1.3-dev.1 16:31:18 v1.1.3-dev.10 16:31:18 v1.1.3-dev.2 16:31:18 v1.1.3-dev.3 16:31:18 v1.1.3-dev.4 16:31:18 v1.1.3-dev.5 16:31:18 v1.1.3-dev.6 16:31:18 v1.1.3-dev.7 16:31:18 v1.1.3-dev.8 16:31:18 v1.1.3-dev.9 [Pipeline] sh 16:31:18 + lftools sign git-tag v1.1.3-dev.10 16:31:20 Signing Git tag with Sigul... 16:31:20 Signing v1.1.3-dev.10 [Pipeline] echo 16:31:21 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:31:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:31:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:31:22 $ docker stop --time=1 15b9bf7a98af1d9d4098c5b8e9a57dc4f83783b078ab7ac4670a537888addd35 16:31:23 $ docker rm -f 15b9bf7a98af1d9d4098c5b8e9a57dc4f83783b078ab7ac4670a537888addd35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 16:31:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:31:25 . [Pipeline] withDockerContainer 16:31:25 prd-centos7-docker-4c-2g-12260 does not seem to be running inside a container 16:31:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:31:26 $ docker top 9590aa17bd01fc2db7ba8138fb42d4e85ecffd006bec16377ac245dc78835cab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:31:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:31:26 [ssh-agent] Looking for ssh-agent implementation... 16:31:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:31:26 $ docker exec 9590aa17bd01fc2db7ba8138fb42d4e85ecffd006bec16377ac245dc78835cab ssh-agent 16:31:26 SSH_AUTH_SOCK=/tmp/ssh-NBxzPMKQoY0h/agent.11 16:31:26 SSH_AGENT_PID=16 16:31:26 Running ssh-add (command line suppressed) 16:31:27 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5800680508926688090.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5800680508926688090.key) 16:31:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:31:27 + git semver bump pre 16:31:27 # -> Open(): unable to determine branch for HEAD 16:31:27 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 16:31:27 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 16:31:27 # $SEMVER_REMOTE_NAME = origin 16:31:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:31:27 # $SEMVER_USER_NAME = edgex-jenkins 16:31:27 # $SEMVER_BRANCH = master 16:31:27 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 16:31:27 1.1.3-dev.11 [Pipeline] } 16:31:27 $ docker exec --env ******** --env ******** 9590aa17bd01fc2db7ba8138fb42d4e85ecffd006bec16377ac245dc78835cab ssh-agent -k 16:31:28 unset SSH_AUTH_SOCK; 16:31:28 unset SSH_AGENT_PID; 16:31:28 echo Agent pid 16 killed; 16:31:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:31:28 + git semver [Pipeline] } 16:31:29 $ docker stop --time=1 9590aa17bd01fc2db7ba8138fb42d4e85ecffd006bec16377ac245dc78835cab 16:31:30 $ docker rm -f 9590aa17bd01fc2db7ba8138fb42d4e85ecffd006bec16377ac245dc78835cab [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 16:31:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:31:31 . [Pipeline] withDockerContainer 16:31:31 prd-centos7-docker-4c-2g-12260 does not seem to be running inside a container 16:31:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:31:33 $ docker top 057d048bd51870c3275764b10335eb8a77bbdf3a45d201ef828004152d8f8e7b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:31:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:31:33 [ssh-agent] Looking for ssh-agent implementation... 16:31:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:31:33 $ docker exec 057d048bd51870c3275764b10335eb8a77bbdf3a45d201ef828004152d8f8e7b ssh-agent 16:31:34 SSH_AUTH_SOCK=/tmp/ssh-iVpeCDKaucag/agent.12 16:31:34 SSH_AGENT_PID=17 16:31:34 Running ssh-add (command line suppressed) 16:31:34 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5393799220373399605.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5393799220373399605.key) 16:31:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:31:35 + git semver push 16:31:35 # -> Open(): unable to determine branch for HEAD 16:31:35 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 16:31:35 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 16:31:35 # $SEMVER_REMOTE_NAME = origin 16:31:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:31:35 # $SEMVER_USER_NAME = edgex-jenkins 16:31:35 # $SEMVER_BRANCH = master 16:31:35 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 16:31:41 $ docker exec --env ******** --env ******** 057d048bd51870c3275764b10335eb8a77bbdf3a45d201ef828004152d8f8e7b ssh-agent -k 16:31:42 unset SSH_AUTH_SOCK; 16:31:42 unset SSH_AGENT_PID; 16:31:42 echo Agent pid 17 killed; 16:31:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:31:42 + git semver [Pipeline] } 16:31:42 $ docker stop --time=1 057d048bd51870c3275764b10335eb8a77bbdf3a45d201ef828004152d8f8e7b 16:31:44 $ docker rm -f 057d048bd51870c3275764b10335eb8a77bbdf3a45d201ef828004152d8f8e7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 16:31:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:31:46 ---> package-listing.sh 16:31:46 ++ tr '[:upper:]' '[:lower:]' 16:31:46 ++ facter osfamily 16:31:46 + OS_FAMILY=redhat 16:31:46 + workspace=/w/workspace/gexfoundry_device-rest-go_master 16:31:46 + START_PACKAGES=/tmp/packages_start.txt 16:31:46 + END_PACKAGES=/tmp/packages_end.txt 16:31:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:31:46 + PACKAGES=/tmp/packages_start.txt 16:31:46 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 16:31:46 + PACKAGES=/tmp/packages_end.txt 16:31:46 + case "${OS_FAMILY}" in 16:31:46 + rpm -qa 16:31:46 + sort 16:31:53 + '[' -f /tmp/packages_start.txt ']' 16:31:53 + '[' -f /tmp/packages_end.txt ']' 16:31:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:31:53 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 16:31:53 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 16:31:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo 16:31:53 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/gexfoundry_device-rest-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:31:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:31:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:31:54 16:31:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:31:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:31:54 alpine: Pulling from edgex-lftools-log-publisher 16:31:54 df20fa9351a1: Pulling fs layer 16:31:54 36b3adc4ff6f: Pulling fs layer 16:31:54 8ad3a11d3b57: Pulling fs layer 16:31:54 46f8f816bc3b: Pulling fs layer 16:31:54 93b61091891f: Pulling fs layer 16:31:54 93b9cdb0e59b: Pulling fs layer 16:31:54 5e14af77c1be: Pulling fs layer 16:31:54 01666e4c0597: Pulling fs layer 16:31:54 aa168da1d23b: Pulling fs layer 16:31:54 93b61091891f: Waiting 16:31:54 93b9cdb0e59b: Waiting 16:31:54 01666e4c0597: Waiting 16:31:54 5e14af77c1be: Waiting 16:31:54 aa168da1d23b: Waiting 16:31:54 46f8f816bc3b: Waiting 16:31:54 36b3adc4ff6f: Verifying Checksum 16:31:54 36b3adc4ff6f: Download complete 16:31:54 46f8f816bc3b: Verifying Checksum 16:31:54 46f8f816bc3b: Download complete 16:31:54 df20fa9351a1: Verifying Checksum 16:31:54 df20fa9351a1: Download complete 16:31:54 93b9cdb0e59b: Verifying Checksum 16:31:54 93b9cdb0e59b: Download complete 16:31:54 5e14af77c1be: Verifying Checksum 16:31:54 5e14af77c1be: Download complete 16:31:54 93b61091891f: Download complete 16:31:54 01666e4c0597: Verifying Checksum 16:31:54 01666e4c0597: Download complete 16:31:55 df20fa9351a1: Pull complete 16:31:55 8ad3a11d3b57: Verifying Checksum 16:31:55 8ad3a11d3b57: Download complete 16:31:55 36b3adc4ff6f: Pull complete 16:31:57 8ad3a11d3b57: Pull complete 16:31:57 46f8f816bc3b: Pull complete 16:31:58 93b61091891f: Pull complete 16:31:58 93b9cdb0e59b: Pull complete 16:31:59 5e14af77c1be: Pull complete 16:31:59 01666e4c0597: Pull complete 16:32:00 aa168da1d23b: Verifying Checksum 16:32:00 aa168da1d23b: Download complete 16:32:08 aa168da1d23b: Pull complete 16:32:08 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:32:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:32:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:32:08 prd-centos7-docker-4c-2g-12260 does not seem to be running inside a container 16:32:08 $ 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/gexfoundry_device-rest-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:32:11 $ docker top de330b3d8bf0363ec8f21c3e584a032f84404505df63cc0597e9294b9657b565 -eo pid,comm [Pipeline] { [Pipeline] sh 16:32:12 + touch /tmp/pre-build-complete [Pipeline] sh 16:32:12 + mkdir -p /var/log/sa [Pipeline] sh 16:32:12 + ls /var/log/sa-host 16:32:12 + sadf -c /var/log/sa-host/sa05 16:32:12 file_magic: OK 16:32:12 HZ: Using current value: 100 16:32:12 file_header: OK 16:32:12 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:32:12 Statistics: 16:32:12 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:32:12 File successfully converted to sysstat format version 12.2.1 16:32:12 + sadf -c /var/log/sa-host/sa16 16:32:12 file_magic: OK 16:32:12 HZ: Using current value: 100 16:32:12 file_header: OK 16:32:12 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:32:12 Statistics: 16:32:12 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:32:12 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:32:13 provisioning config files... 16:32:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config793030783392865189tmp [Pipeline] { [Pipeline] echo 16:32:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:32:13 ---> create-netrc.sh [Pipeline] } 16:32:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:32:13 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:32:14 ---> python-tools-install.sh [Pipeline] echo 16:32:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:32:14 ---> sudo-logs.sh 16:32:14 Archiving 'sudo' log.. [Pipeline] echo 16:32:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:32:14 ---> job-cost.sh 16:32:15 lf-activate-venv: SKIPPING 16:32:15 INFO: No Stack... 16:32:16 INFO: Retrieving Pricing Info for: v1-standard-2 16:32:16 INFO: Archiving Costs [Pipeline] echo 16:32:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:32:16 ---> logs-deploy.sh 16:32:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/26 16:32:16 INFO: archiving workspace using pattern(s): 16:32:18 Archives upload complete. 16:32:19 INFO: archiving logs to Nexus 16:32:20 ---> uname -a: 16:32:20 Linux prd-centos7-docker-4c-2g-12260.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 16:32:20 16:32:20 16:32:20 ---> lscpu: 16:32:20 Architecture: x86_64 16:32:20 CPU op-mode(s): 32-bit, 64-bit 16:32:20 Byte Order: Little Endian 16:32:20 Address sizes: 40 bits physical, 48 bits virtual 16:32:20 CPU(s): 4 16:32:20 On-line CPU(s) list: 0-3 16:32:20 Thread(s) per core: 1 16:32:20 Core(s) per socket: 1 16:32:20 Socket(s): 4 16:32:20 NUMA node(s): 1 16:32:20 Vendor ID: GenuineIntel 16:32:20 CPU family: 6 16:32:20 Model: 44 16:32:20 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 16:32:20 Stepping: 1 16:32:20 CPU MHz: 2933.438 16:32:20 BogoMIPS: 5866.87 16:32:20 Virtualization: VT-x 16:32:20 Hypervisor vendor: KVM 16:32:20 Virtualization type: full 16:32:20 L1d cache: 128 KiB 16:32:20 L1i cache: 128 KiB 16:32:20 L2 cache: 16 MiB 16:32:20 L3 cache: 64 MiB 16:32:20 NUMA node0 CPU(s): 0-3 16:32:20 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 16:32:20 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 16:32:20 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 16:32:20 Vulnerability Meltdown: Mitigation; PTI 16:32:20 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:32:20 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:32:20 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:32:20 Vulnerability Tsx async abort: Not affected 16:32:20 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 16:32:20 16:32:20 16:32:20 ---> nproc: 16:32:20 4 16:32:20 16:32:20 16:32:20 ---> df -h: 16:32:20 Filesystem Size Used Available Use% Mounted on 16:32:20 overlay 50.0G 8.5G 41.5G 17% / 16:32:20 tmpfs 64.0M 0 64.0M 0% /dev 16:32:20 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 16:32:20 shm 64.0M 0 64.0M 0% /dev/shm 16:32:20 /dev/vda1 50.0G 8.5G 41.5G 17% /facter-os 16:32:20 /dev/vda1 50.0G 8.5G 41.5G 17% /etc/resolv.conf 16:32:20 /dev/vda1 50.0G 8.5G 41.5G 17% /etc/hostname 16:32:20 /dev/vda1 50.0G 8.5G 41.5G 17% /etc/hosts 16:32:20 /dev/vda1 50.0G 8.5G 41.5G 17% /var/log/auth.log 16:32:20 /dev/vda1 50.0G 8.5G 41.5G 17% /w/workspace/gexfoundry_device-rest-go_master 16:32:20 /dev/vda1 50.0G 8.5G 41.5G 17% /run/cloud-init/result.json 16:32:20 /dev/vda1 50.0G 8.5G 41.5G 17% /w/workspace/gexfoundry_device-rest-go_master@tmp 16:32:20 /dev/vda1 50.0G 8.5G 41.5G 17% /var/log/sa-host 16:32:20 /dev/vda1 50.0G 8.5G 41.5G 17% /var/log/secure 16:32:20 16:32:20 16:32:20 ---> free -m: 16:32:20 total used free shared buff/cache available 16:32:20 Mem: 1837 806 131 0 899 974 16:32:20 Swap: 1023 2 1021 16:32:20 16:32:20 16:32:20 ---> ip addr: 16:32:20 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 16:32:20 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:32:20 inet 127.0.0.1/8 scope host lo 16:32:20 valid_lft forever preferred_lft forever 16:32:20 inet6 ::1/128 scope host 16:32:20 valid_lft forever preferred_lft forever 16:32:20 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 16:32:20 link/ether fa:16:3e:8e:36:be brd ff:ff:ff:ff:ff:ff 16:32:20 inet 10.30.122.13/23 brd 10.30.123.255 scope global dynamic eth0 16:32:20 valid_lft 85742sec preferred_lft 85742sec 16:32:20 inet6 fe80::f816:3eff:fe8e:36be/64 scope link 16:32:20 valid_lft forever preferred_lft forever 16:32:20 3: docker0: mtu 1500 qdisc noqueue state DOWN 16:32:20 link/ether 02:42:a3:3b:ed:9d brd ff:ff:ff:ff:ff:ff 16:32:20 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 16:32:20 valid_lft forever preferred_lft forever 16:32:20 inet6 fe80::42:a3ff:fe3b:ed9d/64 scope link 16:32:20 valid_lft forever preferred_lft forever 16:32:20 16:32:20 16:32:20 ---> sar -b -r -n DEV: 16:32:20 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/16/20 _x86_64_ (4 CPU) 16:32:20 16:32:20 16:21:04 LINUX RESTART (4 CPU) 16:32:20 16:32:20 16:22:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:32:20 16:23:01 35.91 11.45 24.46 0.00 4492.59 2581.23 0.00 16:32:20 16:24:01 1.73 0.00 1.73 0.00 0.00 28.65 0.00 16:32:20 16:25:01 0.23 0.00 0.23 0.00 0.00 4.66 0.00 16:32:20 16:26:01 0.40 0.00 0.40 0.00 0.00 6.87 0.00 16:32:20 16:27:01 0.28 0.00 0.28 0.00 0.00 5.51 0.00 16:32:20 16:28:01 0.50 0.00 0.50 0.00 0.00 6.19 0.00 16:32:20 16:29:02 0.55 0.02 0.53 0.00 0.13 6.69 0.00 16:32:20 16:30:01 279.66 175.61 104.04 0.00 8073.11 34387.65 0.00 16:32:20 16:31:02 192.35 68.36 123.99 0.00 2999.05 25587.96 0.00 16:32:20 16:32:01 161.02 89.44 71.58 0.00 7479.04 14377.22 0.00 16:32:20 Average: 67.01 34.24 32.77 0.00 2289.08 7677.92 0.00 16:32:20 16:32:20 16:22:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:32:20 16:23:01 158856 0 553720 29.43 2620 1166360 1124264 38.37 405220 1158124 16 16:32:20 16:24:01 164628 0 547940 29.12 2620 1166368 1096900 37.44 402320 1155776 20 16:32:20 16:25:01 164716 0 547844 29.12 2620 1166376 1096964 37.44 402540 1155776 8 16:32:20 16:26:01 163740 0 548820 29.17 2620 1166376 1095980 37.40 410860 1148836 16 16:32:20 16:27:01 164128 0 548424 29.15 2620 1166384 1082412 36.94 411192 1148188 8 16:32:20 16:28:01 164144 0 548404 29.15 2620 1166388 1082424 36.94 411272 1148188 8 16:32:20 16:29:02 163424 0 549116 29.18 2620 1166396 1082508 36.94 409676 1150236 16 16:32:20 16:30:01 98428 0 692536 36.81 2620 1087972 1276960 43.58 542840 1007600 45500 16:32:20 16:31:02 85340 0 802848 42.67 1492 991876 1650856 56.34 637088 866148 85044 16:32:20 16:32:01 70800 0 816484 43.39 1492 992780 1678332 57.28 709820 793956 67828 16:32:20 Average: 139820 0 615614 32.72 2394 1123728 1226760 41.87 474283 1073283 19846 16:32:20 16:32:20 16:22:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:32:20 16:23:01 eth0 138.46 119.80 582.88 42.46 0.00 0.00 0.00 0.00 16:32:20 16:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:32:20 16:23:01 docker0 44.02 33.97 3.64 132.26 0.00 0.00 0.00 0.00 16:32:20 16:24:01 eth0 3.40 0.53 0.75 0.39 0.00 0.00 0.00 0.00 16:32:20 16:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:32:20 16:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:32:20 16:25:01 eth0 4.41 1.06 1.33 0.82 0.00 0.00 0.00 0.00 16:32:20 16:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:32:20 16:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:32:20 16:26:01 eth0 4.34 1.31 1.54 0.98 0.00 0.00 0.00 0.00 16:32:20 16:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:32:20 16:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:32:20 16:27:01 eth0 2.60 0.65 0.78 0.47 0.00 0.00 0.00 0.00 16:32:20 16:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:32:20 16:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:32:20 16:28:01 eth0 1.25 0.27 0.35 0.20 0.00 0.00 0.00 0.00 16:32:20 16:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:32:20 16:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:32:20 16:29:02 eth0 3.53 1.20 1.48 0.95 0.00 0.00 0.00 0.00 16:32:20 16:29:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:32:20 16:29:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:32:20 16:30:01 vetha45a405 31.27 30.46 3.31 159.95 0.00 0.00 0.00 0.00 16:32:20 16:30:01 eth0 443.75 351.40 4313.69 34.74 0.00 0.00 0.00 0.00 16:32:20 16:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:32:20 16:30:01 docker0 31.27 30.34 2.88 159.94 0.00 0.00 0.00 0.00 16:32:20 16:31:02 eth0 395.50 333.43 3266.36 91.75 0.00 0.00 0.00 0.00 16:32:20 16:31:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:32:20 16:31:02 docker0 0.74 0.74 0.12 0.23 0.00 0.00 0.00 0.00 16:32:20 16:32:01 eth0 302.82 231.76 2425.79 84.36 0.00 0.00 0.00 0.00 16:32:20 16:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:32:20 16:32:01 docker0 28.45 33.92 1.78 168.31 0.00 0.00 0.00 0.00 16:32:20 Average: eth0 129.72 103.97 1056.19 25.73 0.00 0.00 0.00 0.00 16:32:20 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:32:20 Average: docker0 10.37 9.81 0.84 45.64 0.00 0.00 0.00 0.00 16:32:20 16:32:20 16:32:20 ---> sar -P ALL: 16:32:20 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/16/20 _x86_64_ (4 CPU) 16:32:20 16:32:20 16:21:04 LINUX RESTART (4 CPU) 16:32:20 16:32:20 16:22:01 CPU %user %nice %system %iowait %steal %idle 16:32:20 16:23:01 all 3.43 0.00 2.28 0.95 1.96 91.38 16:32:20 16:23:01 0 2.86 0.00 2.27 0.57 2.22 92.09 16:32:20 16:23:01 1 3.30 0.00 2.41 0.42 2.00 91.87 16:32:20 16:23:01 2 4.01 0.00 2.48 0.97 1.73 90.81 16:32:20 16:23:01 3 3.55 0.00 1.95 1.85 1.90 90.74 16:32:20 16:24:01 all 0.11 0.00 0.04 0.00 0.21 99.65 16:32:20 16:24:01 0 0.03 0.00 0.05 0.00 0.15 99.77 16:32:20 16:24:01 1 0.32 0.00 0.03 0.00 0.18 99.47 16:32:20 16:24:01 2 0.03 0.00 0.05 0.00 0.32 99.60 16:32:20 16:24:01 3 0.05 0.00 0.02 0.00 0.18 99.75 16:32:20 16:25:01 all 0.10 0.00 0.04 0.00 0.16 99.71 16:32:20 16:25:01 0 0.05 0.00 0.03 0.00 0.13 99.78 16:32:20 16:25:01 1 0.25 0.00 0.05 0.00 0.22 99.48 16:32:20 16:25:01 2 0.05 0.00 0.03 0.00 0.20 99.72 16:32:20 16:25:01 3 0.03 0.00 0.03 0.00 0.08 99.85 16:32:20 16:26:01 all 0.12 0.00 0.04 0.00 0.09 99.75 16:32:20 16:26:01 0 0.05 0.00 0.03 0.00 0.10 99.82 16:32:20 16:26:01 1 0.37 0.00 0.07 0.00 0.10 99.47 16:32:20 16:26:01 2 0.05 0.00 0.03 0.00 0.13 99.78 16:32:20 16:26:01 3 0.03 0.00 0.02 0.00 0.03 99.92 16:32:20 16:27:01 all 0.12 0.00 0.09 0.00 0.21 99.58 16:32:20 16:27:01 0 0.03 0.00 0.03 0.00 0.22 99.72 16:32:20 16:27:01 1 0.38 0.00 0.20 0.00 0.22 99.20 16:32:20 16:27:01 2 0.05 0.00 0.07 0.00 0.18 99.70 16:32:20 16:27:01 3 0.03 0.00 0.05 0.00 0.22 99.70 16:32:20 16:28:01 all 0.13 0.00 0.03 0.00 0.09 99.74 16:32:20 16:28:01 0 0.03 0.00 0.02 0.00 0.08 99.87 16:32:20 16:28:01 1 0.40 0.00 0.02 0.00 0.08 99.50 16:32:20 16:28:01 2 0.03 0.00 0.02 0.02 0.10 99.83 16:32:20 16:28:01 3 0.05 0.00 0.08 0.00 0.10 99.77 16:32:20 16:29:02 all 0.17 0.00 0.04 0.00 0.28 99.51 16:32:20 16:29:02 0 0.08 0.00 0.05 0.02 0.43 99.42 16:32:20 16:29:02 1 0.32 0.00 0.03 0.00 0.23 99.42 16:32:20 16:29:02 2 0.08 0.00 0.03 0.00 0.30 99.58 16:32:20 16:29:02 3 0.22 0.00 0.03 0.00 0.15 99.60 16:32:20 16:30:01 all 7.48 0.00 5.20 1.92 7.93 77.46 16:32:20 16:30:01 0 7.44 0.00 4.92 2.38 8.20 77.07 16:32:20 16:30:01 1 6.47 0.00 5.34 2.14 7.88 78.17 16:32:20 16:30:01 2 7.18 0.00 5.57 1.79 7.93 77.53 16:32:20 16:30:01 3 8.87 0.00 4.97 1.36 7.72 77.08 16:32:20 16:31:02 all 7.54 0.00 7.27 2.04 14.87 68.28 16:32:20 16:31:02 0 7.62 0.00 7.23 1.77 15.34 68.04 16:32:20 16:31:02 1 7.05 0.00 7.16 2.69 14.85 68.25 16:32:20 16:31:02 2 8.07 0.00 7.83 1.47 14.81 67.82 16:32:20 16:31:02 3 7.40 0.00 6.87 2.22 14.49 69.02 16:32:20 16:32:01 all 6.14 0.00 5.12 3.41 7.63 77.70 16:32:20 16:32:01 0 4.50 0.00 4.96 1.72 7.56 81.25 16:32:20 16:32:01 1 7.25 0.00 5.14 4.21 7.69 75.71 16:32:20 16:32:01 2 6.18 0.00 4.92 3.45 7.55 77.90 16:32:20 16:32:01 3 6.64 0.00 5.44 4.29 7.72 75.91 16:32:20 Average: all 2.51 0.00 2.00 0.82 3.33 91.35 16:32:20 Average: 0 2.24 0.00 1.94 0.63 3.43 91.75 16:32:20 Average: 1 2.59 0.00 2.03 0.94 3.34 91.09 16:32:20 Average: 2 2.55 0.00 2.08 0.76 3.31 91.31 16:32:20 Average: 3 2.64 0.00 1.92 0.96 3.23 91.24 16:32:20 16:32:20 16:32:20