Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9e4888f50a2a312870744f4f89808877d999d7c6 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21453 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.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Checking out Revision 9e4888f50a2a312870744f4f89808877d999d7c6 (master) > 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 --force --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 9e4888f50a2a312870744f4f89808877d999d7c6 # timeout=10 Commit message: "Merge pull request #76 from iain-anderson/commit-lint" > git rev-list --no-walk abd24f16bfefa7889687f83d2fc8de1c385cee13 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:04:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:04:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:04:47 ========================================================= 01:04:47 EdgeX Global Pipelines Version Info 01:04:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:04:48 ------------------- 01:04:48 stable info: 01:04:48 ------------------- 01:04:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:04:48 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 01:04:48 Message: update stable to v1.0.179 01:04:49 ------------------- 01:04:49 experimental info: 01:04:49 ------------------- 01:04:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:04:49 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 01:04:49 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:04:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:04:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:04:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:04:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:04:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:04:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 01:04:50 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:04:50 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 01:04:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:04:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:04:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:04:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 01:04:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:04:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:04:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:04:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:04:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:04:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:04:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:04:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:04:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:04:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e4888f50a2a312870744f4f89808877d999d7c6 [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e4888f [Pipeline] echo 01:04:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:04:53 provisioning config files... 01:04:53 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7609787251294199838tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:53 ---> docker-login.sh 01:04:53 nexus3.edgexfoundry.org:10001 01:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:53 Configure a credential helper to remove this warning. See 01:04:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:53 01:04:53 Login Succeeded 01:04:53 nexus3.edgexfoundry.org:10002 01:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:54 Configure a credential helper to remove this warning. See 01:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:54 01:04:54 Login Succeeded 01:04:54 nexus3.edgexfoundry.org:10003 01:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:54 Configure a credential helper to remove this warning. See 01:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:54 01:04:54 Login Succeeded 01:04:54 nexus3.edgexfoundry.org:10004 01:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:54 Configure a credential helper to remove this warning. See 01:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:54 01:04:54 Login Succeeded 01:04:54 docker.io 01:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:55 Configure a credential helper to remove this warning. See 01:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:55 01:04:55 Login Succeeded 01:04:55 ---> docker-login.sh ends [Pipeline] } 01:04:55 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:04:56 + git log --format=format:%s -1 9e4888f50a2a312870744f4f89808877d999d7c6 [Pipeline] echo 01:04:56 GIT_COMMIT: 9e4888f50a2a312870744f4f89808877d999d7c6, Commit Message: Merge pull request #76 from iain-anderson/commit-lint [Pipeline] echo 01:04:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:04:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:04:56 01:04:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:04:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:04:57 latest: Pulling from edgex-devops/git-semver 01:04:57 31603596830f: Pulling fs layer 01:04:57 2a8b12db71e7: Pulling fs layer 01:04:57 6ca5941a6612: Pulling fs layer 01:04:57 ecc8261a40a4: Pulling fs layer 01:04:57 ecc8261a40a4: Waiting 01:04:57 2a8b12db71e7: Verifying Checksum 01:04:57 2a8b12db71e7: Download complete 01:04:57 31603596830f: Verifying Checksum 01:04:57 31603596830f: Download complete 01:04:57 ecc8261a40a4: Verifying Checksum 01:04:57 ecc8261a40a4: Download complete 01:04:57 6ca5941a6612: Verifying Checksum 01:04:57 6ca5941a6612: Download complete 01:04:57 31603596830f: Pull complete 01:04:57 2a8b12db71e7: Pull complete 01:04:58 6ca5941a6612: Pull complete 01:04:59 ecc8261a40a4: Pull complete 01:04:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 01:04:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:04:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:04:59 prd-centos7-docker-4c-2g-21453 does not seem to be running inside a container 01:04:59 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:05:01 $ docker top 350a863f18b0913174b9cdead11056619680738cfa9c3d6db3603ca3245aa977 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:05:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:05:01 [ssh-agent] Looking for ssh-agent implementation... 01:05:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:05:01 $ docker exec 350a863f18b0913174b9cdead11056619680738cfa9c3d6db3603ca3245aa977 ssh-agent 01:05:01 SSH_AUTH_SOCK=/tmp/ssh-mTj6RgmQdzXQ/agent.12 01:05:01 SSH_AGENT_PID=17 01:05:01 Running ssh-add (command line suppressed) 01:05:02 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7005641499284659724.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7005641499284659724.key) 01:05:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:05:02 + git tag --points-at HEAD [Pipeline] } 01:05:02 $ docker exec --env ******** --env ******** 350a863f18b0913174b9cdead11056619680738cfa9c3d6db3603ca3245aa977 ssh-agent -k 01:05:02 unset SSH_AUTH_SOCK; 01:05:02 unset SSH_AGENT_PID; 01:05:02 echo Agent pid 17 killed; 01:05:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:05:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:05:02 [ssh-agent] Looking for ssh-agent implementation... 01:05:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:05:03 $ docker exec 350a863f18b0913174b9cdead11056619680738cfa9c3d6db3603ca3245aa977 ssh-agent 01:05:03 SSH_AUTH_SOCK=/tmp/ssh-co9oD38k4WOu/agent.45 01:05:03 SSH_AGENT_PID=50 01:05:03 Running ssh-add (command line suppressed) 01:05:03 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4550273264191281550.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4550273264191281550.key) 01:05:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:05:03 + git semver init 01:05:03 # -> Open(): unable to determine branch for HEAD 01:05:03 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 01:05:03 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 01:05:03 # $SEMVER_REMOTE_NAME = origin 01:05:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:05:03 # $SEMVER_USER_NAME = edgex-jenkins 01:05:03 # $SEMVER_BRANCH = master 01:05:03 # $SEMVER_TEMP = /tmp/semver-228338990 01:05:03 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 01:05:06 # '/tmp/semver-228338990' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 01:05:06 # -> Force: false 01:05:06 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 01:05:06 $ docker exec --env ******** --env ******** 350a863f18b0913174b9cdead11056619680738cfa9c3d6db3603ca3245aa977 ssh-agent -k 01:05:06 unset SSH_AUTH_SOCK; 01:05:06 unset SSH_AGENT_PID; 01:05:06 echo Agent pid 50 killed; 01:05:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:05:06 + git semver [Pipeline] } 01:05:07 $ docker stop --time=1 350a863f18b0913174b9cdead11056619680738cfa9c3d6db3603ca3245aa977 01:05:08 $ docker rm -f 350a863f18b0913174b9cdead11056619680738cfa9c3d6db3603ca3245aa977 [Pipeline] // withDockerContainer [Pipeline] sh 01:05:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:05:09 Stashed 1 file(s) [Pipeline] echo 01:05:09 [edgeXSemver]: initialized semver on version 1.2.1-dev.4 [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 01:05:24 Still waiting to schedule task 01:05:24 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-21455’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 01:05:24 Still waiting to schedule task 01:05:24 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 01:06:03 Running on prd-centos7-docker-4c-2g-21456 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 01:06:03 Running in /w/workspace/device-rest-go/31 [Pipeline] { [Pipeline] checkout 01:06:06 using credential edgex-jenkins-ssh 01:06:06 Cloning the remote Git repository 01:06:06 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:06:06 > git init /w/workspace/device-rest-go/31 # timeout=10 01:06:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:06:06 > git --version # timeout=10 01:06:06 > git --version # 'git version 2.24.3' 01:06:06 using GIT_SSH to set credentials SSH Credentials for GitHub 01:06:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:06:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:06:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:06:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:06:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:06:07 using GIT_SSH to set credentials SSH Credentials for GitHub 01:06:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 01:06:08 Checking out Revision 9e4888f50a2a312870744f4f89808877d999d7c6 (master) 01:06:08 > git config core.sparsecheckout # timeout=10 01:06:08 > git checkout -f 9e4888f50a2a312870744f4f89808877d999d7c6 # timeout=10 01:06:12 Commit message: "Merge pull request #76 from iain-anderson/commit-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:06:13 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 01:06:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 01:06:13 + sudo service docker restart 01:06:13 + true 01:06:13 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:06:15 provisioning config files... 01:06:15 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/31@tmp/config4771840310753185441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:15 ---> docker-login.sh 01:06:15 nexus3.edgexfoundry.org:10001 01:06:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:16 Configure a credential helper to remove this warning. See 01:06:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:16 01:06:16 Login Succeeded 01:06:16 nexus3.edgexfoundry.org:10002 01:06:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:16 Configure a credential helper to remove this warning. See 01:06:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:16 01:06:16 Login Succeeded 01:06:16 nexus3.edgexfoundry.org:10003 01:06:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:16 Configure a credential helper to remove this warning. See 01:06:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:16 01:06:16 Login Succeeded 01:06:16 nexus3.edgexfoundry.org:10004 01:06:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:16 Configure a credential helper to remove this warning. See 01:06:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:16 01:06:16 Login Succeeded 01:06:16 docker.io 01:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:17 Configure a credential helper to remove this warning. See 01:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:17 01:06:17 Login Succeeded 01:06:17 ---> docker-login.sh ends [Pipeline] } 01:06:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:06:17 ========================================================= 01:06:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 01:06:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:06:18 + 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 . 01:06:18 Sending build context to Docker daemon 89.6kB 01:06:18 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 01:06:18 Step 2/10 : FROM ${BASE} 01:06:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 01:06:18 188c0c94c7c5: Pulling fs layer 01:06:18 0ef7d3d256c8: Pulling fs layer 01:06:18 de9db76c5a1d: Pulling fs layer 01:06:18 bca2f99d35d6: Pulling fs layer 01:06:18 93359f2a8cfa: Pulling fs layer 01:06:18 7c6f9722023f: Pulling fs layer 01:06:18 a35cf1a2eb13: Pulling fs layer 01:06:18 bca2f99d35d6: Waiting 01:06:18 93359f2a8cfa: Waiting 01:06:18 7c6f9722023f: Waiting 01:06:18 a35cf1a2eb13: Waiting 01:06:18 de9db76c5a1d: Verifying Checksum 01:06:18 de9db76c5a1d: Download complete 01:06:18 0ef7d3d256c8: Verifying Checksum 01:06:18 0ef7d3d256c8: Download complete 01:06:18 93359f2a8cfa: Verifying Checksum 01:06:18 93359f2a8cfa: Download complete 01:06:18 7c6f9722023f: Verifying Checksum 01:06:18 7c6f9722023f: Download complete 01:06:18 188c0c94c7c5: Verifying Checksum 01:06:18 188c0c94c7c5: Download complete 01:06:18 188c0c94c7c5: Pull complete 01:06:18 0ef7d3d256c8: Pull complete 01:06:19 de9db76c5a1d: Pull complete 01:06:21 a35cf1a2eb13: Verifying Checksum 01:06:21 a35cf1a2eb13: Download complete 01:06:21 bca2f99d35d6: Verifying Checksum 01:06:21 bca2f99d35d6: Download complete 01:06:26 bca2f99d35d6: Pull complete 01:06:26 93359f2a8cfa: Pull complete 01:06:26 7c6f9722023f: Pull complete 01:06:36 a35cf1a2eb13: Pull complete 01:06:36 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 01:06:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 01:06:36 ---> a62c8e92a672 01:06:36 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 01:06:36 ---> Running in 4d03db437e29 01:06:36 Removing intermediate container 4d03db437e29 01:06:36 ---> 8d8b0f71269d 01:06:36 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 01:06:36 ---> Running in 4807eedcda90 01:06:36 Removing intermediate container 4807eedcda90 01:06:36 ---> 0acb63d08033 01:06:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:06:36 ---> Running in 3d4d812de05c 01:06:37 Removing intermediate container 3d4d812de05c 01:06:37 ---> 5b4e889a8734 01:06:37 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:06:37 ---> Running in fba09df31b59 01:06:38 Removing intermediate container fba09df31b59 01:06:38 ---> faa517f4090d 01:06:38 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:06:38 ---> Running in 16175321e37e 01:06:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:06:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:06:39 OK: 166 MiB in 39 packages 01:06:40 Removing intermediate container 16175321e37e 01:06:40 ---> 954cde181e19 01:06:40 Step 8/10 : WORKDIR /device-rest-go 01:06:40 ---> Running in 8c35dd31a3b3 01:06:40 Removing intermediate container 8c35dd31a3b3 01:06:40 ---> db803c802fde 01:06:40 Step 9/10 : COPY . . 01:06:41 ---> ff991fb6e57f 01:06:41 Step 10/10 : RUN go mod download 01:06:41 ---> Running in 7f68d5ab6dbc 01:07:03 Removing intermediate container 7f68d5ab6dbc 01:07:03 ---> c346e39c289e 01:07:03 Successfully built c346e39c289e 01:07:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:07:03 + docker inspect -f . ci-base-image-x86_64 01:07:03 . [Pipeline] withDockerContainer 01:07:03 prd-centos7-docker-4c-2g-21456 does not seem to be running inside a container 01:07:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/31 -v /w/workspace/device-rest-go/31:/w/workspace/device-rest-go/31:rw,z -v /w/workspace/device-rest-go/31@tmp:/w/workspace/device-rest-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:07:04 $ docker top 7d7172fe3f9f258e5f8bc2087eaf466983117a6e2a9a8e33a7df07f710e3c208 -eo pid,comm [Pipeline] { [Pipeline] sh 01:07:05 + go version 01:07:05 go version go1.15.5 linux/amd64 [Pipeline] } 01:07:05 $ docker stop --time=1 7d7172fe3f9f258e5f8bc2087eaf466983117a6e2a9a8e33a7df07f710e3c208 01:07:06 $ docker rm -f 7d7172fe3f9f258e5f8bc2087eaf466983117a6e2a9a8e33a7df07f710e3c208 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:07:07 + docker inspect -f . ci-base-image-x86_64 01:07:07 . [Pipeline] withDockerContainer 01:07:07 prd-centos7-docker-4c-2g-21456 does not seem to be running inside a container 01:07:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/31 -v /w/workspace/device-rest-go/31:/w/workspace/device-rest-go/31:rw,z -v /w/workspace/device-rest-go/31@tmp:/w/workspace/device-rest-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:07:08 $ docker top eb73ce97779b31a4f4dacba008c896cb7a58d375914326ecf69a2a490daf2f5b -eo pid,comm [Pipeline] { [Pipeline] sh 01:07:08 + make test 01:07:08 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:07:09 ? github.com/edgexfoundry/device-rest-go [no test files] 01:07:19 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:07:19 ok github.com/edgexfoundry/device-rest-go/driver 0.056s coverage: 56.3% of statements 01:07:19 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:07:22 gofmt -l . 01:07:22 [ "`gofmt -l .`" = "" ] 01:07:22 ./bin/test-go-mod-tidy.sh 01:07:22 ./bin/test-attribution-txt.sh [Pipeline] } 01:07:23 $ docker stop --time=1 eb73ce97779b31a4f4dacba008c896cb7a58d375914326ecf69a2a490daf2f5b 01:07:25 $ docker rm -f eb73ce97779b31a4f4dacba008c896cb7a58d375914326ecf69a2a490daf2f5b [Pipeline] // withDockerContainer [Pipeline] sh 01:07:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:07:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:07:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:07:27 + ls -al . 01:07:27 total 96 01:07:27 drwxrwxr-x. 8 jenkins jenkins 4096 Jan 20 01:07 . 01:07:27 drwxrwxr-x. 4 jenkins jenkins 30 Jan 20 01:06 .. 01:07:27 -rw-rw-r--. 1 jenkins jenkins 5294 Jan 20 01:06 Attribution.txt 01:07:27 drwxrwxr-x. 2 jenkins jenkins 64 Jan 20 01:06 bin 01:07:27 drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 01:06 cmd 01:07:27 -rw-r--r--. 1 jenkins jenkins 9369 Jan 20 01:07 coverage.out 01:07:27 -rw-rw-r--. 1 jenkins jenkins 1530 Jan 20 01:06 Dockerfile 01:07:27 -rw-rw-r--. 1 jenkins jenkins 1002 Jan 20 01:06 Dockerfile.build 01:07:27 -rw-rw-r--. 1 jenkins jenkins 151 Jan 20 01:06 .dockerignore 01:07:27 drwxrwxr-x. 2 jenkins jenkins 93 Jan 20 01:07 driver 01:07:27 drwxrwxr-x. 8 jenkins jenkins 162 Jan 20 01:06 .git 01:07:27 drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 01:06 .github 01:07:27 -rw-rw-r--. 1 jenkins jenkins 339 Jan 20 01:06 .gitignore 01:07:27 -rw-r--r--. 1 jenkins jenkins 267 Jan 20 01:07 go.mod 01:07:27 -rw-r--r--. 1 jenkins jenkins 13985 Jan 20 01:07 go.sum 01:07:27 -rw-rw-r--. 1 jenkins jenkins 680 Jan 20 01:06 Jenkinsfile 01:07:27 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 01:06 LICENSE 01:07:27 -rw-rw-r--. 1 jenkins jenkins 951 Jan 20 01:06 Makefile 01:07:27 -rw-rw-r--. 1 jenkins jenkins 5917 Jan 20 01:06 README.md 01:07:27 drwxrwxr-x. 4 jenkins jenkins 71 Jan 20 01:06 snap 01:07:27 -rw-rw-r--. 1 jenkins jenkins 11 Jan 20 01:05 VERSION 01:07:27 -rw-rw-r--. 1 jenkins jenkins 713 Jan 20 01:06 version.go [Pipeline] isUnix [Pipeline] sh 01:07:28 + 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=9e4888f50a2a312870744f4f89808877d999d7c6 --label arch=amd64 --label version=1.2.1-dev.4 . 01:07:28 Sending build context to Docker daemon 101.4kB 01:07:28 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 01:07:28 Step 2/25 : FROM ${BASE} AS builder 01:07:28 ---> c346e39c289e 01:07:28 Step 3/25 : ARG MAKE='make build' 01:07:28 ---> Running in c6f191b17961 01:07:28 Removing intermediate container c6f191b17961 01:07:28 ---> 1d4973aaa7e4 01:07:28 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 01:07:28 ---> Running in cb93ea13d296 01:07:28 Removing intermediate container cb93ea13d296 01:07:28 ---> d512d22bd3cd 01:07:28 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:07:28 ---> Running in 4a6c89236ea7 01:07:28 Removing intermediate container 4a6c89236ea7 01:07:28 ---> 0b9c7ca96599 01:07:28 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:07:28 ---> Running in e655e2404a23 01:07:29 Removing intermediate container e655e2404a23 01:07:29 ---> 1d63488d8460 01:07:29 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:07:29 ---> Running in a24cdeb3de0a 01:07:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:07:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:07:31 OK: 166 MiB in 39 packages 01:07:31 Removing intermediate container a24cdeb3de0a 01:07:31 ---> 2422328acb3f 01:07:31 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 01:07:32 ---> Running in 1a40add3b466 01:07:32 Removing intermediate container 1a40add3b466 01:07:32 ---> e190dc2fbc62 01:07:32 Step 9/25 : COPY go.mod . 01:07:32 ---> 80016fea543f 01:07:32 Step 10/25 : COPY Makefile . 01:07:32 ---> 8aba524ece19 01:07:32 Step 11/25 : RUN make update 01:07:32 ---> Running in 3e349d32ee47 01:07:33 CGO_ENABLED=0 GO111MODULE=on go mod download 01:07:33 Removing intermediate container 3e349d32ee47 01:07:33 ---> 8b555781d70c 01:07:33 Step 12/25 : COPY . . 01:07:34 ---> c8add4b19114 01:07:34 Step 13/25 : RUN $MAKE 01:07:34 ---> Running in 42119cdaed91 01:07:34 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.1-dev.4" -o cmd/device-rest-go ./cmd 01:07:47 Removing intermediate container 42119cdaed91 01:07:47 ---> e70c3cbb0e90 01:07:47 Step 14/25 : FROM alpine:3.12 01:07:47 3.12: Pulling from library/alpine 01:07:47 801bfaa63ef2: Pulling fs layer 01:07:47 801bfaa63ef2: Download complete 01:07:47 801bfaa63ef2: Pull complete 01:07:47 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 01:07:47 Status: Downloaded newer image for alpine:3.12 01:07:47 ---> 389fef711851 01:07:47 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:07:47 ---> Running in 05ee88b1e44b 01:07:47 Removing intermediate container 05ee88b1e44b 01:07:47 ---> da8b1a640e94 01:07:47 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 01:07:47 ---> Running in 85665ec7dfa1 01:07:47 Removing intermediate container 85665ec7dfa1 01:07:47 ---> 7689d6f9a58c 01:07:47 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 01:07:47 ---> 198dd39e6951 01:07:47 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 01:07:47 ---> f3b6fc4957cd 01:07:47 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 01:07:47 ---> 5c02a66d9c04 01:07:47 Step 20/25 : EXPOSE 49986 01:07:47 ---> Running in 12c46763b826 01:07:48 Removing intermediate container 12c46763b826 01:07:48 ---> ff5a15d8daf9 01:07:48 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 01:07:48 ---> Running in 7170a79b028c 01:07:48 Removing intermediate container 7170a79b028c 01:07:48 ---> 1a00217d8858 01:07:48 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:07:48 ---> Running in f231c8b283f2 01:07:48 Removing intermediate container f231c8b283f2 01:07:48 ---> 5a2426200b26 01:07:48 Step 23/25 : LABEL arch=amd64 01:07:48 ---> Running in c15d1b531093 01:07:48 Removing intermediate container c15d1b531093 01:07:48 ---> d4086ec37ed2 01:07:48 Step 24/25 : LABEL git_sha=9e4888f50a2a312870744f4f89808877d999d7c6 01:07:48 ---> Running in 9ebaec987adb 01:07:49 Removing intermediate container 9ebaec987adb 01:07:49 ---> a36b9c5b0558 01:07:49 Step 25/25 : LABEL version=1.2.1-dev.4 01:07:49 ---> Running in 2331d3e24bd7 01:07:49 Removing intermediate container 2331d3e24bd7 01:07:49 ---> 17f930fddf44 01:07:49 [Warning] One or more build-args [ARCH] were not consumed 01:07:49 Successfully built 17f930fddf44 01:07:49 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:07:49 provisioning config files... 01:07:51 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/31@tmp/config1224171461924254643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:07:51 ---> docker-login.sh 01:07:51 nexus3.edgexfoundry.org:10001 01:07:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:51 Configure a credential helper to remove this warning. See 01:07:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:51 01:07:51 Login Succeeded 01:07:51 nexus3.edgexfoundry.org:10002 01:07:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:51 Configure a credential helper to remove this warning. See 01:07:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:51 01:07:51 Login Succeeded 01:07:51 nexus3.edgexfoundry.org:10003 01:07:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:52 Configure a credential helper to remove this warning. See 01:07:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:52 01:07:52 Login Succeeded 01:07:52 nexus3.edgexfoundry.org:10004 01:07:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:52 Configure a credential helper to remove this warning. See 01:07:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:52 01:07:52 Login Succeeded 01:07:52 docker.io 01:07:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:52 Configure a credential helper to remove this warning. See 01:07:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:52 01:07:52 Login Succeeded 01:07:52 ---> docker-login.sh ends [Pipeline] } 01:07:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:07:52 [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: 01:07:52 9e4888f50a2a312870744f4f89808877d999d7c6 01:07:52 latest 01:07:52 1.2.1-dev.4 01:07:52 9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4 01:07:52 master 01:07:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:07:53 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:9e4888f50a2a312870744f4f89808877d999d7c6 [Pipeline] isUnix [Pipeline] sh 01:07:53 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:9e4888f50a2a312870744f4f89808877d999d7c6 01:07:53 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 01:07:53 b73e820a81a3: Preparing 01:07:53 bb2ea235c3ec: Preparing 01:07:53 ef2a8562566e: Preparing 01:07:53 777b2c648970: Preparing 01:07:53 777b2c648970: Layer already exists 01:07:53 bb2ea235c3ec: Pushed 01:07:53 ef2a8562566e: Pushed 01:07:54 b73e820a81a3: Pushed 01:07:54 9e4888f50a2a312870744f4f89808877d999d7c6: digest: sha256:7d328db3fd2e9ed83400ab3d48fc61470f72ee91c7f028db33c5dae5099bc8e6 size: 1155 [Pipeline] isUnix [Pipeline] sh 01:07:55 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh 01:07:55 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 01:07:55 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 01:07:55 b73e820a81a3: Preparing 01:07:55 bb2ea235c3ec: Preparing 01:07:55 ef2a8562566e: Preparing 01:07:55 777b2c648970: Preparing 01:07:55 bb2ea235c3ec: Layer already exists 01:07:55 ef2a8562566e: Layer already exists 01:07:55 b73e820a81a3: Layer already exists 01:07:55 777b2c648970: Layer already exists 01:07:55 latest: digest: sha256:7d328db3fd2e9ed83400ab3d48fc61470f72ee91c7f028db33c5dae5099bc8e6 size: 1155 [Pipeline] isUnix [Pipeline] sh 01:07:56 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.4 [Pipeline] isUnix [Pipeline] sh 01:07:56 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.4 01:07:56 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 01:07:56 b73e820a81a3: Preparing 01:07:56 bb2ea235c3ec: Preparing 01:07:56 ef2a8562566e: Preparing 01:07:56 777b2c648970: Preparing 01:07:56 777b2c648970: Layer already exists 01:07:56 b73e820a81a3: Layer already exists 01:07:56 bb2ea235c3ec: Layer already exists 01:07:56 ef2a8562566e: Layer already exists 01:07:56 1.2.1-dev.4: digest: sha256:7d328db3fd2e9ed83400ab3d48fc61470f72ee91c7f028db33c5dae5099bc8e6 size: 1155 [Pipeline] isUnix [Pipeline] sh 01:07:56 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4 [Pipeline] isUnix [Pipeline] sh 01:07:57 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4 01:07:57 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 01:07:57 b73e820a81a3: Preparing 01:07:57 bb2ea235c3ec: Preparing 01:07:57 ef2a8562566e: Preparing 01:07:57 777b2c648970: Preparing 01:07:57 777b2c648970: Layer already exists 01:07:57 ef2a8562566e: Layer already exists 01:07:57 b73e820a81a3: Layer already exists 01:07:57 bb2ea235c3ec: Layer already exists 01:07:57 9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4: digest: sha256:7d328db3fd2e9ed83400ab3d48fc61470f72ee91c7f028db33c5dae5099bc8e6 size: 1155 [Pipeline] isUnix [Pipeline] sh 01:07:57 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh 01:07:57 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master 01:07:57 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 01:07:57 b73e820a81a3: Preparing 01:07:57 bb2ea235c3ec: Preparing 01:07:57 ef2a8562566e: Preparing 01:07:57 777b2c648970: Preparing 01:07:57 bb2ea235c3ec: Layer already exists 01:07:57 b73e820a81a3: Layer already exists 01:07:57 777b2c648970: Layer already exists 01:07:57 ef2a8562566e: Layer already exists 01:07:57 master: digest: sha256:7d328db3fd2e9ed83400ab3d48fc61470f72ee91c7f028db33c5dae5099bc8e6 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:07:57 ===================================================== [Pipeline] echo 01:07:57 taggedImages: 01:07:57 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:9e4888f50a2a312870744f4f89808877d999d7c6 01:07:57 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 01:07:57 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.4 01:07:57 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4 01:07:57 - 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:08:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21458 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 01:08:18 Running in /w/workspace/device-rest-go/31 [Pipeline] { [Pipeline] checkout 01:08:22 using credential edgex-jenkins-ssh 01:08:23 Cloning the remote Git repository 01:08:23 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:08:23 > git init /w/workspace/device-rest-go/31 # timeout=10 01:08:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:08:23 > git --version # timeout=10 01:08:23 > git --version # 'git version 2.17.1' 01:08:23 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:08:30 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:08:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:08:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:08:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:08:31 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 01:08:31 Checking out Revision 9e4888f50a2a312870744f4f89808877d999d7c6 (master) 01:08:31 > git config core.sparsecheckout # timeout=10 01:08:31 > git checkout -f 9e4888f50a2a312870744f4f89808877d999d7c6 # timeout=10 01:08:36 Commit message: "Merge pull request #76 from iain-anderson/commit-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:08:38 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 01:08:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 01:08:38 + true 01:08:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:08:41 provisioning config files... 01:08:41 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/31@tmp/config683696105043107392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:08:41 ---> docker-login.sh 01:08:41 nexus3.edgexfoundry.org:10001 01:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:42 Configure a credential helper to remove this warning. See 01:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:42 01:08:42 Login Succeeded 01:08:42 nexus3.edgexfoundry.org:10002 01:08:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:43 Configure a credential helper to remove this warning. See 01:08:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:43 01:08:43 Login Succeeded 01:08:43 nexus3.edgexfoundry.org:10003 01:08:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:43 Configure a credential helper to remove this warning. See 01:08:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:43 01:08:43 Login Succeeded 01:08:43 nexus3.edgexfoundry.org:10004 01:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:44 Configure a credential helper to remove this warning. See 01:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:44 01:08:44 Login Succeeded 01:08:44 docker.io 01:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:44 Configure a credential helper to remove this warning. See 01:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:44 01:08:44 Login Succeeded 01:08:44 ---> docker-login.sh ends [Pipeline] } 01:08:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:08:45 ========================================================= 01:08:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 01:08:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:08:45 + 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 . 01:08:45 Sending build context to Docker daemon 89.6kB 01:08:46 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 01:08:46 Step 2/10 : FROM ${BASE} 01:08:46 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:08:46 5f621e34cdf4: Pulling fs layer 01:08:46 a4357932f1b6: Pulling fs layer 01:08:46 18c013af1878: Pulling fs layer 01:08:46 00ac8860ef70: Pulling fs layer 01:08:46 63d7cb157983: Pulling fs layer 01:08:46 b116817d02f9: Pulling fs layer 01:08:46 745a02a5169b: Pulling fs layer 01:08:46 00ac8860ef70: Waiting 01:08:46 63d7cb157983: Waiting 01:08:46 b116817d02f9: Waiting 01:08:46 745a02a5169b: Waiting 01:08:46 a4357932f1b6: Verifying Checksum 01:08:46 a4357932f1b6: Download complete 01:08:46 18c013af1878: Verifying Checksum 01:08:46 18c013af1878: Download complete 01:08:46 63d7cb157983: Verifying Checksum 01:08:46 63d7cb157983: Download complete 01:08:46 b116817d02f9: Verifying Checksum 01:08:46 b116817d02f9: Download complete 01:08:46 5f621e34cdf4: Verifying Checksum 01:08:46 5f621e34cdf4: Download complete 01:08:47 5f621e34cdf4: Pull complete 01:08:48 a4357932f1b6: Pull complete 01:08:48 18c013af1878: Pull complete 01:08:49 745a02a5169b: Verifying Checksum 01:08:49 745a02a5169b: Download complete 01:08:50 00ac8860ef70: Verifying Checksum 01:08:50 00ac8860ef70: Download complete 01:09:00 00ac8860ef70: Pull complete 01:09:00 63d7cb157983: Pull complete 01:09:00 b116817d02f9: Pull complete 01:09:05 745a02a5169b: Pull complete 01:09:05 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 01:09:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 01:09:05 ---> b7e6874047d6 01:09:05 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 01:09:07 ---> Running in 22adb538bec6 01:09:07 Removing intermediate container 22adb538bec6 01:09:07 ---> c1b12835168a 01:09:07 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 01:09:07 ---> Running in d5e7e4b5904b 01:09:07 Removing intermediate container d5e7e4b5904b 01:09:07 ---> fcce5d3b5602 01:09:07 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:09:08 ---> Running in 054aa7fd1b3d 01:09:08 Removing intermediate container 054aa7fd1b3d 01:09:08 ---> 28823a6b4796 01:09:08 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:09:08 ---> Running in ee0e5e99a9da 01:09:10 Removing intermediate container ee0e5e99a9da 01:09:10 ---> 7e7588dda7b7 01:09:10 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:09:11 ---> Running in 31cea9055c2d 01:09:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:09:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:09:13 OK: 142 MiB in 39 packages 01:09:14 Removing intermediate container 31cea9055c2d 01:09:14 ---> 8f116748a49a 01:09:14 Step 8/10 : WORKDIR /device-rest-go 01:09:14 ---> Running in cc3428514c8a 01:09:15 Removing intermediate container cc3428514c8a 01:09:15 ---> 8c19b1f4c35b 01:09:15 Step 9/10 : COPY . . 01:09:16 ---> 6bcbb9901aa2 01:09:16 Step 10/10 : RUN go mod download 01:09:16 ---> Running in d8b19dafed38 01:09:42 Removing intermediate container d8b19dafed38 01:09:42 ---> 881d558b00aa 01:09:42 Successfully built 881d558b00aa 01:09:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:09:43 + docker inspect -f . ci-base-image-arm64 01:09:43 . [Pipeline] withDockerContainer 01:09:43 prd-ubuntu18.04-docker-arm64-4c-16g-21458 does not seem to be running inside a container 01:09:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/31 -v /w/workspace/device-rest-go/31:/w/workspace/device-rest-go/31:rw,z -v /w/workspace/device-rest-go/31@tmp:/w/workspace/device-rest-go/31@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 01:09:45 $ docker top 860260078fa1382a74f1072e85b92c52672f281b912fc82d0b52cbd09efe81dc -eo pid,comm [Pipeline] { [Pipeline] sh 01:09:46 + go version 01:09:46 go version go1.15.5 linux/arm64 [Pipeline] } 01:09:46 $ docker stop --time=1 860260078fa1382a74f1072e85b92c52672f281b912fc82d0b52cbd09efe81dc 01:09:48 $ docker rm -f 860260078fa1382a74f1072e85b92c52672f281b912fc82d0b52cbd09efe81dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:09:49 + docker inspect -f . ci-base-image-arm64 01:09:49 . [Pipeline] withDockerContainer 01:09:49 prd-ubuntu18.04-docker-arm64-4c-16g-21458 does not seem to be running inside a container 01:09:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/31 -v /w/workspace/device-rest-go/31:/w/workspace/device-rest-go/31:rw,z -v /w/workspace/device-rest-go/31@tmp:/w/workspace/device-rest-go/31@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 01:09:50 $ docker top 0006dea6aa0e0544154c8e2e6112bcd4a1344097608462b19a36f1b58186440a -eo pid,comm [Pipeline] { [Pipeline] sh 01:09:51 + make test 01:09:51 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:09:52 ? github.com/edgexfoundry/device-rest-go [no test files] 01:10:25 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:10:26 ok github.com/edgexfoundry/device-rest-go/driver 0.088s coverage: 56.3% of statements 01:10:26 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:10:33 gofmt -l . 01:10:33 [ "`gofmt -l .`" = "" ] 01:10:33 ./bin/test-go-mod-tidy.sh 01:10:33 ./bin/test-attribution-txt.sh [Pipeline] } 01:10:34 $ docker stop --time=1 0006dea6aa0e0544154c8e2e6112bcd4a1344097608462b19a36f1b58186440a 01:10:37 $ docker rm -f 0006dea6aa0e0544154c8e2e6112bcd4a1344097608462b19a36f1b58186440a [Pipeline] // withDockerContainer [Pipeline] sh 01:10:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:10:38 Warning: overwriting stash ‘coverage-report’ 01:10:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:10:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:10:39 + ls -al . 01:10:39 total 124 01:10:39 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 01:10 . 01:10:39 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 01:08 .. 01:10:39 -rw-rw-r-- 1 jenkins jenkins 151 Jan 20 01:08 .dockerignore 01:10:39 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 01:08 .git 01:10:39 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 01:08 .github 01:10:39 -rw-rw-r-- 1 jenkins jenkins 339 Jan 20 01:08 .gitignore 01:10:39 -rw-rw-r-- 1 jenkins jenkins 5294 Jan 20 01:08 Attribution.txt 01:10:39 -rw-rw-r-- 1 jenkins jenkins 1530 Jan 20 01:08 Dockerfile 01:10:39 -rw-rw-r-- 1 jenkins jenkins 1002 Jan 20 01:08 Dockerfile.build 01:10:39 -rw-rw-r-- 1 jenkins jenkins 680 Jan 20 01:08 Jenkinsfile 01:10:39 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 01:08 LICENSE 01:10:39 -rw-rw-r-- 1 jenkins jenkins 951 Jan 20 01:08 Makefile 01:10:39 -rw-rw-r-- 1 jenkins jenkins 5917 Jan 20 01:08 README.md 01:10:39 -rw-rw-r-- 1 jenkins jenkins 11 Jan 20 01:05 VERSION 01:10:39 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 01:08 bin 01:10:39 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 01:08 cmd 01:10:39 -rw-r--r-- 1 jenkins jenkins 9369 Jan 20 01:10 coverage.out 01:10:39 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 01:10 driver 01:10:39 -rw-r--r-- 1 jenkins jenkins 267 Jan 20 01:10 go.mod 01:10:39 -rw-r--r-- 1 jenkins jenkins 13985 Jan 20 01:10 go.sum 01:10:39 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 01:08 snap 01:10:39 -rw-rw-r-- 1 jenkins jenkins 713 Jan 20 01:08 version.go [Pipeline] isUnix [Pipeline] sh 01:10:40 + 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=9e4888f50a2a312870744f4f89808877d999d7c6 --label arch=arm64 --label version=1.2.1-dev.4 . 01:10:40 Sending build context to Docker daemon 101.4kB 01:10:40 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 01:10:40 Step 2/25 : FROM ${BASE} AS builder 01:10:40 ---> 881d558b00aa 01:10:40 Step 3/25 : ARG MAKE='make build' 01:10:40 ---> Running in fa3f86abec00 01:10:41 Removing intermediate container fa3f86abec00 01:10:41 ---> fbdf3589872c 01:10:41 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 01:10:41 ---> Running in e2436ce87513 01:10:42 Removing intermediate container e2436ce87513 01:10:42 ---> c7321abe3c43 01:10:42 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:10:42 ---> Running in f9a893163bd5 01:10:42 Removing intermediate container f9a893163bd5 01:10:42 ---> 214b98cfa633 01:10:42 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:10:42 ---> Running in 3d51d1ce1fef 01:10:44 Removing intermediate container 3d51d1ce1fef 01:10:44 ---> 81b03a8a26b6 01:10:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:10:44 ---> Running in a5825910a533 01:10:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:10:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:10:47 OK: 142 MiB in 39 packages 01:10:48 Removing intermediate container a5825910a533 01:10:48 ---> d181e8d6a8e8 01:10:48 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 01:10:48 ---> Running in 6cbf63965e3c 01:10:49 Removing intermediate container 6cbf63965e3c 01:10:49 ---> dfcc5fef5d22 01:10:49 Step 9/25 : COPY go.mod . 01:10:49 ---> 54b1b83b0aac 01:10:49 Step 10/25 : COPY Makefile . 01:10:50 ---> c0385f0b41ac 01:10:50 Step 11/25 : RUN make update 01:10:50 ---> Running in aa74ddcb8551 01:10:51 CGO_ENABLED=0 GO111MODULE=on go mod download 01:10:52 Removing intermediate container aa74ddcb8551 01:10:52 ---> ca5e8817062d 01:10:52 Step 12/25 : COPY . . 01:10:53 ---> b1611f969813 01:10:53 Step 13/25 : RUN $MAKE 01:10:53 ---> Running in 4f0f38d69041 01:10:54 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.1-dev.4" -o cmd/device-rest-go ./cmd 01:11:21 Removing intermediate container 4f0f38d69041 01:11:21 ---> ae79d44eebd0 01:11:21 Step 14/25 : FROM alpine:3.12 01:11:22 3.12: Pulling from library/alpine 01:11:22 159e5727ea61: Pulling fs layer 01:11:22 159e5727ea61: Download complete 01:11:22 159e5727ea61: Pull complete 01:11:22 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 01:11:22 Status: Downloaded newer image for alpine:3.12 01:11:22 ---> afeebe901d6b 01:11:22 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:11:23 ---> Running in 2d8ccf6dff40 01:11:23 Removing intermediate container 2d8ccf6dff40 01:11:23 ---> 651ed09609ba 01:11:23 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 01:11:23 ---> Running in d706e26a0da8 01:11:24 Removing intermediate container d706e26a0da8 01:11:24 ---> bd70509327d6 01:11:24 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 01:11:24 ---> c5eb0826c712 01:11:24 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 01:11:25 ---> 9029ab4b000f 01:11:25 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 01:11:26 ---> 928bde0d4ef0 01:11:26 Step 20/25 : EXPOSE 49986 01:11:26 ---> Running in 6085332e6a56 01:11:27 Removing intermediate container 6085332e6a56 01:11:27 ---> 74c6fbb27e81 01:11:27 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 01:11:27 ---> Running in 95f454ebdeb9 01:11:27 Removing intermediate container 95f454ebdeb9 01:11:27 ---> cede777ca2b0 01:11:27 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:11:27 ---> Running in 1d3af145eeca 01:11:28 Removing intermediate container 1d3af145eeca 01:11:28 ---> 522eea17a8b1 01:11:28 Step 23/25 : LABEL arch=arm64 01:11:28 ---> Running in efcb7208a990 01:11:29 Removing intermediate container efcb7208a990 01:11:29 ---> 6c4b0a2112b8 01:11:29 Step 24/25 : LABEL git_sha=9e4888f50a2a312870744f4f89808877d999d7c6 01:11:29 ---> Running in b07bc21a224f 01:11:29 Removing intermediate container b07bc21a224f 01:11:29 ---> ee48556efff3 01:11:29 Step 25/25 : LABEL version=1.2.1-dev.4 01:11:29 ---> Running in 5ab47a65b9b7 01:11:30 Removing intermediate container 5ab47a65b9b7 01:11:30 ---> 9485ec13f9ab 01:11:30 [Warning] One or more build-args [ARCH] were not consumed 01:11:30 Successfully built 9485ec13f9ab 01:11:30 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 01:11:30 provisioning config files... 01:11:30 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/31@tmp/config2833390003531159883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:11:31 ---> docker-login.sh 01:11:31 nexus3.edgexfoundry.org:10001 01:11:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:31 Configure a credential helper to remove this warning. See 01:11:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:31 01:11:31 Login Succeeded 01:11:31 nexus3.edgexfoundry.org:10002 01:11:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:32 Configure a credential helper to remove this warning. See 01:11:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:32 01:11:32 Login Succeeded 01:11:32 nexus3.edgexfoundry.org:10003 01:11:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:32 Configure a credential helper to remove this warning. See 01:11:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:32 01:11:32 Login Succeeded 01:11:32 nexus3.edgexfoundry.org:10004 01:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:33 Configure a credential helper to remove this warning. See 01:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:33 01:11:33 Login Succeeded 01:11:33 docker.io 01:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:34 Configure a credential helper to remove this warning. See 01:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:34 01:11:34 Login Succeeded 01:11:34 ---> docker-login.sh ends [Pipeline] } 01:11:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:11:34 [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: 01:11:34 9e4888f50a2a312870744f4f89808877d999d7c6 01:11:34 latest 01:11:34 1.2.1-dev.4 01:11:34 9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4 01:11:34 master 01:11:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:11:34 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:9e4888f50a2a312870744f4f89808877d999d7c6 [Pipeline] isUnix [Pipeline] sh 01:11:35 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:9e4888f50a2a312870744f4f89808877d999d7c6 01:11:35 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 01:11:35 0223829fcce0: Preparing 01:11:35 9b74916b496a: Preparing 01:11:35 f2b62bf540d2: Preparing 01:11:35 379067d0cb53: Preparing 01:11:35 379067d0cb53: Layer already exists 01:11:35 9b74916b496a: Pushed 01:11:35 f2b62bf540d2: Pushed 01:11:38 0223829fcce0: Pushed 01:11:38 9e4888f50a2a312870744f4f89808877d999d7c6: digest: sha256:e67c967eed7c146ccf15f3c80f210e4622b93de9e112e205cffe751d88cfd77b size: 1155 [Pipeline] isUnix [Pipeline] sh 01:11:38 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:11:38 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 01:11:38 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 01:11:38 0223829fcce0: Preparing 01:11:38 9b74916b496a: Preparing 01:11:38 f2b62bf540d2: Preparing 01:11:38 379067d0cb53: Preparing 01:11:38 0223829fcce0: Layer already exists 01:11:38 379067d0cb53: Layer already exists 01:11:38 f2b62bf540d2: Layer already exists 01:11:38 9b74916b496a: Layer already exists 01:11:39 latest: digest: sha256:e67c967eed7c146ccf15f3c80f210e4622b93de9e112e205cffe751d88cfd77b size: 1155 [Pipeline] isUnix [Pipeline] sh 01:11:39 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.4 [Pipeline] isUnix [Pipeline] sh 01:11:39 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.4 01:11:39 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 01:11:39 0223829fcce0: Preparing 01:11:39 9b74916b496a: Preparing 01:11:39 f2b62bf540d2: Preparing 01:11:39 379067d0cb53: Preparing 01:11:39 379067d0cb53: Layer already exists 01:11:39 9b74916b496a: Layer already exists 01:11:39 f2b62bf540d2: Layer already exists 01:11:39 0223829fcce0: Layer already exists 01:11:40 1.2.1-dev.4: digest: sha256:e67c967eed7c146ccf15f3c80f210e4622b93de9e112e205cffe751d88cfd77b size: 1155 [Pipeline] isUnix [Pipeline] sh 01:11:40 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4 [Pipeline] isUnix [Pipeline] sh 01:11:40 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4 01:11:40 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 01:11:40 0223829fcce0: Preparing 01:11:40 9b74916b496a: Preparing 01:11:40 f2b62bf540d2: Preparing 01:11:40 379067d0cb53: Preparing 01:11:40 9b74916b496a: Layer already exists 01:11:40 379067d0cb53: Layer already exists 01:11:40 0223829fcce0: Layer already exists 01:11:40 f2b62bf540d2: Layer already exists 01:11:40 9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4: digest: sha256:e67c967eed7c146ccf15f3c80f210e4622b93de9e112e205cffe751d88cfd77b size: 1155 [Pipeline] isUnix [Pipeline] sh 01:11:41 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh 01:11:41 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master 01:11:41 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 01:11:41 0223829fcce0: Preparing 01:11:41 9b74916b496a: Preparing 01:11:41 f2b62bf540d2: Preparing 01:11:41 379067d0cb53: Preparing 01:11:41 379067d0cb53: Layer already exists 01:11:41 9b74916b496a: Layer already exists 01:11:41 f2b62bf540d2: Layer already exists 01:11:41 0223829fcce0: Layer already exists 01:11:41 master: digest: sha256:e67c967eed7c146ccf15f3c80f210e4622b93de9e112e205cffe751d88cfd77b size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:11:42 ===================================================== [Pipeline] echo 01:11:42 taggedImages: 01:11:42 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:9e4888f50a2a312870744f4f89808877d999d7c6 01:11:42 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 01:11:42 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.4 01:11:42 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4 01:11:42 - 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 01:11:43 provisioning config files... 01:11:43 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3160336725365661838tmp [Pipeline] { [Pipeline] sh 01:11:43 + set +x 01:11:43 + bash -s -- 01:11:43 + curl -s https://codecov.io/bash 01:11:44 01:11:44 _____ _ 01:11:44 / ____| | | 01:11:44 | | ___ __| | ___ ___ _____ __ 01:11:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:11:44 | |___| (_) | (_| | __/ (_| (_) \ V / 01:11:44 \_____\___/ \__,_|\___|\___\___/ \_/ 01:11:44 Bash-20210115-cec3c92 01:11:44 01:11:44 01:11:44 ==> git version 2.24.3 found 01:11:44 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 01:11:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 01:11:44 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 01:11:44 ==> Jenkins CI detected. 01:11:44 project root: . 01:11:44 --> token set from env 01:11:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:11:44 ==> Running gcov in . (disable via -X gcov) 01:11:44 ==> Python coveragepy not found 01:11:44 ==> Searching for coverage reports in: 01:11:44 + . 01:11:44 -> Found 1 reports 01:11:44 ==> Detecting git/mercurial file structure 01:11:44 ==> Reading reports 01:11:44 + ./coverage.out bytes=9369 01:11:44 ==> Appending adjustments 01:11:44 https://docs.codecov.io/docs/fixing-reports 01:11:44 + Found adjustments 01:11:44 ==> Gzipping contents 01:11:44 4.0K /tmp/codecov.VoZgOq.gz 01:11:44 ==> Uploading reports 01:11:44 url: https://codecov.io 01:11:44 query: branch=master&commit=9e4888f50a2a312870744f4f89808877d999d7c6&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:11:44 -> Pinging Codecov 01:11:44 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=master&commit=9e4888f50a2a312870744f4f89808877d999d7c6&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:11:44 -> Uploading to 01:11:44 https://storage.googleapis.com/codecov/v4/raw/2021-01-20/4E5D53B4F1F92C436F7061BF334D961C/9e4888f50a2a312870744f4f89808877d999d7c6/e8c8581a-63f7-4ad8-a873-799bd14ca2fb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210120T011144Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=311f2159786df0cd44470d6c64138cf65a62c8c60b4dac9eb2f561c666f51427 01:11:44 % Total % Received % Xferd Average Speed Time Time Time Current 01:11:44 Dload Upload Total Spent Left Speed 01:11:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 3265 --:--:-- --:--:-- --:--:-- 3262 01:11:45 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/9e4888f50a2a312870744f4f89808877d999d7c6 [Pipeline] } 01:11:45 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:11:45 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:11:45 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:11:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:11:46 01:11:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 01:11:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:11:46 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:11:46 188c0c94c7c5: Pulling fs layer 01:11:46 0ef7d3d256c8: Pulling fs layer 01:11:46 de9db76c5a1d: Pulling fs layer 01:11:46 0eba1c9be4d2: Pulling fs layer 01:11:46 0d57e429df01: Pulling fs layer 01:11:46 4e4be7b47b0d: Pulling fs layer 01:11:46 e1f770b5df2f: Pulling fs layer 01:11:46 85a0685a4137: Pulling fs layer 01:11:46 4e4be7b47b0d: Waiting 01:11:46 e1f770b5df2f: Waiting 01:11:46 85a0685a4137: Waiting 01:11:46 0eba1c9be4d2: Waiting 01:11:46 0d57e429df01: Waiting 01:11:46 de9db76c5a1d: Verifying Checksum 01:11:46 de9db76c5a1d: Download complete 01:11:46 0ef7d3d256c8: Download complete 01:11:46 0d57e429df01: Verifying Checksum 01:11:46 0d57e429df01: Download complete 01:11:46 4e4be7b47b0d: Verifying Checksum 01:11:46 4e4be7b47b0d: Download complete 01:11:46 188c0c94c7c5: Verifying Checksum 01:11:46 188c0c94c7c5: Pull complete 01:11:46 0ef7d3d256c8: Pull complete 01:11:47 de9db76c5a1d: Pull complete 01:11:48 e1f770b5df2f: Verifying Checksum 01:11:48 e1f770b5df2f: Download complete 01:11:50 0eba1c9be4d2: Verifying Checksum 01:11:50 0eba1c9be4d2: Download complete 01:11:50 85a0685a4137: Verifying Checksum 01:11:50 85a0685a4137: Download complete 01:11:56 0eba1c9be4d2: Pull complete 01:11:56 0d57e429df01: Pull complete 01:11:56 4e4be7b47b0d: Pull complete 01:11:58 e1f770b5df2f: Pull complete 01:12:06 85a0685a4137: Pull complete 01:12:06 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 01:12:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:12:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 01:12:06 prd-centos7-docker-4c-2g-21453 does not seem to be running inside a container 01:12:06 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:12:07 $ docker top e12f30c6df9b3c627ffd8ec720ff105ef2b48d499e79a395923acdb4bd53c0a8 -eo pid,comm [Pipeline] { [Pipeline] echo 01:12:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 01:12:08 + set -o pipefail 01:12:08 + snyk monitor '--org=edgex-jenkins' 01:12:16 01:12:16 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 01:12:16 01:12:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/57f0d43c-2acd-4235-9bb9-a42254376412 01:12:16 01:12:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:12:16 01:12:16 [Pipeline] } 01:12:16 $ docker stop --time=1 e12f30c6df9b3c627ffd8ec720ff105ef2b48d499e79a395923acdb4bd53c0a8 01:12:19 $ docker rm -f e12f30c6df9b3c627ffd8ec720ff105ef2b48d499e79a395923acdb4bd53c0a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:12:21 + git log --format=format:%s -1 9e4888f50a2a312870744f4f89808877d999d7c6 [Pipeline] isUnix [Pipeline] sh 01:12:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:12:21 . [Pipeline] withDockerContainer 01:12:21 prd-centos7-docker-4c-2g-21453 does not seem to be running inside a container 01:12:21 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:12:22 $ docker top a4ed70a371652367e693515f150edfdabc16ef53db0d2b27d708902abe284226 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:12:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:12:22 [ssh-agent] Looking for ssh-agent implementation... 01:12:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:12:22 $ docker exec a4ed70a371652367e693515f150edfdabc16ef53db0d2b27d708902abe284226 ssh-agent 01:12:23 SSH_AUTH_SOCK=/tmp/ssh-JtJsQrm1xEWp/agent.12 01:12:23 SSH_AGENT_PID=17 01:12:23 Running ssh-add (command line suppressed) 01:12:23 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5493071804839341567.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5493071804839341567.key) 01:12:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:12:23 + git semver tag 01:12:23 # -> Open(): unable to determine branch for HEAD 01:12:23 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 01:12:23 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 01:12:23 # $SEMVER_REMOTE_NAME = origin 01:12:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:12:23 # $SEMVER_USER_NAME = edgex-jenkins 01:12:23 # $SEMVER_BRANCH = master 01:12:23 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 01:12:23 # 9e4888f50a2a312870744f4f89808877d999d7c6 HEAD 01:12:23 # -> Force: false 01:12:23 # 7759b8bf36b2a7ee62e6a897b0fb907de320acac refs/tags/v1.2.1-dev.4 [Pipeline] } 01:12:23 $ docker exec --env ******** --env ******** a4ed70a371652367e693515f150edfdabc16ef53db0d2b27d708902abe284226 ssh-agent -k 01:12:23 unset SSH_AUTH_SOCK; 01:12:23 unset SSH_AGENT_PID; 01:12:23 echo Agent pid 17 killed; 01:12:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:12:24 + git semver [Pipeline] } 01:12:24 $ docker stop --time=1 a4ed70a371652367e693515f150edfdabc16ef53db0d2b27d708902abe284226 01:12:25 $ docker rm -f a4ed70a371652367e693515f150edfdabc16ef53db0d2b27d708902abe284226 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 01:12:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:12:26 01:12:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 01:12:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:12:26 0.23.1-centos7: Pulling from edgex-lftools 01:12:26 ab5ef0e58194: Pulling fs layer 01:12:26 9712f1f96733: Pulling fs layer 01:12:26 63f879dbbcfc: Pulling fs layer 01:12:26 0d9ebad4ef96: Pulling fs layer 01:12:26 e9a5061849ea: Pulling fs layer 01:12:26 d747dcd14b5f: Pulling fs layer 01:12:26 2de7ff778b66: Pulling fs layer 01:12:26 0d9ebad4ef96: Waiting 01:12:26 e9a5061849ea: Waiting 01:12:26 d747dcd14b5f: Waiting 01:12:26 2de7ff778b66: Waiting 01:12:26 9712f1f96733: Verifying Checksum 01:12:26 9712f1f96733: Download complete 01:12:28 63f879dbbcfc: Verifying Checksum 01:12:28 63f879dbbcfc: Download complete 01:12:28 e9a5061849ea: Verifying Checksum 01:12:28 e9a5061849ea: Download complete 01:12:28 d747dcd14b5f: Verifying Checksum 01:12:28 d747dcd14b5f: Download complete 01:12:28 2de7ff778b66: Verifying Checksum 01:12:28 2de7ff778b66: Download complete 01:12:29 ab5ef0e58194: Verifying Checksum 01:12:29 ab5ef0e58194: Download complete 01:12:29 0d9ebad4ef96: Verifying Checksum 01:12:29 0d9ebad4ef96: Download complete 01:12:33 ab5ef0e58194: Pull complete 01:12:33 9712f1f96733: Pull complete 01:12:35 63f879dbbcfc: Pull complete 01:12:42 0d9ebad4ef96: Pull complete 01:12:44 e9a5061849ea: Pull complete 01:12:45 d747dcd14b5f: Pull complete 01:12:46 2de7ff778b66: Pull complete 01:12:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:12:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:12:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 01:12:46 prd-centos7-docker-4c-2g-21453 does not seem to be running inside a container 01:12:46 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:12:50 $ docker top 82de70654595e67bb5a54f77135e5e81c8aaba70cf58ea942ff532fbf9d0d877 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:12:50 provisioning config files... 01:12:50 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6186157885602407713tmp 01:12:50 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3733461370903505782tmp 01:12:50 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5570939445899131557tmp [Pipeline] { [Pipeline] echo 01:12:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:12:50 ---> sigul-configuration.sh 01:12:50 gpg: directory `/root/.gnupg' created 01:12:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:12:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:12:50 gpg: keyring `/root/.gnupg/secring.gpg' created 01:12:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:12:50 gpg: CAST5 encrypted data 01:12:51 gpg: encrypted with 1 passphrase 01:12:51 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:12:51 + mkdir /home/jenkins 01:12:51 + mkdir /home/jenkins/sigul [Pipeline] sh 01:12:51 + 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 01:12:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:12:51 ---> sigul-install.sh 01:12:57 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 01:12:57 + git tag --list 01:12:57 v1.0.0 01:12:57 v1.1.0 01:12:57 v1.1.1 01:12:57 v1.1.2 01:12:57 v1.1.2-dev.1 01:12:57 v1.1.2-dev.2 01:12:57 v1.1.3-dev.1 01:12:57 v1.1.3-dev.10 01:12:57 v1.1.3-dev.2 01:12:57 v1.1.3-dev.3 01:12:57 v1.1.3-dev.4 01:12:57 v1.1.3-dev.5 01:12:57 v1.1.3-dev.6 01:12:57 v1.1.3-dev.7 01:12:57 v1.1.3-dev.8 01:12:57 v1.1.3-dev.9 01:12:57 v1.2.0 01:12:57 v1.2.1-dev.1 01:12:57 v1.2.1-dev.2 01:12:57 v1.2.1-dev.3 01:12:57 v1.2.1-dev.4 [Pipeline] sh 01:12:57 + lftools sign git-tag v1.2.1-dev.4 01:12:59 Signing Git tag with Sigul... 01:12:59 Signing v1.2.1-dev.4 [Pipeline] echo 01:13:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:13:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:13:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:13:00 $ docker stop --time=1 82de70654595e67bb5a54f77135e5e81c8aaba70cf58ea942ff532fbf9d0d877 01:13:02 $ docker rm -f 82de70654595e67bb5a54f77135e5e81c8aaba70cf58ea942ff532fbf9d0d877 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 01:13:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:13:03 . [Pipeline] withDockerContainer 01:13:03 prd-centos7-docker-4c-2g-21453 does not seem to be running inside a container 01:13:03 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:13:04 $ docker top fe652541dfdbc214d23a02b41bfcd2a8f6abbdf6b5604d6b920f3192d87d60a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:13:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:13:05 [ssh-agent] Looking for ssh-agent implementation... 01:13:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:13:05 $ docker exec fe652541dfdbc214d23a02b41bfcd2a8f6abbdf6b5604d6b920f3192d87d60a5 ssh-agent 01:13:05 SSH_AUTH_SOCK=/tmp/ssh-Wz9nhsz3lCqW/agent.11 01:13:05 SSH_AGENT_PID=16 01:13:05 Running ssh-add (command line suppressed) 01:13:05 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3982839367701154361.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3982839367701154361.key) 01:13:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:13:06 + git semver bump pre 01:13:06 # -> Open(): unable to determine branch for HEAD 01:13:06 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 01:13:06 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 01:13:06 # $SEMVER_REMOTE_NAME = origin 01:13:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:13:06 # $SEMVER_USER_NAME = edgex-jenkins 01:13:06 # $SEMVER_BRANCH = master 01:13:06 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 01:13:06 1.2.1-dev.5 [Pipeline] } 01:13:06 $ docker exec --env ******** --env ******** fe652541dfdbc214d23a02b41bfcd2a8f6abbdf6b5604d6b920f3192d87d60a5 ssh-agent -k 01:13:06 unset SSH_AUTH_SOCK; 01:13:06 unset SSH_AGENT_PID; 01:13:06 echo Agent pid 16 killed; 01:13:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:13:06 + git semver [Pipeline] } 01:13:06 $ docker stop --time=1 fe652541dfdbc214d23a02b41bfcd2a8f6abbdf6b5604d6b920f3192d87d60a5 01:13:08 $ docker rm -f fe652541dfdbc214d23a02b41bfcd2a8f6abbdf6b5604d6b920f3192d87d60a5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 01:13:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:13:08 . [Pipeline] withDockerContainer 01:13:08 prd-centos7-docker-4c-2g-21453 does not seem to be running inside a container 01:13:08 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:13:09 $ docker top 2da710e49dc8885ac854536460e9f85ee397992adb1e5c68cf6436ec5e41a6b5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:13:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:13:09 [ssh-agent] Looking for ssh-agent implementation... 01:13:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:13:10 $ docker exec 2da710e49dc8885ac854536460e9f85ee397992adb1e5c68cf6436ec5e41a6b5 ssh-agent 01:13:10 SSH_AUTH_SOCK=/tmp/ssh-Wqf5yRCZpnUQ/agent.12 01:13:10 SSH_AGENT_PID=18 01:13:10 Running ssh-add (command line suppressed) 01:13:10 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8705748137081259477.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8705748137081259477.key) 01:13:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:13:10 + git semver push 01:13:10 # -> Open(): unable to determine branch for HEAD 01:13:10 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 01:13:10 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 01:13:10 # $SEMVER_REMOTE_NAME = origin 01:13:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:13:10 # $SEMVER_USER_NAME = edgex-jenkins 01:13:10 # $SEMVER_BRANCH = master 01:13:10 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 01:13:17 $ docker exec --env ******** --env ******** 2da710e49dc8885ac854536460e9f85ee397992adb1e5c68cf6436ec5e41a6b5 ssh-agent -k 01:13:17 unset SSH_AUTH_SOCK; 01:13:17 unset SSH_AGENT_PID; 01:13:17 echo Agent pid 18 killed; 01:13:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:13:18 + git semver [Pipeline] } 01:13:18 $ docker stop --time=1 2da710e49dc8885ac854536460e9f85ee397992adb1e5c68cf6436ec5e41a6b5 01:13:19 $ docker rm -f 2da710e49dc8885ac854536460e9f85ee397992adb1e5c68cf6436ec5e41a6b5 [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 01:13:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:13:21 ---> package-listing.sh 01:13:21 ++ facter osfamily 01:13:21 ++ tr '[:upper:]' '[:lower:]' 01:13:21 + OS_FAMILY=redhat 01:13:21 + workspace=/w/workspace/gexfoundry_device-rest-go_master 01:13:21 + START_PACKAGES=/tmp/packages_start.txt 01:13:21 + END_PACKAGES=/tmp/packages_end.txt 01:13:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:13:21 + PACKAGES=/tmp/packages_start.txt 01:13:21 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 01:13:21 + PACKAGES=/tmp/packages_end.txt 01:13:21 + case "${OS_FAMILY}" in 01:13:21 + rpm -qa 01:13:21 + sort 01:13:26 + '[' -f /tmp/packages_start.txt ']' 01:13:26 + '[' -f /tmp/packages_end.txt ']' 01:13:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:13:26 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 01:13:26 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 01:13:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo 01:13:26 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 01:13:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:13:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:13:27 01:13:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:13:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:13:28 alpine: Pulling from edgex-lftools-log-publisher 01:13:28 df20fa9351a1: Pulling fs layer 01:13:28 36b3adc4ff6f: Pulling fs layer 01:13:28 8ad3a11d3b57: Pulling fs layer 01:13:28 46f8f816bc3b: Pulling fs layer 01:13:28 93b61091891f: Pulling fs layer 01:13:28 93b9cdb0e59b: Pulling fs layer 01:13:28 5e14af77c1be: Pulling fs layer 01:13:28 01666e4c0597: Pulling fs layer 01:13:28 aa168da1d23b: Pulling fs layer 01:13:28 93b9cdb0e59b: Waiting 01:13:28 93b61091891f: Waiting 01:13:28 5e14af77c1be: Waiting 01:13:28 01666e4c0597: Waiting 01:13:28 aa168da1d23b: Waiting 01:13:28 46f8f816bc3b: Waiting 01:13:28 36b3adc4ff6f: Verifying Checksum 01:13:28 36b3adc4ff6f: Download complete 01:13:28 46f8f816bc3b: Verifying Checksum 01:13:28 46f8f816bc3b: Download complete 01:13:28 df20fa9351a1: Verifying Checksum 01:13:28 93b9cdb0e59b: Verifying Checksum 01:13:28 93b9cdb0e59b: Download complete 01:13:28 5e14af77c1be: Verifying Checksum 01:13:28 5e14af77c1be: Download complete 01:13:28 01666e4c0597: Verifying Checksum 01:13:28 01666e4c0597: Download complete 01:13:28 93b61091891f: Verifying Checksum 01:13:28 93b61091891f: Download complete 01:13:28 8ad3a11d3b57: Verifying Checksum 01:13:28 8ad3a11d3b57: Download complete 01:13:28 df20fa9351a1: Pull complete 01:13:29 36b3adc4ff6f: Pull complete 01:13:30 aa168da1d23b: Verifying Checksum 01:13:30 aa168da1d23b: Download complete 01:13:30 8ad3a11d3b57: Pull complete 01:13:30 46f8f816bc3b: Pull complete 01:13:31 93b61091891f: Pull complete 01:13:31 93b9cdb0e59b: Pull complete 01:13:31 5e14af77c1be: Pull complete 01:13:31 01666e4c0597: Pull complete 01:13:39 aa168da1d23b: Pull complete 01:13:39 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 01:13:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:13:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:13:39 prd-centos7-docker-4c-2g-21453 does not seem to be running inside a container 01:13:39 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:13:42 $ docker top 99ce429481f673f7a1834ebd411ce245ffb782d4b05a0072fa5034fcfd2eb93c -eo pid,comm [Pipeline] { [Pipeline] sh 01:13:43 + touch /tmp/pre-build-complete [Pipeline] sh 01:13:43 + mkdir -p /var/log/sa [Pipeline] sh 01:13:43 + ls /var/log/sa-host 01:13:43 + sadf -c /var/log/sa-host/sa20 01:13:43 file_magic: OK 01:13:43 HZ: Using current value: 100 01:13:43 file_header: OK 01:13:43 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 01:13:43 Statistics: 01:13:43 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:13:43 File successfully converted to sysstat format version 12.2.1 01:13:43 + sadf -c /var/log/sa-host/sa23 01:13:43 file_magic: OK 01:13:43 HZ: Using current value: 100 01:13:43 file_header: OK 01:13:43 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 01:13:43 Statistics: 01:13:43 Hnuu...uuuununununu... 01:13:43 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:13:43 provisioning config files... 01:13:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4465989842379516943tmp [Pipeline] { [Pipeline] echo 01:13:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:13:44 ---> create-netrc.sh [Pipeline] } 01:13:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:13:44 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:13:44 ---> python-tools-install.sh [Pipeline] echo 01:13:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:13:44 ---> sudo-logs.sh 01:13:44 Archiving 'sudo' log.. [Pipeline] echo 01:13:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:13:45 ---> job-cost.sh 01:13:45 lf-activate-venv: SKIPPING 01:13:45 INFO: No Stack... 01:13:46 INFO: Retrieving Pricing Info for: v1-standard-2 01:13:46 INFO: Archiving Costs [Pipeline] echo 01:13:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:13:46 ---> logs-deploy.sh 01:13:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/31 01:13:46 INFO: archiving workspace using pattern(s): 01:13:48 Archives upload complete. 01:13:48 INFO: archiving logs to Nexus 01:13:49 ---> uname -a: 01:13:49 Linux prd-centos7-docker-4c-2g-21453.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 01:13:49 01:13:49 01:13:49 ---> lscpu: 01:13:49 Architecture: x86_64 01:13:49 CPU op-mode(s): 32-bit, 64-bit 01:13:49 Byte Order: Little Endian 01:13:49 Address sizes: 40 bits physical, 48 bits virtual 01:13:49 CPU(s): 4 01:13:49 On-line CPU(s) list: 0-3 01:13:49 Thread(s) per core: 1 01:13:49 Core(s) per socket: 1 01:13:49 Socket(s): 4 01:13:49 NUMA node(s): 1 01:13:49 Vendor ID: GenuineIntel 01:13:49 CPU family: 6 01:13:49 Model: 44 01:13:49 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 01:13:49 Stepping: 1 01:13:49 CPU MHz: 2933.438 01:13:49 BogoMIPS: 5866.87 01:13:49 Virtualization: VT-x 01:13:49 Hypervisor vendor: KVM 01:13:49 Virtualization type: full 01:13:49 L1d cache: 128 KiB 01:13:49 L1i cache: 128 KiB 01:13:49 L2 cache: 16 MiB 01:13:49 L3 cache: 64 MiB 01:13:49 NUMA node0 CPU(s): 0-3 01:13:49 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 01:13:49 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 01:13:49 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 01:13:49 Vulnerability Meltdown: Mitigation; PTI 01:13:49 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:13:49 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:13:49 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:13:49 Vulnerability Srbds: Not affected 01:13:49 Vulnerability Tsx async abort: Not affected 01:13:49 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 01:13:49 01:13:49 01:13:49 ---> nproc: 01:13:49 4 01:13:49 01:13:49 01:13:49 ---> df -h: 01:13:49 Filesystem Size Used Available Use% Mounted on 01:13:49 overlay 50.0G 8.6G 41.4G 17% / 01:13:49 tmpfs 64.0M 0 64.0M 0% /dev 01:13:49 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 01:13:49 shm 64.0M 0 64.0M 0% /dev/shm 01:13:49 /dev/vda1 50.0G 8.6G 41.4G 17% /facter-os 01:13:49 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/resolv.conf 01:13:49 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hostname 01:13:49 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hosts 01:13:49 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/secure 01:13:49 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/auth.log 01:13:49 /dev/vda1 50.0G 8.6G 41.4G 17% /run/cloud-init/result.json 01:13:49 /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/gexfoundry_device-rest-go_master 01:13:49 /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/gexfoundry_device-rest-go_master@tmp 01:13:49 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/sa-host 01:13:49 01:13:49 01:13:49 ---> free -m: 01:13:49 total used free shared buff/cache available 01:13:49 Mem: 1837 824 148 0 863 947 01:13:49 Swap: 1023 3 1020 01:13:49 01:13:49 01:13:49 ---> ip addr: 01:13:49 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 01:13:49 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 01:13:49 inet 127.0.0.1/8 scope host lo 01:13:49 valid_lft forever preferred_lft forever 01:13:49 inet6 ::1/128 scope host 01:13:49 valid_lft forever preferred_lft forever 01:13:49 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 01:13:49 link/ether fa:16:3e:a4:03:30 brd ff:ff:ff:ff:ff:ff 01:13:49 inet 10.30.122.48/23 brd 10.30.123.255 scope global dynamic eth0 01:13:49 valid_lft 85825sec preferred_lft 85825sec 01:13:49 inet6 fe80::f816:3eff:fea4:330/64 scope link 01:13:49 valid_lft forever preferred_lft forever 01:13:49 3: docker0: mtu 1500 qdisc noqueue state DOWN 01:13:49 link/ether 02:42:bc:49:81:d6 brd ff:ff:ff:ff:ff:ff 01:13:49 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 01:13:49 valid_lft forever preferred_lft forever 01:13:49 inet6 fe80::42:bcff:fe49:81d6/64 scope link 01:13:49 valid_lft forever preferred_lft forever 01:13:49 01:13:49 01:13:49 ---> sar -b -r -n DEV: 01:13:49 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/20/21 _x86_64_ (4 CPU) 01:13:49 01:13:49 01:03:59 LINUX RESTART (4 CPU) 01:13:49 01:13:49 01:05:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:13:49 01:06:01 6.88 0.63 6.24 0.00 40.89 651.45 0.00 01:13:49 01:07:01 0.33 0.00 0.33 0.00 0.00 5.00 0.00 01:13:49 01:08:01 0.27 0.00 0.27 0.00 0.00 3.76 0.00 01:13:49 01:09:01 0.33 0.00 0.33 0.00 0.00 4.23 0.00 01:13:49 01:10:02 0.20 0.00 0.20 0.00 0.00 2.77 0.00 01:13:49 01:11:01 0.30 0.00 0.30 0.00 0.00 3.83 0.00 01:13:49 01:12:01 106.24 50.24 56.00 0.00 2328.64 22439.17 0.00 01:13:49 01:13:01 355.30 180.91 174.39 0.00 10178.47 43613.11 0.00 01:13:49 Average: 58.88 29.05 29.84 0.00 1572.62 8362.28 0.00 01:13:49 01:13:49 01:05:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:13:49 01:06:01 146228 0 611068 32.48 2620 1121628 1115292 38.06 437408 1099632 20 01:13:49 01:07:01 148640 0 608652 32.35 2620 1121632 1086376 37.08 445376 1089712 12 01:13:49 01:08:01 149136 0 608148 32.32 2620 1121640 1078032 36.79 442428 1092236 8 01:13:49 01:09:01 147960 0 609324 32.38 2620 1121640 1078056 36.79 444532 1091732 8 01:13:49 01:10:02 147692 0 609584 32.40 2620 1121648 1078116 36.79 442844 1093724 20 01:13:49 01:11:01 148528 0 608744 32.35 2620 1121652 1077936 36.79 441772 1093720 12 01:13:49 01:12:01 69432 0 730036 38.80 2620 1079456 1514064 51.67 533476 1032848 73884 01:13:49 01:13:01 121560 0 800664 42.55 1524 957796 1409168 48.09 674132 744708 72128 01:13:49 Average: 134897 0 648278 34.45 2483 1095886 1179630 40.26 482746 1042289 18262 01:13:49 01:13:49 01:05:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:13:49 01:06:01 eth0 59.37 65.35 155.18 11.50 0.00 0.00 0.00 0.00 01:13:49 01:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:49 01:06:01 docker0 50.72 36.03 3.97 132.75 0.00 0.00 0.00 0.00 01:13:49 01:07:01 eth0 1.25 0.28 0.33 0.23 0.00 0.00 0.00 0.00 01:13:49 01:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:49 01:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:49 01:08:01 eth0 1.90 0.35 0.44 0.20 0.00 0.00 0.00 0.00 01:13:49 01:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:49 01:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:49 01:09:01 eth0 1.10 0.60 0.58 0.40 0.00 0.00 0.00 0.00 01:13:49 01:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:49 01:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:49 01:10:02 eth0 2.23 0.38 0.56 0.23 0.00 0.00 0.00 0.00 01:13:49 01:10:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:49 01:10:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:49 01:11:01 eth0 0.05 0.02 0.00 0.03 0.00 0.00 0.00 0.00 01:13:49 01:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:49 01:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:49 01:12:01 eth0 474.55 421.48 4077.79 33.40 0.00 0.00 0.00 0.00 01:13:49 01:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:49 01:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:49 01:13:01 vethb445a5b 29.42 41.49 1.85 202.21 0.00 0.00 0.00 0.00 01:13:49 01:13:01 eth0 530.02 452.94 3604.37 100.43 0.00 0.00 0.00 0.00 01:13:49 01:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:49 01:13:01 docker0 61.62 73.71 4.40 361.55 0.00 0.00 0.00 0.00 01:13:49 Average: vethb445a5b 3.69 5.20 0.23 25.34 0.00 0.00 0.00 0.00 01:13:49 Average: eth0 134.16 117.98 982.47 18.35 0.00 0.00 0.00 0.00 01:13:49 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:49 Average: docker0 14.08 13.75 1.05 61.94 0.00 0.00 0.00 0.00 01:13:49 01:13:49 01:13:49 ---> sar -P ALL: 01:13:49 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/20/21 _x86_64_ (4 CPU) 01:13:49 01:13:49 01:03:59 LINUX RESTART (4 CPU) 01:13:49 01:13:49 01:05:01 CPU %user %nice %system %iowait %steal %idle 01:13:49 01:06:01 all 1.42 0.00 0.78 0.04 0.00 97.77 01:13:49 01:06:01 0 1.40 0.00 0.72 0.07 0.00 97.81 01:13:49 01:06:01 1 1.69 0.00 0.70 0.05 0.00 97.56 01:13:49 01:06:01 2 1.24 0.00 0.85 0.00 0.02 97.90 01:13:49 01:06:01 3 1.34 0.00 0.84 0.03 0.00 97.79 01:13:49 01:07:01 all 0.05 0.00 0.05 0.00 0.00 99.90 01:13:49 01:07:01 0 0.02 0.00 0.03 0.00 0.00 99.95 01:13:49 01:07:01 1 0.10 0.00 0.07 0.00 0.00 99.83 01:13:49 01:07:01 2 0.08 0.00 0.05 0.00 0.00 99.87 01:13:49 01:07:01 3 0.02 0.00 0.03 0.00 0.00 99.95 01:13:49 01:08:01 all 0.09 0.00 0.05 0.00 0.00 99.86 01:13:49 01:08:01 0 0.03 0.00 0.03 0.00 0.00 99.93 01:13:49 01:08:01 1 0.05 0.00 0.03 0.00 0.00 99.92 01:13:49 01:08:01 2 0.22 0.00 0.08 0.00 0.00 99.70 01:13:49 01:08:01 3 0.05 0.00 0.05 0.00 0.00 99.90 01:13:49 01:09:01 all 0.15 0.00 0.04 0.00 0.00 99.80 01:13:49 01:09:01 0 0.02 0.00 0.03 0.00 0.00 99.95 01:13:49 01:09:01 1 0.05 0.00 0.05 0.00 0.00 99.90 01:13:49 01:09:01 2 0.52 0.00 0.03 0.00 0.02 99.43 01:13:49 01:09:01 3 0.03 0.00 0.03 0.00 0.00 99.93 01:13:49 01:10:02 all 0.17 0.00 0.10 0.00 0.00 99.73 01:13:49 01:10:02 0 0.02 0.00 0.08 0.00 0.02 99.88 01:13:49 01:10:02 1 0.07 0.00 0.10 0.00 0.00 99.83 01:13:49 01:10:02 2 0.53 0.00 0.05 0.00 0.00 99.42 01:13:49 01:10:02 3 0.07 0.00 0.15 0.00 0.00 99.78 01:13:49 01:11:01 all 0.14 0.00 0.02 0.00 0.00 99.83 01:13:49 01:11:01 0 0.02 0.00 0.02 0.00 0.00 99.97 01:13:49 01:11:01 1 0.02 0.00 0.02 0.00 0.00 99.97 01:13:49 01:11:01 2 0.51 0.00 0.02 0.00 0.00 99.48 01:13:49 01:11:01 3 0.03 0.00 0.03 0.00 0.02 99.92 01:13:49 01:12:01 all 5.85 0.00 4.38 0.64 0.12 89.01 01:13:49 01:12:01 0 6.00 0.00 4.47 0.29 0.10 89.14 01:13:49 01:12:01 1 5.64 0.00 4.31 1.08 0.17 88.80 01:13:49 01:12:01 2 6.24 0.00 4.24 0.78 0.08 88.65 01:13:49 01:12:01 3 5.53 0.00 4.52 0.39 0.12 89.44 01:13:49 01:13:01 all 13.87 0.00 10.23 4.23 0.09 71.58 01:13:49 01:13:01 0 12.11 0.00 11.30 3.13 0.05 73.40 01:13:49 01:13:01 1 12.59 0.00 10.95 5.95 0.09 70.42 01:13:49 01:13:01 2 14.51 0.00 8.98 3.70 0.10 72.71 01:13:49 01:13:01 3 16.27 0.00 9.69 4.12 0.12 69.80 01:13:49 Average: all 2.68 0.00 1.92 0.60 0.03 94.77 01:13:49 Average: 0 2.41 0.00 2.05 0.43 0.02 95.10 01:13:49 Average: 1 2.49 0.00 2.00 0.87 0.03 94.61 01:13:49 Average: 2 2.94 0.00 1.76 0.55 0.03 94.72 01:13:49 Average: 3 2.87 0.00 1.89 0.55 0.03 94.66 01:13:49 01:13:49 01:13:49