Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 793fa606b8324739f564128f9001c967c619a4b2 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18204 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 793fa606b8324739f564128f9001c967c619a4b2 (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 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 Commit message: "Merge pull request #66 from ernestojeda/devops-std-dockerfiles" > git rev-list --no-walk 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:45:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:45:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:45:19 ========================================================= 16:45:19 EdgeX Global Pipelines Version Info 16:45:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:45:20 ------------------- 16:45:20 stable info: 16:45:20 ------------------- 16:45:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:45:20 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 16:45:20 Message: update stable to v1.0.173 16:45:21 ------------------- 16:45:21 experimental info: 16:45:21 ------------------- 16:45:21 Commited By: **** collab-it+edgex@linuxfoundation.org 16:45:21 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 16:45:21 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:45:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 16:45:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 16:45:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:45:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:45:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:45:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:45:22 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 16:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:45:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:45:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:45:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:45:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:45:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:45:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:45:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:45:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:45:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:45:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:45:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:45:24 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 16:45:24 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 16:45:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 16:45:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 16:45:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 16:45:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 793fa606b8324739f564128f9001c967c619a4b2 [Pipeline] echo 16:45:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 793fa60 [Pipeline] echo 16:45:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:45:25 provisioning config files... 16:45:25 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3999378462167923086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:45:26 ---> docker-login.sh 16:45:26 nexus3.edgexfoundry.org:10001 16:45:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:26 Configure a credential helper to remove this warning. See 16:45:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:26 16:45:26 Login Succeeded 16:45:26 nexus3.edgexfoundry.org:10002 16:45:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:26 Configure a credential helper to remove this warning. See 16:45:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:26 16:45:26 Login Succeeded 16:45:26 nexus3.edgexfoundry.org:10003 16:45:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:26 Configure a credential helper to remove this warning. See 16:45:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:26 16:45:26 Login Succeeded 16:45:26 nexus3.edgexfoundry.org:10004 16:45:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:26 Configure a credential helper to remove this warning. See 16:45:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:26 16:45:26 Login Succeeded 16:45:26 docker.io 16:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:27 Configure a credential helper to remove this warning. See 16:45:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:27 16:45:27 Login Succeeded 16:45:27 ---> docker-login.sh ends [Pipeline] } 16:45:27 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 16:45:28 + git log --format=format:%s -1 793fa606b8324739f564128f9001c967c619a4b2 [Pipeline] echo 16:45:28 GIT_COMMIT: 793fa606b8324739f564128f9001c967c619a4b2, Commit Message: Merge pull request #66 from ernestojeda/devops-std-dockerfiles [Pipeline] echo 16:45:28 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:45:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:45:29 16:45:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:45:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:45:29 latest: Pulling from edgex-devops/git-semver 16:45:29 31603596830f: Pulling fs layer 16:45:29 2a8b12db71e7: Pulling fs layer 16:45:29 6ca5941a6612: Pulling fs layer 16:45:29 ecc8261a40a4: Pulling fs layer 16:45:29 ecc8261a40a4: Waiting 16:45:29 2a8b12db71e7: Download complete 16:45:29 31603596830f: Verifying Checksum 16:45:29 31603596830f: Download complete 16:45:29 ecc8261a40a4: Verifying Checksum 16:45:29 ecc8261a40a4: Download complete 16:45:29 6ca5941a6612: Verifying Checksum 16:45:29 6ca5941a6612: Download complete 16:45:29 31603596830f: Pull complete 16:45:29 2a8b12db71e7: Pull complete 16:45:30 6ca5941a6612: Pull complete 16:45:30 ecc8261a40a4: Pull complete 16:45:30 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:45:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:45:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:45:31 prd-centos7-docker-4c-2g-18204 does not seem to be running inside a container 16:45:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:45:33 $ docker top c9630b72b375ce402b30d85b68e3257aa1fa8dc0668621098f738447e97a4812 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:45:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:45:33 [ssh-agent] Looking for ssh-agent implementation... 16:45:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:45:33 $ docker exec c9630b72b375ce402b30d85b68e3257aa1fa8dc0668621098f738447e97a4812 ssh-agent 16:45:33 SSH_AUTH_SOCK=/tmp/ssh-sJLGKTXhogVH/agent.11 16:45:33 SSH_AGENT_PID=16 16:45:33 Running ssh-add (command line suppressed) 16:45:34 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6013962163156167335.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6013962163156167335.key) 16:45:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:45:34 + git tag --points-at HEAD [Pipeline] } 16:45:34 $ docker exec --env ******** --env ******** c9630b72b375ce402b30d85b68e3257aa1fa8dc0668621098f738447e97a4812 ssh-agent -k 16:45:34 unset SSH_AUTH_SOCK; 16:45:34 unset SSH_AGENT_PID; 16:45:34 echo Agent pid 16 killed; 16:45:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:45:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:45:34 [ssh-agent] Looking for ssh-agent implementation... 16:45:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:45:35 $ docker exec c9630b72b375ce402b30d85b68e3257aa1fa8dc0668621098f738447e97a4812 ssh-agent 16:45:35 SSH_AUTH_SOCK=/tmp/ssh-j95FQeYTeUYF/agent.46 16:45:35 SSH_AGENT_PID=51 16:45:35 Running ssh-add (command line suppressed) 16:45:35 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7391449743890839684.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7391449743890839684.key) 16:45:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:45:35 + git semver init 16:45:35 # -> Open(): unable to determine branch for HEAD 16:45:35 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 16:45:35 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 16:45:35 # $SEMVER_REMOTE_NAME = origin 16:45:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:45:35 # $SEMVER_USER_NAME = edgex-jenkins 16:45:35 # $SEMVER_BRANCH = master 16:45:35 # $SEMVER_TEMP = /tmp/semver-197949940 16:45:35 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 16:45:36 # '/tmp/semver-197949940' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 16:45:36 # -> Force: false 16:45:36 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 16:45:36 $ docker exec --env ******** --env ******** c9630b72b375ce402b30d85b68e3257aa1fa8dc0668621098f738447e97a4812 ssh-agent -k 16:45:36 unset SSH_AUTH_SOCK; 16:45:36 unset SSH_AGENT_PID; 16:45:36 echo Agent pid 51 killed; 16:45:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:45:37 + git semver [Pipeline] } 16:45:37 $ docker stop --time=1 c9630b72b375ce402b30d85b68e3257aa1fa8dc0668621098f738447e97a4812 16:45:38 $ docker rm -f c9630b72b375ce402b30d85b68e3257aa1fa8dc0668621098f738447e97a4812 [Pipeline] // withDockerContainer [Pipeline] sh 16:45:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:45:39 Stashed 1 file(s) [Pipeline] echo 16:45:39 [edgeXSemver]: initialized semver on version 1.2.1-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 16:45:55 Still waiting to schedule task 16:45:55 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:45:55 Still waiting to schedule task 16:45:55 ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-18194’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-18199’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18197’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 16:47:10 Running on prd-centos7-docker-4c-2g-18211 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 16:47:10 Running in /w/workspace/device-rest-go/29 [Pipeline] { [Pipeline] checkout 16:47:13 using credential edgex-jenkins-ssh 16:47:13 Cloning the remote Git repository 16:47:13 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:47:13 > git init /w/workspace/device-rest-go/29 # timeout=10 16:47:13 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:47:13 > git --version # timeout=10 16:47:13 > git --version # 'git version 2.24.3' 16:47:13 using GIT_SSH to set credentials SSH Credentials for GitHub 16:47:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:47:16 Checking out Revision 793fa606b8324739f564128f9001c967c619a4b2 (master) 16:47:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:47:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:47:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:47:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:47:16 using GIT_SSH to set credentials SSH Credentials for GitHub 16:47:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:47:16 > git config core.sparsecheckout # timeout=10 16:47:16 > git checkout -f 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 16:47:20 Commit message: "Merge pull request #66 from ernestojeda/devops-std-dockerfiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:47:21 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:47:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:47:22 + sudo service docker restart 16:47:22 + true 16:47:22 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:47:23 provisioning config files... 16:47:23 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/29@tmp/config7861468816235921456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:47:23 ---> docker-login.sh 16:47:23 nexus3.edgexfoundry.org:10001 16:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:24 Configure a credential helper to remove this warning. See 16:47:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:24 16:47:24 Login Succeeded 16:47:24 nexus3.edgexfoundry.org:10002 16:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:24 Configure a credential helper to remove this warning. See 16:47:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:24 16:47:24 Login Succeeded 16:47:24 nexus3.edgexfoundry.org:10003 16:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:24 Configure a credential helper to remove this warning. See 16:47:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:24 16:47:24 Login Succeeded 16:47:24 nexus3.edgexfoundry.org:10004 16:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:25 Configure a credential helper to remove this warning. See 16:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:25 16:47:25 Login Succeeded 16:47:25 docker.io 16:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:25 Configure a credential helper to remove this warning. See 16:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:25 16:47:25 Login Succeeded 16:47:25 ---> docker-login.sh ends [Pipeline] } 16:47:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:47:25 ========================================================= 16:47:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:47:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:47:26 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 16:47:26 Sending build context to Docker daemon 84.48kB 16:47:26 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 16:47:26 Step 2/10 : FROM ${BASE} 16:47:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:47:26 188c0c94c7c5: Pulling fs layer 16:47:26 0ef7d3d256c8: Pulling fs layer 16:47:26 de9db76c5a1d: Pulling fs layer 16:47:26 bca2f99d35d6: Pulling fs layer 16:47:26 93359f2a8cfa: Pulling fs layer 16:47:26 7c6f9722023f: Pulling fs layer 16:47:26 a35cf1a2eb13: Pulling fs layer 16:47:26 bca2f99d35d6: Waiting 16:47:26 93359f2a8cfa: Waiting 16:47:26 a35cf1a2eb13: Waiting 16:47:26 7c6f9722023f: Waiting 16:47:26 de9db76c5a1d: Verifying Checksum 16:47:26 de9db76c5a1d: Download complete 16:47:26 0ef7d3d256c8: Download complete 16:47:26 93359f2a8cfa: Download complete 16:47:26 7c6f9722023f: Verifying Checksum 16:47:26 7c6f9722023f: Download complete 16:47:27 188c0c94c7c5: Verifying Checksum 16:47:27 188c0c94c7c5: Download complete 16:47:27 188c0c94c7c5: Pull complete 16:47:28 0ef7d3d256c8: Pull complete 16:47:28 de9db76c5a1d: Pull complete 16:47:29 a35cf1a2eb13: Verifying Checksum 16:47:29 a35cf1a2eb13: Download complete 16:47:29 bca2f99d35d6: Verifying Checksum 16:47:29 bca2f99d35d6: Download complete 16:47:35 bca2f99d35d6: Pull complete 16:47:35 93359f2a8cfa: Pull complete 16:47:35 7c6f9722023f: Pull complete 16:47:42 a35cf1a2eb13: Pull complete 16:47:42 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 16:47:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 16:47:42 ---> a62c8e92a672 16:47:42 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 16:47:42 ---> Running in ead94104bed4 16:47:42 Removing intermediate container ead94104bed4 16:47:42 ---> e44769ef325b 16:47:42 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 16:47:42 ---> Running in 675ffec38cf5 16:47:42 Removing intermediate container 675ffec38cf5 16:47:42 ---> 8623fc7d7af1 16:47:42 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:47:42 ---> Running in 276ebc706e5b 16:47:42 Removing intermediate container 276ebc706e5b 16:47:42 ---> c6b626e05798 16:47:42 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:47:43 ---> Running in 468e80b515ea 16:47:44 Removing intermediate container 468e80b515ea 16:47:44 ---> 2e07ed96f529 16:47:44 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:47:44 ---> Running in a2e73fa6ba4d 16:47:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:47:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:47:47 OK: 166 MiB in 39 packages 16:47:48 Removing intermediate container a2e73fa6ba4d 16:47:48 ---> b53ad15d300a 16:47:48 Step 8/10 : WORKDIR /device-rest-go 16:47:48 ---> Running in b0b04cd9a9cc 16:47:48 Removing intermediate container b0b04cd9a9cc 16:47:48 ---> 4d9feefb582a 16:47:48 Step 9/10 : COPY . . 16:47:48 ---> ee2925c81733 16:47:48 Step 10/10 : RUN go mod download 16:47:48 ---> Running in 408faeef8ee8 16:48:10 Removing intermediate container 408faeef8ee8 16:48:10 ---> 89a6902db2b8 16:48:10 Successfully built 89a6902db2b8 16:48:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:48:11 + docker inspect -f . ci-base-image-x86_64 16:48:11 . [Pipeline] withDockerContainer 16:48:11 prd-centos7-docker-4c-2g-18211 does not seem to be running inside a container 16:48:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/29 -v /w/workspace/device-rest-go/29:/w/workspace/device-rest-go/29:rw,z -v /w/workspace/device-rest-go/29@tmp:/w/workspace/device-rest-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:48:12 $ docker top 565423b5bd8cb62d14becd3265d86d365005405176f348de60d35b8411046d4f -eo pid,comm [Pipeline] { [Pipeline] sh 16:48:12 + go version 16:48:12 go version go1.15.5 linux/amd64 [Pipeline] } 16:48:12 $ docker stop --time=1 565423b5bd8cb62d14becd3265d86d365005405176f348de60d35b8411046d4f 16:48:14 $ docker rm -f 565423b5bd8cb62d14becd3265d86d365005405176f348de60d35b8411046d4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:48:15 + docker inspect -f . ci-base-image-x86_64 16:48:15 . [Pipeline] withDockerContainer 16:48:15 prd-centos7-docker-4c-2g-18211 does not seem to be running inside a container 16:48:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/29 -v /w/workspace/device-rest-go/29:/w/workspace/device-rest-go/29:rw,z -v /w/workspace/device-rest-go/29@tmp:/w/workspace/device-rest-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:48:15 $ docker top 73447b81a3c757a888d91ff47fd6c27f6a4947b145f10724d21b16911d85756e -eo pid,comm [Pipeline] { [Pipeline] sh 16:48:16 + make test 16:48:16 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:48:17 ? github.com/edgexfoundry/device-rest-go [no test files] 16:48:29 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:48:29 ok github.com/edgexfoundry/device-rest-go/driver 0.056s coverage: 56.3% of statements 16:48:29 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:48:31 gofmt -l . 16:48:31 [ "`gofmt -l .`" = "" ] 16:48:31 ./bin/test-go-mod-tidy.sh 16:48:31 ./bin/test-attribution-txt.sh [Pipeline] } 16:48:32 $ docker stop --time=1 73447b81a3c757a888d91ff47fd6c27f6a4947b145f10724d21b16911d85756e 16:48:35 $ docker rm -f 73447b81a3c757a888d91ff47fd6c27f6a4947b145f10724d21b16911d85756e [Pipeline] // withDockerContainer [Pipeline] sh 16:48:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:48:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:48:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:48:38 + ls -al . 16:48:38 total 96 16:48:38 drwxrwxr-x. 8 jenkins jenkins 4096 Jan 4 16:48 . 16:48:38 drwxrwxr-x. 4 jenkins jenkins 30 Jan 4 16:47 .. 16:48:38 -rw-rw-r--. 1 jenkins jenkins 5294 Jan 4 16:47 Attribution.txt 16:48:38 drwxrwxr-x. 2 jenkins jenkins 64 Jan 4 16:47 bin 16:48:38 drwxrwxr-x. 3 jenkins jenkins 32 Jan 4 16:47 cmd 16:48:38 -rw-r--r--. 1 jenkins jenkins 9369 Jan 4 16:48 coverage.out 16:48:38 -rw-rw-r--. 1 jenkins jenkins 1530 Jan 4 16:47 Dockerfile 16:48:38 -rw-rw-r--. 1 jenkins jenkins 1002 Jan 4 16:47 Dockerfile.build 16:48:38 -rw-rw-r--. 1 jenkins jenkins 151 Jan 4 16:47 .dockerignore 16:48:38 drwxrwxr-x. 2 jenkins jenkins 93 Jan 4 16:48 driver 16:48:38 drwxrwxr-x. 8 jenkins jenkins 162 Jan 4 16:47 .git 16:48:38 drwxrwxr-x. 2 jenkins jenkins 60 Jan 4 16:47 .github 16:48:38 -rw-rw-r--. 1 jenkins jenkins 339 Jan 4 16:47 .gitignore 16:48:38 -rw-r--r--. 1 jenkins jenkins 267 Jan 4 16:48 go.mod 16:48:38 -rw-r--r--. 1 jenkins jenkins 13790 Jan 4 16:48 go.sum 16:48:38 -rw-rw-r--. 1 jenkins jenkins 680 Jan 4 16:47 Jenkinsfile 16:48:38 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 4 16:47 LICENSE 16:48:38 -rw-rw-r--. 1 jenkins jenkins 951 Jan 4 16:47 Makefile 16:48:38 -rw-rw-r--. 1 jenkins jenkins 5917 Jan 4 16:47 README.md 16:48:38 drwxrwxr-x. 4 jenkins jenkins 71 Jan 4 16:47 snap 16:48:38 -rw-rw-r--. 1 jenkins jenkins 11 Jan 4 16:45 VERSION 16:48:38 -rw-rw-r--. 1 jenkins jenkins 713 Jan 4 16:47 version.go [Pipeline] isUnix [Pipeline] sh 16:48:38 + 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=793fa606b8324739f564128f9001c967c619a4b2 --label arch=amd64 --label version=1.2.1-dev.2 . 16:48:38 Sending build context to Docker daemon 96.26kB 16:48:38 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 16:48:38 Step 2/25 : FROM ${BASE} AS builder 16:48:38 ---> 89a6902db2b8 16:48:38 Step 3/25 : ARG MAKE='make build' 16:48:38 ---> Running in b7fb7bd814c7 16:48:38 Removing intermediate container b7fb7bd814c7 16:48:38 ---> 9799a2493eb0 16:48:38 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 16:48:38 ---> Running in fcf38446fd19 16:48:38 Removing intermediate container fcf38446fd19 16:48:38 ---> 127a0dea7f2a 16:48:38 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 16:48:38 ---> Running in 412f70a8525d 16:48:39 Removing intermediate container 412f70a8525d 16:48:39 ---> 80cad47c357b 16:48:39 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:48:39 ---> Running in 1da451d36001 16:48:40 Removing intermediate container 1da451d36001 16:48:40 ---> e189d4608f01 16:48:40 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:48:40 ---> Running in 8793e2a37d8b 16:48:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:48:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:48:44 OK: 166 MiB in 39 packages 16:48:45 Removing intermediate container 8793e2a37d8b 16:48:45 ---> 1b412bb0e4f5 16:48:45 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 16:48:45 ---> Running in 48b2725271e4 16:48:45 Removing intermediate container 48b2725271e4 16:48:45 ---> 94cb499cc742 16:48:45 Step 9/25 : COPY go.mod . 16:48:45 ---> a68e66283b5d 16:48:45 Step 10/25 : COPY Makefile . 16:48:45 ---> 1a3df46e16cf 16:48:45 Step 11/25 : RUN make update 16:48:45 ---> Running in 585c9d1315b1 16:48:46 CGO_ENABLED=0 GO111MODULE=on go mod download 16:48:46 Removing intermediate container 585c9d1315b1 16:48:46 ---> 4a756f49d013 16:48:46 Step 12/25 : COPY . . 16:48:47 ---> e379f26b8cfb 16:48:47 Step 13/25 : RUN $MAKE 16:48:47 ---> Running in 2350ad74f08e 16:48:47 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.1-dev.2" -o cmd/device-rest-go ./cmd 16:49:00 Removing intermediate container 2350ad74f08e 16:49:00 ---> c010b190b95b 16:49:00 Step 14/25 : FROM alpine:3.12 16:49:00 3.12: Pulling from library/alpine 16:49:00 801bfaa63ef2: Pulling fs layer 16:49:00 801bfaa63ef2: Verifying Checksum 16:49:00 801bfaa63ef2: Download complete 16:49:00 801bfaa63ef2: Pull complete 16:49:00 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 16:49:00 Status: Downloaded newer image for alpine:3.12 16:49:00 ---> 389fef711851 16:49:00 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:49:00 ---> Running in dbed8bde6436 16:49:00 Removing intermediate container dbed8bde6436 16:49:00 ---> 37844f673010 16:49:00 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 16:49:00 ---> Running in b9b9e5082021 16:49:00 Removing intermediate container b9b9e5082021 16:49:00 ---> b281cd39179c 16:49:00 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 16:49:00 ---> 5dea860b253a 16:49:00 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 16:49:00 ---> b881296c2f22 16:49:00 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 16:49:00 ---> ebf88d80fce9 16:49:00 Step 20/25 : EXPOSE 49986 16:49:00 ---> Running in 74fe0c5baa92 16:49:01 Removing intermediate container 74fe0c5baa92 16:49:01 ---> fd25f1eaa277 16:49:01 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 16:49:01 ---> Running in 7f56748d6951 16:49:01 Removing intermediate container 7f56748d6951 16:49:01 ---> 3b008731f368 16:49:01 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:49:01 ---> Running in 5a1416e3c329 16:49:01 Removing intermediate container 5a1416e3c329 16:49:01 ---> 1078461404dc 16:49:01 Step 23/25 : LABEL arch=amd64 16:49:01 ---> Running in fca3ce973311 16:49:02 Removing intermediate container fca3ce973311 16:49:02 ---> 465cd157d49e 16:49:02 Step 24/25 : LABEL git_sha=793fa606b8324739f564128f9001c967c619a4b2 16:49:02 ---> Running in 442994b3b9cf 16:49:02 Removing intermediate container 442994b3b9cf 16:49:02 ---> ffb5daff5266 16:49:02 Step 25/25 : LABEL version=1.2.1-dev.2 16:49:02 ---> Running in c95df240f4b4 16:49:02 Removing intermediate container c95df240f4b4 16:49:02 ---> a581d3f01909 16:49:02 [Warning] One or more build-args [ARCH] were not consumed 16:49:02 Successfully built a581d3f01909 16:49:02 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:49:02 provisioning config files... 16:49:02 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/29@tmp/config2563957734150405873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:49:03 ---> docker-login.sh 16:49:03 nexus3.edgexfoundry.org:10001 16:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:03 Configure a credential helper to remove this warning. See 16:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:03 16:49:03 Login Succeeded 16:49:03 nexus3.edgexfoundry.org:10002 16:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:03 Configure a credential helper to remove this warning. See 16:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:03 16:49:03 Login Succeeded 16:49:03 nexus3.edgexfoundry.org:10003 16:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:03 Configure a credential helper to remove this warning. See 16:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:03 16:49:03 Login Succeeded 16:49:03 nexus3.edgexfoundry.org:10004 16:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:03 Configure a credential helper to remove this warning. See 16:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:03 16:49:03 Login Succeeded 16:49:03 docker.io 16:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:04 Configure a credential helper to remove this warning. See 16:49:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:04 16:49:04 Login Succeeded 16:49:04 ---> docker-login.sh ends [Pipeline] } 16:49:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:49:04 [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: 16:49:04 793fa606b8324739f564128f9001c967c619a4b2 16:49:04 latest 16:49:04 1.2.1-dev.2 16:49:04 793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2 16:49:04 master 16:49:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:49:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18214 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 16:49:05 Running in /w/workspace/device-rest-go/29 [Pipeline] { [Pipeline] checkout 16:49:05 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:793fa606b8324739f564128f9001c967c619a4b2 [Pipeline] isUnix [Pipeline] sh 16:49:05 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:793fa606b8324739f564128f9001c967c619a4b2 16:49:05 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 16:49:05 c8ba6e42b2ff: Preparing 16:49:05 7cb9084f7662: Preparing 16:49:05 b7c6fccee4b7: Preparing 16:49:05 777b2c648970: Preparing 16:49:05 777b2c648970: Layer already exists 16:49:05 7cb9084f7662: Pushed 16:49:05 b7c6fccee4b7: Pushed 16:49:07 c8ba6e42b2ff: Pushed 16:49:07 793fa606b8324739f564128f9001c967c619a4b2: digest: sha256:5a93b667f0be589afdb6eb26aa42171d91791726182ddf5e620dfb240b05265c size: 1155 [Pipeline] isUnix [Pipeline] sh 16:49:07 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh 16:49:07 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 16:49:07 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 16:49:07 c8ba6e42b2ff: Preparing 16:49:07 7cb9084f7662: Preparing 16:49:07 b7c6fccee4b7: Preparing 16:49:07 777b2c648970: Preparing 16:49:07 7cb9084f7662: Layer already exists 16:49:07 b7c6fccee4b7: Layer already exists 16:49:07 777b2c648970: Layer already exists 16:49:07 c8ba6e42b2ff: Layer already exists 16:49:07 latest: digest: sha256:5a93b667f0be589afdb6eb26aa42171d91791726182ddf5e620dfb240b05265c size: 1155 [Pipeline] isUnix [Pipeline] sh 16:49:08 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.2 [Pipeline] isUnix [Pipeline] sh 16:49:08 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.2 16:49:08 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 16:49:08 c8ba6e42b2ff: Preparing 16:49:08 7cb9084f7662: Preparing 16:49:08 b7c6fccee4b7: Preparing 16:49:08 777b2c648970: Preparing 16:49:08 b7c6fccee4b7: Layer already exists 16:49:08 777b2c648970: Layer already exists 16:49:08 7cb9084f7662: Layer already exists 16:49:08 c8ba6e42b2ff: Layer already exists 16:49:08 1.2.1-dev.2: digest: sha256:5a93b667f0be589afdb6eb26aa42171d91791726182ddf5e620dfb240b05265c size: 1155 [Pipeline] isUnix [Pipeline] sh 16:49:08 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2 [Pipeline] isUnix [Pipeline] sh 16:49:10 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2 16:49:10 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 16:49:10 c8ba6e42b2ff: Preparing 16:49:10 7cb9084f7662: Preparing 16:49:10 b7c6fccee4b7: Preparing 16:49:10 777b2c648970: Preparing 16:49:10 c8ba6e42b2ff: Layer already exists 16:49:10 b7c6fccee4b7: Layer already exists 16:49:10 7cb9084f7662: Layer already exists 16:49:10 777b2c648970: Layer already exists 16:49:10 793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2: digest: sha256:5a93b667f0be589afdb6eb26aa42171d91791726182ddf5e620dfb240b05265c size: 1155 [Pipeline] isUnix [Pipeline] sh 16:49:10 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh 16:49:10 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master 16:49:10 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 16:49:10 c8ba6e42b2ff: Preparing 16:49:10 7cb9084f7662: Preparing 16:49:10 b7c6fccee4b7: Preparing 16:49:10 777b2c648970: Preparing 16:49:10 b7c6fccee4b7: Layer already exists 16:49:10 7cb9084f7662: Layer already exists 16:49:10 c8ba6e42b2ff: Layer already exists 16:49:10 777b2c648970: Layer already exists 16:49:10 master: digest: sha256:5a93b667f0be589afdb6eb26aa42171d91791726182ddf5e620dfb240b05265c size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:49:11 ===================================================== [Pipeline] echo 16:49:11 taggedImages: 16:49:11 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:793fa606b8324739f564128f9001c967c619a4b2 16:49:11 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 16:49:11 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.2 16:49:11 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2 16:49:11 - 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] } 16:49:12 using credential edgex-jenkins-ssh 16:49:12 Cloning the remote Git repository 16:49:12 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:49:12 > git init /w/workspace/device-rest-go/29 # timeout=10 16:49:12 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:49:12 > git --version # timeout=10 16:49:12 > git --version # 'git version 2.17.1' 16:49:12 using GIT_SSH to set credentials SSH Credentials for GitHub 16:49:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:49:15 Checking out Revision 793fa606b8324739f564128f9001c967c619a4b2 (master) 16:49:14 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:49:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:49:14 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:49:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:49:14 using GIT_SSH to set credentials SSH Credentials for GitHub 16:49:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:49:15 > git config core.sparsecheckout # timeout=10 16:49:15 > git checkout -f 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 16:49:19 Commit message: "Merge pull request #66 from ernestojeda/devops-std-dockerfiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:49:21 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:49:21 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:49:22 + sudo service docker restart 16:49:22 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:49:25 provisioning config files... 16:49:25 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/29@tmp/config7235107570101999108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:49:25 ---> docker-login.sh 16:49:25 nexus3.edgexfoundry.org:10001 16:49:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:27 Configure a credential helper to remove this warning. See 16:49:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:27 16:49:27 Login Succeeded 16:49:27 nexus3.edgexfoundry.org:10002 16:49:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:27 Configure a credential helper to remove this warning. See 16:49:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:27 16:49:27 Login Succeeded 16:49:27 nexus3.edgexfoundry.org:10003 16:49:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:28 Configure a credential helper to remove this warning. See 16:49:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:28 16:49:28 Login Succeeded 16:49:28 nexus3.edgexfoundry.org:10004 16:49:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:29 Configure a credential helper to remove this warning. See 16:49:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:29 16:49:29 Login Succeeded 16:49:29 docker.io 16:49:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:29 Configure a credential helper to remove this warning. See 16:49:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:29 16:49:29 Login Succeeded 16:49:29 ---> docker-login.sh ends [Pipeline] } 16:49:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:49:30 ========================================================= 16:49:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 16:49:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:49:30 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 16:49:30 Sending build context to Docker daemon 84.48kB 16:49:31 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 16:49:31 Step 2/10 : FROM ${BASE} 16:49:31 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:49:31 5f621e34cdf4: Pulling fs layer 16:49:31 a4357932f1b6: Pulling fs layer 16:49:31 18c013af1878: Pulling fs layer 16:49:31 00ac8860ef70: Pulling fs layer 16:49:31 63d7cb157983: Pulling fs layer 16:49:31 b116817d02f9: Pulling fs layer 16:49:31 745a02a5169b: Pulling fs layer 16:49:31 63d7cb157983: Waiting 16:49:31 b116817d02f9: Waiting 16:49:31 745a02a5169b: Waiting 16:49:31 00ac8860ef70: Waiting 16:49:31 18c013af1878: Verifying Checksum 16:49:31 18c013af1878: Download complete 16:49:31 a4357932f1b6: Verifying Checksum 16:49:31 a4357932f1b6: Download complete 16:49:31 63d7cb157983: Verifying Checksum 16:49:31 63d7cb157983: Download complete 16:49:31 b116817d02f9: Verifying Checksum 16:49:31 b116817d02f9: Download complete 16:49:31 5f621e34cdf4: Download complete 16:49:32 5f621e34cdf4: Pull complete 16:49:33 a4357932f1b6: Pull complete 16:49:33 18c013af1878: Pull complete 16:49:33 745a02a5169b: Download complete 16:49:35 00ac8860ef70: Verifying Checksum 16:49:35 00ac8860ef70: Download complete 16:49:45 00ac8860ef70: Pull complete 16:49:45 63d7cb157983: Pull complete 16:49:45 b116817d02f9: Pull complete 16:49:48 745a02a5169b: Pull complete 16:49:48 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 16:49:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 16:49:48 ---> b7e6874047d6 16:49:48 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 16:49:52 ---> Running in 44e123115b79 16:49:52 Removing intermediate container 44e123115b79 16:49:52 ---> 5808bcf6fb48 16:49:52 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 16:49:52 ---> Running in db4523417e7a 16:49:52 Removing intermediate container db4523417e7a 16:49:52 ---> d50721acbb58 16:49:52 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:49:53 ---> Running in 9090270d5032 16:49:53 Removing intermediate container 9090270d5032 16:49:53 ---> f562ab3ec240 16:49:53 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:49:53 ---> Running in db9f059a6532 16:49:56 Removing intermediate container db9f059a6532 16:49:56 ---> 0cbd9f772105 16:49:56 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:49:56 ---> Running in 5a18eb4c1bcd 16:49:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:49:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:49:58 OK: 142 MiB in 39 packages 16:50:00 Removing intermediate container 5a18eb4c1bcd 16:50:00 ---> 22dfd90121b5 16:50:00 Step 8/10 : WORKDIR /device-rest-go 16:50:00 ---> Running in d89a86ac7eb7 16:50:00 Removing intermediate container d89a86ac7eb7 16:50:00 ---> 371e40e998a1 16:50:00 Step 9/10 : COPY . . 16:50:01 ---> 6db49d64debf 16:50:01 Step 10/10 : RUN go mod download 16:50:01 ---> Running in fd301225b895 16:50:23 Removing intermediate container fd301225b895 16:50:23 ---> e419740e0e91 16:50:23 Successfully built e419740e0e91 16:50:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:50:24 + docker inspect -f . ci-base-image-arm64 16:50:24 . [Pipeline] withDockerContainer 16:50:24 prd-ubuntu18.04-docker-arm64-4c-16g-18214 does not seem to be running inside a container 16:50:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/29 -v /w/workspace/device-rest-go/29:/w/workspace/device-rest-go/29:rw,z -v /w/workspace/device-rest-go/29@tmp:/w/workspace/device-rest-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:50:26 $ docker top 8aade8c7ed6361ca81d05ab5e69fcf126310433abce85b9946b629e3f5439b1b -eo pid,comm [Pipeline] { [Pipeline] sh 16:50:27 + go version 16:50:27 go version go1.15.5 linux/arm64 [Pipeline] } 16:50:27 $ docker stop --time=1 8aade8c7ed6361ca81d05ab5e69fcf126310433abce85b9946b629e3f5439b1b 16:50:29 $ docker rm -f 8aade8c7ed6361ca81d05ab5e69fcf126310433abce85b9946b629e3f5439b1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:50:30 + docker inspect -f . ci-base-image-arm64 16:50:30 . [Pipeline] withDockerContainer 16:50:30 prd-ubuntu18.04-docker-arm64-4c-16g-18214 does not seem to be running inside a container 16:50:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/29 -v /w/workspace/device-rest-go/29:/w/workspace/device-rest-go/29:rw,z -v /w/workspace/device-rest-go/29@tmp:/w/workspace/device-rest-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:50:31 $ docker top 3b6afebf7e56618135f3a429e4c0984d679b7a3e24ef3af1e5e551b20256ffcd -eo pid,comm [Pipeline] { [Pipeline] sh 16:50:32 + make test 16:50:32 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:50:33 ? github.com/edgexfoundry/device-rest-go [no test files] 16:51:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:51:07 ok github.com/edgexfoundry/device-rest-go/driver 0.081s coverage: 56.3% of statements 16:51:07 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:51:15 gofmt -l . 16:51:15 [ "`gofmt -l .`" = "" ] 16:51:15 ./bin/test-go-mod-tidy.sh 16:51:15 ./bin/test-attribution-txt.sh [Pipeline] } 16:51:16 $ docker stop --time=1 3b6afebf7e56618135f3a429e4c0984d679b7a3e24ef3af1e5e551b20256ffcd 16:51:18 $ docker rm -f 3b6afebf7e56618135f3a429e4c0984d679b7a3e24ef3af1e5e551b20256ffcd [Pipeline] // withDockerContainer [Pipeline] sh 16:51:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:51:19 Warning: overwriting stash ‘coverage-report’ 16:51:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:51:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:51:21 + ls -al . 16:51:21 total 124 16:51:21 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:51 . 16:51:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:49 .. 16:51:21 -rw-rw-r-- 1 jenkins jenkins 151 Jan 4 16:49 .dockerignore 16:51:21 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:49 .git 16:51:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:49 .github 16:51:21 -rw-rw-r-- 1 jenkins jenkins 339 Jan 4 16:49 .gitignore 16:51:21 -rw-rw-r-- 1 jenkins jenkins 5294 Jan 4 16:49 Attribution.txt 16:51:21 -rw-rw-r-- 1 jenkins jenkins 1530 Jan 4 16:49 Dockerfile 16:51:21 -rw-rw-r-- 1 jenkins jenkins 1002 Jan 4 16:49 Dockerfile.build 16:51:21 -rw-rw-r-- 1 jenkins jenkins 680 Jan 4 16:49 Jenkinsfile 16:51:21 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 16:49 LICENSE 16:51:21 -rw-rw-r-- 1 jenkins jenkins 951 Jan 4 16:49 Makefile 16:51:21 -rw-rw-r-- 1 jenkins jenkins 5917 Jan 4 16:49 README.md 16:51:21 -rw-rw-r-- 1 jenkins jenkins 11 Jan 4 16:45 VERSION 16:51:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:49 bin 16:51:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 16:49 cmd 16:51:21 -rw-r--r-- 1 jenkins jenkins 9369 Jan 4 16:51 coverage.out 16:51:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:51 driver 16:51:21 -rw-r--r-- 1 jenkins jenkins 267 Jan 4 16:51 go.mod 16:51:21 -rw-r--r-- 1 jenkins jenkins 13790 Jan 4 16:51 go.sum 16:51:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:49 snap 16:51:21 -rw-rw-r-- 1 jenkins jenkins 713 Jan 4 16:49 version.go [Pipeline] isUnix [Pipeline] sh 16:51:21 + 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=793fa606b8324739f564128f9001c967c619a4b2 --label arch=arm64 --label version=1.2.1-dev.2 . 16:51:21 Sending build context to Docker daemon 96.26kB 16:51:22 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 16:51:22 Step 2/25 : FROM ${BASE} AS builder 16:51:22 ---> e419740e0e91 16:51:22 Step 3/25 : ARG MAKE='make build' 16:51:22 ---> Running in bde86c99b0e7 16:51:22 Removing intermediate container bde86c99b0e7 16:51:22 ---> 8cde60f26cec 16:51:22 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 16:51:22 ---> Running in 7db5fdf07b1e 16:51:23 Removing intermediate container 7db5fdf07b1e 16:51:23 ---> bf2c3c6c1913 16:51:23 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 16:51:23 ---> Running in 9d957e826b57 16:51:23 Removing intermediate container 9d957e826b57 16:51:23 ---> 73f81d36c858 16:51:23 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:51:23 ---> Running in 513d13b51332 16:51:25 Removing intermediate container 513d13b51332 16:51:25 ---> 0eb5a327d504 16:51:25 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:51:26 ---> Running in d3801fe68698 16:51:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:51:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:51:28 OK: 142 MiB in 39 packages 16:51:30 Removing intermediate container d3801fe68698 16:51:30 ---> 3b70f061ecb4 16:51:30 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 16:51:30 ---> Running in 7c2085f6e951 16:51:30 Removing intermediate container 7c2085f6e951 16:51:30 ---> 8a1f13df72f0 16:51:30 Step 9/25 : COPY go.mod . 16:51:31 ---> 4827d5ed288c 16:51:31 Step 10/25 : COPY Makefile . 16:51:31 ---> 82c67bd38f4c 16:51:31 Step 11/25 : RUN make update 16:51:32 ---> Running in ddf5d9564516 16:51:33 CGO_ENABLED=0 GO111MODULE=on go mod download 16:51:34 Removing intermediate container ddf5d9564516 16:51:34 ---> 8b585a7e1658 16:51:34 Step 12/25 : COPY . . 16:51:35 ---> 3a0dde188963 16:51:35 Step 13/25 : RUN $MAKE 16:51:35 ---> Running in c9170831f497 16:51:36 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.1-dev.2" -o cmd/device-rest-go ./cmd 16:52:03 Removing intermediate container c9170831f497 16:52:03 ---> 88bde81a917a 16:52:03 Step 14/25 : FROM alpine:3.12 16:52:04 3.12: Pulling from library/alpine 16:52:04 159e5727ea61: Pulling fs layer 16:52:04 159e5727ea61: Download complete 16:52:05 159e5727ea61: Pull complete 16:52:05 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 16:52:05 Status: Downloaded newer image for alpine:3.12 16:52:05 ---> afeebe901d6b 16:52:05 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:52:05 ---> Running in 3156f2786cb8 16:52:05 Removing intermediate container 3156f2786cb8 16:52:05 ---> 9c80d906b953 16:52:05 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 16:52:05 ---> Running in 51fa925a776f 16:52:06 Removing intermediate container 51fa925a776f 16:52:06 ---> 7b6bc21b90bd 16:52:06 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 16:52:07 ---> 26045a30319e 16:52:07 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 16:52:07 ---> e9354d3698cf 16:52:07 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 16:52:08 ---> 5b3bb83e4d7c 16:52:08 Step 20/25 : EXPOSE 49986 16:52:08 ---> Running in bca827aab52d 16:52:09 Removing intermediate container bca827aab52d 16:52:09 ---> 8ec6906e9142 16:52:09 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 16:52:09 ---> Running in 4241646f32df 16:52:09 Removing intermediate container 4241646f32df 16:52:09 ---> 7f7f41ff059d 16:52:09 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:52:10 ---> Running in cf58fc92f14e 16:52:10 Removing intermediate container cf58fc92f14e 16:52:10 ---> e5b70d5af493 16:52:10 Step 23/25 : LABEL arch=arm64 16:52:10 ---> Running in cb1cd9142688 16:52:11 Removing intermediate container cb1cd9142688 16:52:11 ---> c6cf53d12ccc 16:52:11 Step 24/25 : LABEL git_sha=793fa606b8324739f564128f9001c967c619a4b2 16:52:11 ---> Running in 43d2301a1e7b 16:52:11 Removing intermediate container 43d2301a1e7b 16:52:11 ---> 6bb755afa724 16:52:11 Step 25/25 : LABEL version=1.2.1-dev.2 16:52:11 ---> Running in cb7cf9f6758e 16:52:12 Removing intermediate container cb7cf9f6758e 16:52:12 ---> ab36692f8c80 16:52:12 [Warning] One or more build-args [ARCH] were not consumed 16:52:12 Successfully built ab36692f8c80 16:52:12 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:52:12 provisioning config files... 16:52:12 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/29@tmp/config540398642310562888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:52:13 ---> docker-login.sh 16:52:13 nexus3.edgexfoundry.org:10001 16:52:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:13 Configure a credential helper to remove this warning. See 16:52:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:13 16:52:13 Login Succeeded 16:52:13 nexus3.edgexfoundry.org:10002 16:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:14 Configure a credential helper to remove this warning. See 16:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:14 16:52:14 Login Succeeded 16:52:14 nexus3.edgexfoundry.org:10003 16:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:14 Configure a credential helper to remove this warning. See 16:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:14 16:52:14 Login Succeeded 16:52:14 nexus3.edgexfoundry.org:10004 16:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:15 Configure a credential helper to remove this warning. See 16:52:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:15 16:52:15 Login Succeeded 16:52:15 docker.io 16:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:15 Configure a credential helper to remove this warning. See 16:52:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:15 16:52:15 Login Succeeded 16:52:16 ---> docker-login.sh ends [Pipeline] } 16:52:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:52:16 [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: 16:52:16 793fa606b8324739f564128f9001c967c619a4b2 16:52:16 latest 16:52:16 1.2.1-dev.2 16:52:16 793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2 16:52:16 master 16:52:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:52:16 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:793fa606b8324739f564128f9001c967c619a4b2 [Pipeline] isUnix [Pipeline] sh 16:52:17 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:793fa606b8324739f564128f9001c967c619a4b2 16:52:17 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 16:52:17 f5c8d9d5faa1: Preparing 16:52:17 26ead86feb67: Preparing 16:52:17 21d1d367fd0a: Preparing 16:52:17 379067d0cb53: Preparing 16:52:17 379067d0cb53: Layer already exists 16:52:17 26ead86feb67: Pushed 16:52:17 21d1d367fd0a: Pushed 16:52:20 f5c8d9d5faa1: Pushed 16:52:20 793fa606b8324739f564128f9001c967c619a4b2: digest: sha256:1864ffaee2e51385d69e47d44b00d1d9a08b502a394a43cdbe2b04ad48e8d640 size: 1155 [Pipeline] isUnix [Pipeline] sh 16:52:20 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:52:20 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 16:52:20 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 16:52:20 f5c8d9d5faa1: Preparing 16:52:20 26ead86feb67: Preparing 16:52:20 21d1d367fd0a: Preparing 16:52:20 379067d0cb53: Preparing 16:52:21 f5c8d9d5faa1: Layer already exists 16:52:21 21d1d367fd0a: Layer already exists 16:52:21 26ead86feb67: Layer already exists 16:52:21 379067d0cb53: Layer already exists 16:52:21 latest: digest: sha256:1864ffaee2e51385d69e47d44b00d1d9a08b502a394a43cdbe2b04ad48e8d640 size: 1155 [Pipeline] isUnix [Pipeline] sh 16:52:21 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.2 [Pipeline] isUnix [Pipeline] sh 16:52:21 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.2 16:52:21 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 16:52:21 f5c8d9d5faa1: Preparing 16:52:21 26ead86feb67: Preparing 16:52:21 21d1d367fd0a: Preparing 16:52:21 379067d0cb53: Preparing 16:52:22 f5c8d9d5faa1: Layer already exists 16:52:22 379067d0cb53: Layer already exists 16:52:22 26ead86feb67: Layer already exists 16:52:22 21d1d367fd0a: Layer already exists 16:52:22 1.2.1-dev.2: digest: sha256:1864ffaee2e51385d69e47d44b00d1d9a08b502a394a43cdbe2b04ad48e8d640 size: 1155 [Pipeline] isUnix [Pipeline] sh 16:52:22 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2 [Pipeline] isUnix [Pipeline] sh 16:52:22 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2 16:52:22 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 16:52:22 f5c8d9d5faa1: Preparing 16:52:22 26ead86feb67: Preparing 16:52:22 21d1d367fd0a: Preparing 16:52:22 379067d0cb53: Preparing 16:52:23 26ead86feb67: Layer already exists 16:52:23 379067d0cb53: Layer already exists 16:52:23 21d1d367fd0a: Layer already exists 16:52:23 f5c8d9d5faa1: Layer already exists 16:52:23 793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2: digest: sha256:1864ffaee2e51385d69e47d44b00d1d9a08b502a394a43cdbe2b04ad48e8d640 size: 1155 [Pipeline] isUnix [Pipeline] sh 16:52:23 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh 16:52:24 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master 16:52:24 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 16:52:24 f5c8d9d5faa1: Preparing 16:52:24 26ead86feb67: Preparing 16:52:24 21d1d367fd0a: Preparing 16:52:24 379067d0cb53: Preparing 16:52:24 f5c8d9d5faa1: Layer already exists 16:52:24 379067d0cb53: Layer already exists 16:52:24 21d1d367fd0a: Layer already exists 16:52:24 26ead86feb67: Layer already exists 16:52:24 master: digest: sha256:1864ffaee2e51385d69e47d44b00d1d9a08b502a394a43cdbe2b04ad48e8d640 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:52:24 ===================================================== [Pipeline] echo 16:52:24 taggedImages: 16:52:24 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:793fa606b8324739f564128f9001c967c619a4b2 16:52:24 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 16:52:24 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.2 16:52:24 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2 16:52:24 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 16:52:26 provisioning config files... 16:52:26 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4693439574910275791tmp [Pipeline] { [Pipeline] sh 16:52:26 + set +x 16:52:26 + curl -s https://codecov.io/bash 16:52:26 + bash -s -- 16:52:26 16:52:26 _____ _ 16:52:26 / ____| | | 16:52:26 | | ___ __| | ___ ___ _____ __ 16:52:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:52:26 | |___| (_) | (_| | __/ (_| (_) \ V / 16:52:26 \_____\___/ \__,_|\___|\___\___/ \_/ 16:52:26 Bash-20201231-23d4836 16:52:26 16:52:26 16:52:26 ==> git version 2.24.3 found 16:52:26 ==> 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 16:52:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:52:26 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:52:26 ==> Jenkins CI detected. 16:52:26 project root: . 16:52:26 --> token set from env 16:52:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:52:26 ==> Running gcov in . (disable via -X gcov) 16:52:26 ==> Python coveragepy not found 16:52:26 ==> Searching for coverage reports in: 16:52:26 + . 16:52:26 -> Found 1 reports 16:52:26 ==> Detecting git/mercurial file structure 16:52:26 ==> Reading reports 16:52:26 + ./coverage.out bytes=9369 16:52:26 ==> Appending adjustments 16:52:26 https://docs.codecov.io/docs/fixing-reports 16:52:26 + Found adjustments 16:52:26 ==> Gzipping contents 16:52:26 4.0K /tmp/codecov.KFEhcq.gz 16:52:26 ==> Uploading reports 16:52:26 url: https://codecov.io 16:52:26 query: branch=master&commit=793fa606b8324739f564128f9001c967c619a4b2&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:52:26 -> Pinging Codecov 16:52:26 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=master&commit=793fa606b8324739f564128f9001c967c619a4b2&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:52:27 -> Uploading to 16:52:27 https://storage.googleapis.com/codecov/v4/raw/2021-01-04/4E5D53B4F1F92C436F7061BF334D961C/793fa606b8324739f564128f9001c967c619a4b2/db37225c-22d8-46da-b830-73cfdde9f7fc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210104T165227Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f0a1bfaf8004e87ee8fb89d29dd408426364f12f6eba4190fe59544718aca61d 16:52:27 % Total % Received % Xferd Average Speed Time Time Time Current 16:52:27 Dload Upload Total Spent Left Speed 16:52:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 3686 --:--:-- --:--:-- --:--:-- 3680 100 1726 0 0 100 1726 0 3684 --:--:-- --:--:-- --:--:-- 3680 16:52:27 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/793fa606b8324739f564128f9001c967c619a4b2 [Pipeline] } 16:52:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:52:28 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:52:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:52:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:52:28 16:52:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 16:52:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:52:29 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:52:29 188c0c94c7c5: Pulling fs layer 16:52:29 0ef7d3d256c8: Pulling fs layer 16:52:29 de9db76c5a1d: Pulling fs layer 16:52:29 0eba1c9be4d2: Pulling fs layer 16:52:29 0d57e429df01: Pulling fs layer 16:52:29 4e4be7b47b0d: Pulling fs layer 16:52:29 e1f770b5df2f: Pulling fs layer 16:52:29 85a0685a4137: Pulling fs layer 16:52:29 4e4be7b47b0d: Waiting 16:52:29 e1f770b5df2f: Waiting 16:52:29 0eba1c9be4d2: Waiting 16:52:29 85a0685a4137: Waiting 16:52:29 0d57e429df01: Waiting 16:52:29 de9db76c5a1d: Verifying Checksum 16:52:29 de9db76c5a1d: Download complete 16:52:29 0ef7d3d256c8: Download complete 16:52:29 0d57e429df01: Verifying Checksum 16:52:29 0d57e429df01: Download complete 16:52:29 4e4be7b47b0d: Verifying Checksum 16:52:29 4e4be7b47b0d: Download complete 16:52:29 188c0c94c7c5: Verifying Checksum 16:52:29 188c0c94c7c5: Download complete 16:52:29 188c0c94c7c5: Pull complete 16:52:29 0ef7d3d256c8: Pull complete 16:52:29 de9db76c5a1d: Pull complete 16:52:30 e1f770b5df2f: Verifying Checksum 16:52:30 e1f770b5df2f: Download complete 16:52:32 0eba1c9be4d2: Download complete 16:52:32 85a0685a4137: Verifying Checksum 16:52:32 85a0685a4137: Download complete 16:52:37 0eba1c9be4d2: Pull complete 16:52:37 0d57e429df01: Pull complete 16:52:37 4e4be7b47b0d: Pull complete 16:52:39 e1f770b5df2f: Pull complete 16:52:47 85a0685a4137: Pull complete 16:52:47 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 16:52:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:52:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 16:52:48 prd-centos7-docker-4c-2g-18204 does not seem to be running inside a container 16:52:48 $ 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 16:52:49 $ docker top 793f1316efbf6bdca63892d2169b271705e9c59c61569123b8999bb3ea4ba842 -eo pid,comm [Pipeline] { [Pipeline] echo 16:52:49 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 16:52:49 + set -o pipefail 16:52:49 + snyk monitor '--org=edgex-jenkins' 16:53:01 16:53:01 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 16:53:01 16:53:01 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/e8e320a1-a002-48ad-8e90-490eef0153fb 16:53:01 16:53:01 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:53:01 16:53:01 [Pipeline] } 16:53:01 $ docker stop --time=1 793f1316efbf6bdca63892d2169b271705e9c59c61569123b8999bb3ea4ba842 16:53:04 $ docker rm -f 793f1316efbf6bdca63892d2169b271705e9c59c61569123b8999bb3ea4ba842 [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 16:53:06 + git log --format=format:%s -1 793fa606b8324739f564128f9001c967c619a4b2 [Pipeline] isUnix [Pipeline] sh 16:53:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:53:06 . [Pipeline] withDockerContainer 16:53:06 prd-centos7-docker-4c-2g-18204 does not seem to be running inside a container 16:53:06 $ 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 16:53:07 $ docker top 36b9ff7cb29c3432621ddc4e93e6d8e287f1116361c1378cf9c88ec3a2ba45d8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:53:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:53:08 [ssh-agent] Looking for ssh-agent implementation... 16:53:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:53:08 $ docker exec 36b9ff7cb29c3432621ddc4e93e6d8e287f1116361c1378cf9c88ec3a2ba45d8 ssh-agent 16:53:08 SSH_AUTH_SOCK=/tmp/ssh-tBwPzcCuNIFS/agent.11 16:53:08 SSH_AGENT_PID=16 16:53:08 Running ssh-add (command line suppressed) 16:53:08 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_666105082761157335.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_666105082761157335.key) 16:53:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:53:09 + git semver tag 16:53:09 # -> Open(): unable to determine branch for HEAD 16:53:09 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 16:53:09 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 16:53:09 # $SEMVER_REMOTE_NAME = origin 16:53:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:53:09 # $SEMVER_USER_NAME = edgex-jenkins 16:53:09 # $SEMVER_BRANCH = master 16:53:09 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 16:53:09 # 793fa606b8324739f564128f9001c967c619a4b2 HEAD 16:53:09 # -> Force: false 16:53:09 # 56df58a2d555a803a70a5b709135ca4311b4d3ba refs/tags/v1.2.1-dev.2 [Pipeline] } 16:53:09 $ docker exec --env ******** --env ******** 36b9ff7cb29c3432621ddc4e93e6d8e287f1116361c1378cf9c88ec3a2ba45d8 ssh-agent -k 16:53:09 unset SSH_AUTH_SOCK; 16:53:09 unset SSH_AGENT_PID; 16:53:09 echo Agent pid 16 killed; 16:53:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:53:09 + git semver [Pipeline] } 16:53:09 $ docker stop --time=1 36b9ff7cb29c3432621ddc4e93e6d8e287f1116361c1378cf9c88ec3a2ba45d8 16:53:11 $ docker rm -f 36b9ff7cb29c3432621ddc4e93e6d8e287f1116361c1378cf9c88ec3a2ba45d8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:53:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:53:11 16:53:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:53:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:53:12 0.23.1-centos7: Pulling from edgex-lftools 16:53:12 ab5ef0e58194: Pulling fs layer 16:53:12 9712f1f96733: Pulling fs layer 16:53:12 63f879dbbcfc: Pulling fs layer 16:53:12 0d9ebad4ef96: Pulling fs layer 16:53:12 e9a5061849ea: Pulling fs layer 16:53:12 d747dcd14b5f: Pulling fs layer 16:53:12 2de7ff778b66: Pulling fs layer 16:53:12 e9a5061849ea: Waiting 16:53:12 d747dcd14b5f: Waiting 16:53:12 2de7ff778b66: Waiting 16:53:12 0d9ebad4ef96: Waiting 16:53:12 9712f1f96733: Verifying Checksum 16:53:12 9712f1f96733: Download complete 16:53:13 63f879dbbcfc: Verifying Checksum 16:53:13 63f879dbbcfc: Download complete 16:53:13 e9a5061849ea: Verifying Checksum 16:53:13 e9a5061849ea: Download complete 16:53:13 d747dcd14b5f: Download complete 16:53:13 2de7ff778b66: Verifying Checksum 16:53:13 2de7ff778b66: Download complete 16:53:14 0d9ebad4ef96: Verifying Checksum 16:53:14 0d9ebad4ef96: Download complete 16:53:14 ab5ef0e58194: Verifying Checksum 16:53:14 ab5ef0e58194: Download complete 16:53:18 ab5ef0e58194: Pull complete 16:53:18 9712f1f96733: Pull complete 16:53:21 63f879dbbcfc: Pull complete 16:53:27 0d9ebad4ef96: Pull complete 16:53:29 e9a5061849ea: Pull complete 16:53:29 d747dcd14b5f: Pull complete 16:53:32 2de7ff778b66: Pull complete 16:53:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:53:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:53:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:53:32 prd-centos7-docker-4c-2g-18204 does not seem to be running inside a container 16:53:32 $ 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 16:53:37 $ docker top fe04a22b802ee3f8b103a1e6a8d3ac855138c57ec75e432abc1493a9ab851494 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:53:37 provisioning config files... 16:53:37 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config192361771178820846tmp 16:53:37 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1215651398904398902tmp 16:53:37 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2869243893548601799tmp [Pipeline] { [Pipeline] echo 16:53:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:53:37 ---> sigul-configuration.sh 16:53:37 gpg: directory `/root/.gnupg' created 16:53:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:53:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:53:37 gpg: keyring `/root/.gnupg/secring.gpg' created 16:53:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:53:37 gpg: CAST5 encrypted data 16:53:38 gpg: encrypted with 1 passphrase 16:53:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:53:38 + mkdir /home/jenkins 16:53:38 + mkdir /home/jenkins/sigul [Pipeline] sh 16:53:38 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 16:53:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:53:39 ---> sigul-install.sh 16:53:44 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 16:53:44 + git tag --list 16:53:44 v1.0.0 16:53:44 v1.1.0 16:53:44 v1.1.1 16:53:44 v1.1.2 16:53:44 v1.1.2-dev.1 16:53:44 v1.1.2-dev.2 16:53:44 v1.1.3-dev.1 16:53:44 v1.1.3-dev.10 16:53:44 v1.1.3-dev.2 16:53:44 v1.1.3-dev.3 16:53:44 v1.1.3-dev.4 16:53:44 v1.1.3-dev.5 16:53:44 v1.1.3-dev.6 16:53:44 v1.1.3-dev.7 16:53:44 v1.1.3-dev.8 16:53:44 v1.1.3-dev.9 16:53:44 v1.2.0 16:53:44 v1.2.1-dev.1 16:53:44 v1.2.1-dev.2 [Pipeline] sh 16:53:45 + lftools sign git-tag v1.2.1-dev.2 16:53:46 Signing Git tag with Sigul... 16:53:46 Signing v1.2.1-dev.2 [Pipeline] echo 16:53:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:53:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:53:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:53:47 $ docker stop --time=1 fe04a22b802ee3f8b103a1e6a8d3ac855138c57ec75e432abc1493a9ab851494 16:53:49 $ docker rm -f fe04a22b802ee3f8b103a1e6a8d3ac855138c57ec75e432abc1493a9ab851494 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 16:53:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:53:51 . [Pipeline] withDockerContainer 16:53:51 prd-centos7-docker-4c-2g-18204 does not seem to be running inside a container 16:53:51 $ 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 16:53:51 $ docker top 908633cec34a7f6d266043a8903839ecf4a2bd2c3fb9280e3e52f470f9ed2478 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:53:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:53:52 [ssh-agent] Looking for ssh-agent implementation... 16:53:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:53:52 $ docker exec 908633cec34a7f6d266043a8903839ecf4a2bd2c3fb9280e3e52f470f9ed2478 ssh-agent 16:53:52 SSH_AUTH_SOCK=/tmp/ssh-r2qXteL4rcIM/agent.11 16:53:52 SSH_AGENT_PID=16 16:53:52 Running ssh-add (command line suppressed) 16:53:52 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8739142479939601602.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8739142479939601602.key) 16:53:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:53:53 + git semver bump pre 16:53:53 # -> Open(): unable to determine branch for HEAD 16:53:53 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 16:53:53 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 16:53:53 # $SEMVER_REMOTE_NAME = origin 16:53:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:53:53 # $SEMVER_USER_NAME = edgex-jenkins 16:53:53 # $SEMVER_BRANCH = master 16:53:53 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 16:53:53 1.2.1-dev.3 [Pipeline] } 16:53:53 $ docker exec --env ******** --env ******** 908633cec34a7f6d266043a8903839ecf4a2bd2c3fb9280e3e52f470f9ed2478 ssh-agent -k 16:53:53 unset SSH_AUTH_SOCK; 16:53:53 unset SSH_AGENT_PID; 16:53:53 echo Agent pid 16 killed; 16:53:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:53:53 + git semver [Pipeline] } 16:53:53 $ docker stop --time=1 908633cec34a7f6d266043a8903839ecf4a2bd2c3fb9280e3e52f470f9ed2478 16:53:55 $ docker rm -f 908633cec34a7f6d266043a8903839ecf4a2bd2c3fb9280e3e52f470f9ed2478 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 16:53:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:53:55 . [Pipeline] withDockerContainer 16:53:55 prd-centos7-docker-4c-2g-18204 does not seem to be running inside a container 16:53:55 $ 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 16:53:56 $ docker top 6ecc6097a7e33ff81a3bd7f9a279ddb0d9550290aaee6dcf5e737a747e7040b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:53:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:53:56 [ssh-agent] Looking for ssh-agent implementation... 16:53:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:53:56 $ docker exec 6ecc6097a7e33ff81a3bd7f9a279ddb0d9550290aaee6dcf5e737a747e7040b7 ssh-agent 16:53:57 SSH_AUTH_SOCK=/tmp/ssh-oaQHaf0xTOMF/agent.12 16:53:57 SSH_AGENT_PID=17 16:53:57 Running ssh-add (command line suppressed) 16:53:57 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8872674464260277899.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8872674464260277899.key) 16:53:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:53:57 + git semver push 16:53:57 # -> Open(): unable to determine branch for HEAD 16:53:57 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 16:53:57 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 16:53:57 # $SEMVER_REMOTE_NAME = origin 16:53:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:53:57 # $SEMVER_USER_NAME = edgex-jenkins 16:53:57 # $SEMVER_BRANCH = master 16:53:57 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 16:54:04 $ docker exec --env ******** --env ******** 6ecc6097a7e33ff81a3bd7f9a279ddb0d9550290aaee6dcf5e737a747e7040b7 ssh-agent -k 16:54:04 unset SSH_AUTH_SOCK; 16:54:04 unset SSH_AGENT_PID; 16:54:04 echo Agent pid 17 killed; 16:54:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:54:04 + git semver [Pipeline] } 16:54:04 $ docker stop --time=1 6ecc6097a7e33ff81a3bd7f9a279ddb0d9550290aaee6dcf5e737a747e7040b7 16:54:06 $ docker rm -f 6ecc6097a7e33ff81a3bd7f9a279ddb0d9550290aaee6dcf5e737a747e7040b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 16:54:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:54:09 ---> package-listing.sh 16:54:09 ++ facter osfamily 16:54:09 ++ tr '[:upper:]' '[:lower:]' 16:54:09 + OS_FAMILY=redhat 16:54:09 + workspace=/w/workspace/gexfoundry_device-rest-go_master 16:54:09 + START_PACKAGES=/tmp/packages_start.txt 16:54:09 + END_PACKAGES=/tmp/packages_end.txt 16:54:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:54:09 + PACKAGES=/tmp/packages_start.txt 16:54:09 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 16:54:09 + PACKAGES=/tmp/packages_end.txt 16:54:09 + case "${OS_FAMILY}" in 16:54:09 + rpm -qa 16:54:09 + sort 16:54:15 + '[' -f /tmp/packages_start.txt ']' 16:54:15 + '[' -f /tmp/packages_end.txt ']' 16:54:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:54:15 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 16:54:15 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 16:54:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo 16:54:15 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:54:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:54:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:54:15 16:54:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:54:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:54:16 alpine: Pulling from edgex-lftools-log-publisher 16:54:16 df20fa9351a1: Pulling fs layer 16:54:16 36b3adc4ff6f: Pulling fs layer 16:54:16 8ad3a11d3b57: Pulling fs layer 16:54:16 46f8f816bc3b: Pulling fs layer 16:54:16 93b61091891f: Pulling fs layer 16:54:16 93b9cdb0e59b: Pulling fs layer 16:54:16 5e14af77c1be: Pulling fs layer 16:54:16 01666e4c0597: Pulling fs layer 16:54:16 aa168da1d23b: Pulling fs layer 16:54:16 93b61091891f: Waiting 16:54:16 93b9cdb0e59b: Waiting 16:54:16 5e14af77c1be: Waiting 16:54:16 01666e4c0597: Waiting 16:54:16 aa168da1d23b: Waiting 16:54:16 46f8f816bc3b: Waiting 16:54:16 36b3adc4ff6f: Verifying Checksum 16:54:16 36b3adc4ff6f: Download complete 16:54:16 46f8f816bc3b: Verifying Checksum 16:54:16 46f8f816bc3b: Download complete 16:54:16 df20fa9351a1: Verifying Checksum 16:54:16 93b9cdb0e59b: Verifying Checksum 16:54:16 93b9cdb0e59b: Download complete 16:54:16 5e14af77c1be: Verifying Checksum 16:54:16 5e14af77c1be: Download complete 16:54:16 01666e4c0597: Verifying Checksum 16:54:16 01666e4c0597: Download complete 16:54:16 93b61091891f: Verifying Checksum 16:54:16 93b61091891f: Download complete 16:54:16 df20fa9351a1: Pull complete 16:54:17 36b3adc4ff6f: Pull complete 16:54:17 8ad3a11d3b57: Download complete 16:54:17 8ad3a11d3b57: Pull complete 16:54:17 46f8f816bc3b: Pull complete 16:54:18 93b61091891f: Pull complete 16:54:18 93b9cdb0e59b: Pull complete 16:54:19 5e14af77c1be: Pull complete 16:54:19 01666e4c0597: Pull complete 16:54:19 aa168da1d23b: Verifying Checksum 16:54:19 aa168da1d23b: Download complete 16:54:25 aa168da1d23b: Pull complete 16:54:25 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:54:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:54:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:54:26 prd-centos7-docker-4c-2g-18204 does not seem to be running inside a container 16:54:26 $ 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 16:54:29 $ docker top 7ed421d6cf62cc789d43815228bf0fce185a8e6a34019c85546318f3d962bf6b -eo pid,comm [Pipeline] { [Pipeline] sh 16:54:29 + touch /tmp/pre-build-complete [Pipeline] sh 16:54:30 + mkdir -p /var/log/sa [Pipeline] sh 16:54:30 + ls /var/log/sa-host 16:54:30 + sadf -c /var/log/sa-host/sa04 16:54:30 file_magic: OK 16:54:30 HZ: Using current value: 100 16:54:30 file_header: OK 16:54:30 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:54:30 Statistics: 16:54:30 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:54:30 File successfully converted to sysstat format version 12.2.1 16:54:30 + sadf -c /var/log/sa-host/sa23 16:54:30 file_magic: OK 16:54:30 HZ: Using current value: 100 16:54:30 file_header: OK 16:54:30 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:54:30 Statistics: 16:54:30 Hnuu...uuuununununu... 16:54:30 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:54:30 provisioning config files... 16:54:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config240733788959014211tmp [Pipeline] { [Pipeline] echo 16:54:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:54:31 ---> create-netrc.sh [Pipeline] } 16:54:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:54:31 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:54:31 ---> python-tools-install.sh [Pipeline] echo 16:54:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:54:31 ---> sudo-logs.sh 16:54:31 Archiving 'sudo' log.. [Pipeline] echo 16:54:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:54:32 ---> job-cost.sh 16:54:32 lf-activate-venv: SKIPPING 16:54:32 INFO: No Stack... 16:54:33 INFO: Retrieving Pricing Info for: v1-standard-2 16:54:33 INFO: Archiving Costs [Pipeline] echo 16:54:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:54:34 ---> logs-deploy.sh 16:54:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/29 16:54:34 INFO: archiving workspace using pattern(s): 16:54:35 Archives upload complete. 16:54:35 INFO: archiving logs to Nexus 16:54:37 ---> uname -a: 16:54:37 Linux prd-centos7-docker-4c-2g-18204.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 16:54:37 16:54:37 16:54:37 ---> lscpu: 16:54:37 Architecture: x86_64 16:54:37 CPU op-mode(s): 32-bit, 64-bit 16:54:37 Byte Order: Little Endian 16:54:37 Address sizes: 40 bits physical, 48 bits virtual 16:54:37 CPU(s): 4 16:54:37 On-line CPU(s) list: 0-3 16:54:37 Thread(s) per core: 1 16:54:37 Core(s) per socket: 1 16:54:37 Socket(s): 4 16:54:37 NUMA node(s): 1 16:54:37 Vendor ID: GenuineIntel 16:54:37 CPU family: 6 16:54:37 Model: 44 16:54:37 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 16:54:37 Stepping: 1 16:54:37 CPU MHz: 2933.438 16:54:37 BogoMIPS: 5866.87 16:54:37 Virtualization: VT-x 16:54:37 Hypervisor vendor: KVM 16:54:37 Virtualization type: full 16:54:37 L1d cache: 128 KiB 16:54:37 L1i cache: 128 KiB 16:54:37 L2 cache: 16 MiB 16:54:37 L3 cache: 64 MiB 16:54:37 NUMA node0 CPU(s): 0-3 16:54:37 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 16:54:37 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 16:54:37 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 16:54:37 Vulnerability Meltdown: Mitigation; PTI 16:54:37 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:54:37 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:54:37 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:54:37 Vulnerability Srbds: Not affected 16:54:37 Vulnerability Tsx async abort: Not affected 16:54:37 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 16:54:37 16:54:37 16:54:37 ---> nproc: 16:54:37 4 16:54:37 16:54:37 16:54:37 ---> df -h: 16:54:37 Filesystem Size Used Available Use% Mounted on 16:54:37 overlay 50.0G 8.6G 41.4G 17% / 16:54:37 tmpfs 64.0M 0 64.0M 0% /dev 16:54:37 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 16:54:37 shm 64.0M 0 64.0M 0% /dev/shm 16:54:37 /dev/vda1 50.0G 8.6G 41.4G 17% /facter-os 16:54:37 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/resolv.conf 16:54:37 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hostname 16:54:37 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hosts 16:54:37 /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/gexfoundry_device-rest-go_master@tmp 16:54:37 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/sa-host 16:54:37 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/secure 16:54:37 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/auth.log 16:54:37 /dev/vda1 50.0G 8.6G 41.4G 17% /run/cloud-init/result.json 16:54:37 /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/gexfoundry_device-rest-go_master 16:54:37 16:54:37 16:54:37 ---> free -m: 16:54:37 total used free shared buff/cache available 16:54:37 Mem: 1837 818 144 0 874 955 16:54:37 Swap: 1023 3 1020 16:54:37 16:54:37 16:54:37 ---> ip addr: 16:54:37 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 16:54:37 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:54:37 inet 127.0.0.1/8 scope host lo 16:54:37 valid_lft forever preferred_lft forever 16:54:37 inet6 ::1/128 scope host 16:54:37 valid_lft forever preferred_lft forever 16:54:37 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 16:54:37 link/ether fa:16:3e:6f:2b:73 brd ff:ff:ff:ff:ff:ff 16:54:37 inet 10.30.122.35/23 brd 10.30.123.255 scope global dynamic eth0 16:54:37 valid_lft 85809sec preferred_lft 85809sec 16:54:37 inet6 fe80::f816:3eff:fe6f:2b73/64 scope link 16:54:37 valid_lft forever preferred_lft forever 16:54:37 3: docker0: mtu 1500 qdisc noqueue state DOWN 16:54:37 link/ether 02:42:74:6c:79:cd brd ff:ff:ff:ff:ff:ff 16:54:37 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 16:54:37 valid_lft forever preferred_lft forever 16:54:37 inet6 fe80::42:74ff:fe6c:79cd/64 scope link 16:54:37 valid_lft forever preferred_lft forever 16:54:37 16:54:37 16:54:37 ---> sar -b -r -n DEV: 16:54:37 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/04/21 _x86_64_ (4 CPU) 16:54:37 16:54:37 16:44:35 LINUX RESTART (4 CPU) 16:54:37 16:54:37 16:45:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:54:37 16:46:01 77.45 29.79 47.65 0.00 7087.25 4755.93 0.00 16:54:37 16:47:01 2.53 0.00 2.53 0.00 0.00 56.45 0.00 16:54:37 16:48:01 0.45 0.00 0.45 0.00 0.00 7.63 0.00 16:54:37 16:49:01 0.30 0.00 0.30 0.00 0.00 3.95 0.00 16:54:37 16:50:01 0.23 0.00 0.23 0.00 0.00 3.48 0.00 16:54:37 16:51:01 0.35 0.00 0.35 0.00 0.00 4.41 0.00 16:54:37 16:52:02 0.30 0.00 0.30 0.00 0.00 3.48 0.00 16:54:37 16:53:01 265.14 162.50 102.64 0.00 8084.87 34794.86 0.00 16:54:37 16:54:01 227.03 74.90 152.12 0.00 4571.54 34557.26 0.00 16:54:37 Average: 63.41 29.46 33.95 0.00 2183.86 8198.21 0.00 16:54:37 16:54:37 16:45:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:54:37 16:46:01 149096 0 587180 31.21 2620 1142648 1098536 37.49 439700 1093720 128 16:54:37 16:47:01 154252 0 581908 30.93 2620 1142764 1077664 36.78 438752 1089888 12 16:54:37 16:48:01 151776 0 584376 31.06 2620 1142772 1077880 36.79 441804 1089872 16 16:54:37 16:49:01 152088 0 584064 31.04 2620 1142772 1077872 36.79 457160 1074068 20 16:54:37 16:50:01 152184 0 583960 31.04 2620 1142780 1077948 36.79 448588 1082780 16 16:54:37 16:51:01 150636 0 585504 31.12 2620 1142784 1077888 36.79 461000 1071760 12 16:54:37 16:52:02 151336 0 584800 31.08 2620 1142788 1077792 36.78 460248 1071884 8 16:54:37 16:53:01 166476 0 665008 35.34 2596 1047464 1181284 40.32 520392 928828 45496 16:54:37 16:54:01 229524 0 770804 40.97 1496 879720 1290648 44.05 586384 731936 48 16:54:37 Average: 161930 0 614178 32.64 2492 1102944 1115279 38.06 472670 1026082 5084 16:54:37 16:54:37 16:45:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:54:37 16:46:01 eth0 523.77 376.26 1306.41 98.47 0.00 0.00 0.00 0.00 16:54:37 16:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:37 16:46:01 docker0 61.25 45.76 4.67 133.40 0.00 0.00 0.00 0.00 16:54:37 16:47:01 eth0 2.61 0.08 0.23 0.01 0.00 0.00 0.00 0.00 16:54:37 16:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:37 16:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:37 16:48:01 eth0 3.46 1.07 1.23 0.75 0.00 0.00 0.00 0.00 16:54:37 16:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:37 16:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:37 16:49:01 eth0 2.08 0.60 0.64 0.40 0.00 0.00 0.00 0.00 16:54:37 16:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:37 16:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:37 16:50:01 eth0 1.05 0.55 0.54 0.40 0.00 0.00 0.00 0.00 16:54:37 16:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:37 16:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:37 16:51:01 eth0 0.37 0.27 0.15 0.11 0.00 0.00 0.00 0.00 16:54:37 16:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:37 16:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:37 16:52:02 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:54:37 16:52:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:37 16:52:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:37 16:53:01 eth0 480.81 426.94 4312.40 38.22 0.00 0.00 0.00 0.00 16:54:37 16:53:01 vethdb0dd5c 29.88 29.64 3.19 159.43 0.00 0.00 0.00 0.00 16:54:37 16:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:37 16:53:01 docker0 29.88 29.51 2.78 159.42 0.00 0.00 0.00 0.00 16:54:37 16:54:01 veth469bd94 1.85 1.28 0.29 0.25 0.00 0.00 0.00 0.00 16:54:37 16:54:01 eth0 468.26 407.26 3460.62 108.67 0.00 0.00 0.00 0.00 16:54:37 16:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:37 16:54:01 docker0 24.86 31.34 1.58 202.01 0.00 0.00 0.00 0.00 16:54:37 Average: veth469bd94 0.21 0.14 0.03 0.03 0.00 0.00 0.00 0.00 16:54:37 Average: eth0 164.22 134.31 1003.54 27.44 0.00 0.00 0.00 0.00 16:54:37 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:37 Average: docker0 12.86 11.82 1.00 54.81 0.00 0.00 0.00 0.00 16:54:37 16:54:37 16:54:37 ---> sar -P ALL: 16:54:37 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/04/21 _x86_64_ (4 CPU) 16:54:37 16:54:37 16:44:35 LINUX RESTART (4 CPU) 16:54:37 16:54:37 16:45:01 CPU %user %nice %system %iowait %steal %idle 16:54:37 16:46:01 all 12.59 0.00 4.10 2.38 0.03 80.90 16:54:37 16:46:01 0 13.03 0.00 4.60 2.26 0.03 80.08 16:54:37 16:46:01 1 12.43 0.00 4.02 1.97 0.03 81.54 16:54:37 16:46:01 2 11.68 0.00 4.02 1.08 0.03 83.18 16:54:37 16:46:01 3 13.21 0.00 3.78 4.20 0.03 78.78 16:54:37 16:47:01 all 0.19 0.00 0.05 0.00 0.00 99.76 16:54:37 16:47:01 0 0.05 0.00 0.05 0.00 0.00 99.90 16:54:37 16:47:01 1 0.10 0.00 0.03 0.00 0.00 99.87 16:54:37 16:47:01 2 0.07 0.00 0.07 0.00 0.00 99.87 16:54:37 16:47:01 3 0.53 0.00 0.05 0.00 0.00 99.42 16:54:37 16:48:01 all 0.16 0.00 0.05 0.00 0.00 99.79 16:54:37 16:48:01 0 0.18 0.00 0.05 0.00 0.00 99.77 16:54:37 16:48:01 1 0.08 0.00 0.07 0.00 0.00 99.85 16:54:37 16:48:01 2 0.17 0.00 0.07 0.00 0.00 99.77 16:54:37 16:48:01 3 0.20 0.00 0.02 0.00 0.00 99.78 16:54:37 16:49:01 all 0.15 0.00 0.05 0.00 0.00 99.80 16:54:37 16:49:01 0 0.45 0.00 0.03 0.00 0.00 99.52 16:54:37 16:49:01 1 0.05 0.00 0.07 0.00 0.00 99.88 16:54:37 16:49:01 2 0.03 0.00 0.10 0.00 0.00 99.87 16:54:37 16:49:01 3 0.05 0.00 0.02 0.00 0.00 99.93 16:54:37 16:50:01 all 0.10 0.00 0.05 0.00 0.00 99.85 16:54:37 16:50:01 0 0.15 0.00 0.07 0.00 0.00 99.78 16:54:37 16:50:01 1 0.08 0.00 0.05 0.00 0.00 99.87 16:54:37 16:50:01 2 0.12 0.00 0.03 0.00 0.00 99.85 16:54:37 16:50:01 3 0.03 0.00 0.07 0.00 0.00 99.90 16:54:37 16:51:01 all 0.15 0.00 0.05 0.00 0.00 99.80 16:54:37 16:51:01 0 0.03 0.00 0.03 0.00 0.00 99.93 16:54:37 16:51:01 1 0.50 0.00 0.05 0.00 0.00 99.45 16:54:37 16:51:01 2 0.03 0.00 0.08 0.00 0.00 99.88 16:54:37 16:51:01 3 0.03 0.00 0.03 0.00 0.00 99.93 16:54:37 16:52:02 all 0.17 0.00 0.03 0.00 0.00 99.80 16:54:37 16:52:02 0 0.02 0.00 0.03 0.00 0.00 99.95 16:54:37 16:52:02 1 0.55 0.00 0.03 0.00 0.00 99.42 16:54:37 16:52:02 2 0.07 0.00 0.03 0.00 0.00 99.90 16:54:37 16:52:02 3 0.03 0.00 0.03 0.00 0.00 99.93 16:54:37 16:53:01 all 9.39 0.00 6.32 2.80 0.05 81.44 16:54:37 16:53:01 0 9.18 0.00 6.97 2.84 0.05 80.95 16:54:37 16:53:01 1 10.41 0.00 6.07 2.29 0.03 81.19 16:54:37 16:53:01 2 9.16 0.00 6.13 2.63 0.05 82.02 16:54:37 16:53:01 3 8.79 0.00 6.13 3.42 0.05 81.60 16:54:37 16:54:01 all 11.74 0.00 9.21 2.76 0.06 76.24 16:54:37 16:54:01 0 10.79 0.00 10.10 2.78 0.03 76.30 16:54:37 16:54:01 1 14.24 0.00 8.41 0.81 0.07 76.47 16:54:37 16:54:01 2 11.87 0.00 9.14 6.61 0.07 72.31 16:54:37 16:54:01 3 10.08 0.00 9.18 0.82 0.05 79.87 16:54:37 Average: all 3.79 0.00 2.18 0.87 0.01 93.15 16:54:37 Average: 0 3.70 0.00 2.39 0.86 0.01 93.04 16:54:37 Average: 1 4.21 0.00 2.05 0.55 0.01 93.17 16:54:37 Average: 2 3.64 0.00 2.15 1.13 0.02 93.07 16:54:37 Average: 3 3.61 0.00 2.11 0.92 0.01 93.34 16:54:37 16:54:37 16:54:37