Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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-25010 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 Checking out Revision c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --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 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 # timeout=10 Commit message: "Merge pull request #69 from FelixTing/issue-65" > git rev-list --no-walk 9e4888f50a2a312870744f4f89808877d999d7c6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:03:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:03:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:03:42 ========================================================= 17:03:42 EdgeX Global Pipelines Version Info 17:03:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:03:43 ------------------- 17:03:43 stable info: 17:03:43 ------------------- 17:03:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:03:43 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 17:03:43 Message: update stable to v1.0.179 17:03:44 ------------------- 17:03:44 experimental info: 17:03:44 ------------------- 17:03:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:03:44 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 17:03:44 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:03:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 17:03:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 17:03:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:03:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:03:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:03:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 17:03:45 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:03:45 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 17:03:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 17:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:03:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:03:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:03:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:03:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:03:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:03:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:03:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:03:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:03:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:03:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:03:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:03:47 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 17:03:47 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 17:03:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 17:03:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 17:03:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 17:03:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [Pipeline] echo 17:03:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c106e3b [Pipeline] echo 17:03:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:03:48 provisioning config files... 17:03:48 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8033156731126491185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:03:49 ---> docker-login.sh 17:03:49 nexus3.edgexfoundry.org:10001 17:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:49 Configure a credential helper to remove this warning. See 17:03:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:49 17:03:49 Login Succeeded 17:03:49 nexus3.edgexfoundry.org:10002 17:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:49 Configure a credential helper to remove this warning. See 17:03:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:49 17:03:49 Login Succeeded 17:03:49 nexus3.edgexfoundry.org:10003 17:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:49 Configure a credential helper to remove this warning. See 17:03:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:49 17:03:49 Login Succeeded 17:03:49 nexus3.edgexfoundry.org:10004 17:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:50 Configure a credential helper to remove this warning. See 17:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:50 17:03:50 Login Succeeded 17:03:50 docker.io 17:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:50 Configure a credential helper to remove this warning. See 17:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:50 17:03:50 Login Succeeded 17:03:50 ---> docker-login.sh ends [Pipeline] } 17:03:50 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 17:03:51 + git log --format=format:%s -1 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [Pipeline] echo 17:03:51 GIT_COMMIT: c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584, Commit Message: Merge pull request #69 from FelixTing/issue-65 [Pipeline] echo 17:03:51 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:03:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:03:52 17:03:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:03:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:03:52 latest: Pulling from edgex-devops/git-semver 17:03:52 31603596830f: Pulling fs layer 17:03:52 2a8b12db71e7: Pulling fs layer 17:03:52 6ca5941a6612: Pulling fs layer 17:03:52 ecc8261a40a4: Pulling fs layer 17:03:52 ecc8261a40a4: Waiting 17:03:53 31603596830f: Verifying Checksum 17:03:53 2a8b12db71e7: Verifying Checksum 17:03:53 2a8b12db71e7: Download complete 17:03:53 ecc8261a40a4: Verifying Checksum 17:03:53 ecc8261a40a4: Download complete 17:03:53 6ca5941a6612: Verifying Checksum 17:03:53 6ca5941a6612: Download complete 17:03:53 31603596830f: Pull complete 17:03:53 2a8b12db71e7: Pull complete 17:03:54 6ca5941a6612: Pull complete 17:03:54 ecc8261a40a4: Pull complete 17:03:54 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:03:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:03:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:03:54 prd-centos7-docker-4c-2g-25010 does not seem to be running inside a container 17:03:54 $ 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 17:03:57 $ docker top 721b29c609a83eda12b77aa4466d78454322d04548c2a14c72f659d007b1cf2a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:03:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:03:57 [ssh-agent] Looking for ssh-agent implementation... 17:03:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:03:57 $ docker exec 721b29c609a83eda12b77aa4466d78454322d04548c2a14c72f659d007b1cf2a ssh-agent 17:03:58 SSH_AUTH_SOCK=/tmp/ssh-O5ltfeti9pki/agent.12 17:03:58 SSH_AGENT_PID=17 17:03:58 Running ssh-add (command line suppressed) 17:03:58 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1695571299410247267.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1695571299410247267.key) 17:03:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:03:58 + git tag --points-at HEAD [Pipeline] } 17:03:58 $ docker exec --env ******** --env ******** 721b29c609a83eda12b77aa4466d78454322d04548c2a14c72f659d007b1cf2a ssh-agent -k 17:03:58 unset SSH_AUTH_SOCK; 17:03:58 unset SSH_AGENT_PID; 17:03:58 echo Agent pid 17 killed; 17:03:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:03:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:03:58 [ssh-agent] Looking for ssh-agent implementation... 17:03:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:03:59 $ docker exec 721b29c609a83eda12b77aa4466d78454322d04548c2a14c72f659d007b1cf2a ssh-agent 17:03:59 SSH_AUTH_SOCK=/tmp/ssh-k59ekJZTjpY9/agent.46 17:03:59 SSH_AGENT_PID=52 17:03:59 Running ssh-add (command line suppressed) 17:03:59 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_344679982442592150.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_344679982442592150.key) 17:03:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:03:59 + git semver init 17:03:59 # -> Open(): unable to determine branch for HEAD 17:03:59 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 17:03:59 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 17:03:59 # $SEMVER_REMOTE_NAME = origin 17:03:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:03:59 # $SEMVER_USER_NAME = edgex-jenkins 17:03:59 # $SEMVER_BRANCH = master 17:03:59 # $SEMVER_TEMP = /tmp/semver-381169389 17:03:59 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 17:04:00 # '/tmp/semver-381169389' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 17:04:00 # -> Force: false 17:04:00 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 17:04:00 $ docker exec --env ******** --env ******** 721b29c609a83eda12b77aa4466d78454322d04548c2a14c72f659d007b1cf2a ssh-agent -k 17:04:00 unset SSH_AUTH_SOCK; 17:04:00 unset SSH_AGENT_PID; 17:04:00 echo Agent pid 52 killed; 17:04:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:04:01 + git semver [Pipeline] } 17:04:01 $ docker stop --time=1 721b29c609a83eda12b77aa4466d78454322d04548c2a14c72f659d007b1cf2a 17:04:03 $ docker rm -f 721b29c609a83eda12b77aa4466d78454322d04548c2a14c72f659d007b1cf2a [Pipeline] // withDockerContainer [Pipeline] sh 17:04:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:04:03 Stashed 1 file(s) [Pipeline] echo 17:04:03 [edgeXSemver]: initialized semver on version 1.2.2-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 17:04:19 Still waiting to schedule task 17:04:19 ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-25014’ is offline; ‘prd-centos7-docker-4c-2g-25015’ is offline 17:04:19 Still waiting to schedule task 17:04:19 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-25007’ 17:05:20 Running on prd-centos7-docker-4c-2g-25018 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 17:05:20 Running in /w/workspace/device-rest-go/33 [Pipeline] { [Pipeline] checkout 17:05:23 using credential edgex-jenkins-ssh 17:05:23 Cloning the remote Git repository 17:05:23 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:05:23 > git init /w/workspace/device-rest-go/33 # timeout=10 17:05:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:05:23 > git --version # timeout=10 17:05:23 > git --version # 'git version 2.24.3' 17:05:23 using GIT_SSH to set credentials SSH Credentials for GitHub 17:05:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:05:24 Checking out Revision c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 (master) 17:05:24 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:05:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:05:24 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:05:24 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:05:24 using GIT_SSH to set credentials SSH Credentials for GitHub 17:05:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 17:05:24 > git config core.sparsecheckout # timeout=10 17:05:24 > git checkout -f c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 # timeout=10 17:05:28 Commit message: "Merge pull request #69 from FelixTing/issue-65" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:05:29 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:05:29 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:05:30 + true 17:05:30 + sudo service docker restart 17:05:30 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:05:31 provisioning config files... 17:05:31 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/33@tmp/config220770793711071975tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:05:32 ---> docker-login.sh 17:05:32 nexus3.edgexfoundry.org:10001 17:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:32 Configure a credential helper to remove this warning. See 17:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:32 17:05:32 Login Succeeded 17:05:32 nexus3.edgexfoundry.org:10002 17:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:32 Configure a credential helper to remove this warning. See 17:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:32 17:05:32 Login Succeeded 17:05:32 nexus3.edgexfoundry.org:10003 17:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:32 Configure a credential helper to remove this warning. See 17:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:32 17:05:32 Login Succeeded 17:05:32 nexus3.edgexfoundry.org:10004 17:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:33 Configure a credential helper to remove this warning. See 17:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:33 17:05:33 Login Succeeded 17:05:33 docker.io 17:05:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:34 Configure a credential helper to remove this warning. See 17:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:34 17:05:34 Login Succeeded 17:05:34 ---> docker-login.sh ends [Pipeline] } 17:05:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:05:35 ========================================================= 17:05:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 17:05:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:05:35 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 17:05:35 Sending build context to Docker daemon 89.09kB 17:05:35 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 17:05:35 Step 2/10 : FROM ${BASE} 17:05:35 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 17:05:35 188c0c94c7c5: Pulling fs layer 17:05:35 0ef7d3d256c8: Pulling fs layer 17:05:35 de9db76c5a1d: Pulling fs layer 17:05:35 bca2f99d35d6: Pulling fs layer 17:05:35 93359f2a8cfa: Pulling fs layer 17:05:35 7c6f9722023f: Pulling fs layer 17:05:35 a35cf1a2eb13: Pulling fs layer 17:05:35 93359f2a8cfa: Waiting 17:05:35 7c6f9722023f: Waiting 17:05:35 a35cf1a2eb13: Waiting 17:05:35 bca2f99d35d6: Waiting 17:05:35 de9db76c5a1d: Verifying Checksum 17:05:35 de9db76c5a1d: Download complete 17:05:35 0ef7d3d256c8: Verifying Checksum 17:05:35 0ef7d3d256c8: Download complete 17:05:35 93359f2a8cfa: Verifying Checksum 17:05:35 93359f2a8cfa: Download complete 17:05:35 7c6f9722023f: Verifying Checksum 17:05:35 7c6f9722023f: Download complete 17:05:36 188c0c94c7c5: Verifying Checksum 17:05:36 188c0c94c7c5: Download complete 17:05:36 188c0c94c7c5: Pull complete 17:05:36 0ef7d3d256c8: Pull complete 17:05:36 de9db76c5a1d: Pull complete 17:05:37 a35cf1a2eb13: Verifying Checksum 17:05:37 a35cf1a2eb13: Download complete 17:05:40 bca2f99d35d6: Verifying Checksum 17:05:40 bca2f99d35d6: Download complete 17:05:45 bca2f99d35d6: Pull complete 17:05:45 93359f2a8cfa: Pull complete 17:05:45 7c6f9722023f: Pull complete 17:05:55 a35cf1a2eb13: Pull complete 17:05:55 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 17:05:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:05:55 ---> a62c8e92a672 17:05:55 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 17:05:55 ---> Running in b4d22b67bf8b 17:05:55 Removing intermediate container b4d22b67bf8b 17:05:55 ---> 8e117a03703a 17:05:55 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 17:05:55 ---> Running in 727d7add0ec6 17:05:55 Removing intermediate container 727d7add0ec6 17:05:55 ---> 1d357d8f0e28 17:05:55 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:05:55 ---> Running in 0486ed7c7fe2 17:05:55 Removing intermediate container 0486ed7c7fe2 17:05:55 ---> 83f566fbd5ed 17:05:55 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:05:55 ---> Running in 95fa5efcee01 17:05:56 Removing intermediate container 95fa5efcee01 17:05:56 ---> 9265d81aaf16 17:05:56 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:05:56 ---> Running in 639c8b593079 17:05:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:05:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:05:59 OK: 166 MiB in 39 packages 17:06:00 Removing intermediate container 639c8b593079 17:06:00 ---> 61db9ea43440 17:06:00 Step 8/10 : WORKDIR /device-rest-go 17:06:00 ---> Running in 2f7220851cd8 17:06:00 Removing intermediate container 2f7220851cd8 17:06:00 ---> 3c58d58e5597 17:06:00 Step 9/10 : COPY . . 17:06:01 ---> 6ba6c66143be 17:06:01 Step 10/10 : RUN go mod download 17:06:01 ---> Running in fb7090246b2f 17:06:23 Removing intermediate container fb7090246b2f 17:06:23 ---> 1355344a6434 17:06:23 Successfully built 1355344a6434 17:06:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:06:23 + docker inspect -f . ci-base-image-x86_64 17:06:23 . [Pipeline] withDockerContainer 17:06:24 prd-centos7-docker-4c-2g-25018 does not seem to be running inside a container 17:06:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/33 -v /w/workspace/device-rest-go/33:/w/workspace/device-rest-go/33:rw,z -v /w/workspace/device-rest-go/33@tmp:/w/workspace/device-rest-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:06:25 $ docker top 708690183ffdefcbde7fe0c1979939ac4fad77df315c4982ecea23a494c0ff32 -eo pid,comm [Pipeline] { [Pipeline] sh 17:06:25 + go version 17:06:25 go version go1.15.5 linux/amd64 [Pipeline] } 17:06:25 $ docker stop --time=1 708690183ffdefcbde7fe0c1979939ac4fad77df315c4982ecea23a494c0ff32 17:06:27 $ docker rm -f 708690183ffdefcbde7fe0c1979939ac4fad77df315c4982ecea23a494c0ff32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:06:28 + docker inspect -f . ci-base-image-x86_64 17:06:28 . [Pipeline] withDockerContainer 17:06:28 prd-centos7-docker-4c-2g-25018 does not seem to be running inside a container 17:06:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/33 -v /w/workspace/device-rest-go/33:/w/workspace/device-rest-go/33:rw,z -v /w/workspace/device-rest-go/33@tmp:/w/workspace/device-rest-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:06:29 $ docker top a9b9e4fe44ac28d08bb908053c8b561b01d574849fdb2bb5009f42218b5f0262 -eo pid,comm [Pipeline] { [Pipeline] sh 17:06:29 + make test 17:06:29 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:06:30 ? github.com/edgexfoundry/device-rest-go [no test files] 17:06:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:06:42 ok github.com/edgexfoundry/device-rest-go/driver 0.024s coverage: 56.3% of statements 17:06:42 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:06:45 gofmt -l . 17:06:45 [ "`gofmt -l .`" = "" ] 17:06:45 ./bin/test-go-mod-tidy.sh 17:06:45 ./bin/test-attribution-txt.sh [Pipeline] } 17:06:46 $ docker stop --time=1 a9b9e4fe44ac28d08bb908053c8b561b01d574849fdb2bb5009f42218b5f0262 17:06:48 $ docker rm -f a9b9e4fe44ac28d08bb908053c8b561b01d574849fdb2bb5009f42218b5f0262 [Pipeline] // withDockerContainer [Pipeline] sh 17:06:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:06:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:06:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:06:51 + ls -al . 17:06:51 total 96 17:06:51 drwxrwxr-x. 8 jenkins jenkins 4096 Feb 4 17:06 . 17:06:51 drwxrwxr-x. 4 jenkins jenkins 30 Feb 4 17:05 .. 17:06:51 -rw-rw-r--. 1 jenkins jenkins 5294 Feb 4 17:05 Attribution.txt 17:06:51 drwxrwxr-x. 2 jenkins jenkins 64 Feb 4 17:05 bin 17:06:51 drwxrwxr-x. 3 jenkins jenkins 32 Feb 4 17:05 cmd 17:06:51 -rw-r--r--. 1 jenkins jenkins 9369 Feb 4 17:06 coverage.out 17:06:51 -rw-rw-r--. 1 jenkins jenkins 1530 Feb 4 17:05 Dockerfile 17:06:51 -rw-rw-r--. 1 jenkins jenkins 1002 Feb 4 17:05 Dockerfile.build 17:06:51 -rw-rw-r--. 1 jenkins jenkins 151 Feb 4 17:05 .dockerignore 17:06:51 drwxrwxr-x. 2 jenkins jenkins 93 Feb 4 17:06 driver 17:06:51 drwxrwxr-x. 8 jenkins jenkins 162 Feb 4 17:05 .git 17:06:51 drwxrwxr-x. 2 jenkins jenkins 103 Feb 4 17:05 .github 17:06:51 -rw-rw-r--. 1 jenkins jenkins 339 Feb 4 17:05 .gitignore 17:06:51 -rw-r--r--. 1 jenkins jenkins 267 Feb 4 17:06 go.mod 17:06:51 -rw-r--r--. 1 jenkins jenkins 13985 Feb 4 17:06 go.sum 17:06:51 -rw-rw-r--. 1 jenkins jenkins 680 Feb 4 17:05 Jenkinsfile 17:06:51 -rw-rw-r--. 1 jenkins jenkins 11340 Feb 4 17:05 LICENSE 17:06:51 -rw-rw-r--. 1 jenkins jenkins 951 Feb 4 17:05 Makefile 17:06:51 -rw-rw-r--. 1 jenkins jenkins 5917 Feb 4 17:05 README.md 17:06:51 drwxrwxr-x. 4 jenkins jenkins 71 Feb 4 17:05 snap 17:06:51 -rw-rw-r--. 1 jenkins jenkins 11 Feb 4 17:04 VERSION 17:06:51 -rw-rw-r--. 1 jenkins jenkins 713 Feb 4 17:05 version.go [Pipeline] isUnix [Pipeline] sh 17:06:51 + 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=c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 --label arch=amd64 --label version=1.2.2-dev.1 . 17:06:51 Sending build context to Docker daemon 100.9kB 17:06:51 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 17:06:51 Step 2/25 : FROM ${BASE} AS builder 17:06:51 ---> 1355344a6434 17:06:51 Step 3/25 : ARG MAKE='make build' 17:06:51 ---> Running in cf691bc73b1a 17:06:52 Removing intermediate container cf691bc73b1a 17:06:52 ---> fdd350919e02 17:06:52 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 17:06:52 ---> Running in 19598afef7ed 17:06:52 Removing intermediate container 19598afef7ed 17:06:52 ---> 0ebe8904c19c 17:06:52 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:06:52 ---> Running in ba5d8750a75e 17:06:52 Removing intermediate container ba5d8750a75e 17:06:52 ---> 860bbea0fe59 17:06:52 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:06:52 ---> Running in d9b7e87f1b76 17:06:53 Removing intermediate container d9b7e87f1b76 17:06:53 ---> fca55ca547f3 17:06:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:06:53 ---> Running in 66da5d04e990 17:06:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:06:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:06:58 OK: 166 MiB in 39 packages 17:06:58 Removing intermediate container 66da5d04e990 17:06:58 ---> b82a52946635 17:06:58 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 17:06:58 ---> Running in 2053c030bae2 17:06:58 Removing intermediate container 2053c030bae2 17:06:58 ---> 58a6ca088c19 17:06:58 Step 9/25 : COPY go.mod . 17:06:58 ---> 63b84c23b0db 17:06:58 Step 10/25 : COPY Makefile . 17:06:59 ---> 696d29814203 17:06:59 Step 11/25 : RUN make update 17:06:59 ---> Running in ad96dabc61c3 17:06:59 CGO_ENABLED=0 GO111MODULE=on go mod download 17:07:00 Removing intermediate container ad96dabc61c3 17:07:00 ---> 32d16e7d978d 17:07:00 Step 12/25 : COPY . . 17:07:00 ---> 380359b713b2 17:07:00 Step 13/25 : RUN $MAKE 17:07:00 ---> Running in f8b68ab0bba4 17:07:01 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.1" -o cmd/device-rest-go ./cmd 17:07:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-25024 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 17:07:11 Running in /w/workspace/device-rest-go/33 [Pipeline] { [Pipeline] checkout 17:07:13 Removing intermediate container f8b68ab0bba4 17:07:13 ---> 14aa135e846a 17:07:13 Step 14/25 : FROM alpine:3.12 17:07:13 3.12: Pulling from library/alpine 17:07:13 801bfaa63ef2: Pulling fs layer 17:07:13 801bfaa63ef2: Verifying Checksum 17:07:13 801bfaa63ef2: Download complete 17:07:14 801bfaa63ef2: Pull complete 17:07:14 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 17:07:14 Status: Downloaded newer image for alpine:3.12 17:07:14 ---> 389fef711851 17:07:14 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:07:14 ---> Running in e3267a55cc7c 17:07:14 Removing intermediate container e3267a55cc7c 17:07:14 ---> 0638a1c03c21 17:07:14 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 17:07:14 ---> Running in 0a12276a139a 17:07:14 Removing intermediate container 0a12276a139a 17:07:14 ---> 6daf111883bb 17:07:14 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 17:07:14 ---> 45bfd3c2b8bd 17:07:14 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 17:07:15 ---> 40930798bef0 17:07:15 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 17:07:15 ---> ff33c3cde4b8 17:07:15 Step 20/25 : EXPOSE 49986 17:07:15 ---> Running in 4263015ba915 17:07:16 Removing intermediate container 4263015ba915 17:07:16 ---> 0b020c32c988 17:07:16 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 17:07:16 ---> Running in f88747801e87 17:07:16 Removing intermediate container f88747801e87 17:07:16 ---> d556335f7564 17:07:16 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:07:16 ---> Running in 4264ceb61783 17:07:16 Removing intermediate container 4264ceb61783 17:07:16 ---> 47c4b470a834 17:07:16 Step 23/25 : LABEL arch=amd64 17:07:16 ---> Running in 8baae8da1532 17:07:16 Removing intermediate container 8baae8da1532 17:07:16 ---> e8e3c649f64f 17:07:16 Step 24/25 : LABEL git_sha=c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 17:07:16 ---> Running in 90362a166bdc 17:07:16 Removing intermediate container 90362a166bdc 17:07:16 ---> fdfb94e4d7ad 17:07:16 Step 25/25 : LABEL version=1.2.2-dev.1 17:07:16 ---> Running in 2a9e20c023e8 17:07:17 Removing intermediate container 2a9e20c023e8 17:07:17 ---> 3d9b7b5a3d11 17:07:17 [Warning] One or more build-args [ARCH] were not consumed 17:07:17 Successfully built 3d9b7b5a3d11 17:07:17 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { 17:07:17 using credential edgex-jenkins-ssh [Pipeline] wrap 17:07:17 provisioning config files... 17:07:17 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/33@tmp/config3889742376957514745tmp 17:07:17 Cloning the remote Git repository [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:07:17 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:07:17 > git init /w/workspace/device-rest-go/33 # timeout=10 17:07:17 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:07:17 > git --version # timeout=10 17:07:17 > git --version # 'git version 2.17.1' 17:07:17 using GIT_SSH to set credentials SSH Credentials for GitHub 17:07:17 ---> docker-login.sh 17:07:17 nexus3.edgexfoundry.org:10001 17:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:18 Configure a credential helper to remove this warning. See 17:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:18 17:07:18 Login Succeeded 17:07:18 nexus3.edgexfoundry.org:10002 17:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:18 Configure a credential helper to remove this warning. See 17:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:18 17:07:18 Login Succeeded 17:07:18 nexus3.edgexfoundry.org:10003 17:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:18 Configure a credential helper to remove this warning. See 17:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:18 17:07:18 Login Succeeded 17:07:18 nexus3.edgexfoundry.org:10004 17:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:18 Configure a credential helper to remove this warning. See 17:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:18 17:07:18 Login Succeeded 17:07:18 docker.io 17:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:19 Configure a credential helper to remove this warning. See 17:07:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:19 17:07:19 Login Succeeded 17:07:19 ---> docker-login.sh ends [Pipeline] } 17:07:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv 17:07:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] echo 17:07:19 [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: 17:07:19 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 17:07:19 latest 17:07:19 1.2.2-dev.1 17:07:19 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1 17:07:19 master 17:07:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:07:19 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [Pipeline] isUnix [Pipeline] sh 17:07:20 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 17:07:20 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 17:07:20 544325e74e31: Preparing 17:07:20 24401381a7e5: Preparing 17:07:20 030c5e50c846: Preparing 17:07:20 777b2c648970: Preparing 17:07:20 777b2c648970: Layer already exists 17:07:20 030c5e50c846: Pushed 17:07:20 24401381a7e5: Pushed 17:07:21 544325e74e31: Pushed 17:07:21 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584: digest: sha256:879cab3861e2632a6f9d83b2fea86241723c9c1566d3ea3baeafdf57e4096949 size: 1155 [Pipeline] isUnix [Pipeline] sh 17:07:21 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh 17:07:21 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:07:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:07:21 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:07:21 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:07:21 using GIT_SSH to set credentials SSH Credentials for GitHub 17:07:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 17:07:22 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 17:07:22 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 17:07:22 544325e74e31: Preparing 17:07:22 24401381a7e5: Preparing 17:07:22 030c5e50c846: Preparing 17:07:22 777b2c648970: Preparing 17:07:22 24401381a7e5: Layer already exists 17:07:22 030c5e50c846: Layer already exists 17:07:22 544325e74e31: Layer already exists 17:07:22 777b2c648970: Layer already exists 17:07:22 latest: digest: sha256:879cab3861e2632a6f9d83b2fea86241723c9c1566d3ea3baeafdf57e4096949 size: 1155 [Pipeline] isUnix [Pipeline] sh 17:07:22 Checking out Revision c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 (master) 17:07:22 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.1 [Pipeline] isUnix [Pipeline] sh 17:07:22 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.1 17:07:22 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 17:07:22 544325e74e31: Preparing 17:07:22 24401381a7e5: Preparing 17:07:22 030c5e50c846: Preparing 17:07:22 777b2c648970: Preparing 17:07:22 777b2c648970: Layer already exists 17:07:22 24401381a7e5: Layer already exists 17:07:22 030c5e50c846: Layer already exists 17:07:22 544325e74e31: Layer already exists 17:07:22 1.2.2-dev.1: digest: sha256:879cab3861e2632a6f9d83b2fea86241723c9c1566d3ea3baeafdf57e4096949 size: 1155 [Pipeline] isUnix [Pipeline] sh 17:07:23 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1 [Pipeline] isUnix [Pipeline] sh 17:07:23 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1 17:07:23 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 17:07:23 544325e74e31: Preparing 17:07:23 24401381a7e5: Preparing 17:07:23 030c5e50c846: Preparing 17:07:23 777b2c648970: Preparing 17:07:23 777b2c648970: Layer already exists 17:07:23 544325e74e31: Layer already exists 17:07:23 24401381a7e5: Layer already exists 17:07:23 030c5e50c846: Layer already exists 17:07:23 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1: digest: sha256:879cab3861e2632a6f9d83b2fea86241723c9c1566d3ea3baeafdf57e4096949 size: 1155 [Pipeline] isUnix [Pipeline] sh 17:07:22 > git config core.sparsecheckout # timeout=10 17:07:22 > git checkout -f c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 # timeout=10 17:07:23 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh 17:07:23 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master 17:07:23 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 17:07:23 544325e74e31: Preparing 17:07:23 24401381a7e5: Preparing 17:07:23 030c5e50c846: Preparing 17:07:23 777b2c648970: Preparing 17:07:23 777b2c648970: Layer already exists 17:07:23 24401381a7e5: Layer already exists 17:07:23 544325e74e31: Layer already exists 17:07:23 030c5e50c846: Layer already exists 17:07:23 master: digest: sha256:879cab3861e2632a6f9d83b2fea86241723c9c1566d3ea3baeafdf57e4096949 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:07:24 ===================================================== [Pipeline] echo 17:07:24 taggedImages: 17:07:24 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 17:07:24 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 17:07:24 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.1 17:07:24 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1 17:07:24 - 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] } 17:07:26 Commit message: "Merge pull request #69 from FelixTing/issue-65" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:07:28 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:07:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:07:28 + sudo service docker restart 17:07:28 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:07:31 provisioning config files... 17:07:31 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/33@tmp/config2150843366875789969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:07:32 ---> docker-login.sh 17:07:32 nexus3.edgexfoundry.org:10001 17:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:33 Configure a credential helper to remove this warning. See 17:07:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:33 17:07:33 Login Succeeded 17:07:33 nexus3.edgexfoundry.org:10002 17:07:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:33 Configure a credential helper to remove this warning. See 17:07:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:33 17:07:33 Login Succeeded 17:07:33 nexus3.edgexfoundry.org:10003 17:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:34 Configure a credential helper to remove this warning. See 17:07:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:34 17:07:34 Login Succeeded 17:07:34 nexus3.edgexfoundry.org:10004 17:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:34 Configure a credential helper to remove this warning. See 17:07:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:34 17:07:34 Login Succeeded 17:07:34 docker.io 17:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:35 Configure a credential helper to remove this warning. See 17:07:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:35 17:07:35 Login Succeeded 17:07:35 ---> docker-login.sh ends [Pipeline] } 17:07:35 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:07:36 ========================================================= 17:07:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:07:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:07:36 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 17:07:36 Sending build context to Docker daemon 89.09kB 17:07:36 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 17:07:36 Step 2/10 : FROM ${BASE} 17:07:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:07:37 5f621e34cdf4: Pulling fs layer 17:07:37 a4357932f1b6: Pulling fs layer 17:07:37 18c013af1878: Pulling fs layer 17:07:37 00ac8860ef70: Pulling fs layer 17:07:37 63d7cb157983: Pulling fs layer 17:07:37 b116817d02f9: Pulling fs layer 17:07:37 745a02a5169b: Pulling fs layer 17:07:37 63d7cb157983: Waiting 17:07:37 b116817d02f9: Waiting 17:07:37 745a02a5169b: Waiting 17:07:37 00ac8860ef70: Waiting 17:07:37 18c013af1878: Download complete 17:07:37 a4357932f1b6: Download complete 17:07:37 63d7cb157983: Download complete 17:07:37 5f621e34cdf4: Verifying Checksum 17:07:37 5f621e34cdf4: Download complete 17:07:37 b116817d02f9: Verifying Checksum 17:07:37 b116817d02f9: Download complete 17:07:38 5f621e34cdf4: Pull complete 17:07:38 a4357932f1b6: Pull complete 17:07:38 18c013af1878: Pull complete 17:07:41 745a02a5169b: Verifying Checksum 17:07:41 745a02a5169b: Download complete 17:07:42 00ac8860ef70: Download complete 17:07:52 00ac8860ef70: Pull complete 17:07:52 63d7cb157983: Pull complete 17:07:53 b116817d02f9: Pull complete 17:07:56 745a02a5169b: Pull complete 17:07:56 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 17:07:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:07:56 ---> b7e6874047d6 17:07:56 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 17:07:59 ---> Running in 0d7f94327b41 17:07:59 Removing intermediate container 0d7f94327b41 17:07:59 ---> ae8815be4c58 17:07:59 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 17:07:59 ---> Running in 2509d1bc2748 17:08:00 Removing intermediate container 2509d1bc2748 17:08:00 ---> bcf9b1d527be 17:08:00 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:08:00 ---> Running in 003869342f23 17:08:00 Removing intermediate container 003869342f23 17:08:00 ---> 170343bd03ec 17:08:00 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:08:00 ---> Running in 87f9030059bd 17:08:03 Removing intermediate container 87f9030059bd 17:08:03 ---> dcad69b69661 17:08:03 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:08:03 ---> Running in 698cae370a84 17:08:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:08:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:08:05 OK: 142 MiB in 39 packages 17:08:07 Removing intermediate container 698cae370a84 17:08:07 ---> 3b22138bdfa6 17:08:07 Step 8/10 : WORKDIR /device-rest-go 17:08:07 ---> Running in 6d381d8d295a 17:08:07 Removing intermediate container 6d381d8d295a 17:08:07 ---> ba37c4f169f3 17:08:07 Step 9/10 : COPY . . 17:08:08 ---> df15134f0376 17:08:08 Step 10/10 : RUN go mod download 17:08:08 ---> Running in 9d9044bb02fb 17:08:30 Removing intermediate container 9d9044bb02fb 17:08:30 ---> 140b1296fb32 17:08:30 Successfully built 140b1296fb32 17:08:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:08:31 + docker inspect -f . ci-base-image-arm64 17:08:31 . [Pipeline] withDockerContainer 17:08:31 prd-ubuntu18.04-docker-arm64-4c-16g-25024 does not seem to be running inside a container 17:08:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/33 -v /w/workspace/device-rest-go/33:/w/workspace/device-rest-go/33:rw,z -v /w/workspace/device-rest-go/33@tmp:/w/workspace/device-rest-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:08:32 $ docker top 8606e0e863aa47e9d91fd432c1b4b56dd692e10025ae4190e9ce50c719e87b6c -eo pid,comm [Pipeline] { [Pipeline] sh 17:08:34 + go version 17:08:34 go version go1.15.5 linux/arm64 [Pipeline] } 17:08:34 $ docker stop --time=1 8606e0e863aa47e9d91fd432c1b4b56dd692e10025ae4190e9ce50c719e87b6c 17:08:36 $ docker rm -f 8606e0e863aa47e9d91fd432c1b4b56dd692e10025ae4190e9ce50c719e87b6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:08:37 + docker inspect -f . ci-base-image-arm64 17:08:37 . [Pipeline] withDockerContainer 17:08:37 prd-ubuntu18.04-docker-arm64-4c-16g-25024 does not seem to be running inside a container 17:08:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/33 -v /w/workspace/device-rest-go/33:/w/workspace/device-rest-go/33:rw,z -v /w/workspace/device-rest-go/33@tmp:/w/workspace/device-rest-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:08:39 $ docker top 803de21e35b463cf5ea790d40fc469b8f26b7b143dd9e2d8bccb1baea07033da -eo pid,comm [Pipeline] { [Pipeline] sh 17:08:40 + make test 17:08:40 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:08:41 ? github.com/edgexfoundry/device-rest-go [no test files] 17:09:14 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:09:14 ok github.com/edgexfoundry/device-rest-go/driver 0.057s coverage: 56.3% of statements 17:09:14 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:09:21 gofmt -l . 17:09:21 [ "`gofmt -l .`" = "" ] 17:09:21 ./bin/test-go-mod-tidy.sh 17:09:21 ./bin/test-attribution-txt.sh [Pipeline] } 17:09:21 $ docker stop --time=1 803de21e35b463cf5ea790d40fc469b8f26b7b143dd9e2d8bccb1baea07033da 17:09:23 $ docker rm -f 803de21e35b463cf5ea790d40fc469b8f26b7b143dd9e2d8bccb1baea07033da [Pipeline] // withDockerContainer [Pipeline] sh 17:09:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:09:24 Warning: overwriting stash ‘coverage-report’ 17:09:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:09:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:09:26 + ls -al . 17:09:26 total 124 17:09:26 drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 17:09 . 17:09:26 drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 17:07 .. 17:09:26 -rw-rw-r-- 1 jenkins jenkins 151 Feb 4 17:07 .dockerignore 17:09:26 drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 17:07 .git 17:09:26 drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 17:07 .github 17:09:26 -rw-rw-r-- 1 jenkins jenkins 339 Feb 4 17:07 .gitignore 17:09:26 -rw-rw-r-- 1 jenkins jenkins 5294 Feb 4 17:07 Attribution.txt 17:09:26 -rw-rw-r-- 1 jenkins jenkins 1530 Feb 4 17:07 Dockerfile 17:09:26 -rw-rw-r-- 1 jenkins jenkins 1002 Feb 4 17:07 Dockerfile.build 17:09:26 -rw-rw-r-- 1 jenkins jenkins 680 Feb 4 17:07 Jenkinsfile 17:09:26 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 4 17:07 LICENSE 17:09:26 -rw-rw-r-- 1 jenkins jenkins 951 Feb 4 17:07 Makefile 17:09:26 -rw-rw-r-- 1 jenkins jenkins 5917 Feb 4 17:07 README.md 17:09:26 -rw-rw-r-- 1 jenkins jenkins 11 Feb 4 17:04 VERSION 17:09:26 drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 17:07 bin 17:09:26 drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 17:07 cmd 17:09:26 -rw-r--r-- 1 jenkins jenkins 9369 Feb 4 17:09 coverage.out 17:09:26 drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 17:09 driver 17:09:26 -rw-r--r-- 1 jenkins jenkins 267 Feb 4 17:09 go.mod 17:09:26 -rw-r--r-- 1 jenkins jenkins 13985 Feb 4 17:09 go.sum 17:09:26 drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 17:07 snap 17:09:26 -rw-rw-r-- 1 jenkins jenkins 713 Feb 4 17:07 version.go [Pipeline] isUnix [Pipeline] sh 17:09:27 + 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=c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 --label arch=arm64 --label version=1.2.2-dev.1 . 17:09:27 Sending build context to Docker daemon 100.9kB 17:09:27 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 17:09:27 Step 2/25 : FROM ${BASE} AS builder 17:09:27 ---> 140b1296fb32 17:09:27 Step 3/25 : ARG MAKE='make build' 17:09:27 ---> Running in 96e72cc1d1e7 17:09:28 Removing intermediate container 96e72cc1d1e7 17:09:28 ---> 84a009d2c9e9 17:09:28 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 17:09:28 ---> Running in ff4bb107b19f 17:09:29 Removing intermediate container ff4bb107b19f 17:09:29 ---> 00461c385d72 17:09:29 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:09:29 ---> Running in 8298dae7071b 17:09:29 Removing intermediate container 8298dae7071b 17:09:29 ---> d602279c2bee 17:09:29 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:09:29 ---> Running in 2d5d050ffd92 17:09:32 Removing intermediate container 2d5d050ffd92 17:09:32 ---> 706cadd77f6d 17:09:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:09:32 ---> Running in fdbe4a75a21e 17:09:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:09:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:09:34 OK: 142 MiB in 39 packages 17:09:36 Removing intermediate container fdbe4a75a21e 17:09:36 ---> b68c322530fc 17:09:36 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 17:09:36 ---> Running in 22c42de55a5e 17:09:36 Removing intermediate container 22c42de55a5e 17:09:36 ---> 95f6a84dda20 17:09:36 Step 9/25 : COPY go.mod . 17:09:37 ---> 8819408c40a9 17:09:37 Step 10/25 : COPY Makefile . 17:09:37 ---> ae9090155a4e 17:09:37 Step 11/25 : RUN make update 17:09:38 ---> Running in 2aabc2989db4 17:09:39 CGO_ENABLED=0 GO111MODULE=on go mod download 17:09:40 Removing intermediate container 2aabc2989db4 17:09:40 ---> 9846d3eef57b 17:09:40 Step 12/25 : COPY . . 17:09:41 ---> b0c7cdcd6b55 17:09:41 Step 13/25 : RUN $MAKE 17:09:41 ---> Running in fc4fef0eef1e 17:09:42 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.1" -o cmd/device-rest-go ./cmd 17:10:08 Removing intermediate container fc4fef0eef1e 17:10:08 ---> f16b2dcef16d 17:10:08 Step 14/25 : FROM alpine:3.12 17:10:09 3.12: Pulling from library/alpine 17:10:09 159e5727ea61: Pulling fs layer 17:10:10 159e5727ea61: Verifying Checksum 17:10:10 159e5727ea61: Pull complete 17:10:10 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 17:10:10 Status: Downloaded newer image for alpine:3.12 17:10:10 ---> afeebe901d6b 17:10:10 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:10:10 ---> Running in c7d598321ad6 17:10:11 Removing intermediate container c7d598321ad6 17:10:11 ---> 8de9a6dc1995 17:10:11 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 17:10:11 ---> Running in 835ac14a170b 17:10:11 Removing intermediate container 835ac14a170b 17:10:11 ---> 798d87c9ef55 17:10:11 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 17:10:12 ---> 10d4fbd71609 17:10:12 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 17:10:13 ---> 9820ae8a648b 17:10:13 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 17:10:14 ---> bb069e4af7ae 17:10:14 Step 20/25 : EXPOSE 49986 17:10:14 ---> Running in bae4645ce3a7 17:10:15 Removing intermediate container bae4645ce3a7 17:10:15 ---> dbf0ecd32026 17:10:15 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 17:10:15 ---> Running in cfd88309f643 17:10:15 Removing intermediate container cfd88309f643 17:10:15 ---> 63c7c266b8ce 17:10:15 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:10:15 ---> Running in 9abc8aadd8e0 17:10:16 Removing intermediate container 9abc8aadd8e0 17:10:16 ---> 53d5ba606120 17:10:16 Step 23/25 : LABEL arch=arm64 17:10:16 ---> Running in 798e92897798 17:10:16 Removing intermediate container 798e92897798 17:10:16 ---> f7f0c5d24602 17:10:16 Step 24/25 : LABEL git_sha=c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 17:10:16 ---> Running in 731e0b66a5be 17:10:17 Removing intermediate container 731e0b66a5be 17:10:17 ---> ce05a68e2c6a 17:10:17 Step 25/25 : LABEL version=1.2.2-dev.1 17:10:17 ---> Running in 9823d5f7cae2 17:10:17 Removing intermediate container 9823d5f7cae2 17:10:17 ---> 7eac2774f317 17:10:17 [Warning] One or more build-args [ARCH] were not consumed 17:10:17 Successfully built 7eac2774f317 17:10:18 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 17:10:18 provisioning config files... 17:10:18 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/33@tmp/config2705359891723036237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:10:18 ---> docker-login.sh 17:10:18 nexus3.edgexfoundry.org:10001 17:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:19 Configure a credential helper to remove this warning. See 17:10:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:19 17:10:19 Login Succeeded 17:10:19 nexus3.edgexfoundry.org:10002 17:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:20 Configure a credential helper to remove this warning. See 17:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:20 17:10:20 Login Succeeded 17:10:20 nexus3.edgexfoundry.org:10003 17:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:20 Configure a credential helper to remove this warning. See 17:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:20 17:10:20 Login Succeeded 17:10:20 nexus3.edgexfoundry.org:10004 17:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:21 Configure a credential helper to remove this warning. See 17:10:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:21 17:10:21 Login Succeeded 17:10:21 docker.io 17:10:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:22 Configure a credential helper to remove this warning. See 17:10:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:22 17:10:22 Login Succeeded 17:10:22 ---> docker-login.sh ends [Pipeline] } 17:10:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:10:22 [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: 17:10:22 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 17:10:22 latest 17:10:22 1.2.2-dev.1 17:10:22 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1 17:10:22 master 17:10:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:10:23 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [Pipeline] isUnix [Pipeline] sh 17:10:23 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 17:10:23 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 17:10:23 9f33a1f1a211: Preparing 17:10:23 25ca43f5c126: Preparing 17:10:23 67162f3b1ae9: Preparing 17:10:23 379067d0cb53: Preparing 17:10:23 379067d0cb53: Layer already exists 17:10:23 67162f3b1ae9: Pushed 17:10:23 25ca43f5c126: Pushed 17:10:26 9f33a1f1a211: Pushed 17:10:26 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584: digest: sha256:48f0271434da6568fcd999750b77be80f77427260572a77a8f552ecc95fe162f size: 1155 [Pipeline] isUnix [Pipeline] sh 17:10:26 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:10:27 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 17:10:27 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 17:10:27 9f33a1f1a211: Preparing 17:10:27 25ca43f5c126: Preparing 17:10:27 67162f3b1ae9: Preparing 17:10:27 379067d0cb53: Preparing 17:10:27 25ca43f5c126: Layer already exists 17:10:27 67162f3b1ae9: Layer already exists 17:10:27 9f33a1f1a211: Layer already exists 17:10:27 379067d0cb53: Layer already exists 17:10:27 latest: digest: sha256:48f0271434da6568fcd999750b77be80f77427260572a77a8f552ecc95fe162f size: 1155 [Pipeline] isUnix [Pipeline] sh 17:10:27 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.1 [Pipeline] isUnix [Pipeline] sh 17:10:27 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.1 17:10:27 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 17:10:27 9f33a1f1a211: Preparing 17:10:27 25ca43f5c126: Preparing 17:10:27 67162f3b1ae9: Preparing 17:10:27 379067d0cb53: Preparing 17:10:27 379067d0cb53: Layer already exists 17:10:27 67162f3b1ae9: Layer already exists 17:10:27 25ca43f5c126: Layer already exists 17:10:27 9f33a1f1a211: Layer already exists 17:10:28 1.2.2-dev.1: digest: sha256:48f0271434da6568fcd999750b77be80f77427260572a77a8f552ecc95fe162f size: 1155 [Pipeline] isUnix [Pipeline] sh 17:10:28 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1 [Pipeline] isUnix [Pipeline] sh 17:10:28 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1 17:10:28 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 17:10:28 9f33a1f1a211: Preparing 17:10:28 25ca43f5c126: Preparing 17:10:28 67162f3b1ae9: Preparing 17:10:28 379067d0cb53: Preparing 17:10:28 25ca43f5c126: Layer already exists 17:10:28 379067d0cb53: Layer already exists 17:10:28 67162f3b1ae9: Layer already exists 17:10:28 9f33a1f1a211: Layer already exists 17:10:29 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1: digest: sha256:48f0271434da6568fcd999750b77be80f77427260572a77a8f552ecc95fe162f size: 1155 [Pipeline] isUnix [Pipeline] sh 17:10:29 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh 17:10:29 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master 17:10:29 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 17:10:29 9f33a1f1a211: Preparing 17:10:29 25ca43f5c126: Preparing 17:10:29 67162f3b1ae9: Preparing 17:10:29 379067d0cb53: Preparing 17:10:29 9f33a1f1a211: Layer already exists 17:10:29 379067d0cb53: Layer already exists 17:10:29 67162f3b1ae9: Layer already exists 17:10:29 25ca43f5c126: Layer already exists 17:10:30 master: digest: sha256:48f0271434da6568fcd999750b77be80f77427260572a77a8f552ecc95fe162f size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:10:30 ===================================================== [Pipeline] echo 17:10:30 taggedImages: 17:10:30 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 17:10:30 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 17:10:30 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.1 17:10:30 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1 17:10:30 - 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 17:10:32 provisioning config files... 17:10:32 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6996780248650025363tmp [Pipeline] { [Pipeline] sh 17:10:32 + set +x 17:10:32 + curl -s https://codecov.io/bash 17:10:32 + bash -s -- 17:10:32 17:10:32 _____ _ 17:10:32 / ____| | | 17:10:32 | | ___ __| | ___ ___ _____ __ 17:10:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:10:32 | |___| (_) | (_| | __/ (_| (_) \ V / 17:10:32 \_____\___/ \__,_|\___|\___\___/ \_/ 17:10:32 Bash-20210129-7c25fce 17:10:32 17:10:32 17:10:32 ==> git version 2.24.3 found 17:10:32 ==> 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 17:10:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 17:10:32 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 17:10:32 ==> Jenkins CI detected. 17:10:32 project root: . 17:10:32 --> token set from env 17:10:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:10:32 ==> Running gcov in . (disable via -X gcov) 17:10:32 ==> Python coveragepy not found 17:10:32 ==> Searching for coverage reports in: 17:10:32 + . 17:10:32 -> Found 1 reports 17:10:32 ==> Detecting git/mercurial file structure 17:10:32 ==> Reading reports 17:10:32 + ./coverage.out bytes=9369 17:10:32 ==> Appending adjustments 17:10:32 https://docs.codecov.io/docs/fixing-reports 17:10:32 + Found adjustments 17:10:32 ==> Gzipping contents 17:10:32 4.0K /tmp/codecov.7SJMoZ.gz 17:10:32 ==> Uploading reports 17:10:32 url: https://codecov.io 17:10:32 query: branch=master&commit=c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:10:32 -> Pinging Codecov 17:10:32 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:10:33 -> Uploading to 17:10:33 https://storage.googleapis.com/codecov/v4/raw/2021-02-04/4E5D53B4F1F92C436F7061BF334D961C/c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584/76c927b3-1117-4d50-80a3-5e298e63b73a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210204%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210204T171033Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0b5c34833ecfc5660cc8e972bbd56149d1b02ee767082c9e41bd8640af5bec75 17:10:33 % Total % Received % Xferd Average Speed Time Time Time Current 17:10:33 Dload Upload Total Spent Left Speed 17:10:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 4442 --:--:-- --:--:-- --:--:-- 4448 17:10:33 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [Pipeline] } 17:10:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:10:34 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:10:34 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:10:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:10:34 17:10:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 17:10:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:10:34 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:10:34 188c0c94c7c5: Pulling fs layer 17:10:34 0ef7d3d256c8: Pulling fs layer 17:10:34 de9db76c5a1d: Pulling fs layer 17:10:34 0eba1c9be4d2: Pulling fs layer 17:10:34 0d57e429df01: Pulling fs layer 17:10:34 4e4be7b47b0d: Pulling fs layer 17:10:34 e1f770b5df2f: Pulling fs layer 17:10:34 85a0685a4137: Pulling fs layer 17:10:34 0eba1c9be4d2: Waiting 17:10:34 4e4be7b47b0d: Waiting 17:10:34 0d57e429df01: Waiting 17:10:34 85a0685a4137: Waiting 17:10:34 e1f770b5df2f: Waiting 17:10:34 de9db76c5a1d: Verifying Checksum 17:10:34 de9db76c5a1d: Download complete 17:10:34 0ef7d3d256c8: Download complete 17:10:34 0d57e429df01: Verifying Checksum 17:10:34 0d57e429df01: Download complete 17:10:34 4e4be7b47b0d: Verifying Checksum 17:10:34 4e4be7b47b0d: Download complete 17:10:34 188c0c94c7c5: Verifying Checksum 17:10:34 188c0c94c7c5: Download complete 17:10:35 188c0c94c7c5: Pull complete 17:10:35 0ef7d3d256c8: Pull complete 17:10:35 de9db76c5a1d: Pull complete 17:10:36 e1f770b5df2f: Verifying Checksum 17:10:36 e1f770b5df2f: Download complete 17:10:38 0eba1c9be4d2: Verifying Checksum 17:10:38 0eba1c9be4d2: Download complete 17:10:38 85a0685a4137: Verifying Checksum 17:10:38 85a0685a4137: Download complete 17:10:44 0eba1c9be4d2: Pull complete 17:10:44 0d57e429df01: Pull complete 17:10:44 4e4be7b47b0d: Pull complete 17:10:45 e1f770b5df2f: Pull complete 17:10:54 85a0685a4137: Pull complete 17:10:54 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 17:10:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:10:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 17:10:54 prd-centos7-docker-4c-2g-25010 does not seem to be running inside a container 17:10:54 $ 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 17:10:55 $ docker top 3bac824b45512edef276dad9c2d0aad9cfb3a303b4fea81e4401a11c4b152ede -eo pid,comm [Pipeline] { [Pipeline] echo 17:10:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 17:10:55 + set -o pipefail 17:10:55 + snyk monitor '--org=edgex-jenkins' 17:11:04 17:11:04 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 17:11:04 17:11:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/e8f7eb6c-38ec-4783-a2af-5149ec13f66b 17:11:04 17:11:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:11:04 17:11:04 [Pipeline] } 17:11:04 $ docker stop --time=1 3bac824b45512edef276dad9c2d0aad9cfb3a303b4fea81e4401a11c4b152ede 17:11:07 $ docker rm -f 3bac824b45512edef276dad9c2d0aad9cfb3a303b4fea81e4401a11c4b152ede [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 17:11:09 + git log --format=format:%s -1 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [Pipeline] isUnix [Pipeline] sh 17:11:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:11:09 . [Pipeline] withDockerContainer 17:11:09 prd-centos7-docker-4c-2g-25010 does not seem to be running inside a container 17:11:09 $ 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 17:11:10 $ docker top 6f5a9beda1719d3571afef947927b35755294d4bc02274fb307c5b05fa8e3cd8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:11:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:11:10 [ssh-agent] Looking for ssh-agent implementation... 17:11:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:11:11 $ docker exec 6f5a9beda1719d3571afef947927b35755294d4bc02274fb307c5b05fa8e3cd8 ssh-agent 17:11:11 SSH_AUTH_SOCK=/tmp/ssh-YVi8VoVbCT6D/agent.12 17:11:11 SSH_AGENT_PID=17 17:11:11 Running ssh-add (command line suppressed) 17:11:11 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6848735120606963704.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6848735120606963704.key) 17:11:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:11:11 + git semver tag 17:11:11 # -> Open(): unable to determine branch for HEAD 17:11:11 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 17:11:11 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 17:11:11 # $SEMVER_REMOTE_NAME = origin 17:11:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:11:11 # $SEMVER_USER_NAME = edgex-jenkins 17:11:11 # $SEMVER_BRANCH = master 17:11:11 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 17:11:11 # c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 HEAD 17:11:11 # -> Force: false 17:11:11 # e72ae075c480d67e1085592f7802fc7e51f975f3 refs/tags/v1.2.2-dev.1 [Pipeline] } 17:11:11 $ docker exec --env ******** --env ******** 6f5a9beda1719d3571afef947927b35755294d4bc02274fb307c5b05fa8e3cd8 ssh-agent -k 17:11:11 unset SSH_AUTH_SOCK; 17:11:11 unset SSH_AGENT_PID; 17:11:11 echo Agent pid 17 killed; 17:11:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:11:12 + git semver [Pipeline] } 17:11:12 $ docker stop --time=1 6f5a9beda1719d3571afef947927b35755294d4bc02274fb307c5b05fa8e3cd8 17:11:13 $ docker rm -f 6f5a9beda1719d3571afef947927b35755294d4bc02274fb307c5b05fa8e3cd8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 17:11:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:11:14 17:11:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 17:11:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:11:14 0.23.1-centos7: Pulling from edgex-lftools 17:11:14 ab5ef0e58194: Pulling fs layer 17:11:14 9712f1f96733: Pulling fs layer 17:11:14 63f879dbbcfc: Pulling fs layer 17:11:14 0d9ebad4ef96: Pulling fs layer 17:11:14 e9a5061849ea: Pulling fs layer 17:11:14 d747dcd14b5f: Pulling fs layer 17:11:14 2de7ff778b66: Pulling fs layer 17:11:14 e9a5061849ea: Waiting 17:11:14 d747dcd14b5f: Waiting 17:11:14 2de7ff778b66: Waiting 17:11:14 0d9ebad4ef96: Waiting 17:11:14 9712f1f96733: Verifying Checksum 17:11:14 9712f1f96733: Download complete 17:11:16 63f879dbbcfc: Verifying Checksum 17:11:16 63f879dbbcfc: Download complete 17:11:16 e9a5061849ea: Verifying Checksum 17:11:16 e9a5061849ea: Download complete 17:11:16 d747dcd14b5f: Verifying Checksum 17:11:16 d747dcd14b5f: Download complete 17:11:16 2de7ff778b66: Verifying Checksum 17:11:16 2de7ff778b66: Download complete 17:11:17 0d9ebad4ef96: Verifying Checksum 17:11:17 0d9ebad4ef96: Download complete 17:11:17 ab5ef0e58194: Verifying Checksum 17:11:17 ab5ef0e58194: Download complete 17:11:21 ab5ef0e58194: Pull complete 17:11:21 9712f1f96733: Pull complete 17:11:24 63f879dbbcfc: Pull complete 17:11:31 0d9ebad4ef96: Pull complete 17:11:31 e9a5061849ea: Pull complete 17:11:31 d747dcd14b5f: Pull complete 17:11:34 2de7ff778b66: Pull complete 17:11:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:11:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:11:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 17:11:34 prd-centos7-docker-4c-2g-25010 does not seem to be running inside a container 17:11:34 $ 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 17:11:38 $ docker top 2db0252d14bca85ef94bbe2b7ce4537d4a464b02e41b1017a5acc3768aaa21cb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:11:38 provisioning config files... 17:11:38 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1641846948249900790tmp 17:11:38 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3659470160225810571tmp 17:11:38 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4682986929860493255tmp [Pipeline] { [Pipeline] echo 17:11:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:11:39 ---> sigul-configuration.sh 17:11:39 gpg: directory `/root/.gnupg' created 17:11:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:11:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:11:39 gpg: keyring `/root/.gnupg/secring.gpg' created 17:11:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:11:39 gpg: CAST5 encrypted data 17:11:39 gpg: encrypted with 1 passphrase 17:11:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:11:39 + mkdir /home/jenkins 17:11:39 + mkdir /home/jenkins/sigul [Pipeline] sh 17:11:40 + 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 17:11:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:11:40 ---> sigul-install.sh 17:11:45 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 17:11:46 + git tag --list 17:11:46 v1.0.0 17:11:46 v1.1.0 17:11:46 v1.1.1 17:11:46 v1.1.2 17:11:46 v1.2.0 17:11:46 v1.2.1 17:11:46 v1.2.1-dev.1 17:11:46 v1.2.1-dev.2 17:11:46 v1.2.1-dev.3 17:11:46 v1.2.1-dev.4 17:11:46 v1.2.2-dev.1 [Pipeline] sh 17:11:46 + lftools sign git-tag v1.2.2-dev.1 17:11:47 Signing Git tag with Sigul... 17:11:47 Signing v1.2.2-dev.1 [Pipeline] echo 17:11:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:11:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:11:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:11:49 $ docker stop --time=1 2db0252d14bca85ef94bbe2b7ce4537d4a464b02e41b1017a5acc3768aaa21cb 17:11:51 $ docker rm -f 2db0252d14bca85ef94bbe2b7ce4537d4a464b02e41b1017a5acc3768aaa21cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 17:11:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:11:52 . [Pipeline] withDockerContainer 17:11:52 prd-centos7-docker-4c-2g-25010 does not seem to be running inside a container 17:11:52 $ 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 17:11:53 $ docker top 90196d3d848790000385f6d1fa0ecfcfddf8192acb4f03cae2858ca0abae1bc4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:11:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:11:53 [ssh-agent] Looking for ssh-agent implementation... 17:11:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:11:53 $ docker exec 90196d3d848790000385f6d1fa0ecfcfddf8192acb4f03cae2858ca0abae1bc4 ssh-agent 17:11:53 SSH_AUTH_SOCK=/tmp/ssh-eftnvNQboEej/agent.12 17:11:53 SSH_AGENT_PID=17 17:11:53 Running ssh-add (command line suppressed) 17:11:53 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4297914156888376730.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4297914156888376730.key) 17:11:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:11:54 + git semver bump pre 17:11:54 # -> Open(): unable to determine branch for HEAD 17:11:54 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 17:11:54 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 17:11:54 # $SEMVER_REMOTE_NAME = origin 17:11:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:11:54 # $SEMVER_USER_NAME = edgex-jenkins 17:11:54 # $SEMVER_BRANCH = master 17:11:54 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 17:11:54 1.2.2-dev.2 [Pipeline] } 17:11:54 $ docker exec --env ******** --env ******** 90196d3d848790000385f6d1fa0ecfcfddf8192acb4f03cae2858ca0abae1bc4 ssh-agent -k 17:11:54 unset SSH_AUTH_SOCK; 17:11:54 unset SSH_AGENT_PID; 17:11:54 echo Agent pid 17 killed; 17:11:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:11:55 + git semver [Pipeline] } 17:11:55 $ docker stop --time=1 90196d3d848790000385f6d1fa0ecfcfddf8192acb4f03cae2858ca0abae1bc4 17:11:56 $ docker rm -f 90196d3d848790000385f6d1fa0ecfcfddf8192acb4f03cae2858ca0abae1bc4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 17:11:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:11:56 . [Pipeline] withDockerContainer 17:11:57 prd-centos7-docker-4c-2g-25010 does not seem to be running inside a container 17:11:57 $ 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 17:11:57 $ docker top 53cd0f1f46cca86306a61801346d4e73245aa408b99b4f742b3c03e5d7d861f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:11:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:11:57 [ssh-agent] Looking for ssh-agent implementation... 17:11:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:11:58 $ docker exec 53cd0f1f46cca86306a61801346d4e73245aa408b99b4f742b3c03e5d7d861f4 ssh-agent 17:11:58 SSH_AUTH_SOCK=/tmp/ssh-fCPfks0f82zy/agent.12 17:11:58 SSH_AGENT_PID=17 17:11:58 Running ssh-add (command line suppressed) 17:11:58 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_553554420209325953.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_553554420209325953.key) 17:11:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:11:58 + git semver push 17:11:58 # -> Open(): unable to determine branch for HEAD 17:11:58 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 17:11:58 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 17:11:58 # $SEMVER_REMOTE_NAME = origin 17:11:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:11:58 # $SEMVER_USER_NAME = edgex-jenkins 17:11:58 # $SEMVER_BRANCH = master 17:11:58 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 17:12:07 $ docker exec --env ******** --env ******** 53cd0f1f46cca86306a61801346d4e73245aa408b99b4f742b3c03e5d7d861f4 ssh-agent -k 17:12:07 unset SSH_AUTH_SOCK; 17:12:07 unset SSH_AGENT_PID; 17:12:07 echo Agent pid 17 killed; 17:12:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:12:07 + git semver [Pipeline] } 17:12:07 $ docker stop --time=1 53cd0f1f46cca86306a61801346d4e73245aa408b99b4f742b3c03e5d7d861f4 17:12:09 $ docker rm -f 53cd0f1f46cca86306a61801346d4e73245aa408b99b4f742b3c03e5d7d861f4 [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 17:12:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:12:11 ---> package-listing.sh 17:12:11 ++ facter osfamily 17:12:11 ++ tr '[:upper:]' '[:lower:]' 17:12:11 + OS_FAMILY=redhat 17:12:11 + workspace=/w/workspace/gexfoundry_device-rest-go_master 17:12:11 + START_PACKAGES=/tmp/packages_start.txt 17:12:11 + END_PACKAGES=/tmp/packages_end.txt 17:12:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:12:11 + PACKAGES=/tmp/packages_start.txt 17:12:11 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 17:12:11 + PACKAGES=/tmp/packages_end.txt 17:12:11 + case "${OS_FAMILY}" in 17:12:11 + rpm -qa 17:12:11 + sort 17:12:16 + '[' -f /tmp/packages_start.txt ']' 17:12:16 + '[' -f /tmp/packages_end.txt ']' 17:12:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:12:16 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 17:12:16 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 17:12:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo 17:12:16 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 17:12:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:12:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:12:17 17:12:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:12:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:12:17 alpine: Pulling from edgex-lftools-log-publisher 17:12:17 df20fa9351a1: Pulling fs layer 17:12:17 36b3adc4ff6f: Pulling fs layer 17:12:17 8ad3a11d3b57: Pulling fs layer 17:12:17 46f8f816bc3b: Pulling fs layer 17:12:17 93b61091891f: Pulling fs layer 17:12:17 93b9cdb0e59b: Pulling fs layer 17:12:17 5e14af77c1be: Pulling fs layer 17:12:17 01666e4c0597: Pulling fs layer 17:12:17 aa168da1d23b: Pulling fs layer 17:12:17 46f8f816bc3b: Waiting 17:12:17 93b61091891f: Waiting 17:12:17 93b9cdb0e59b: Waiting 17:12:17 5e14af77c1be: Waiting 17:12:17 01666e4c0597: Waiting 17:12:17 aa168da1d23b: Waiting 17:12:17 36b3adc4ff6f: Verifying Checksum 17:12:17 36b3adc4ff6f: Download complete 17:12:17 46f8f816bc3b: Verifying Checksum 17:12:17 46f8f816bc3b: Download complete 17:12:17 df20fa9351a1: Verifying Checksum 17:12:17 df20fa9351a1: Download complete 17:12:18 93b61091891f: Verifying Checksum 17:12:18 93b61091891f: Download complete 17:12:18 93b9cdb0e59b: Verifying Checksum 17:12:18 93b9cdb0e59b: Download complete 17:12:18 5e14af77c1be: Verifying Checksum 17:12:18 5e14af77c1be: Download complete 17:12:18 01666e4c0597: Verifying Checksum 17:12:18 01666e4c0597: Download complete 17:12:18 8ad3a11d3b57: Verifying Checksum 17:12:18 8ad3a11d3b57: Download complete 17:12:18 df20fa9351a1: Pull complete 17:12:18 36b3adc4ff6f: Pull complete 17:12:20 aa168da1d23b: Verifying Checksum 17:12:20 aa168da1d23b: Download complete 17:12:20 8ad3a11d3b57: Pull complete 17:12:20 46f8f816bc3b: Pull complete 17:12:20 93b61091891f: Pull complete 17:12:20 93b9cdb0e59b: Pull complete 17:12:21 5e14af77c1be: Pull complete 17:12:21 01666e4c0597: Pull complete 17:12:27 aa168da1d23b: Pull complete 17:12:27 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:12:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:12:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:12:28 prd-centos7-docker-4c-2g-25010 does not seem to be running inside a container 17:12:28 $ 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 17:12:31 $ docker top 4e7aea8bbc58ada14628a6305eaabe2c782372e8a2806f89bc5932a5d047a06f -eo pid,comm [Pipeline] { [Pipeline] sh 17:12:32 + touch /tmp/pre-build-complete [Pipeline] sh 17:12:32 + mkdir -p /var/log/sa [Pipeline] sh 17:12:32 + ls /var/log/sa-host 17:12:32 + sadf -c /var/log/sa-host/sa04 17:12:32 file_magic: OK 17:12:32 HZ: Using current value: 100 17:12:32 file_header: OK 17:12:32 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:12:32 Statistics: 17:12:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:12:32 File successfully converted to sysstat format version 12.2.1 17:12:32 + sadf -c /var/log/sa-host/sa23 17:12:32 file_magic: OK 17:12:32 HZ: Using current value: 100 17:12:32 file_header: OK 17:12:32 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:12:32 Statistics: 17:12:32 Hnuu...uuuununununu... 17:12:32 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:12:33 provisioning config files... 17:12:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7931907511704818490tmp [Pipeline] { [Pipeline] echo 17:12:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:12:33 ---> create-netrc.sh [Pipeline] } 17:12:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:12:33 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:12:33 ---> python-tools-install.sh [Pipeline] echo 17:12:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:12:34 ---> sudo-logs.sh 17:12:34 Archiving 'sudo' log.. [Pipeline] echo 17:12:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:12:34 ---> job-cost.sh 17:12:34 lf-activate-venv: SKIPPING 17:12:34 INFO: No Stack... 17:12:35 INFO: Retrieving Pricing Info for: v1-standard-2 17:12:36 INFO: Archiving Costs [Pipeline] echo 17:12:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:12:36 ---> logs-deploy.sh 17:12:36 lf-activate-venv: SKIPPING 17:12:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/33 17:12:36 INFO: archiving workspace using pattern(s): 17:12:37 Archives upload complete. 17:12:38 INFO: archiving logs to Nexus 17:12:39 ---> uname -a: 17:12:39 Linux prd-centos7-docker-4c-2g-25010.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 17:12:39 17:12:39 17:12:39 ---> lscpu: 17:12:39 Architecture: x86_64 17:12:39 CPU op-mode(s): 32-bit, 64-bit 17:12:39 Byte Order: Little Endian 17:12:39 Address sizes: 40 bits physical, 48 bits virtual 17:12:39 CPU(s): 4 17:12:39 On-line CPU(s) list: 0-3 17:12:39 Thread(s) per core: 1 17:12:39 Core(s) per socket: 1 17:12:39 Socket(s): 4 17:12:39 NUMA node(s): 1 17:12:39 Vendor ID: GenuineIntel 17:12:39 CPU family: 6 17:12:39 Model: 44 17:12:39 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 17:12:39 Stepping: 1 17:12:39 CPU MHz: 2933.438 17:12:39 BogoMIPS: 5866.87 17:12:39 Virtualization: VT-x 17:12:39 Hypervisor vendor: KVM 17:12:39 Virtualization type: full 17:12:39 L1d cache: 128 KiB 17:12:39 L1i cache: 128 KiB 17:12:39 L2 cache: 16 MiB 17:12:39 L3 cache: 64 MiB 17:12:39 NUMA node0 CPU(s): 0-3 17:12:39 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 17:12:39 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 17:12:39 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 17:12:39 Vulnerability Meltdown: Mitigation; PTI 17:12:39 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:12:39 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 17:12:39 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 17:12:39 Vulnerability Srbds: Not affected 17:12:39 Vulnerability Tsx async abort: Not affected 17:12:39 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 17:12:39 17:12:39 17:12:39 ---> nproc: 17:12:39 4 17:12:39 17:12:39 17:12:39 ---> df -h: 17:12:39 Filesystem Size Used Available Use% Mounted on 17:12:39 overlay 50.0G 8.6G 41.4G 17% / 17:12:39 tmpfs 64.0M 0 64.0M 0% /dev 17:12:39 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 17:12:39 shm 64.0M 0 64.0M 0% /dev/shm 17:12:39 /dev/vda1 50.0G 8.6G 41.4G 17% /facter-os 17:12:39 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/resolv.conf 17:12:39 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hostname 17:12:39 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hosts 17:12:39 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/auth.log 17:12:39 /dev/vda1 50.0G 8.6G 41.4G 17% /run/cloud-init/result.json 17:12:39 /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/gexfoundry_device-rest-go_master 17:12:39 /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/gexfoundry_device-rest-go_master@tmp 17:12:39 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/sa-host 17:12:39 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/secure 17:12:39 17:12:39 17:12:39 ---> free -m: 17:12:39 total used free shared buff/cache available 17:12:39 Mem: 1837 827 145 0 864 944 17:12:39 Swap: 1023 3 1020 17:12:39 17:12:39