Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4f98354a1324b6971af40554b83b1d8fb938970d 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4554 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Checking out Revision 4f98354a1324b6971af40554b83b1d8fb938970d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 Commit message: "Merge pull request #90 from lenny-intel/secure-bus" > git rev-list --no-walk 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:01:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:01:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:01:34 ========================================================= 18:01:34 EdgeX Global Pipelines Version Info 18:01:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:01:36 ------------------- 18:01:36 stable info: 18:01:36 ------------------- 18:01:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:01:36 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 18:01:36 Message: update stable to v1.0.192 18:01:36 ------------------- 18:01:36 experimental info: 18:01:36 ------------------- 18:01:36 Commited By: **** collab-it+edgex@linuxfoundation.org 18:01:36 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 18:01:36 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 18:01:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 18:01:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 18:01:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f98354a1324b6971af40554b83b1d8fb938970d [Pipeline] echo 18:01:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f98354 [Pipeline] echo 18:01:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:01:38 provisioning config files... 18:01:38 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1211447601866545564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:01:38 ---> docker-login.sh 18:01:38 nexus3.edgexfoundry.org:10001 18:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:39 Configure a credential helper to remove this warning. See 18:01:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:39 18:01:39 Login Succeeded 18:01:39 nexus3.edgexfoundry.org:10002 18:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:39 Configure a credential helper to remove this warning. See 18:01:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:39 18:01:39 Login Succeeded 18:01:39 nexus3.edgexfoundry.org:10003 18:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:39 Configure a credential helper to remove this warning. See 18:01:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:39 18:01:39 Login Succeeded 18:01:39 nexus3.edgexfoundry.org:10004 18:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:39 Configure a credential helper to remove this warning. See 18:01:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:39 18:01:39 Login Succeeded 18:01:39 docker.io 18:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:40 Configure a credential helper to remove this warning. See 18:01:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:40 18:01:40 Login Succeeded 18:01:40 ---> docker-login.sh ends [Pipeline] } 18:01:40 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 18:01:40 + git log --format=format:%s -1 4f98354a1324b6971af40554b83b1d8fb938970d [Pipeline] echo 18:01:40 GIT_COMMIT: 4f98354a1324b6971af40554b83b1d8fb938970d, Commit Message: Merge pull request #90 from lenny-intel/secure-bus [Pipeline] echo 18:01:40 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:01:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:01:41 18:01:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:01:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:01:41 latest: Pulling from edgex-devops/git-semver 18:01:41 31603596830f: Pulling fs layer 18:01:41 54011a49482f: Pulling fs layer 18:01:41 a6820b24f6d8: Pulling fs layer 18:01:41 f581987b2513: Pulling fs layer 18:01:41 f581987b2513: Waiting 18:01:41 54011a49482f: Verifying Checksum 18:01:41 54011a49482f: Download complete 18:01:41 31603596830f: Verifying Checksum 18:01:41 31603596830f: Download complete 18:01:42 31603596830f: Pull complete 18:01:42 54011a49482f: Pull complete 18:01:42 f581987b2513: Verifying Checksum 18:01:42 f581987b2513: Download complete 18:01:42 a6820b24f6d8: Verifying Checksum 18:01:42 a6820b24f6d8: Download complete 18:01:43 a6820b24f6d8: Pull complete 18:01:43 f581987b2513: Pull complete 18:01:43 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 18:01:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:01:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:01:44 prd-centos7-docker-4c-2g-4554 does not seem to be running inside a container 18:01:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:01:46 $ docker top 2975456c24b33b239c32e0848fa7322cb9c2a9b99f9b535b2cc34630f12b76ec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:01:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:01:46 [ssh-agent] Looking for ssh-agent implementation... 18:01:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:01:46 $ docker exec 2975456c24b33b239c32e0848fa7322cb9c2a9b99f9b535b2cc34630f12b76ec ssh-agent 18:01:46 SSH_AUTH_SOCK=/tmp/ssh-4CZ5R71hF3fn/agent.12 18:01:46 SSH_AGENT_PID=18 18:01:46 Running ssh-add (command line suppressed) 18:01:46 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3797941357064672468.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3797941357064672468.key) 18:01:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:01:47 + git tag --points-at HEAD [Pipeline] } 18:01:47 $ docker exec --env ******** --env ******** 2975456c24b33b239c32e0848fa7322cb9c2a9b99f9b535b2cc34630f12b76ec ssh-agent -k 18:01:47 unset SSH_AUTH_SOCK; 18:01:47 unset SSH_AGENT_PID; 18:01:47 echo Agent pid 18 killed; 18:01:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:01:47 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v1.2.2-dev.7' [Pipeline] sshagent 18:01:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:01:47 [ssh-agent] Looking for ssh-agent implementation... 18:01:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:01:47 $ docker exec 2975456c24b33b239c32e0848fa7322cb9c2a9b99f9b535b2cc34630f12b76ec ssh-agent 18:01:48 SSH_AUTH_SOCK=/tmp/ssh-8lQhunRJWl8t/agent.49 18:01:48 SSH_AGENT_PID=54 18:01:48 Running ssh-add (command line suppressed) 18:01:48 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3547631593148847685.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3547631593148847685.key) 18:01:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:01:48 + git semver init 18:01:48 # -> Open(): unable to determine branch for HEAD 18:01:48 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 18:01:48 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 18:01:48 # $SEMVER_REMOTE_NAME = origin 18:01:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:01:48 # $SEMVER_USER_NAME = edgex-jenkins 18:01:48 # $SEMVER_BRANCH = master 18:01:48 # $SEMVER_TEMP = /tmp/semver-030906079 18:01:48 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 18:01:50 # '/tmp/semver-030906079' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 18:01:50 # -> Force: false 18:01:50 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 18:01:50 $ docker exec --env ******** --env ******** 2975456c24b33b239c32e0848fa7322cb9c2a9b99f9b535b2cc34630f12b76ec ssh-agent -k 18:01:50 unset SSH_AUTH_SOCK; 18:01:50 unset SSH_AGENT_PID; 18:01:50 echo Agent pid 54 killed; 18:01:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:01:50 + git semver [Pipeline] } 18:01:50 $ docker stop --time=1 2975456c24b33b239c32e0848fa7322cb9c2a9b99f9b535b2cc34630f12b76ec 18:01:52 $ docker rm -f 2975456c24b33b239c32e0848fa7322cb9c2a9b99f9b535b2cc34630f12b76ec [Pipeline] // withDockerContainer [Pipeline] sh 18:01:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:01:52 Stashed 1 file(s) [Pipeline] echo 18:01:52 [edgeXSemver]: initialized semver on version 1.2.2-dev.8 [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 18:02:08 Still waiting to schedule task 18:02:08 ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4550’ is offline; ‘prd-centos7-docker-4c-2g-4552’ is offline; ‘prd-centos7-docker-4c-2g-4556’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4551’ doesn’t have label ‘centos7-docker-4c-2g’ 18:02:08 Still waiting to schedule task 18:02:08 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:02:15 Running on prd-centos7-docker-4c-2g-4556 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 18:02:15 Running in /w/workspace/device-rest-go/40 [Pipeline] { [Pipeline] checkout 18:02:17 using credential edgex-jenkins-ssh 18:02:17 Cloning the remote Git repository 18:02:17 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:02:17 > git init /w/workspace/device-rest-go/40 # timeout=10 18:02:17 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:02:17 > git --version # timeout=10 18:02:17 > git --version # 'git version 2.24.3' 18:02:17 using GIT_SSH to set credentials SSH Credentials for GitHub 18:02:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:02:19 Checking out Revision 4f98354a1324b6971af40554b83b1d8fb938970d (master) 18:02:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:02:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:02:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:02:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:02:18 using GIT_SSH to set credentials SSH Credentials for GitHub 18:02:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 18:02:19 > git config core.sparsecheckout # timeout=10 18:02:19 > git checkout -f 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 18:02:22 Commit message: "Merge pull request #90 from lenny-intel/secure-bus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:02:23 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:02:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:02:24 + sudo service docker restart 18:02:24 + true 18:02:24 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:02:26 provisioning config files... 18:02:26 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/40@tmp/config473600195542183593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:02:26 ---> docker-login.sh 18:02:26 nexus3.edgexfoundry.org:10001 18:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:26 Configure a credential helper to remove this warning. See 18:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:26 18:02:26 Login Succeeded 18:02:26 nexus3.edgexfoundry.org:10002 18:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:26 Configure a credential helper to remove this warning. See 18:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:26 18:02:26 Login Succeeded 18:02:26 nexus3.edgexfoundry.org:10003 18:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:27 Configure a credential helper to remove this warning. See 18:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:27 18:02:27 Login Succeeded 18:02:27 nexus3.edgexfoundry.org:10004 18:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:27 Configure a credential helper to remove this warning. See 18:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:27 18:02:27 Login Succeeded 18:02:27 docker.io 18:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:27 Configure a credential helper to remove this warning. See 18:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:27 18:02:27 Login Succeeded 18:02:27 ---> docker-login.sh ends [Pipeline] } 18:02:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:02:27 ========================================================= 18:02:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:02:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:02:28 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 18:02:28 Sending build context to Docker daemon 93.18kB 18:02:28 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 18:02:28 Step 2/10 : FROM ${BASE} 18:02:28 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 18:02:28 540db60ca938: Pulling fs layer 18:02:28 adcc1eea9eea: Pulling fs layer 18:02:28 4c4ab2625f07: Pulling fs layer 18:02:28 0510c868ecb4: Pulling fs layer 18:02:28 afea3b2eda06: Pulling fs layer 18:02:28 7809a108b3ef: Pulling fs layer 18:02:28 f706445af74f: Pulling fs layer 18:02:28 0510c868ecb4: Waiting 18:02:28 afea3b2eda06: Waiting 18:02:28 7809a108b3ef: Waiting 18:02:28 f706445af74f: Waiting 18:02:28 4c4ab2625f07: Download complete 18:02:28 adcc1eea9eea: Verifying Checksum 18:02:28 adcc1eea9eea: Download complete 18:02:28 afea3b2eda06: Verifying Checksum 18:02:28 afea3b2eda06: Download complete 18:02:28 7809a108b3ef: Verifying Checksum 18:02:28 7809a108b3ef: Download complete 18:02:28 540db60ca938: Download complete 18:02:28 540db60ca938: Pull complete 18:02:29 adcc1eea9eea: Pull complete 18:02:29 4c4ab2625f07: Pull complete 18:02:30 f706445af74f: Verifying Checksum 18:02:30 f706445af74f: Download complete 18:02:30 0510c868ecb4: Verifying Checksum 18:02:30 0510c868ecb4: Download complete 18:02:36 0510c868ecb4: Pull complete 18:02:36 afea3b2eda06: Pull complete 18:02:36 7809a108b3ef: Pull complete 18:02:44 f706445af74f: Pull complete 18:02:44 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 18:02:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:02:44 ---> b068be0155e3 18:02:44 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:02:45 ---> Running in 000a97af367f 18:02:45 Removing intermediate container 000a97af367f 18:02:45 ---> c11d21c2b21a 18:02:45 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 18:02:45 ---> Running in 8c1d7be12e63 18:02:45 Removing intermediate container 8c1d7be12e63 18:02:45 ---> 49166d0e109b 18:02:45 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:02:46 ---> Running in 13d491589983 18:02:46 Removing intermediate container 13d491589983 18:02:46 ---> 32beb77419d9 18:02:46 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:02:46 ---> Running in 9b00d061ffda 18:02:48 Removing intermediate container 9b00d061ffda 18:02:48 ---> 4e923efd463a 18:02:48 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:02:48 ---> Running in 3878ab599050 18:02:48 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:02:49 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:02:49 (1/9) Installing libc-dev (0.7.2-r3) 18:02:50 (2/9) Installing libsodium (1.0.18-r0) 18:02:50 (3/9) Installing pkgconf (1.7.3-r0) 18:02:50 (4/9) Installing libsodium-dev (1.0.18-r0) 18:02:50 (5/9) Installing openssh-keygen (8.4_p1-r3) 18:02:50 (6/9) Installing libedit (20191231.3.1-r1) 18:02:50 (7/9) Installing openssh-client (8.4_p1-r3) 18:02:50 (8/9) Installing libzmq (4.3.3-r1) 18:02:50 (9/9) Installing zeromq-dev (4.3.3-r1) 18:02:50 Executing busybox-1.32.1-r6.trigger 18:02:50 OK: 154 MiB in 49 packages 18:02:51 Removing intermediate container 3878ab599050 18:02:51 ---> c536c890d5dd 18:02:51 Step 8/10 : WORKDIR /device-rest-go 18:02:51 ---> Running in 06c6d81ab786 18:02:51 Removing intermediate container 06c6d81ab786 18:02:51 ---> e4bfab002bf7 18:02:51 Step 9/10 : COPY . . 18:02:52 ---> 239bb34f1321 18:02:52 Step 10/10 : RUN go mod download 18:02:52 ---> Running in 8a578f987f9d 18:03:14 Removing intermediate container 8a578f987f9d 18:03:14 ---> 53ad8903ff65 18:03:14 Successfully built 53ad8903ff65 18:03:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:03:14 + docker inspect -f . ci-base-image-x86_64 18:03:14 . [Pipeline] withDockerContainer 18:03:15 prd-centos7-docker-4c-2g-4556 does not seem to be running inside a container 18:03:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/40 -v /w/workspace/device-rest-go/40:/w/workspace/device-rest-go/40:rw,z -v /w/workspace/device-rest-go/40@tmp:/w/workspace/device-rest-go/40@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 18:03:16 $ docker top fb50cfd9017d7fa57f77ad9e9658a2f51dda9007f6e14de6a04b8a70825e85a5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:03:16 + go version 18:03:16 go version go1.16.3 linux/amd64 [Pipeline] } 18:03:16 $ docker stop --time=1 fb50cfd9017d7fa57f77ad9e9658a2f51dda9007f6e14de6a04b8a70825e85a5 18:03:17 $ docker rm -f fb50cfd9017d7fa57f77ad9e9658a2f51dda9007f6e14de6a04b8a70825e85a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:03:18 + docker inspect -f . ci-base-image-x86_64 18:03:18 . [Pipeline] withDockerContainer 18:03:18 prd-centos7-docker-4c-2g-4556 does not seem to be running inside a container 18:03:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/40 -v /w/workspace/device-rest-go/40:/w/workspace/device-rest-go/40:rw,z -v /w/workspace/device-rest-go/40@tmp:/w/workspace/device-rest-go/40@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 18:03:19 $ docker top 7a1499dcfd44960efc5bcf20b0c966031ccf732b5098be0abdbe37b379e8115a -eo pid,comm [Pipeline] { [Pipeline] sh 18:03:20 + go mod tidy [Pipeline] sh 18:03:21 + make test 18:03:21 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:03:21 ? github.com/edgexfoundry/device-rest-go [no test files] 18:03:44 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:03:44 ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 54.0% of statements 18:03:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:03:50 gofmt -l . 18:03:50 [ "`gofmt -l .`" = "" ] 18:03:50 ./bin/test-go-mod-tidy.sh 18:03:51 ./bin/test-attribution-txt.sh [Pipeline] } 18:03:52 $ docker stop --time=1 7a1499dcfd44960efc5bcf20b0c966031ccf732b5098be0abdbe37b379e8115a 18:03:54 $ docker rm -f 7a1499dcfd44960efc5bcf20b0c966031ccf732b5098be0abdbe37b379e8115a [Pipeline] // withDockerContainer [Pipeline] sh 18:03:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:03:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:03:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:03:56 + ls -al . 18:03:56 total 104 18:03:56 drwxrwxr-x. 8 jenkins jenkins 4096 May 11 18:03 . 18:03:56 drwxrwxr-x. 4 jenkins jenkins 30 May 11 18:02 .. 18:03:56 -rw-rw-r--. 1 jenkins jenkins 6792 May 11 18:02 Attribution.txt 18:03:56 drwxrwxr-x. 2 jenkins jenkins 64 May 11 18:02 bin 18:03:56 drwxrwxr-x. 3 jenkins jenkins 32 May 11 18:02 cmd 18:03:56 -rw-r--r--. 1 jenkins jenkins 8513 May 11 18:03 coverage.out 18:03:56 -rw-rw-r--. 1 jenkins jenkins 1602 May 11 18:02 Dockerfile 18:03:56 -rw-rw-r--. 1 jenkins jenkins 1087 May 11 18:02 Dockerfile.build 18:03:56 -rw-rw-r--. 1 jenkins jenkins 151 May 11 18:02 .dockerignore 18:03:56 drwxrwxr-x. 2 jenkins jenkins 76 May 11 18:02 driver 18:03:56 drwxrwxr-x. 8 jenkins jenkins 162 May 11 18:02 .git 18:03:56 drwxrwxr-x. 2 jenkins jenkins 103 May 11 18:02 .github 18:03:56 -rw-rw-r--. 1 jenkins jenkins 339 May 11 18:02 .gitignore 18:03:56 -rw-r--r--. 1 jenkins jenkins 285 May 11 18:03 go.mod 18:03:56 -rw-r--r--. 1 jenkins jenkins 21278 May 11 18:03 go.sum 18:03:56 -rw-rw-r--. 1 jenkins jenkins 680 May 11 18:02 Jenkinsfile 18:03:56 -rw-rw-r--. 1 jenkins jenkins 11340 May 11 18:02 LICENSE 18:03:56 -rw-rw-r--. 1 jenkins jenkins 976 May 11 18:02 Makefile 18:03:56 -rw-rw-r--. 1 jenkins jenkins 7667 May 11 18:02 README.md 18:03:56 drwxrwxr-x. 4 jenkins jenkins 71 May 11 18:02 snap 18:03:56 -rw-rw-r--. 1 jenkins jenkins 11 May 11 18:01 VERSION 18:03:56 -rw-rw-r--. 1 jenkins jenkins 713 May 11 18:02 version.go [Pipeline] isUnix [Pipeline] sh 18:03:57 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=4f98354a1324b6971af40554b83b1d8fb938970d --label arch=amd64 --label version=1.2.2-dev.8 . 18:03:57 Sending build context to Docker daemon 102.9kB 18:03:57 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 18:03:57 Step 2/24 : FROM ${BASE} AS builder 18:03:57 ---> 53ad8903ff65 18:03:57 Step 3/24 : ARG MAKE='make build' 18:03:57 ---> Running in 0daa8d011327 18:03:57 Removing intermediate container 0daa8d011327 18:03:57 ---> b77ff07630bb 18:03:57 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:03:57 ---> Running in 379563bd7661 18:03:57 Removing intermediate container 379563bd7661 18:03:57 ---> 052351f4cbae 18:03:57 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 18:03:57 ---> Running in bc282bf6e6b2 18:03:58 Removing intermediate container bc282bf6e6b2 18:03:58 ---> 6560718aba62 18:03:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:03:58 ---> Running in 7fba4af76d53 18:03:59 Removing intermediate container 7fba4af76d53 18:03:59 ---> a365812d3335 18:03:59 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:03:59 ---> Running in a8bd72484028 18:04:00 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:04:00 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:04:01 OK: 154 MiB in 49 packages 18:04:01 Removing intermediate container a8bd72484028 18:04:01 ---> 7ff3ab8050e0 18:04:01 Step 8/24 : WORKDIR /device-rest-go 18:04:01 ---> Running in 3f48a8535958 18:04:02 Removing intermediate container 3f48a8535958 18:04:02 ---> 79af4f91a514 18:04:02 Step 9/24 : COPY . . 18:04:02 ---> 7c3ac4cc4945 18:04:02 Step 10/24 : RUN make update 18:04:02 ---> Running in e9864557c484 18:04:03 CGO_ENABLED=0 GO111MODULE=on go mod download 18:04:03 Removing intermediate container e9864557c484 18:04:03 ---> 85a24160919b 18:04:03 Step 11/24 : RUN $MAKE 18:04:03 ---> Running in 38276349708e 18:04:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.8" -o cmd/device-rest-go ./cmd 18:04:19 Removing intermediate container 38276349708e 18:04:19 ---> 2723e556c6ce 18:04:19 Step 12/24 : FROM alpine:3.12 18:04:19 3.12: Pulling from library/alpine 18:04:19 339de151aab4: Pulling fs layer 18:04:19 339de151aab4: Download complete 18:04:19 339de151aab4: Pull complete 18:04:19 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 18:04:19 Status: Downloaded newer image for alpine:3.12 18:04:19 ---> 13621d1b12d4 18:04:19 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:04:19 ---> Running in a7e4ee8bf9a2 18:04:20 Removing intermediate container a7e4ee8bf9a2 18:04:20 ---> fd848d5fbfd9 18:04:20 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 18:04:20 ---> Running in 419c2019d7f7 18:04:20 Removing intermediate container 419c2019d7f7 18:04:20 ---> 900bcfc1f946 18:04:20 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 18:04:20 ---> Running in 7ffcb542bee7 18:04:20 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:04:20 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:04:21 (1/6) Installing dumb-init (1.2.2-r1) 18:04:21 (2/6) Installing libgcc (9.3.0-r2) 18:04:21 (3/6) Installing libsodium (1.0.18-r0) 18:04:21 (4/6) Installing libstdc++ (9.3.0-r2) 18:04:21 (5/6) Installing libzmq (4.3.3-r0) 18:04:21 (6/6) Installing zeromq (4.3.3-r0) 18:04:21 Executing busybox-1.31.1-r20.trigger 18:04:21 OK: 8 MiB in 20 packages 18:04:21 Removing intermediate container 7ffcb542bee7 18:04:21 ---> faf46400430e 18:04:21 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 18:04:22 ---> b2d1d8ca3a9b 18:04:22 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 18:04:22 ---> fb86192afbbf 18:04:22 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 18:04:22 ---> e5c25c896084 18:04:22 Step 19/24 : EXPOSE 49986 18:04:23 ---> Running in 353d30028c5a 18:04:23 Removing intermediate container 353d30028c5a 18:04:23 ---> 710056eeee83 18:04:23 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 18:04:23 ---> Running in da99f39f51be 18:04:23 Removing intermediate container da99f39f51be 18:04:23 ---> 7360931cf9d1 18:04:23 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:04:23 ---> Running in 4d9b443a277a 18:04:23 Removing intermediate container 4d9b443a277a 18:04:23 ---> 2af6abd2c903 18:04:23 Step 22/24 : LABEL arch=amd64 18:04:23 ---> Running in e6be873936d8 18:04:23 Removing intermediate container e6be873936d8 18:04:23 ---> e43cec478074 18:04:23 Step 23/24 : LABEL git_sha=4f98354a1324b6971af40554b83b1d8fb938970d 18:04:24 ---> Running in 31a77afe9bae 18:04:24 Removing intermediate container 31a77afe9bae 18:04:24 ---> 14a5e102ed71 18:04:24 Step 24/24 : LABEL version=1.2.2-dev.8 18:04:24 ---> Running in 4b7bda9af1fc 18:04:24 Removing intermediate container 4b7bda9af1fc 18:04:24 ---> 8b77326c02ad 18:04:24 [Warning] One or more build-args [ARCH] were not consumed 18:04:24 Successfully built 8b77326c02ad 18:04:24 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:04:24 provisioning config files... 18:04:24 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/40@tmp/config2206672773486035528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:25 ---> docker-login.sh 18:04:25 nexus3.edgexfoundry.org:10001 18:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:25 Configure a credential helper to remove this warning. See 18:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:25 18:04:25 Login Succeeded 18:04:25 nexus3.edgexfoundry.org:10002 18:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:25 Configure a credential helper to remove this warning. See 18:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:25 18:04:25 Login Succeeded 18:04:25 nexus3.edgexfoundry.org:10003 18:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:25 Configure a credential helper to remove this warning. See 18:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:25 18:04:25 Login Succeeded 18:04:25 nexus3.edgexfoundry.org:10004 18:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:25 Configure a credential helper to remove this warning. See 18:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:25 18:04:25 Login Succeeded 18:04:25 docker.io 18:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:26 Configure a credential helper to remove this warning. See 18:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:26 18:04:26 Login Succeeded 18:04:26 ---> docker-login.sh ends [Pipeline] } 18:04:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:04:26 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 18:04:26 4f98354a1324b6971af40554b83b1d8fb938970d 18:04:26 latest 18:04:26 1.2.2-dev.8 18:04:26 4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.8 18:04:26 master 18:04:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:04:26 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4f98354a1324b6971af40554b83b1d8fb938970d [Pipeline] isUnix [Pipeline] sh 18:04:27 + docker push nexus3.edgexfoundry.org:10004/device-rest:4f98354a1324b6971af40554b83b1d8fb938970d 18:04:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:04:27 09698e1fc9a7: Preparing 18:04:27 34b2f6b7e9af: Preparing 18:04:27 fd429fd906f7: Preparing 18:04:27 ecf230500294: Preparing 18:04:27 32f366d666a5: Preparing 18:04:27 32f366d666a5: Layer already exists 18:04:27 09698e1fc9a7: Pushed 18:04:27 34b2f6b7e9af: Pushed 18:04:27 ecf230500294: Pushed 18:04:28 fd429fd906f7: Pushed 18:04:28 4f98354a1324b6971af40554b83b1d8fb938970d: digest: sha256:ead7581f4ba4e08c357eb5fe39011a682a59e672435e2b049d614d653dcb9ada size: 1365 [Pipeline] isUnix [Pipeline] sh 18:04:29 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 18:04:29 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 18:04:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:04:29 09698e1fc9a7: Preparing 18:04:29 34b2f6b7e9af: Preparing 18:04:29 fd429fd906f7: Preparing 18:04:29 ecf230500294: Preparing 18:04:29 32f366d666a5: Preparing 18:04:29 ecf230500294: Layer already exists 18:04:29 34b2f6b7e9af: Layer already exists 18:04:29 09698e1fc9a7: Layer already exists 18:04:29 fd429fd906f7: Layer already exists 18:04:29 32f366d666a5: Layer already exists 18:04:29 latest: digest: sha256:ead7581f4ba4e08c357eb5fe39011a682a59e672435e2b049d614d653dcb9ada size: 1365 [Pipeline] isUnix [Pipeline] sh 18:04:29 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.8 [Pipeline] isUnix [Pipeline] sh 18:04:30 + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.8 18:04:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:04:30 09698e1fc9a7: Preparing 18:04:30 34b2f6b7e9af: Preparing 18:04:30 fd429fd906f7: Preparing 18:04:30 ecf230500294: Preparing 18:04:30 32f366d666a5: Preparing 18:04:30 ecf230500294: Layer already exists 18:04:30 34b2f6b7e9af: Layer already exists 18:04:30 fd429fd906f7: Layer already exists 18:04:30 32f366d666a5: Layer already exists 18:04:30 09698e1fc9a7: Layer already exists 18:04:30 1.2.2-dev.8: digest: sha256:ead7581f4ba4e08c357eb5fe39011a682a59e672435e2b049d614d653dcb9ada size: 1365 [Pipeline] isUnix [Pipeline] sh 18:04:30 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.8 [Pipeline] isUnix [Pipeline] sh 18:04:30 + docker push nexus3.edgexfoundry.org:10004/device-rest:4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.8 18:04:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:04:30 09698e1fc9a7: Preparing 18:04:30 34b2f6b7e9af: Preparing 18:04:30 fd429fd906f7: Preparing 18:04:30 ecf230500294: Preparing 18:04:30 32f366d666a5: Preparing 18:04:30 34b2f6b7e9af: Layer already exists 18:04:30 32f366d666a5: Layer already exists 18:04:30 fd429fd906f7: Layer already exists 18:04:30 ecf230500294: Layer already exists 18:04:30 09698e1fc9a7: Layer already exists 18:04:30 4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.8: digest: sha256:ead7581f4ba4e08c357eb5fe39011a682a59e672435e2b049d614d653dcb9ada size: 1365 [Pipeline] isUnix [Pipeline] sh 18:04:31 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh 18:04:31 + docker push nexus3.edgexfoundry.org:10004/device-rest:master 18:04:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:04:31 09698e1fc9a7: Preparing 18:04:31 34b2f6b7e9af: Preparing 18:04:31 fd429fd906f7: Preparing 18:04:31 ecf230500294: Preparing 18:04:31 32f366d666a5: Preparing 18:04:31 32f366d666a5: Layer already exists 18:04:31 fd429fd906f7: Layer already exists 18:04:31 34b2f6b7e9af: Layer already exists 18:04:31 09698e1fc9a7: Layer already exists 18:04:31 ecf230500294: Layer already exists 18:04:31 master: digest: sha256:ead7581f4ba4e08c357eb5fe39011a682a59e672435e2b049d614d653dcb9ada size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:04:31 ===================================================== [Pipeline] echo 18:04:31 taggedImages: 18:04:31 - nexus3.edgexfoundry.org:10004/device-rest:4f98354a1324b6971af40554b83b1d8fb938970d 18:04:31 - nexus3.edgexfoundry.org:10004/device-rest:latest 18:04:31 - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.8 18:04:31 - nexus3.edgexfoundry.org:10004/device-rest:4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.8 18:04:31 - nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 18:04:32 ---> job-cost.sh 18:04:32 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-in27 18:04:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4558 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 18:04:46 Running in /w/workspace/device-rest-go/40 [Pipeline] { [Pipeline] checkout 18:04:46 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:04:52 using credential edgex-jenkins-ssh 18:04:52 Cloning the remote Git repository 18:04:52 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:04:52 > git init /w/workspace/device-rest-go/40 # timeout=10 18:04:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:04:52 > git --version # timeout=10 18:04:52 > git --version # 'git version 2.17.1' 18:04:52 using GIT_SSH to set credentials SSH Credentials for GitHub 18:04:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:04:54 Checking out Revision 4f98354a1324b6971af40554b83b1d8fb938970d (master) 18:04:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:04:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:04:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:04:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:04:54 using GIT_SSH to set credentials SSH Credentials for GitHub 18:04:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 18:04:54 > git config core.sparsecheckout # timeout=10 18:04:54 > git checkout -f 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 18:04:59 Commit message: "Merge pull request #90 from lenny-intel/secure-bus" 18:04:59 18:04:59 GitHub has been notified of this commit’s build result 18:04:59 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:05:00 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:05:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:05:01 + sudo service docker restart 18:05:01 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:05:03 provisioning config files... 18:05:03 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/40@tmp/config3605985882694528064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:04 ---> docker-login.sh 18:05:04 nexus3.edgexfoundry.org:10001 18:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:05 Configure a credential helper to remove this warning. See 18:05:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:05 18:05:05 Login Succeeded 18:05:05 nexus3.edgexfoundry.org:10002 18:05:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:05 Configure a credential helper to remove this warning. See 18:05:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:05 18:05:05 Login Succeeded 18:05:05 nexus3.edgexfoundry.org:10003 18:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:06 Configure a credential helper to remove this warning. See 18:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:06 18:05:06 Login Succeeded 18:05:06 nexus3.edgexfoundry.org:10004 18:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:06 Configure a credential helper to remove this warning. See 18:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:06 18:05:06 Login Succeeded 18:05:06 docker.io 18:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:07 Configure a credential helper to remove this warning. See 18:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:07 18:05:07 Login Succeeded 18:05:07 ---> docker-login.sh ends [Pipeline] } 18:05:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:05:07 ========================================================= 18:05:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 18:05:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:05:08 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 18:05:08 Sending build context to Docker daemon 93.18kB 18:05:08 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 18:05:08 Step 2/10 : FROM ${BASE} 18:05:08 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:05:08 595b0fe564bb: Pulling fs layer 18:05:08 7186ed65a4f7: Pulling fs layer 18:05:08 316046926c0a: Pulling fs layer 18:05:08 4ebd0625c992: Pulling fs layer 18:05:08 207e8628e3a3: Pulling fs layer 18:05:08 c791037a9be2: Pulling fs layer 18:05:08 ffd874e62e21: Pulling fs layer 18:05:08 207e8628e3a3: Waiting 18:05:08 c791037a9be2: Waiting 18:05:08 ffd874e62e21: Waiting 18:05:08 4ebd0625c992: Waiting 18:05:08 316046926c0a: Download complete 18:05:08 7186ed65a4f7: Verifying Checksum 18:05:08 7186ed65a4f7: Download complete 18:05:08 207e8628e3a3: Verifying Checksum 18:05:08 c791037a9be2: Verifying Checksum 18:05:08 c791037a9be2: Download complete 18:05:08 595b0fe564bb: Verifying Checksum 18:05:08 595b0fe564bb: Download complete 18:05:09 595b0fe564bb: Pull complete 18:05:09 7186ed65a4f7: Pull complete 18:05:10 316046926c0a: Pull complete 18:05:10 ffd874e62e21: Download complete 18:05:11 4ebd0625c992: Verifying Checksum 18:05:11 4ebd0625c992: Download complete 18:05:19 lf-activate-venv(): INFO: Adding /tmp/venv-in27/bin to PATH 18:05:19 INFO: No Stack... 18:05:19 INFO: Retrieving Pricing Info for: v1-standard-2 18:05:19 INFO: Archiving Costs [Pipeline] sh 18:05:19 + cat /w/workspace/device-rest-go/40/archives/cost.csv 18:05:19 + cut -d, -f6 [Pipeline] lock 18:05:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-40-stack-cost] 18:05:19 Resource [jenkins-edgexfoundry-device-rest-go-master-40-stack-cost] did not exist. Created. 18:05:19 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:05:19 + echo total: 0.029999999329447746 [Pipeline] stash 18:05:20 Stashed 1 file(s) [Pipeline] } 18:05:20 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-40-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:05:21 4ebd0625c992: Pull complete 18:05:21 207e8628e3a3: Pull complete 18:05:22 c791037a9be2: Pull complete 18:05:26 ffd874e62e21: Pull complete 18:05:26 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 18:05:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:05:26 ---> cfc18b08335c 18:05:26 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:05:28 ---> Running in 258f24b0e52a 18:05:28 Removing intermediate container 258f24b0e52a 18:05:28 ---> 3bdabd4e5287 18:05:28 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 18:05:29 ---> Running in 40a0e411acdd 18:05:29 Removing intermediate container 40a0e411acdd 18:05:29 ---> 99a89f3bee14 18:05:29 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:05:29 ---> Running in cd08c5a7f0b8 18:05:29 Removing intermediate container cd08c5a7f0b8 18:05:29 ---> 8677f18adfd3 18:05:29 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:05:30 ---> Running in 623bbac994cf 18:05:32 Removing intermediate container 623bbac994cf 18:05:32 ---> d73408e53fab 18:05:32 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:05:32 ---> Running in 752c05ce20dd 18:05:33 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:05:34 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:05:35 (1/9) Installing libc-dev (0.7.2-r3) 18:05:35 (2/9) Installing libsodium (1.0.18-r0) 18:05:35 (3/9) Installing pkgconf (1.7.3-r0) 18:05:35 (4/9) Installing libsodium-dev (1.0.18-r0) 18:05:35 (5/9) Installing openssh-keygen (8.4_p1-r3) 18:05:36 (6/9) Installing libedit (20191231.3.1-r1) 18:05:36 (7/9) Installing openssh-client (8.4_p1-r3) 18:05:36 (8/9) Installing libzmq (4.3.3-r1) 18:05:37 (9/9) Installing zeromq-dev (4.3.3-r1) 18:05:37 Executing busybox-1.32.1-r6.trigger 18:05:37 OK: 144 MiB in 49 packages 18:05:38 Removing intermediate container 752c05ce20dd 18:05:38 ---> f1fe94ca20d2 18:05:38 Step 8/10 : WORKDIR /device-rest-go 18:05:38 ---> Running in f006c9b55216 18:05:39 Removing intermediate container f006c9b55216 18:05:39 ---> 97df7a846aa4 18:05:39 Step 9/10 : COPY . . 18:05:40 ---> 08a451060739 18:05:40 Step 10/10 : RUN go mod download 18:05:40 ---> Running in 931a03e1fa14 18:06:07 Removing intermediate container 931a03e1fa14 18:06:07 ---> 7b047eebd024 18:06:07 Successfully built 7b047eebd024 18:06:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:06:07 + docker inspect -f . ci-base-image-arm64 18:06:07 . [Pipeline] withDockerContainer 18:06:07 prd-ubuntu18.04-docker-arm64-4c-16g-4558 does not seem to be running inside a container 18:06:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/40 -v /w/workspace/device-rest-go/40:/w/workspace/device-rest-go/40:rw,z -v /w/workspace/device-rest-go/40@tmp:/w/workspace/device-rest-go/40@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 18:06:09 $ docker top f2e6c67d107e793b3592ef65c662249692019991226d16e3e6f17c00efebd7a2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:10 + go version 18:06:10 go version go1.16.3 linux/arm64 [Pipeline] } 18:06:10 $ docker stop --time=1 f2e6c67d107e793b3592ef65c662249692019991226d16e3e6f17c00efebd7a2 18:06:12 $ docker rm -f f2e6c67d107e793b3592ef65c662249692019991226d16e3e6f17c00efebd7a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:06:12 + docker inspect -f . ci-base-image-arm64 18:06:12 . [Pipeline] withDockerContainer 18:06:13 prd-ubuntu18.04-docker-arm64-4c-16g-4558 does not seem to be running inside a container 18:06:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/40 -v /w/workspace/device-rest-go/40:/w/workspace/device-rest-go/40:rw,z -v /w/workspace/device-rest-go/40@tmp:/w/workspace/device-rest-go/40@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 18:06:14 $ docker top 7930a539ee0ec907f3dfc72cf22c4a8cfd99924c01f54ec21006782d8ceb4891 -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:15 + go mod tidy [Pipeline] sh 18:06:16 + make test 18:06:16 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:06:17 ? github.com/edgexfoundry/device-rest-go [no test files] 18:07:14 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:07:14 ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 54.0% of statements 18:07:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:07:36 gofmt -l . 18:07:36 [ "`gofmt -l .`" = "" ] 18:07:36 ./bin/test-go-mod-tidy.sh 18:07:36 ./bin/test-attribution-txt.sh [Pipeline] } 18:07:38 $ docker stop --time=1 7930a539ee0ec907f3dfc72cf22c4a8cfd99924c01f54ec21006782d8ceb4891 18:07:40 $ docker rm -f 7930a539ee0ec907f3dfc72cf22c4a8cfd99924c01f54ec21006782d8ceb4891 [Pipeline] // withDockerContainer [Pipeline] sh 18:07:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:07:41 Warning: overwriting stash ‘coverage-report’ 18:07:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:07:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:07:42 + ls -al . 18:07:42 total 132 18:07:42 drwxrwxr-x 8 jenkins jenkins 4096 May 11 18:07 . 18:07:42 drwxrwxr-x 4 jenkins jenkins 4096 May 11 18:04 .. 18:07:42 -rw-rw-r-- 1 jenkins jenkins 151 May 11 18:04 .dockerignore 18:07:42 drwxrwxr-x 8 jenkins jenkins 4096 May 11 18:04 .git 18:07:42 drwxrwxr-x 2 jenkins jenkins 4096 May 11 18:04 .github 18:07:42 -rw-rw-r-- 1 jenkins jenkins 339 May 11 18:04 .gitignore 18:07:42 -rw-rw-r-- 1 jenkins jenkins 6792 May 11 18:04 Attribution.txt 18:07:42 -rw-rw-r-- 1 jenkins jenkins 1602 May 11 18:04 Dockerfile 18:07:42 -rw-rw-r-- 1 jenkins jenkins 1087 May 11 18:04 Dockerfile.build 18:07:42 -rw-rw-r-- 1 jenkins jenkins 680 May 11 18:04 Jenkinsfile 18:07:42 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 18:04 LICENSE 18:07:42 -rw-rw-r-- 1 jenkins jenkins 976 May 11 18:04 Makefile 18:07:42 -rw-rw-r-- 1 jenkins jenkins 7667 May 11 18:04 README.md 18:07:42 -rw-rw-r-- 1 jenkins jenkins 11 May 11 18:01 VERSION 18:07:42 drwxrwxr-x 2 jenkins jenkins 4096 May 11 18:04 bin 18:07:42 drwxrwxr-x 3 jenkins jenkins 4096 May 11 18:04 cmd 18:07:42 -rw-r--r-- 1 jenkins jenkins 8513 May 11 18:07 coverage.out 18:07:42 drwxrwxr-x 2 jenkins jenkins 4096 May 11 18:04 driver 18:07:42 -rw-r--r-- 1 jenkins jenkins 285 May 11 18:07 go.mod 18:07:42 -rw-r--r-- 1 jenkins jenkins 21278 May 11 18:06 go.sum 18:07:42 drwxrwxr-x 4 jenkins jenkins 4096 May 11 18:04 snap 18:07:42 -rw-rw-r-- 1 jenkins jenkins 713 May 11 18:04 version.go [Pipeline] isUnix [Pipeline] sh 18:07:42 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=4f98354a1324b6971af40554b83b1d8fb938970d --label arch=arm64 --label version=1.2.2-dev.8 . 18:07:42 Sending build context to Docker daemon 102.9kB 18:07:43 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 18:07:43 Step 2/24 : FROM ${BASE} AS builder 18:07:43 ---> 7b047eebd024 18:07:43 Step 3/24 : ARG MAKE='make build' 18:07:43 ---> Running in 40a97d047600 18:07:43 Removing intermediate container 40a97d047600 18:07:43 ---> f45e629c4029 18:07:43 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:07:44 ---> Running in 3685d9786f27 18:07:44 Removing intermediate container 3685d9786f27 18:07:44 ---> e452901d1b7b 18:07:44 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 18:07:44 ---> Running in 8bcd3180e42b 18:07:45 Removing intermediate container 8bcd3180e42b 18:07:45 ---> 4acb52dc3bc6 18:07:45 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:07:45 ---> Running in d24c68acc3c6 18:07:47 Removing intermediate container d24c68acc3c6 18:07:47 ---> cad60f449dfa 18:07:47 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:07:47 ---> Running in 612ac83c929c 18:07:48 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:07:49 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:07:50 OK: 144 MiB in 49 packages 18:07:51 Removing intermediate container 612ac83c929c 18:07:51 ---> 53a2ba3293b0 18:07:51 Step 8/24 : WORKDIR /device-rest-go 18:07:51 ---> Running in 050852bf6da0 18:07:51 Removing intermediate container 050852bf6da0 18:07:51 ---> 267c38cb9c75 18:07:51 Step 9/24 : COPY . . 18:07:52 ---> de318bad9971 18:07:52 Step 10/24 : RUN make update 18:07:52 ---> Running in a9783048abd5 18:07:53 CGO_ENABLED=0 GO111MODULE=on go mod download 18:07:55 Removing intermediate container a9783048abd5 18:07:55 ---> cc1547326a3d 18:07:55 Step 11/24 : RUN $MAKE 18:07:55 ---> Running in 1fa66e3e5daa 18:07:56 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.8" -o cmd/device-rest-go ./cmd 18:08:35 Removing intermediate container 1fa66e3e5daa 18:08:35 ---> 76a40f684195 18:08:35 Step 12/24 : FROM alpine:3.12 18:08:35 3.12: Pulling from library/alpine 18:08:35 d2f70382dc9a: Pulling fs layer 18:08:35 d2f70382dc9a: Verifying Checksum 18:08:35 d2f70382dc9a: Download complete 18:08:35 d2f70382dc9a: Pull complete 18:08:35 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 18:08:35 Status: Downloaded newer image for alpine:3.12 18:08:35 ---> 9852663dfa18 18:08:35 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:08:35 ---> Running in b4f6154ed7b2 18:08:35 Removing intermediate container b4f6154ed7b2 18:08:35 ---> f44c31ccebe2 18:08:35 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 18:08:35 ---> Running in 85c94e39cd3d 18:08:35 Removing intermediate container 85c94e39cd3d 18:08:35 ---> 27f7f3bed205 18:08:35 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 18:08:35 ---> Running in 7a8d936af3a6 18:08:35 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:08:35 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:08:36 (1/6) Installing dumb-init (1.2.2-r1) 18:08:36 (2/6) Installing libgcc (9.3.0-r2) 18:08:36 (3/6) Installing libsodium (1.0.18-r0) 18:08:36 (4/6) Installing libstdc++ (9.3.0-r2) 18:08:36 (5/6) Installing libzmq (4.3.3-r0) 18:08:36 (6/6) Installing zeromq (4.3.3-r0) 18:08:36 Executing busybox-1.31.1-r20.trigger 18:08:36 OK: 8 MiB in 20 packages 18:08:37 Removing intermediate container 7a8d936af3a6 18:08:37 ---> f808341d7d56 18:08:37 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 18:08:38 ---> 13e7d10e93cc 18:08:38 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 18:08:39 ---> 6d112261607c 18:08:39 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 18:08:39 ---> 5228f4ed2b87 18:08:39 Step 19/24 : EXPOSE 49986 18:08:40 ---> Running in 13a3aaa17440 18:08:40 Removing intermediate container 13a3aaa17440 18:08:40 ---> 1597cb9e79da 18:08:40 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 18:08:40 ---> Running in e65a43f35ad6 18:08:40 Removing intermediate container e65a43f35ad6 18:08:40 ---> 30ebb2ad156b 18:08:40 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:08:41 ---> Running in 45ed254e22e7 18:08:41 Removing intermediate container 45ed254e22e7 18:08:41 ---> 756e5ada0f72 18:08:41 Step 22/24 : LABEL arch=arm64 18:08:41 ---> Running in e4142700f725 18:08:41 Removing intermediate container e4142700f725 18:08:41 ---> a9528af13e3e 18:08:41 Step 23/24 : LABEL git_sha=4f98354a1324b6971af40554b83b1d8fb938970d 18:08:42 ---> Running in 81bb179c5160 18:08:42 Removing intermediate container 81bb179c5160 18:08:42 ---> 20a40b9e0ccf 18:08:42 Step 24/24 : LABEL version=1.2.2-dev.8 18:08:42 ---> Running in 04667fba4120 18:08:43 Removing intermediate container 04667fba4120 18:08:43 ---> 6a89b7f1add0 18:08:43 [Warning] One or more build-args [ARCH] were not consumed 18:08:43 Successfully built 6a89b7f1add0 18:08:43 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:08:43 provisioning config files... 18:08:43 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/40@tmp/config3186977795508523626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:08:43 ---> docker-login.sh 18:08:43 nexus3.edgexfoundry.org:10001 18:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:44 Configure a credential helper to remove this warning. See 18:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:44 18:08:44 Login Succeeded 18:08:44 nexus3.edgexfoundry.org:10002 18:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:44 Configure a credential helper to remove this warning. See 18:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:44 18:08:44 Login Succeeded 18:08:44 nexus3.edgexfoundry.org:10003 18:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:45 Configure a credential helper to remove this warning. See 18:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:45 18:08:45 Login Succeeded 18:08:45 nexus3.edgexfoundry.org:10004 18:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:46 Configure a credential helper to remove this warning. See 18:08:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:46 18:08:46 Login Succeeded 18:08:46 docker.io 18:08:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:46 Configure a credential helper to remove this warning. See 18:08:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:46 18:08:46 Login Succeeded 18:08:46 ---> docker-login.sh ends [Pipeline] } 18:08:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:08:46 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 18:08:46 4f98354a1324b6971af40554b83b1d8fb938970d 18:08:46 latest 18:08:46 1.2.2-dev.8 18:08:46 4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.8 18:08:46 master 18:08:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:08:47 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4f98354a1324b6971af40554b83b1d8fb938970d [Pipeline] isUnix [Pipeline] sh 18:08:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4f98354a1324b6971af40554b83b1d8fb938970d 18:08:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:08:47 fdb8693e1015: Preparing 18:08:47 492123df4aca: Preparing 18:08:47 572d55a7c41d: Preparing 18:08:47 1fa737a93a6a: Preparing 18:08:47 3fbe34a1663b: Preparing 18:08:47 3fbe34a1663b: Layer already exists 18:08:47 fdb8693e1015: Pushed 18:08:47 492123df4aca: Pushed 18:08:48 1fa737a93a6a: Pushed 18:08:51 572d55a7c41d: Pushed 18:08:51 4f98354a1324b6971af40554b83b1d8fb938970d: digest: sha256:e31694b45ba7cef18c98811019627ad69640dd64e1140c709ebf4784e852f333 size: 1365 [Pipeline] isUnix [Pipeline] sh 18:08:51 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:08:51 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 18:08:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:08:51 fdb8693e1015: Preparing 18:08:51 492123df4aca: Preparing 18:08:51 572d55a7c41d: Preparing 18:08:51 1fa737a93a6a: Preparing 18:08:51 3fbe34a1663b: Preparing 18:08:51 572d55a7c41d: Layer already exists 18:08:51 fdb8693e1015: Layer already exists 18:08:51 1fa737a93a6a: Layer already exists 18:08:51 3fbe34a1663b: Layer already exists 18:08:51 492123df4aca: Layer already exists 18:08:52 latest: digest: sha256:e31694b45ba7cef18c98811019627ad69640dd64e1140c709ebf4784e852f333 size: 1365 [Pipeline] isUnix [Pipeline] sh 18:08:52 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.8 [Pipeline] isUnix [Pipeline] sh 18:08:52 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.8 18:08:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:08:52 fdb8693e1015: Preparing 18:08:52 492123df4aca: Preparing 18:08:52 572d55a7c41d: Preparing 18:08:52 1fa737a93a6a: Preparing 18:08:52 3fbe34a1663b: Preparing 18:08:52 fdb8693e1015: Layer already exists 18:08:52 572d55a7c41d: Layer already exists 18:08:52 3fbe34a1663b: Layer already exists 18:08:52 492123df4aca: Layer already exists 18:08:52 1fa737a93a6a: Layer already exists 18:08:53 1.2.2-dev.8: digest: sha256:e31694b45ba7cef18c98811019627ad69640dd64e1140c709ebf4784e852f333 size: 1365 [Pipeline] isUnix [Pipeline] sh 18:08:53 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.8 [Pipeline] isUnix [Pipeline] sh 18:08:53 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.8 18:08:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:08:53 fdb8693e1015: Preparing 18:08:53 492123df4aca: Preparing 18:08:53 572d55a7c41d: Preparing 18:08:53 1fa737a93a6a: Preparing 18:08:53 3fbe34a1663b: Preparing 18:08:53 492123df4aca: Layer already exists 18:08:53 fdb8693e1015: Layer already exists 18:08:53 1fa737a93a6a: Layer already exists 18:08:53 572d55a7c41d: Layer already exists 18:08:53 3fbe34a1663b: Layer already exists 18:08:54 4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.8: digest: sha256:e31694b45ba7cef18c98811019627ad69640dd64e1140c709ebf4784e852f333 size: 1365 [Pipeline] isUnix [Pipeline] sh 18:08:54 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh 18:08:54 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master 18:08:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:08:54 fdb8693e1015: Preparing 18:08:54 492123df4aca: Preparing 18:08:54 572d55a7c41d: Preparing 18:08:54 1fa737a93a6a: Preparing 18:08:54 3fbe34a1663b: Preparing 18:08:54 fdb8693e1015: Layer already exists 18:08:54 572d55a7c41d: Layer already exists 18:08:54 492123df4aca: Layer already exists 18:08:54 3fbe34a1663b: Layer already exists 18:08:54 1fa737a93a6a: Layer already exists 18:08:55 master: digest: sha256:e31694b45ba7cef18c98811019627ad69640dd64e1140c709ebf4784e852f333 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:08:55 ===================================================== [Pipeline] echo 18:08:55 taggedImages: 18:08:55 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4f98354a1324b6971af40554b83b1d8fb938970d 18:08:55 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 18:08:55 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.8 18:08:55 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.8 18:08:55 - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 18:08:55 ---> job-cost.sh 18:08:55 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MSvG 18:09:34 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:10:56 lf-activate-venv(): INFO: Adding /tmp/venv-MSvG/bin to PATH 18:10:56 INFO: No Stack... 18:10:56 INFO: Retrieving Pricing Info for: lf-standard-4 18:10:56 INFO: Archiving Costs [Pipeline] sh 18:10:56 + cut -d, -f6 18:10:56 + cat /w/workspace/device-rest-go/40/archives/cost.csv [Pipeline] lock 18:10:56 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-40-stack-cost] 18:10:56 Resource [jenkins-edgexfoundry-device-rest-go-master-40-stack-cost] did not exist. Created. 18:10:56 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:10:57 /w/workspace/device-rest-go/40@tmp/durable-17b015e9/script.sh: 1: /w/workspace/device-rest-go/40@tmp/durable-17b015e9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:10:57 + echo total: 0.20999999344348907 [Pipeline] stash 18:10:57 Warning: overwriting stash ‘stack-cost’ 18:10:57 Stashed 1 file(s) [Pipeline] } 18:10:57 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-40-stack-cost] [Pipeline] // lock [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 18:10:58 provisioning config files... 18:10:58 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5586053190303821261tmp [Pipeline] { [Pipeline] sh 18:10:58 + set +x 18:10:58 + bash -s -- 18:10:58 + curl -s https://codecov.io/bash 18:10:58 18:10:58 _____ _ 18:10:58 / ____| | | 18:10:58 | | ___ __| | ___ ___ _____ __ 18:10:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:10:58 | |___| (_) | (_| | __/ (_| (_) \ V / 18:10:58 \_____\___/ \__,_|\___|\___\___/ \_/ 18:10:58 Bash-1.0.2 18:10:58 18:10:58 18:10:58 ==> git version 2.24.3 found 18:10:58 ==> 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 18:10:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:10:58 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:10:58 ==> Jenkins CI detected. 18:10:58 project root: . 18:10:58 --> token set from env 18:10:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:10:58 ==> Running gcov in . (disable via -X gcov) 18:10:58 ==> Python coveragepy not found 18:10:58 ==> Searching for coverage reports in: 18:10:58 + . 18:10:58 -> Found 1 reports 18:10:58 ==> Detecting git/mercurial file structure 18:10:58 ==> Reading reports 18:10:58 + ./coverage.out bytes=8513 18:10:58 ==> Appending adjustments 18:10:58 https://docs.codecov.io/docs/fixing-reports 18:10:58 + Found adjustments 18:10:58 ==> Gzipping contents 18:10:58 4.0K /tmp/codecov.r8RpDo.gz 18:10:58 ==> Uploading reports 18:10:58 url: https://codecov.io 18:10:58 query: branch=master&commit=4f98354a1324b6971af40554b83b1d8fb938970d&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:10:58 -> Pinging Codecov 18:10:58 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=4f98354a1324b6971af40554b83b1d8fb938970d&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:10:59 -> Uploading to 18:10:59 https://storage.googleapis.com/codecov/v4/raw/2021-05-11/4E5D53B4F1F92C436F7061BF334D961C/4f98354a1324b6971af40554b83b1d8fb938970d/01664418-a79d-44ed-ab09-3ab9899b96ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T181059Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=36508e0872bb3ffaa06c2a1bdd20c49543b85548477fc35ef989d52f200ea176 18:10:59 % Total % Received % Xferd Average Speed Time Time Time Current 18:10:59 Dload Upload Total Spent Left Speed 18:10:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1622 0 0 100 1622 0 3294 --:--:-- --:--:-- --:--:-- 3290 18:10:59 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/4f98354a1324b6971af40554b83b1d8fb938970d [Pipeline] } 18:10:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:11:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:11:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:11:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:11:00 18:11:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 18:11:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:11:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:11:01 188c0c94c7c5: Pulling fs layer 18:11:01 0ef7d3d256c8: Pulling fs layer 18:11:01 de9db76c5a1d: Pulling fs layer 18:11:01 0eba1c9be4d2: Pulling fs layer 18:11:01 0d57e429df01: Pulling fs layer 18:11:01 4e4be7b47b0d: Pulling fs layer 18:11:01 e1f770b5df2f: Pulling fs layer 18:11:01 85a0685a4137: Pulling fs layer 18:11:01 0d57e429df01: Waiting 18:11:01 4e4be7b47b0d: Waiting 18:11:01 0eba1c9be4d2: Waiting 18:11:01 e1f770b5df2f: Waiting 18:11:01 85a0685a4137: Waiting 18:11:01 de9db76c5a1d: Verifying Checksum 18:11:01 de9db76c5a1d: Download complete 18:11:01 0ef7d3d256c8: Download complete 18:11:01 0d57e429df01: Verifying Checksum 18:11:01 0d57e429df01: Download complete 18:11:01 4e4be7b47b0d: Verifying Checksum 18:11:01 4e4be7b47b0d: Download complete 18:11:01 188c0c94c7c5: Verifying Checksum 18:11:01 188c0c94c7c5: Pull complete 18:11:01 0ef7d3d256c8: Pull complete 18:11:01 de9db76c5a1d: Pull complete 18:11:01 e1f770b5df2f: Verifying Checksum 18:11:01 e1f770b5df2f: Download complete 18:11:04 0eba1c9be4d2: Verifying Checksum 18:11:04 0eba1c9be4d2: Download complete 18:11:04 85a0685a4137: Verifying Checksum 18:11:04 85a0685a4137: Download complete 18:11:11 0eba1c9be4d2: Pull complete 18:11:11 0d57e429df01: Pull complete 18:11:11 4e4be7b47b0d: Pull complete 18:11:13 e1f770b5df2f: Pull complete 18:11:21 85a0685a4137: Pull complete 18:11:21 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 18:11:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:11:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 18:11:21 prd-centos7-docker-4c-2g-4554 does not seem to be running inside a container 18:11:21 $ 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 18:11:22 $ docker top 19d3004446ce9737ee5019d73390af4320ee9c5c2488317570060c479837c58a -eo pid,comm [Pipeline] { [Pipeline] echo 18:11:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 18:11:23 + set -o pipefail 18:11:23 + snyk monitor '--org=edgex-jenkins' 18:11:35 18:11:35 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 18:11:35 18:11:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/28b7b2ca-d5c7-46ad-83ce-6e78ec6900b5 18:11:35 18:11:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:11:35 18:11:35 [Pipeline] } 18:11:35 $ docker stop --time=1 19d3004446ce9737ee5019d73390af4320ee9c5c2488317570060c479837c58a 18:11:37 $ docker rm -f 19d3004446ce9737ee5019d73390af4320ee9c5c2488317570060c479837c58a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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 18:11:38 + git log --format=format:%s -1 4f98354a1324b6971af40554b83b1d8fb938970d [Pipeline] isUnix [Pipeline] sh 18:11:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:11:38 . [Pipeline] withDockerContainer 18:11:38 prd-centos7-docker-4c-2g-4554 does not seem to be running inside a container 18:11:39 $ 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 18:11:39 $ docker top d918e4a426520776e04594cd8164d4e7ec6cbb13299b241e6301ad9a2889343a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:11:39 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v1.2.2-dev.7' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:11:40 + git semver [Pipeline] } 18:11:40 $ docker stop --time=1 d918e4a426520776e04594cd8164d4e7ec6cbb13299b241e6301ad9a2889343a 18:11:41 $ docker rm -f d918e4a426520776e04594cd8164d4e7ec6cbb13299b241e6301ad9a2889343a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 18:11:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:11:42 18:11:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 18:11:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:11:42 0.23.1-centos7: Pulling from edgex-lftools 18:11:42 ab5ef0e58194: Pulling fs layer 18:11:42 9712f1f96733: Pulling fs layer 18:11:42 63f879dbbcfc: Pulling fs layer 18:11:42 0d9ebad4ef96: Pulling fs layer 18:11:42 e9a5061849ea: Pulling fs layer 18:11:42 d747dcd14b5f: Pulling fs layer 18:11:42 2de7ff778b66: Pulling fs layer 18:11:42 e9a5061849ea: Waiting 18:11:42 d747dcd14b5f: Waiting 18:11:42 2de7ff778b66: Waiting 18:11:42 0d9ebad4ef96: Waiting 18:11:42 9712f1f96733: Download complete 18:11:43 63f879dbbcfc: Verifying Checksum 18:11:43 63f879dbbcfc: Download complete 18:11:44 e9a5061849ea: Verifying Checksum 18:11:44 e9a5061849ea: Download complete 18:11:44 d747dcd14b5f: Verifying Checksum 18:11:44 d747dcd14b5f: Download complete 18:11:44 0d9ebad4ef96: Verifying Checksum 18:11:44 0d9ebad4ef96: Download complete 18:11:44 2de7ff778b66: Verifying Checksum 18:11:44 2de7ff778b66: Download complete 18:11:44 ab5ef0e58194: Verifying Checksum 18:11:44 ab5ef0e58194: Download complete 18:11:50 ab5ef0e58194: Pull complete 18:11:50 9712f1f96733: Pull complete 18:11:53 63f879dbbcfc: Pull complete 18:11:59 0d9ebad4ef96: Pull complete 18:12:00 e9a5061849ea: Pull complete 18:12:00 d747dcd14b5f: Pull complete 18:12:03 2de7ff778b66: Pull complete 18:12:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:12:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:12:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 18:12:03 prd-centos7-docker-4c-2g-4554 does not seem to be running inside a container 18:12:03 $ 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 18:12:07 $ docker top 4e1f569810124c54d37210f2db020db0428077baebf9f59ece6454d8416537e3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:12:07 provisioning config files... 18:12:07 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4063199517551907706tmp 18:12:07 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4667256243130272037tmp 18:12:07 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1809300941468715056tmp [Pipeline] { [Pipeline] echo 18:12:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:12:07 ---> sigul-configuration.sh 18:12:07 gpg: directory `/root/.gnupg' created 18:12:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:12:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:12:07 gpg: keyring `/root/.gnupg/secring.gpg' created 18:12:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:12:07 gpg: CAST5 encrypted data 18:12:08 gpg: encrypted with 1 passphrase 18:12:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:12:08 + mkdir /home/jenkins 18:12:08 + mkdir /home/jenkins/sigul [Pipeline] sh 18:12:08 + 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 18:12:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:12:09 ---> sigul-install.sh 18:12:15 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 18:12:16 + git tag --list 18:12:16 v1.0.0 18:12:16 v1.1.0 18:12:16 v1.1.1 18:12:16 v1.1.2 18:12:16 v1.2.0 18:12:16 v1.2.1 18:12:16 v1.2.1-dev.1 18:12:16 v1.2.1-dev.2 18:12:16 v1.2.1-dev.3 18:12:16 v1.2.1-dev.4 18:12:16 v1.2.2-dev.1 18:12:16 v1.2.2-dev.2 18:12:16 v1.2.2-dev.3 18:12:16 v1.2.2-dev.4 18:12:16 v1.2.2-dev.5 18:12:16 v1.2.2-dev.6 18:12:16 v1.2.2-dev.7 [Pipeline] sh 18:12:16 + lftools sign git-tag v1.2.2-dev.8 18:12:17 Signing Git tag with Sigul... 18:12:17 Signing v1.2.2-dev.8 18:12:18 Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v1.2.2-dev.8'], return code 1, stdout , stderr [Pipeline] echo 18:12:18 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:12:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:12:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:12:18 $ docker stop --time=1 4e1f569810124c54d37210f2db020db0428077baebf9f59ece6454d8416537e3 18:12:19 $ docker rm -f 4e1f569810124c54d37210f2db020db0428077baebf9f59ece6454d8416537e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 18:12:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:12:20 . [Pipeline] withDockerContainer 18:12:20 prd-centos7-docker-4c-2g-4554 does not seem to be running inside a container 18:12:20 $ 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 18:12:21 $ docker top 09997597e3c7eb208156771b628b0e88864232eb18761b6a207e37ff3216228c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:12:21 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v1.2.2-dev.7' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:12:22 + git semver [Pipeline] } 18:12:22 $ docker stop --time=1 09997597e3c7eb208156771b628b0e88864232eb18761b6a207e37ff3216228c 18:12:23 $ docker rm -f 09997597e3c7eb208156771b628b0e88864232eb18761b6a207e37ff3216228c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 18:12:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:12:23 . [Pipeline] withDockerContainer 18:12:24 prd-centos7-docker-4c-2g-4554 does not seem to be running inside a container 18:12:24 $ 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 18:12:24 $ docker top af41f7f2a808b6ca97172cdf921fcbfa97fafe5e2c60fde5b886eb5510f8fe4a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:12:24 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v1.2.2-dev.7' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:12:25 + git semver [Pipeline] } 18:12:25 $ docker stop --time=1 af41f7f2a808b6ca97172cdf921fcbfa97fafe5e2c60fde5b886eb5510f8fe4a 18:12:26 $ docker rm -f af41f7f2a808b6ca97172cdf921fcbfa97fafe5e2c60fde5b886eb5510f8fe4a [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 18:12:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:12:27 ---> package-listing.sh 18:12:27 ++ facter osfamily 18:12:27 ++ tr '[:upper:]' '[:lower:]' 18:12:27 + OS_FAMILY=redhat 18:12:27 + workspace=/w/workspace/gexfoundry_device-rest-go_master 18:12:27 + START_PACKAGES=/tmp/packages_start.txt 18:12:27 + END_PACKAGES=/tmp/packages_end.txt 18:12:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:12:27 + PACKAGES=/tmp/packages_start.txt 18:12:27 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 18:12:27 + PACKAGES=/tmp/packages_end.txt 18:12:27 + case "${OS_FAMILY}" in 18:12:27 + rpm -qa 18:12:27 + sort 18:12:33 + '[' -f /tmp/packages_start.txt ']' 18:12:33 + '[' -f /tmp/packages_end.txt ']' 18:12:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:12:33 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 18:12:33 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 18:12:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo 18:12:33 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 18:12:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:12:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:12:33 18:12:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:12:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:12:34 alpine: Pulling from edgex-lftools-log-publisher 18:12:34 df20fa9351a1: Pulling fs layer 18:12:34 36b3adc4ff6f: Pulling fs layer 18:12:34 8ad3a11d3b57: Pulling fs layer 18:12:34 46f8f816bc3b: Pulling fs layer 18:12:34 93b61091891f: Pulling fs layer 18:12:34 93b9cdb0e59b: Pulling fs layer 18:12:34 5e14af77c1be: Pulling fs layer 18:12:34 01666e4c0597: Pulling fs layer 18:12:34 aa168da1d23b: Pulling fs layer 18:12:34 93b61091891f: Waiting 18:12:34 93b9cdb0e59b: Waiting 18:12:34 5e14af77c1be: Waiting 18:12:34 01666e4c0597: Waiting 18:12:34 aa168da1d23b: Waiting 18:12:34 46f8f816bc3b: Waiting 18:12:34 36b3adc4ff6f: Verifying Checksum 18:12:34 36b3adc4ff6f: Download complete 18:12:34 46f8f816bc3b: Verifying Checksum 18:12:34 46f8f816bc3b: Download complete 18:12:34 df20fa9351a1: Download complete 18:12:34 93b9cdb0e59b: Verifying Checksum 18:12:34 93b9cdb0e59b: Download complete 18:12:34 5e14af77c1be: Verifying Checksum 18:12:34 5e14af77c1be: Download complete 18:12:34 93b61091891f: Download complete 18:12:34 01666e4c0597: Verifying Checksum 18:12:34 01666e4c0597: Download complete 18:12:34 8ad3a11d3b57: Verifying Checksum 18:12:34 8ad3a11d3b57: Download complete 18:12:34 df20fa9351a1: Pull complete 18:12:35 36b3adc4ff6f: Pull complete 18:12:36 8ad3a11d3b57: Pull complete 18:12:36 46f8f816bc3b: Pull complete 18:12:36 aa168da1d23b: Verifying Checksum 18:12:36 aa168da1d23b: Download complete 18:12:37 93b61091891f: Pull complete 18:12:37 93b9cdb0e59b: Pull complete 18:12:37 5e14af77c1be: Pull complete 18:12:37 01666e4c0597: Pull complete 18:12:45 aa168da1d23b: Pull complete 18:12:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:12:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:12:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:12:45 prd-centos7-docker-4c-2g-4554 does not seem to be running inside a container 18:12:45 $ 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 18:12:48 $ docker top 62203cb19058e80d60f780937a805279d8a32abbdb6465ba8bb6486470164da6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:12:49 + touch /tmp/pre-build-complete [Pipeline] sh 18:12:49 + mkdir -p /var/log/sa [Pipeline] sh 18:12:49 + ls /var/log/sa-host 18:12:49 + sadf -c /var/log/sa-host/sa11 18:12:49 file_magic: OK 18:12:49 HZ: Using current value: 100 18:12:49 file_header: OK 18:12:49 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 18:12:49 Statistics: 18:12:49 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:12:49 File successfully converted to sysstat format version 12.2.1 18:12:49 + sadf -c /var/log/sa-host/sa23 18:12:49 file_magic: OK 18:12:49 HZ: Using current value: 100 18:12:49 file_header: OK 18:12:49 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 18:12:49 Statistics: 18:12:49 Hnuu...uuuununununu... 18:12:49 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:12:49 provisioning config files... 18:12:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7628579247882001254tmp [Pipeline] { [Pipeline] echo 18:12:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:12:50 ---> create-netrc.sh [Pipeline] } 18:12:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:12:50 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:12:51 ---> python-tools-install.sh [Pipeline] echo 18:12:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:12:51 ---> sudo-logs.sh 18:12:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:12:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:12:51 ---> job-cost.sh 18:12:51 lf-activate-venv: SKIPPING 18:12:51 DEBUG: total: 0.20999999344348907 18:12:51 INFO: Retrieving Stack Cost... 18:12:53 INFO: Retrieving Pricing Info for: v1-standard-2 18:12:53 INFO: Archiving Costs [Pipeline] echo 18:12:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:12:53 ---> logs-deploy.sh 18:12:53 lf-activate-venv: SKIPPING 18:12:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/40 18:12:53 INFO: archiving workspace using pattern(s): 18:12:55 Archives upload complete. 18:12:55 INFO: archiving logs to Nexus 18:12:56 ---> uname -a: 18:12:56 Linux prd-centos7-docker-4c-2g-4554.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 18:12:56 18:12:56 18:12:56 ---> lscpu: 18:12:56 Architecture: x86_64 18:12:56 CPU op-mode(s): 32-bit, 64-bit 18:12:56 Byte Order: Little Endian 18:12:56 Address sizes: 40 bits physical, 48 bits virtual 18:12:56 CPU(s): 4 18:12:56 On-line CPU(s) list: 0-3 18:12:56 Thread(s) per core: 1 18:12:56 Core(s) per socket: 1 18:12:56 Socket(s): 4 18:12:56 NUMA node(s): 1 18:12:56 Vendor ID: GenuineIntel 18:12:56 CPU family: 6 18:12:56 Model: 44 18:12:56 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 18:12:56 Stepping: 1 18:12:56 CPU MHz: 2933.438 18:12:56 BogoMIPS: 5866.87 18:12:56 Virtualization: VT-x 18:12:56 Hypervisor vendor: KVM 18:12:56 Virtualization type: full 18:12:56 L1d cache: 128 KiB 18:12:56 L1i cache: 128 KiB 18:12:56 L2 cache: 16 MiB 18:12:56 L3 cache: 64 MiB 18:12:56 NUMA node0 CPU(s): 0-3 18:12:56 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 18:12:56 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 18:12:56 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 18:12:56 Vulnerability Meltdown: Mitigation; PTI 18:12:56 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:12:56 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 18:12:56 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 18:12:56 Vulnerability Srbds: Not affected 18:12:56 Vulnerability Tsx async abort: Not affected 18:12:56 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 18:12:56 18:12:56 18:12:56 ---> nproc: 18:12:56 4 18:12:56 18:12:56 18:12:56 ---> df -h: 18:12:56 Filesystem Size Used Available Use% Mounted on 18:12:56 overlay 50.0G 8.6G 41.4G 17% / 18:12:56 tmpfs 64.0M 0 64.0M 0% /dev 18:12:56 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 18:12:56 shm 64.0M 0 64.0M 0% /dev/shm 18:12:56 /dev/vda1 50.0G 8.6G 41.4G 17% /facter-os 18:12:56 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/resolv.conf 18:12:56 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hostname 18:12:56 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hosts 18:12:56 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/auth.log 18:12:56 /dev/vda1 50.0G 8.6G 41.4G 17% /run/cloud-init/result.json 18:12:56 /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/gexfoundry_device-rest-go_master 18:12:56 /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/gexfoundry_device-rest-go_master@tmp 18:12:56 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/sa-host 18:12:56 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/secure 18:12:56 18:12:56 18:12:56 ---> free -m: 18:12:56 total used free shared buff/cache available 18:12:56 Mem: 1837 829 143 0 864 943 18:12:56 Swap: 1023 2 1021 18:12:56 18:12:56 18:12:56 ---> ip addr: 18:12:56 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 18:12:56 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:12:56 inet 127.0.0.1/8 scope host lo 18:12:56 valid_lft forever preferred_lft forever 18:12:56 inet6 ::1/128 scope host 18:12:56 valid_lft forever preferred_lft forever 18:12:56 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 18:12:56 link/ether fa:16:3e:98:b8:7d brd ff:ff:ff:ff:ff:ff 18:12:56 inet 10.30.123.168/23 brd 10.30.123.255 scope global dynamic eth0 18:12:56 valid_lft 85684sec preferred_lft 85684sec 18:12:56 inet6 fe80::f816:3eff:fe98:b87d/64 scope link 18:12:56 valid_lft forever preferred_lft forever 18:12:56 3: docker0: mtu 1500 qdisc noqueue state DOWN 18:12:56 link/ether 02:42:88:aa:db:e4 brd ff:ff:ff:ff:ff:ff 18:12:56 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:12:56 valid_lft forever preferred_lft forever 18:12:56 inet6 fe80::42:88ff:feaa:dbe4/64 scope link 18:12:56 valid_lft forever preferred_lft forever 18:12:56 18:12:56 18:12:56 ---> sar -b -r -n DEV: 18:12:56 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/11/21 _x86_64_ (4 CPU) 18:12:56 18:12:56 18:00:48 LINUX RESTART (4 CPU) 18:12:56 18:12:56 18:02:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:12:56 18:03:01 2.58 0.00 2.58 0.00 0.00 57.19 0.00 18:12:56 18:04:01 0.42 0.00 0.42 0.00 0.00 6.71 0.00 18:12:56 18:05:01 0.22 0.00 0.22 0.00 0.00 3.25 0.00 18:12:56 18:06:02 0.25 0.00 0.25 0.00 0.00 3.60 0.00 18:12:56 18:07:01 0.29 0.00 0.29 0.00 0.00 4.23 0.00 18:12:56 18:08:01 0.28 0.00 0.28 0.00 0.00 3.58 0.00 18:12:56 18:09:01 0.27 0.00 0.27 0.00 0.00 3.33 0.00 18:12:56 18:10:01 0.22 0.00 0.22 0.00 0.00 2.18 0.00 18:12:56 18:11:01 0.52 0.23 0.28 0.00 99.88 3.35 0.00 18:12:56 18:12:01 440.94 219.06 221.88 0.00 10094.31 62918.80 0.00 18:12:56 Average: 44.96 22.11 22.85 0.00 1027.64 6351.80 0.00 18:12:56 18:12:56 18:02:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:12:56 18:03:01 163544 0 618888 32.89 2620 1096492 1110880 37.91 451952 1067732 20 18:12:56 18:04:01 168484 0 613936 32.63 2620 1096504 1070536 36.54 448324 1067220 20 18:12:56 18:05:01 166068 0 616348 32.76 2620 1096508 1070560 36.54 462836 1054916 20 18:12:56 18:06:02 165992 0 616424 32.76 2620 1096508 1070584 36.54 462060 1055876 8 18:12:56 18:07:01 164472 0 617936 32.84 2620 1096516 1070548 36.54 465848 1053772 8 18:12:56 18:08:01 164884 0 617520 32.82 2620 1096520 1070440 36.53 466428 1052696 8 18:12:56 18:09:01 165132 0 617268 32.81 2620 1096524 1070440 36.53 466564 1052696 8 18:12:56 18:10:01 165100 0 617296 32.81 2620 1096528 1070440 36.53 466612 1052696 8 18:12:56 18:11:01 76492 0 691096 36.73 2620 1111336 1518712 51.83 538840 1064788 24496 18:12:56 18:12:01 75480 0 837724 44.52 1632 966708 1526732 52.10 599740 878932 59652 18:12:56 Average: 147565 0 646444 34.36 2521 1085014 1164987 39.76 482920 1040132 8425 18:12:56 18:12:56 18:02:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:12:56 18:03:01 eth0 1.10 0.32 0.35 0.21 0.00 0.00 0.00 0.00 18:12:56 18:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:04:01 eth0 2.10 0.30 0.40 0.17 0.00 0.00 0.00 0.00 18:12:56 18:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:05:01 eth0 1.38 0.65 0.58 0.40 0.00 0.00 0.00 0.00 18:12:56 18:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:06:02 eth0 0.83 0.30 0.30 0.23 0.00 0.00 0.00 0.00 18:12:56 18:06:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:06:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:07:01 eth0 0.93 0.41 0.44 0.27 0.00 0.00 0.00 0.00 18:12:56 18:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:08:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:12:56 18:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:09:01 eth0 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 18:12:56 18:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:10:01 eth0 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:11:01 eth0 56.97 45.56 381.94 33.74 0.00 0.00 0.00 0.00 18:12:56 18:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:12:01 eth0 818.83 694.69 7242.39 62.93 0.00 0.00 0.00 0.00 18:12:56 18:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 18:12:01 docker0 73.91 77.23 5.86 382.31 0.00 0.00 0.00 0.00 18:12:56 Average: eth0 88.91 74.81 768.58 9.85 0.00 0.00 0.00 0.00 18:12:56 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:56 Average: docker0 7.45 7.79 0.59 38.54 0.00 0.00 0.00 0.00 18:12:56 18:12:56 18:12:56 ---> sar -P ALL: 18:12:56 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/11/21 _x86_64_ (4 CPU) 18:12:56 18:12:56 18:00:48 LINUX RESTART (4 CPU) 18:12:56 18:12:56 18:02:01 CPU %user %nice %system %iowait %steal %idle 18:12:56 18:03:01 all 0.16 0.00 0.06 0.00 0.00 99.77 18:12:56 18:03:01 0 0.02 0.00 0.03 0.00 0.00 99.95 18:12:56 18:03:01 1 0.28 0.00 0.07 0.00 0.00 99.65 18:12:56 18:03:01 2 0.30 0.00 0.07 0.00 0.00 99.63 18:12:56 18:03:01 3 0.05 0.00 0.08 0.00 0.00 99.87 18:12:56 18:04:01 all 0.16 0.00 0.06 0.00 0.00 99.77 18:12:56 18:04:01 0 0.03 0.00 0.03 0.00 0.00 99.93 18:12:56 18:04:01 1 0.50 0.00 0.08 0.00 0.00 99.42 18:12:56 18:04:01 2 0.05 0.00 0.05 0.00 0.00 99.90 18:12:56 18:04:01 3 0.07 0.00 0.07 0.00 0.02 99.85 18:12:56 18:05:01 all 0.16 0.00 0.05 0.00 0.00 99.79 18:12:56 18:05:01 0 0.02 0.00 0.02 0.00 0.00 99.97 18:12:56 18:05:01 1 0.48 0.00 0.05 0.00 0.00 99.47 18:12:56 18:05:01 2 0.03 0.00 0.08 0.00 0.00 99.88 18:12:56 18:05:01 3 0.10 0.00 0.05 0.00 0.00 99.85 18:12:56 18:06:02 all 0.08 0.00 0.05 0.00 0.00 99.87 18:12:56 18:06:02 0 0.03 0.00 0.03 0.00 0.00 99.93 18:12:56 18:06:02 1 0.18 0.00 0.08 0.00 0.00 99.73 18:12:56 18:06:02 2 0.03 0.00 0.03 0.00 0.00 99.93 18:12:56 18:06:02 3 0.05 0.00 0.05 0.00 0.00 99.90 18:12:56 18:07:01 all 0.06 0.00 0.07 0.00 0.01 99.87 18:12:56 18:07:01 0 0.03 0.00 0.03 0.00 0.02 99.92 18:12:56 18:07:01 1 0.07 0.00 0.05 0.00 0.02 99.86 18:12:56 18:07:01 2 0.07 0.00 0.14 0.00 0.00 99.80 18:12:56 18:07:01 3 0.05 0.00 0.05 0.00 0.00 99.90 18:12:56 18:08:01 all 0.11 0.00 0.10 0.00 0.00 99.79 18:12:56 18:08:01 0 0.03 0.00 0.03 0.00 0.00 99.93 18:12:56 18:08:01 1 0.33 0.00 0.12 0.00 0.02 99.53 18:12:56 18:08:01 2 0.02 0.00 0.20 0.00 0.00 99.78 18:12:56 18:08:01 3 0.05 0.00 0.03 0.00 0.00 99.92 18:12:56 18:09:01 all 0.15 0.00 0.03 0.00 0.00 99.82 18:12:56 18:09:01 0 0.02 0.00 0.02 0.00 0.00 99.97 18:12:56 18:09:01 1 0.52 0.00 0.03 0.00 0.00 99.45 18:12:56 18:09:01 2 0.03 0.00 0.05 0.00 0.00 99.92 18:12:56 18:09:01 3 0.03 0.00 0.02 0.00 0.00 99.95 18:12:56 18:10:01 all 0.16 0.00 0.03 0.00 0.00 99.82 18:12:56 18:10:01 0 0.02 0.00 0.00 0.00 0.00 99.98 18:12:56 18:10:01 1 0.53 0.00 0.02 0.00 0.00 99.45 18:12:56 18:10:01 2 0.05 0.00 0.03 0.00 0.00 99.92 18:12:56 18:10:01 3 0.03 0.00 0.05 0.00 0.00 99.92 18:12:56 18:11:01 all 0.90 0.00 0.55 0.00 0.04 98.50 18:12:56 18:11:01 0 1.00 0.00 0.58 0.00 0.03 98.38 18:12:56 18:11:01 1 1.38 0.00 0.47 0.02 0.07 98.07 18:12:56 18:11:01 2 0.58 0.00 0.45 0.00 0.03 98.93 18:12:56 18:11:01 3 0.63 0.00 0.70 0.00 0.03 98.63 18:12:56 18:12:01 all 18.39 0.00 13.48 6.13 0.54 61.47 18:12:56 18:12:01 0 17.97 0.00 14.20 3.77 0.41 63.65 18:12:56 18:12:01 1 17.41 0.00 12.17 7.69 0.61 62.12 18:12:56 18:12:01 2 17.90 0.00 14.30 7.70 0.59 59.51 18:12:56 18:12:01 3 20.28 0.00 13.26 5.33 0.54 60.60 18:12:56 Average: all 1.96 0.00 1.40 0.59 0.06 95.99 18:12:56 Average: 0 1.83 0.00 1.43 0.36 0.04 96.33 18:12:56 Average: 1 2.12 0.00 1.28 0.75 0.07 95.79 18:12:56 Average: 2 1.84 0.00 1.49 0.74 0.06 95.87 18:12:56 Average: 3 2.06 0.00 1.38 0.51 0.06 95.99 18:12:56 18:12:56 18:12:56