Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c2b56409ff7876491f1b0abf22052cd5d8a556b9 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5952655063219445043.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3854929202080316157.key > 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 b96307f5267f6fa8c29f8dc04d3d152726fc6340 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh623569230499384761.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b96307f5267f6fa8c29f8dc04d3d152726fc6340 # timeout=10 Commit message: "Merge pull request #356 from ernestojeda/disable-go-proxy" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8953654864293347542.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7405086192276525692.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 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_BUILD_IMAGE_TARGET: builder 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-2260 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-rest-go_main@tmp/jenkins-gitclient-ssh124961542961584910.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c2b56409ff7876491f1b0abf22052cd5d8a556b9 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f c2b56409ff7876491f1b0abf22052cd5d8a556b9 # timeout=10 Commit message: "Merge pull request #138 from ernestojeda/changes-for-lts-builds" > git rev-list --no-walk 8988443161b762d02568202c1b71a3f56b05d0c9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:40:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:40:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:40:44 ========================================================= 02:40:44 EdgeX Global Pipelines Version Info 02:40:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:40:45 ------------------- 02:40:45 stable info: 02:40:45 ------------------- 02:40:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:40:45 Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 02:40:45 Message: update stable to v1.0.207 02:40:46 ------------------- 02:40:46 experimental info: 02:40:46 ------------------- 02:40:46 Commited By: **** collab-it+edgex@linuxfoundation.org 02:40:46 Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 02:40:46 Message: update experimental to v1.0.207 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:40:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 02:40:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 02:40:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:40:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:40:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:40:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2b56409ff7876491f1b0abf22052cd5d8a556b9 [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2b5640 [Pipeline] echo 02:40:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:40:47 provisioning config files... 02:40:47 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4266503740021331131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:40:48 ---> docker-login.sh 02:40:48 nexus3.edgexfoundry.org:10001 02:40:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:49 Configure a credential helper to remove this warning. See 02:40:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:49 02:40:49 Login Succeeded 02:40:49 nexus3.edgexfoundry.org:10002 02:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:49 Configure a credential helper to remove this warning. See 02:40:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:49 02:40:49 Login Succeeded 02:40:49 nexus3.edgexfoundry.org:10003 02:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:49 Configure a credential helper to remove this warning. See 02:40:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:49 02:40:49 Login Succeeded 02:40:49 nexus3.edgexfoundry.org:10004 02:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:49 Configure a credential helper to remove this warning. See 02:40:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:49 02:40:49 Login Succeeded 02:40:49 docker.io 02:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:50 Configure a credential helper to remove this warning. See 02:40:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:50 02:40:50 Login Succeeded 02:40:50 ---> docker-login.sh ends [Pipeline] } 02:40:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:40:51 + git log --format=format:%s -1 c2b56409ff7876491f1b0abf22052cd5d8a556b9 [Pipeline] echo 02:40:51 GIT_COMMIT: c2b56409ff7876491f1b0abf22052cd5d8a556b9, Commit Message: Merge pull request #138 from ernestojeda/changes-for-lts-builds [Pipeline] echo 02:40:51 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:40:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:40:52 02:40:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:40:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:40:52 latest: Pulling from edgex-devops/git-semver 02:40:52 31603596830f: Pulling fs layer 02:40:52 04fac38145f0: Pulling fs layer 02:40:52 701f6daf10bf: Pulling fs layer 02:40:52 24f72da36158: Pulling fs layer 02:40:52 24f72da36158: Waiting 02:40:52 04fac38145f0: Verifying Checksum 02:40:52 04fac38145f0: Download complete 02:40:52 31603596830f: Verifying Checksum 02:40:52 31603596830f: Download complete 02:40:52 24f72da36158: Verifying Checksum 02:40:52 24f72da36158: Download complete 02:40:52 701f6daf10bf: Verifying Checksum 02:40:52 701f6daf10bf: Download complete 02:40:53 31603596830f: Pull complete 02:40:53 04fac38145f0: Pull complete 02:40:54 701f6daf10bf: Pull complete 02:40:54 24f72da36158: Pull complete 02:40:54 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 02:40:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:40:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:40:54 prd-centos7-docker-4c-2g-2260 does not seem to be running inside a container 02:40:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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:10004/edgex-devops/git-semver:latest cat 02:40:55 $ docker top 369926e191424d7d5d3e3bedbda99bc29a4a7065ac8235455f5d6a04cc689650 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:40:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:55 [ssh-agent] Looking for ssh-agent implementation... 02:40:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:55 $ docker exec 369926e191424d7d5d3e3bedbda99bc29a4a7065ac8235455f5d6a04cc689650 ssh-agent 02:40:55 SSH_AUTH_SOCK=/tmp/ssh-1L7y71vMG1WQ/agent.14 02:40:55 SSH_AGENT_PID=21 02:40:55 Running ssh-add (command line suppressed) 02:40:55 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4176906676769015194.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4176906676769015194.key) 02:40:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:56 + git tag --points-at HEAD [Pipeline] } 02:40:56 $ docker exec --env ******** --env ******** 369926e191424d7d5d3e3bedbda99bc29a4a7065ac8235455f5d6a04cc689650 ssh-agent -k 02:40:56 unset SSH_AUTH_SOCK; 02:40:56 unset SSH_AGENT_PID; 02:40:56 echo Agent pid 21 killed; 02:40:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:40:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:56 [ssh-agent] Looking for ssh-agent implementation... 02:40:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:56 $ docker exec 369926e191424d7d5d3e3bedbda99bc29a4a7065ac8235455f5d6a04cc689650 ssh-agent 02:40:56 SSH_AUTH_SOCK=/tmp/ssh-oIXUhBHCok3r/agent.54 02:40:56 SSH_AGENT_PID=61 02:40:56 Running ssh-add (command line suppressed) 02:40:57 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4444583846106902837.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4444583846106902837.key) 02:40:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:57 + git semver init 02:40:57 # -> Open(): unable to determine branch for HEAD 02:40:57 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 02:40:57 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 02:40:57 # $SEMVER_REMOTE_NAME = origin 02:40:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:40:57 # $SEMVER_USER_NAME = edgex-jenkins 02:40:57 # $SEMVER_BRANCH = main 02:40:57 # $SEMVER_TEMP = /tmp/semver-518275501 02:40:57 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 02:40:58 # '/tmp/semver-518275501' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 02:40:58 # -> Force: false 02:40:58 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 02:40:58 $ docker exec --env ******** --env ******** 369926e191424d7d5d3e3bedbda99bc29a4a7065ac8235455f5d6a04cc689650 ssh-agent -k 02:40:58 unset SSH_AUTH_SOCK; 02:40:58 unset SSH_AGENT_PID; 02:40:58 echo Agent pid 61 killed; 02:40:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:40:59 + git semver [Pipeline] } 02:40:59 $ docker stop --time=1 369926e191424d7d5d3e3bedbda99bc29a4a7065ac8235455f5d6a04cc689650 02:41:00 $ docker rm -f 369926e191424d7d5d3e3bedbda99bc29a4a7065ac8235455f5d6a04cc689650 [Pipeline] // withDockerContainer [Pipeline] sh 02:41:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:41:01 Stashed 1 file(s) [Pipeline] echo 02:41:01 [edgeXSemver]: initialized semver on version 2.0.1-dev.9 [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 02:41:17 Still waiting to schedule task 02:41:17 ‘prd-centos7-docker-4c-2g-2263’ is offline 02:41:17 ‘prd-centos7-docker-4c-2g-285’ is offline 02:41:17 ‘prd-centos7-docker-4c-2g-336’ is offline 02:41:17 Still waiting to schedule task 02:41:17 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2250’ 02:44:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2265 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 02:44:30 Running in /w/workspace/device-rest-go/10 [Pipeline] { [Pipeline] checkout 02:44:31 The recommended git tool is: git 02:44:39 using credential edgex-jenkins-ssh 02:44:39 Cloning the remote Git repository 02:44:39 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 02:44:40 > git init /w/workspace/device-rest-go/10 # timeout=10 02:44:40 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:44:40 > git --version # timeout=10 02:44:40 > git --version # 'git version 2.17.1' 02:44:40 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:46 Avoid second fetch 02:44:46 Checking out Revision c2b56409ff7876491f1b0abf22052cd5d8a556b9 (main) 02:44:46 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:44:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:46 > git config core.sparsecheckout # timeout=10 02:44:46 > git checkout -f c2b56409ff7876491f1b0abf22052cd5d8a556b9 # timeout=10 02:44:51 Commit message: "Merge pull request #138 from ernestojeda/changes-for-lts-builds" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:44:51 provisioning config files... 02:44:52 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/10@tmp/config2555649003001973766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:52 ---> docker-login.sh 02:44:52 nexus3.edgexfoundry.org:10001 02:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:55 Configure a credential helper to remove this warning. See 02:44:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:55 02:44:55 Login Succeeded 02:44:55 nexus3.edgexfoundry.org:10002 02:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:56 Configure a credential helper to remove this warning. See 02:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:56 02:44:56 Login Succeeded 02:44:56 nexus3.edgexfoundry.org:10003 02:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:56 Configure a credential helper to remove this warning. See 02:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:56 02:44:56 Login Succeeded 02:44:56 nexus3.edgexfoundry.org:10004 02:44:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:57 Configure a credential helper to remove this warning. See 02:44:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:57 02:44:57 Login Succeeded 02:44:57 docker.io 02:44:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:58 Configure a credential helper to remove this warning. See 02:44:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:58 02:44:58 Login Succeeded 02:44:58 ---> docker-login.sh ends [Pipeline] } 02:44:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:59 ========================================================= 02:44:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 02:44:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:44:59 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 02:44:59 Sending build context to Docker daemon 118.8kB 02:45:00 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 02:45:00 Step 2/11 : FROM ${BASE} AS builder 02:45:00 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:45:00 bbf911997326: Pulling fs layer 02:45:00 58ec367f63d7: Pulling fs layer 02:45:00 1b4a6ffa7d45: Pulling fs layer 02:45:00 fc5181fea5dc: Pulling fs layer 02:45:00 9c418107303f: Pulling fs layer 02:45:00 284eca6f2348: Pulling fs layer 02:45:00 842844d905b1: Pulling fs layer 02:45:00 901a3a57568e: Pulling fs layer 02:45:00 9c418107303f: Waiting 02:45:00 842844d905b1: Waiting 02:45:00 901a3a57568e: Waiting 02:45:00 284eca6f2348: Waiting 02:45:00 fc5181fea5dc: Waiting 02:45:00 1b4a6ffa7d45: Verifying Checksum 02:45:00 1b4a6ffa7d45: Download complete 02:45:00 58ec367f63d7: Download complete 02:45:00 9c418107303f: Verifying Checksum 02:45:00 9c418107303f: Download complete 02:45:00 284eca6f2348: Verifying Checksum 02:45:00 284eca6f2348: Download complete 02:45:00 842844d905b1: Download complete 02:45:00 bbf911997326: Verifying Checksum 02:45:00 bbf911997326: Download complete 02:45:01 bbf911997326: Pull complete 02:45:02 58ec367f63d7: Pull complete 02:45:02 1b4a6ffa7d45: Pull complete 02:45:06 901a3a57568e: Verifying Checksum 02:45:06 901a3a57568e: Download complete 02:45:07 fc5181fea5dc: Verifying Checksum 02:45:07 fc5181fea5dc: Download complete 02:45:18 fc5181fea5dc: Pull complete 02:45:18 9c418107303f: Pull complete 02:45:18 284eca6f2348: Pull complete 02:45:19 842844d905b1: Pull complete 02:45:26 901a3a57568e: Pull complete 02:45:26 Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 02:45:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 02:45:26 ---> 72ade6ffb461 02:45:26 Step 3/11 : ARG MAKE='make build' 02:45:35 ---> Running in c901b2a3b4a4 02:45:35 Removing intermediate container c901b2a3b4a4 02:45:35 ---> eb0ba342a2fc 02:45:35 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:45:35 ---> Running in a3e7c6d8a4e2 02:45:35 Removing intermediate container a3e7c6d8a4e2 02:45:35 ---> d02e16feec71 02:45:35 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 02:45:35 ---> Running in a3adca6b88db 02:45:36 Removing intermediate container a3adca6b88db 02:45:36 ---> ce9a5c76864c 02:45:36 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:36 ---> Running in 6e6e986b95b4 02:45:40 Removing intermediate container 6e6e986b95b4 02:45:40 ---> 7744e20b0e52 02:45:40 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:45:40 ---> Running in 13d1655b5b2a 02:45:41 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 02:45:42 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 02:45:44 (1/3) Installing openssh-keygen (8.4_p1-r4) 02:45:45 (2/3) Installing libedit (20191231.3.1-r1) 02:45:45 (3/3) Installing openssh-client (8.4_p1-r4) 02:45:47 Executing busybox-1.32.1-r6.trigger 02:45:47 OK: 222 MiB in 55 packages 02:45:49 Removing intermediate container 13d1655b5b2a 02:45:49 ---> f85c34ffa461 02:45:49 Step 8/11 : WORKDIR /device-rest-go 02:45:49 ---> Running in 477aad4743fb 02:45:50 Removing intermediate container 477aad4743fb 02:45:50 ---> f482b471fa08 02:45:50 Step 9/11 : COPY . . 02:45:50 ---> b1b1ddd95df8 02:45:50 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:45:51 ---> Running in f9b1043fc578 02:46:23 Removing intermediate container f9b1043fc578 02:46:23 ---> 2cc9757cdcc6 02:46:23 Step 11/11 : RUN $MAKE 02:46:23 ---> Running in 5846acdc1b5b 02:46:23 noop 02:46:24 Removing intermediate container 5846acdc1b5b 02:46:24 ---> 778e468661e5 02:46:24 Successfully built 778e468661e5 02:46:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:46:25 + docker inspect -f . ci-base-image-arm64 02:46:25 . [Pipeline] withDockerContainer 02:46:25 prd-ubuntu18.04-docker-arm64-4c-16g-2265 does not seem to be running inside a container 02:46:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:27 $ docker top 44e01ccf390cbc53c62fc77ff756c7be7700c7bfd2053bb402155b9089d2398f -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:28 + go version 02:46:28 go version go1.16.8 linux/arm64 [Pipeline] } 02:46:28 $ docker stop --time=1 44e01ccf390cbc53c62fc77ff756c7be7700c7bfd2053bb402155b9089d2398f 02:46:30 $ docker rm -f 44e01ccf390cbc53c62fc77ff756c7be7700c7bfd2053bb402155b9089d2398f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:31 + docker inspect -f . ci-base-image-arm64 02:46:31 . [Pipeline] withDockerContainer 02:46:31 prd-ubuntu18.04-docker-arm64-4c-16g-2265 does not seem to be running inside a container 02:46:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:33 $ docker top 175e3efeaacbb93521e0835fb3e3670b18c5f60b79b3564ce55f96441398bb89 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:46:34 + make test 02:46:34 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:46:35 ? github.com/edgexfoundry/device-rest-go [no test files] 02:47:32 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 02:47:34 ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 53.8% of statements 02:47:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:48:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:48:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:48:07 ./bin/test-attribution-txt.sh [Pipeline] } 02:48:07 $ docker stop --time=1 175e3efeaacbb93521e0835fb3e3670b18c5f60b79b3564ce55f96441398bb89 02:48:09 $ docker rm -f 175e3efeaacbb93521e0835fb3e3670b18c5f60b79b3564ce55f96441398bb89 [Pipeline] // withDockerContainer [Pipeline] sh 02:48:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:48:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:48:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:12 + ls -al . 02:48:12 total 144 02:48:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 02:48 . 02:48:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 02:44 .. 02:48:12 -rw-rw-r-- 1 jenkins jenkins 151 Oct 7 02:44 .dockerignore 02:48:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 02:44 .git 02:48:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 02:44 .github 02:48:12 -rw-rw-r-- 1 jenkins jenkins 329 Oct 7 02:44 .gitignore 02:48:12 -rw-rw-r-- 1 jenkins jenkins 6792 Oct 7 02:44 Attribution.txt 02:48:12 -rw-rw-r-- 1 jenkins jenkins 7459 Oct 7 02:44 CHANGELOG.md 02:48:12 -rw-rw-r-- 1 jenkins jenkins 1649 Oct 7 02:44 Dockerfile 02:48:12 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 02:44 GOVERNANCE.md 02:48:12 -rw-rw-r-- 1 jenkins jenkins 680 Oct 7 02:44 Jenkinsfile 02:48:12 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 02:44 LICENSE 02:48:12 -rw-rw-r-- 1 jenkins jenkins 1078 Oct 7 02:44 Makefile 02:48:12 -rw-rw-r-- 1 jenkins jenkins 620 Oct 7 02:44 OWNERS.md 02:48:12 -rw-rw-r-- 1 jenkins jenkins 7661 Oct 7 02:44 README.md 02:48:12 -rw-rw-r-- 1 jenkins jenkins 11 Oct 7 02:41 VERSION 02:48:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 02:44 bin 02:48:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 02:44 cmd 02:48:12 -rw-r--r-- 1 jenkins jenkins 8435 Oct 7 02:47 coverage.out 02:48:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 02:44 driver 02:48:12 -rw-rw-r-- 1 jenkins jenkins 271 Oct 7 02:44 go.mod 02:48:12 -rw-rw-r-- 1 jenkins jenkins 20570 Oct 7 02:44 go.sum 02:48:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 02:44 snap 02:48:12 -rw-rw-r-- 1 jenkins jenkins 713 Oct 7 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:48:13 + 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=c2b56409ff7876491f1b0abf22052cd5d8a556b9 --label arch=arm64 --label version=2.0.1-dev.9 . 02:48:13 Sending build context to Docker daemon 128kB 02:48:13 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 02:48:13 Step 2/24 : FROM ${BASE} AS builder 02:48:13 ---> 778e468661e5 02:48:13 Step 3/24 : ARG MAKE='make build' 02:48:13 ---> Running in 507d4989ecee 02:48:14 Removing intermediate container 507d4989ecee 02:48:14 ---> b101870bc1ed 02:48:14 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:48:14 ---> Running in 37b6b00657bd 02:48:15 Removing intermediate container 37b6b00657bd 02:48:15 ---> f6aa21756f86 02:48:15 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 02:48:15 ---> Running in 028e5265ca14 02:48:15 Removing intermediate container 028e5265ca14 02:48:15 ---> f13046166247 02:48:15 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:15 ---> Running in c8e8b86a0881 02:48:18 Removing intermediate container c8e8b86a0881 02:48:18 ---> 23e9c895fb45 02:48:18 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:48:18 ---> Running in a3f21f7d9e53 02:48:19 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 02:48:20 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 02:48:21 OK: 222 MiB in 55 packages 02:48:22 Removing intermediate container a3f21f7d9e53 02:48:22 ---> 50df58de97b6 02:48:22 Step 8/24 : WORKDIR /device-rest-go 02:48:23 ---> Running in 9d8c5d513c18 02:48:23 Removing intermediate container 9d8c5d513c18 02:48:23 ---> e4ee547b309a 02:48:23 Step 9/24 : COPY . . 02:48:24 ---> 9cd10bed93f4 02:48:24 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:48:24 ---> Running in 53574793646b 02:48:27 Removing intermediate container 53574793646b 02:48:27 ---> 23313a6cd564 02:48:27 Step 11/24 : RUN $MAKE 02:48:27 ---> Running in f6a5bfb4d891 02:48:28 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.9" -o cmd/device-rest ./cmd 02:49:08 Removing intermediate container f6a5bfb4d891 02:49:08 ---> ccd8f4acee74 02:49:08 Step 12/24 : FROM alpine:3.14 02:49:08 3.14: Pulling from library/alpine 02:49:08 552d1f2373af: Pulling fs layer 02:49:08 552d1f2373af: Verifying Checksum 02:49:08 552d1f2373af: Pull complete 02:49:08 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 02:49:08 Status: Downloaded newer image for alpine:3.14 02:49:08 ---> bb3de5531c18 02:49:08 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 02:49:08 ---> Running in 4c24c8724663 02:49:08 Removing intermediate container 4c24c8724663 02:49:08 ---> 3b1fb9a5c0da 02:49:08 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 02:49:08 ---> Running in e91859122f36 02:49:08 Removing intermediate container e91859122f36 02:49:08 ---> cb41596800a2 02:49:08 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 02:49:08 ---> Running in b481756f6ed7 02:49:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:49:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:49:11 (1/6) Installing dumb-init (1.2.5-r1) 02:49:11 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:49:11 (3/6) Installing libsodium (1.0.18-r0) 02:49:11 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:49:11 (5/6) Installing libzmq (4.3.4-r0) 02:49:11 (6/6) Installing zeromq (4.3.4-r0) 02:49:11 Executing busybox-1.33.1-r3.trigger 02:49:11 OK: 8 MiB in 20 packages 02:49:12 Removing intermediate container b481756f6ed7 02:49:12 ---> 04dfe3c5ceaa 02:49:12 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 02:49:14 ---> 53f173ed4df5 02:49:14 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 02:49:15 ---> e06732ed5399 02:49:15 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 02:49:16 ---> 0bd5cff2aacd 02:49:16 Step 19/24 : EXPOSE 59986 02:49:16 ---> Running in f758ff0097ad 02:49:16 Removing intermediate container f758ff0097ad 02:49:16 ---> 5ceaf4720623 02:49:16 Step 20/24 : ENTRYPOINT ["/device-rest"] 02:49:16 ---> Running in 0261d9cab8fe 02:49:17 Removing intermediate container 0261d9cab8fe 02:49:17 ---> 87aed2b8a584 02:49:17 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 02:49:17 ---> Running in 6587d766d1fe 02:49:17 Removing intermediate container 6587d766d1fe 02:49:17 ---> 0ee7de3e7fa0 02:49:17 Step 22/24 : LABEL arch=arm64 02:49:17 ---> Running in 9e56d40c602f 02:49:18 Removing intermediate container 9e56d40c602f 02:49:18 ---> b1b9411c3d97 02:49:18 Step 23/24 : LABEL git_sha=c2b56409ff7876491f1b0abf22052cd5d8a556b9 02:49:18 ---> Running in 05cc3181e561 02:49:19 Removing intermediate container 05cc3181e561 02:49:19 ---> a06133d94219 02:49:19 Step 24/24 : LABEL version=2.0.1-dev.9 02:49:19 ---> Running in 37ae8f000987 02:49:19 Removing intermediate container 37ae8f000987 02:49:19 ---> 5a1fbcc39ace 02:49:19 [Warning] One or more build-args [ARCH] were not consumed 02:49:19 Successfully built 5a1fbcc39ace 02:49:19 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:49:19 provisioning config files... 02:49:19 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/10@tmp/config746666292694679691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:49:20 ---> docker-login.sh 02:49:20 nexus3.edgexfoundry.org:10001 02:49:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:20 Configure a credential helper to remove this warning. See 02:49:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:20 02:49:20 Login Succeeded 02:49:20 nexus3.edgexfoundry.org:10002 02:49:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:21 Configure a credential helper to remove this warning. See 02:49:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:21 02:49:21 Login Succeeded 02:49:21 nexus3.edgexfoundry.org:10003 02:49:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:22 Configure a credential helper to remove this warning. See 02:49:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:22 02:49:22 Login Succeeded 02:49:22 nexus3.edgexfoundry.org:10004 02:49:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:23 Configure a credential helper to remove this warning. See 02:49:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:23 02:49:23 Login Succeeded 02:49:23 docker.io 02:49:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:23 Configure a credential helper to remove this warning. See 02:49:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:23 02:49:23 Login Succeeded 02:49:23 ---> docker-login.sh ends [Pipeline] } 02:49:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:49:24 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 02:49:24 c2b56409ff7876491f1b0abf22052cd5d8a556b9 02:49:24 latest 02:49:24 2.0.1-dev.9 02:49:24 c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9 02:49:24 main 02:49:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:49:24 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b56409ff7876491f1b0abf22052cd5d8a556b9 [Pipeline] isUnix [Pipeline] sh 02:49:24 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b56409ff7876491f1b0abf22052cd5d8a556b9 02:49:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:49:24 f2ef5162adac: Preparing 02:49:24 e8ccc8d589e2: Preparing 02:49:24 312c1601717d: Preparing 02:49:24 f7cbbd181937: Preparing 02:49:24 ee420dfed78a: Preparing 02:49:25 ee420dfed78a: Layer already exists 02:49:25 f2ef5162adac: Pushed 02:49:25 e8ccc8d589e2: Pushed 02:49:25 f7cbbd181937: Pushed 02:49:28 312c1601717d: Pushed 02:49:28 c2b56409ff7876491f1b0abf22052cd5d8a556b9: digest: sha256:464a08322797fc46f40cf5eabce482cc70d63ec8b8f6c2aa982eb9dbc8944f4a size: 1365 [Pipeline] isUnix [Pipeline] sh 02:49:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:49:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:49:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:49:29 f2ef5162adac: Preparing 02:49:29 e8ccc8d589e2: Preparing 02:49:29 312c1601717d: Preparing 02:49:29 f7cbbd181937: Preparing 02:49:29 ee420dfed78a: Preparing 02:49:29 f7cbbd181937: Layer already exists 02:49:29 f2ef5162adac: Layer already exists 02:49:29 e8ccc8d589e2: Layer already exists 02:49:29 312c1601717d: Layer already exists 02:49:29 ee420dfed78a: Layer already exists 02:49:29 latest: digest: sha256:464a08322797fc46f40cf5eabce482cc70d63ec8b8f6c2aa982eb9dbc8944f4a size: 1365 [Pipeline] isUnix [Pipeline] sh 02:49:29 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh 02:49:30 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.9 02:49:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:49:30 f2ef5162adac: Preparing 02:49:30 e8ccc8d589e2: Preparing 02:49:30 312c1601717d: Preparing 02:49:30 f7cbbd181937: Preparing 02:49:30 ee420dfed78a: Preparing 02:49:30 f7cbbd181937: Layer already exists 02:49:30 312c1601717d: Layer already exists 02:49:30 ee420dfed78a: Layer already exists 02:49:30 f2ef5162adac: Layer already exists 02:49:30 e8ccc8d589e2: Layer already exists 02:49:30 2.0.1-dev.9: digest: sha256:464a08322797fc46f40cf5eabce482cc70d63ec8b8f6c2aa982eb9dbc8944f4a size: 1365 [Pipeline] isUnix [Pipeline] sh 02:49:30 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh 02:49:31 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9 02:49:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:49:31 f2ef5162adac: Preparing 02:49:31 e8ccc8d589e2: Preparing 02:49:31 312c1601717d: Preparing 02:49:31 f7cbbd181937: Preparing 02:49:31 ee420dfed78a: Preparing 02:49:31 e8ccc8d589e2: Layer already exists 02:49:31 f7cbbd181937: Layer already exists 02:49:31 312c1601717d: Layer already exists 02:49:31 ee420dfed78a: Layer already exists 02:49:31 f2ef5162adac: Layer already exists 02:49:31 c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9: digest: sha256:464a08322797fc46f40cf5eabce482cc70d63ec8b8f6c2aa982eb9dbc8944f4a size: 1365 [Pipeline] isUnix [Pipeline] sh 02:49:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 02:49:32 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 02:49:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:49:32 f2ef5162adac: Preparing 02:49:32 e8ccc8d589e2: Preparing 02:49:32 312c1601717d: Preparing 02:49:32 f7cbbd181937: Preparing 02:49:32 ee420dfed78a: Preparing 02:49:32 ee420dfed78a: Layer already exists 02:49:32 e8ccc8d589e2: Layer already exists 02:49:32 312c1601717d: Layer already exists 02:49:32 f2ef5162adac: Layer already exists 02:49:32 f7cbbd181937: Layer already exists 02:49:32 main: digest: sha256:464a08322797fc46f40cf5eabce482cc70d63ec8b8f6c2aa982eb9dbc8944f4a size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:49:32 ===================================================== [Pipeline] echo 02:49:32 taggedImages: 02:49:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b56409ff7876491f1b0abf22052cd5d8a556b9 02:49:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:49:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.9 02:49:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9 02:49:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:49:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:49:33 02:49:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:49:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:49:34 arm64: Pulling from edgex-lftools-log-publisher 02:49:34 448f6bf000e3: Pulling fs layer 02:49:34 f757da607395: Pulling fs layer 02:49:34 05883995daec: Pulling fs layer 02:49:34 8603b9c90790: Pulling fs layer 02:49:34 1560dd03e051: Pulling fs layer 02:49:34 27f5ce0e4adf: Pulling fs layer 02:49:34 c2d8d7efcc4b: Pulling fs layer 02:49:34 1560dd03e051: Waiting 02:49:34 27f5ce0e4adf: Waiting 02:49:34 c2d8d7efcc4b: Waiting 02:49:34 8603b9c90790: Waiting 02:49:34 f757da607395: Verifying Checksum 02:49:34 f757da607395: Download complete 02:49:34 8603b9c90790: Download complete 02:49:34 1560dd03e051: Verifying Checksum 02:49:34 1560dd03e051: Download complete 02:49:34 05883995daec: Verifying Checksum 02:49:34 05883995daec: Download complete 02:49:34 27f5ce0e4adf: Verifying Checksum 02:49:34 27f5ce0e4adf: Download complete 02:49:34 448f6bf000e3: Verifying Checksum 02:49:34 448f6bf000e3: Download complete 02:49:37 c2d8d7efcc4b: Verifying Checksum 02:49:37 c2d8d7efcc4b: Download complete 02:49:38 448f6bf000e3: Pull complete 02:49:38 f757da607395: Pull complete 02:49:40 05883995daec: Pull complete 02:49:40 8603b9c90790: Pull complete 02:49:41 1560dd03e051: Pull complete 02:49:42 27f5ce0e4adf: Pull complete 02:49:57 c2d8d7efcc4b: Pull complete 02:49:57 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 02:49:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:49:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:49:57 prd-ubuntu18.04-docker-arm64-4c-16g-2265 does not seem to be running inside a container 02:49:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:50:03 $ docker top 301a9ddaad56c6ebef6c66e4610ed92d9bab01c8adcb5d96eb768bfb9eecba2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:50:04 ---> job-cost.sh 02:50:04 lf-activate-venv: SKIPPING 02:50:04 INFO: No Stack... 02:50:04 INFO: Retrieving Pricing Info for: v3-standard-4 02:50:05 INFO: Archiving Costs [Pipeline] sh 02:50:05 + cat /w/workspace/device-rest-go/10/archives/cost.csv 02:50:05 + cut -d, -f6 [Pipeline] lock 02:50:05 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-10-stack-cost] 02:50:05 Resource [jenkins-edgexfoundry-device-rest-go-main-10-stack-cost] did not exist. Created. 02:50:05 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:50:06 + echo total: 0.10999999940395355 [Pipeline] stash 02:50:06 Stashed 1 file(s) [Pipeline] } 02:50:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-10-stack-cost] [Pipeline] // lock [Pipeline] } 02:50:06 $ docker stop --time=1 301a9ddaad56c6ebef6c66e4610ed92d9bab01c8adcb5d96eb768bfb9eecba2b 02:50:08 $ docker rm -f 301a9ddaad56c6ebef6c66e4610ed92d9bab01c8adcb5d96eb768bfb9eecba2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:51:54 Running on prd-centos7-docker-4c-2g-2273 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 02:51:54 Running in /w/workspace/device-rest-go/10 [Pipeline] { [Pipeline] checkout 02:51:54 The recommended git tool is: git 02:51:57 using credential edgex-jenkins-ssh 02:51:57 Cloning the remote Git repository 02:51:57 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 02:51:57 > git init /w/workspace/device-rest-go/10 # timeout=10 02:51:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:51:57 > git --version # timeout=10 02:51:57 > git --version # 'git version 2.24.4' 02:51:57 using GIT_SSH to set credentials SSH Credentials for GitHub 02:51:57 [INFO] Currently running in a labeled security context 02:51:57 [INFO] Currently SELinux is 'enforcing' on the host 02:51:57 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/10@tmp/jenkins-gitclient-ssh8505612178819618240.key 02:51:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:51:58 Avoid second fetch 02:51:58 Checking out Revision c2b56409ff7876491f1b0abf22052cd5d8a556b9 (main) 02:51:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:51:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:51:58 > git config core.sparsecheckout # timeout=10 02:51:58 > git checkout -f c2b56409ff7876491f1b0abf22052cd5d8a556b9 # timeout=10 02:52:01 Commit message: "Merge pull request #138 from ernestojeda/changes-for-lts-builds" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:02 provisioning config files... 02:52:02 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/10@tmp/config7791300493205312221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:02 ---> docker-login.sh 02:52:02 nexus3.edgexfoundry.org:10001 02:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:02 Configure a credential helper to remove this warning. See 02:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:02 02:52:02 Login Succeeded 02:52:02 nexus3.edgexfoundry.org:10002 02:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:03 Configure a credential helper to remove this warning. See 02:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:03 02:52:03 Login Succeeded 02:52:03 nexus3.edgexfoundry.org:10003 02:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:03 Configure a credential helper to remove this warning. See 02:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:03 02:52:03 Login Succeeded 02:52:03 nexus3.edgexfoundry.org:10004 02:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:03 Configure a credential helper to remove this warning. See 02:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:03 02:52:03 Login Succeeded 02:52:03 docker.io 02:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:03 Configure a credential helper to remove this warning. See 02:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:03 02:52:03 Login Succeeded 02:52:03 ---> docker-login.sh ends [Pipeline] } 02:52:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:52:04 ========================================================= 02:52:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 02:52:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:52:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 02:52:04 Sending build context to Docker daemon 118.8kB 02:52:04 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 02:52:04 Step 2/11 : FROM ${BASE} AS builder 02:52:04 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 02:52:04 4e9f2cdf4387: Pulling fs layer 02:52:04 57d31006c564: Pulling fs layer 02:52:04 bd5ccded8296: Pulling fs layer 02:52:04 304dd3a0f381: Pulling fs layer 02:52:04 d37cda54a23b: Pulling fs layer 02:52:04 bae75c0f2455: Pulling fs layer 02:52:04 806579b3d29a: Pulling fs layer 02:52:04 c77eb801bf70: Pulling fs layer 02:52:04 6d0567d44e1a: Pulling fs layer 02:52:04 304dd3a0f381: Waiting 02:52:04 d37cda54a23b: Waiting 02:52:04 bae75c0f2455: Waiting 02:52:04 806579b3d29a: Waiting 02:52:04 c77eb801bf70: Waiting 02:52:04 6d0567d44e1a: Waiting 02:52:04 bd5ccded8296: Verifying Checksum 02:52:04 bd5ccded8296: Download complete 02:52:04 57d31006c564: Verifying Checksum 02:52:04 57d31006c564: Download complete 02:52:04 d37cda54a23b: Verifying Checksum 02:52:04 d37cda54a23b: Download complete 02:52:04 bae75c0f2455: Verifying Checksum 02:52:04 bae75c0f2455: Download complete 02:52:04 806579b3d29a: Verifying Checksum 02:52:04 806579b3d29a: Download complete 02:52:04 4e9f2cdf4387: Download complete 02:52:05 4e9f2cdf4387: Pull complete 02:52:05 57d31006c564: Pull complete 02:52:05 bd5ccded8296: Pull complete 02:52:05 c77eb801bf70: Verifying Checksum 02:52:05 c77eb801bf70: Download complete 02:52:05 304dd3a0f381: Verifying Checksum 02:52:05 304dd3a0f381: Download complete 02:52:07 6d0567d44e1a: Verifying Checksum 02:52:07 6d0567d44e1a: Download complete 02:52:09 304dd3a0f381: Pull complete 02:52:09 d37cda54a23b: Pull complete 02:52:09 bae75c0f2455: Pull complete 02:52:09 806579b3d29a: Pull complete 02:52:09 c77eb801bf70: Pull complete 02:52:12 6d0567d44e1a: Pull complete 02:52:12 Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd 02:52:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 02:52:12 ---> e839a31ac9d1 02:52:12 Step 3/11 : ARG MAKE='make build' 02:52:14 ---> Running in c1ca00b1e1e3 02:52:14 Removing intermediate container c1ca00b1e1e3 02:52:14 ---> 728f3d6507c8 02:52:14 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:52:14 ---> Running in 0ea824b20ac5 02:52:14 Removing intermediate container 0ea824b20ac5 02:52:14 ---> 1a2155d4d1a9 02:52:14 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 02:52:14 ---> Running in d9fe29df1b92 02:52:14 Removing intermediate container d9fe29df1b92 02:52:14 ---> 432ee8b932d3 02:52:14 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:52:14 ---> Running in e1c076cfd08c 02:52:14 Removing intermediate container e1c076cfd08c 02:52:14 ---> 5b72ce7e7263 02:52:14 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:52:14 ---> Running in 2b1a5e32479d 02:52:14 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 02:52:15 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 02:52:16 (1/3) Installing openssh-keygen (8.4_p1-r4) 02:52:16 (2/3) Installing libedit (20191231.3.1-r1) 02:52:16 (3/3) Installing openssh-client (8.4_p1-r4) 02:52:16 Executing busybox-1.32.1-r6.trigger 02:52:16 OK: 223 MiB in 55 packages 02:52:16 Removing intermediate container 2b1a5e32479d 02:52:16 ---> 64497c879304 02:52:16 Step 8/11 : WORKDIR /device-rest-go 02:52:16 ---> Running in 67e84ce13faa 02:52:16 Removing intermediate container 67e84ce13faa 02:52:16 ---> 037ed80dddb1 02:52:16 Step 9/11 : COPY . . 02:52:17 ---> 9f7710446f19 02:52:17 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:52:17 ---> Running in 159dd2a2a26b 02:52:27 Removing intermediate container 159dd2a2a26b 02:52:27 ---> a96ef7882ebd 02:52:27 Step 11/11 : RUN $MAKE 02:52:27 ---> Running in 5c43e09436ad 02:52:27 noop 02:52:27 Removing intermediate container 5c43e09436ad 02:52:27 ---> 8b4eb7e14fe0 02:52:27 Successfully built 8b4eb7e14fe0 02:52:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:52:27 + docker inspect -f . ci-base-image-x86_64 02:52:27 . [Pipeline] withDockerContainer 02:52:27 prd-centos7-docker-4c-2g-2273 does not seem to be running inside a container 02:52:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:52:27 $ docker top 775b4cfb2e09f12a28d6949c87bbc9b6816a38dfa1551d5c0c24ec1de9d2d8cc -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:28 + go version 02:52:28 go version go1.16.8 linux/amd64 [Pipeline] } 02:52:28 $ docker stop --time=1 775b4cfb2e09f12a28d6949c87bbc9b6816a38dfa1551d5c0c24ec1de9d2d8cc 02:52:29 $ docker rm -f 775b4cfb2e09f12a28d6949c87bbc9b6816a38dfa1551d5c0c24ec1de9d2d8cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:52:30 + docker inspect -f . ci-base-image-x86_64 02:52:30 . [Pipeline] withDockerContainer 02:52:30 prd-centos7-docker-4c-2g-2273 does not seem to be running inside a container 02:52:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:52:30 $ docker top f11f58f8afb9c3512274214a22aa803404d90ef571707e80a9862d9de00b4513 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:52:31 + make test 02:52:31 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:52:31 ? github.com/edgexfoundry/device-rest-go [no test files] 02:52:46 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 02:52:47 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 53.8% of statements 02:52:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:52:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:52:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:52:53 ./bin/test-attribution-txt.sh [Pipeline] } 02:52:54 $ docker stop --time=1 f11f58f8afb9c3512274214a22aa803404d90ef571707e80a9862d9de00b4513 02:52:56 $ docker rm -f f11f58f8afb9c3512274214a22aa803404d90ef571707e80a9862d9de00b4513 [Pipeline] // withDockerContainer [Pipeline] sh 02:52:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:52:56 Warning: overwriting stash ‘coverage-report’ 02:52:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:52:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:52:57 + ls -al . 02:52:57 total 116 02:52:57 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 7 02:52 . 02:52:57 drwxrwxr-x. 4 jenkins jenkins 30 Oct 7 02:51 .. 02:52:57 -rw-rw-r--. 1 jenkins jenkins 6792 Oct 7 02:51 Attribution.txt 02:52:57 drwxrwxr-x. 2 jenkins jenkins 37 Oct 7 02:51 bin 02:52:57 -rw-rw-r--. 1 jenkins jenkins 7459 Oct 7 02:51 CHANGELOG.md 02:52:57 drwxrwxr-x. 3 jenkins jenkins 32 Oct 7 02:51 cmd 02:52:57 -rw-r--r--. 1 jenkins jenkins 8435 Oct 7 02:52 coverage.out 02:52:57 -rw-rw-r--. 1 jenkins jenkins 1649 Oct 7 02:51 Dockerfile 02:52:57 -rw-rw-r--. 1 jenkins jenkins 151 Oct 7 02:51 .dockerignore 02:52:57 drwxrwxr-x. 2 jenkins jenkins 76 Oct 7 02:51 driver 02:52:57 drwxrwxr-x. 8 jenkins jenkins 162 Oct 7 02:52 .git 02:52:57 drwxrwxr-x. 2 jenkins jenkins 103 Oct 7 02:51 .github 02:52:57 -rw-rw-r--. 1 jenkins jenkins 329 Oct 7 02:51 .gitignore 02:52:57 -rw-rw-r--. 1 jenkins jenkins 271 Oct 7 02:51 go.mod 02:52:57 -rw-rw-r--. 1 jenkins jenkins 20570 Oct 7 02:51 go.sum 02:52:57 -rw-rw-r--. 1 jenkins jenkins 677 Oct 7 02:51 GOVERNANCE.md 02:52:57 -rw-rw-r--. 1 jenkins jenkins 680 Oct 7 02:51 Jenkinsfile 02:52:57 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 7 02:51 LICENSE 02:52:57 -rw-rw-r--. 1 jenkins jenkins 1078 Oct 7 02:51 Makefile 02:52:57 -rw-rw-r--. 1 jenkins jenkins 620 Oct 7 02:51 OWNERS.md 02:52:57 -rw-rw-r--. 1 jenkins jenkins 7661 Oct 7 02:51 README.md 02:52:57 drwxrwxr-x. 4 jenkins jenkins 71 Oct 7 02:51 snap 02:52:57 -rw-rw-r--. 1 jenkins jenkins 11 Oct 7 02:41 VERSION 02:52:57 -rw-rw-r--. 1 jenkins jenkins 713 Oct 7 02:51 version.go [Pipeline] isUnix [Pipeline] sh 02:52:58 + 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=c2b56409ff7876491f1b0abf22052cd5d8a556b9 --label arch=amd64 --label version=2.0.1-dev.9 . 02:52:58 Sending build context to Docker daemon 128kB 02:52:58 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 02:52:58 Step 2/24 : FROM ${BASE} AS builder 02:52:58 ---> 8b4eb7e14fe0 02:52:58 Step 3/24 : ARG MAKE='make build' 02:52:58 ---> Running in d1b6acd491d1 02:52:58 Removing intermediate container d1b6acd491d1 02:52:58 ---> 636762344748 02:52:58 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:52:58 ---> Running in c851cd594f7e 02:52:58 Removing intermediate container c851cd594f7e 02:52:58 ---> 8d4b591721de 02:52:58 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 02:52:58 ---> Running in 4abd21c1d734 02:52:58 Removing intermediate container 4abd21c1d734 02:52:58 ---> d1ba83eda98f 02:52:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:52:58 ---> Running in c9c77d29cac6 02:52:58 Removing intermediate container c9c77d29cac6 02:52:58 ---> da4bac8624bd 02:52:58 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:52:58 ---> Running in 759d23d8fcf1 02:52:58 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 02:52:59 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 02:53:00 OK: 223 MiB in 55 packages 02:53:00 Removing intermediate container 759d23d8fcf1 02:53:00 ---> cbd7e7b9ddfb 02:53:00 Step 8/24 : WORKDIR /device-rest-go 02:53:00 ---> Running in dceba4e96f23 02:53:00 Removing intermediate container dceba4e96f23 02:53:00 ---> bb8e2ed356d3 02:53:00 Step 9/24 : COPY . . 02:53:00 ---> a63301dda7c4 02:53:00 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:53:00 ---> Running in 395ac0eae55c 02:53:01 Removing intermediate container 395ac0eae55c 02:53:01 ---> 5280af4d45eb 02:53:01 Step 11/24 : RUN $MAKE 02:53:01 ---> Running in 8ddf9d07c513 02:53:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.9" -o cmd/device-rest ./cmd 02:53:14 Removing intermediate container 8ddf9d07c513 02:53:14 ---> c803ddcd28af 02:53:14 Step 12/24 : FROM alpine:3.14 02:53:14 3.14: Pulling from library/alpine 02:53:14 a0d0a0d46f8b: Pulling fs layer 02:53:14 a0d0a0d46f8b: Verifying Checksum 02:53:14 a0d0a0d46f8b: Download complete 02:53:14 a0d0a0d46f8b: Pull complete 02:53:14 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 02:53:14 Status: Downloaded newer image for alpine:3.14 02:53:14 ---> 14119a10abf4 02:53:14 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 02:53:14 ---> Running in 889ce83c20d1 02:53:14 Removing intermediate container 889ce83c20d1 02:53:14 ---> cf529b06028e 02:53:14 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 02:53:14 ---> Running in 9859c768a1c9 02:53:14 Removing intermediate container 9859c768a1c9 02:53:14 ---> 5b71b1c2d2e6 02:53:14 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 02:53:14 ---> Running in 36562fe0a6b3 02:53:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:53:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:53:14 (1/6) Installing dumb-init (1.2.5-r1) 02:53:14 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:53:14 (3/6) Installing libsodium (1.0.18-r0) 02:53:14 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:53:14 (5/6) Installing libzmq (4.3.4-r0) 02:53:14 (6/6) Installing zeromq (4.3.4-r0) 02:53:14 Executing busybox-1.33.1-r3.trigger 02:53:14 OK: 8 MiB in 20 packages 02:53:14 Removing intermediate container 36562fe0a6b3 02:53:14 ---> f0242ca3c408 02:53:14 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 02:53:14 ---> e50ed536cddb 02:53:14 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 02:53:15 ---> c20c8d160c27 02:53:15 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 02:53:15 ---> 1166d31e2c11 02:53:15 Step 19/24 : EXPOSE 59986 02:53:15 ---> Running in aa6f3fb952c7 02:53:15 Removing intermediate container aa6f3fb952c7 02:53:15 ---> cedbe706a246 02:53:15 Step 20/24 : ENTRYPOINT ["/device-rest"] 02:53:15 ---> Running in ae17af437a67 02:53:15 Removing intermediate container ae17af437a67 02:53:15 ---> 86ddd7db1128 02:53:15 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 02:53:15 ---> Running in 32a2a0af3754 02:53:15 Removing intermediate container 32a2a0af3754 02:53:15 ---> ee64b22ab4d0 02:53:15 Step 22/24 : LABEL arch=amd64 02:53:15 ---> Running in d114cc32b77c 02:53:15 Removing intermediate container d114cc32b77c 02:53:15 ---> 9e15620c1369 02:53:15 Step 23/24 : LABEL git_sha=c2b56409ff7876491f1b0abf22052cd5d8a556b9 02:53:15 ---> Running in 028f0250cc64 02:53:15 Removing intermediate container 028f0250cc64 02:53:15 ---> c199674542cd 02:53:15 Step 24/24 : LABEL version=2.0.1-dev.9 02:53:15 ---> Running in 224c947cfcbe 02:53:15 Removing intermediate container 224c947cfcbe 02:53:15 ---> a72840f90b0e 02:53:15 [Warning] One or more build-args [ARCH] were not consumed 02:53:15 Successfully built a72840f90b0e 02:53:15 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:15 provisioning config files... 02:53:15 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/10@tmp/config846389084045527183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:53:16 ---> docker-login.sh 02:53:16 nexus3.edgexfoundry.org:10001 02:53:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:16 Configure a credential helper to remove this warning. See 02:53:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:16 02:53:16 Login Succeeded 02:53:16 nexus3.edgexfoundry.org:10002 02:53:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:16 Configure a credential helper to remove this warning. See 02:53:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:16 02:53:16 Login Succeeded 02:53:16 nexus3.edgexfoundry.org:10003 02:53:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:16 Configure a credential helper to remove this warning. See 02:53:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:16 02:53:16 Login Succeeded 02:53:16 nexus3.edgexfoundry.org:10004 02:53:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:16 Configure a credential helper to remove this warning. See 02:53:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:16 02:53:16 Login Succeeded 02:53:16 docker.io 02:53:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:17 Configure a credential helper to remove this warning. See 02:53:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:17 02:53:17 Login Succeeded 02:53:17 ---> docker-login.sh ends [Pipeline] } 02:53:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:53:17 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 02:53:17 c2b56409ff7876491f1b0abf22052cd5d8a556b9 02:53:17 latest 02:53:17 2.0.1-dev.9 02:53:17 c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9 02:53:17 main 02:53:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:53:17 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c2b56409ff7876491f1b0abf22052cd5d8a556b9 [Pipeline] isUnix [Pipeline] sh 02:53:18 + docker push nexus3.edgexfoundry.org:10004/device-rest:c2b56409ff7876491f1b0abf22052cd5d8a556b9 02:53:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:53:18 ab5541ebe066: Preparing 02:53:18 267d7fd6516c: Preparing 02:53:18 f02718c49ff8: Preparing 02:53:18 250f0218d131: Preparing 02:53:18 e2eb06d8af82: Preparing 02:53:18 e2eb06d8af82: Layer already exists 02:53:18 267d7fd6516c: Pushed 02:53:18 ab5541ebe066: Pushed 02:53:18 250f0218d131: Pushed 02:53:19 f02718c49ff8: Pushed 02:53:19 c2b56409ff7876491f1b0abf22052cd5d8a556b9: digest: sha256:d9138737cdc1034066194c1986f6f5db66619f46a047327f080b566bbe3a2090 size: 1366 [Pipeline] isUnix [Pipeline] sh 02:53:19 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 02:53:20 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 02:53:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:53:20 ab5541ebe066: Preparing 02:53:20 267d7fd6516c: Preparing 02:53:20 f02718c49ff8: Preparing 02:53:20 250f0218d131: Preparing 02:53:20 e2eb06d8af82: Preparing 02:53:20 250f0218d131: Layer already exists 02:53:20 e2eb06d8af82: Layer already exists 02:53:20 ab5541ebe066: Layer already exists 02:53:20 267d7fd6516c: Layer already exists 02:53:20 f02718c49ff8: Layer already exists 02:53:20 latest: digest: sha256:d9138737cdc1034066194c1986f6f5db66619f46a047327f080b566bbe3a2090 size: 1366 [Pipeline] isUnix [Pipeline] sh 02:53:20 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh 02:53:20 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.9 02:53:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:53:20 ab5541ebe066: Preparing 02:53:20 267d7fd6516c: Preparing 02:53:20 f02718c49ff8: Preparing 02:53:20 250f0218d131: Preparing 02:53:20 e2eb06d8af82: Preparing 02:53:20 e2eb06d8af82: Layer already exists 02:53:20 ab5541ebe066: Layer already exists 02:53:20 f02718c49ff8: Layer already exists 02:53:20 267d7fd6516c: Layer already exists 02:53:20 250f0218d131: Layer already exists 02:53:20 2.0.1-dev.9: digest: sha256:d9138737cdc1034066194c1986f6f5db66619f46a047327f080b566bbe3a2090 size: 1366 [Pipeline] isUnix [Pipeline] sh 02:53:21 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh 02:53:21 + docker push nexus3.edgexfoundry.org:10004/device-rest:c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9 02:53:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:53:21 ab5541ebe066: Preparing 02:53:21 267d7fd6516c: Preparing 02:53:21 f02718c49ff8: Preparing 02:53:21 250f0218d131: Preparing 02:53:21 e2eb06d8af82: Preparing 02:53:21 250f0218d131: Layer already exists 02:53:21 e2eb06d8af82: Layer already exists 02:53:21 267d7fd6516c: Layer already exists 02:53:21 ab5541ebe066: Layer already exists 02:53:21 f02718c49ff8: Layer already exists 02:53:21 c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9: digest: sha256:d9138737cdc1034066194c1986f6f5db66619f46a047327f080b566bbe3a2090 size: 1366 [Pipeline] isUnix [Pipeline] sh 02:53:21 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 02:53:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 02:53:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:53:22 ab5541ebe066: Preparing 02:53:22 267d7fd6516c: Preparing 02:53:22 f02718c49ff8: Preparing 02:53:22 250f0218d131: Preparing 02:53:22 e2eb06d8af82: Preparing 02:53:22 f02718c49ff8: Layer already exists 02:53:22 e2eb06d8af82: Layer already exists 02:53:22 250f0218d131: Layer already exists 02:53:22 ab5541ebe066: Layer already exists 02:53:22 267d7fd6516c: Layer already exists 02:53:22 main: digest: sha256:d9138737cdc1034066194c1986f6f5db66619f46a047327f080b566bbe3a2090 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:53:22 ===================================================== [Pipeline] echo 02:53:22 taggedImages: 02:53:22 - nexus3.edgexfoundry.org:10004/device-rest:c2b56409ff7876491f1b0abf22052cd5d8a556b9 02:53:22 - nexus3.edgexfoundry.org:10004/device-rest:latest 02:53:22 - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.9 02:53:22 - nexus3.edgexfoundry.org:10004/device-rest:c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9 02:53:22 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:53:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:53:22 02:53:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:53:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:53:28 latest: Pulling from edgex-lftools-log-publisher 02:53:28 b4d181a07f80: Pulling fs layer 02:53:28 a1111a8f2ec3: Pulling fs layer 02:53:28 ed53099fbce6: Pulling fs layer 02:53:28 dc539afda2c1: Pulling fs layer 02:53:28 77bc0d833cb6: Pulling fs layer 02:53:28 9065ff56babe: Pulling fs layer 02:53:28 d287ab97295c: Pulling fs layer 02:53:28 dc539afda2c1: Waiting 02:53:28 77bc0d833cb6: Waiting 02:53:28 9065ff56babe: Waiting 02:53:28 d287ab97295c: Waiting 02:53:28 a1111a8f2ec3: Verifying Checksum 02:53:28 a1111a8f2ec3: Download complete 02:53:28 dc539afda2c1: Verifying Checksum 02:53:28 dc539afda2c1: Download complete 02:53:28 ed53099fbce6: Verifying Checksum 02:53:28 ed53099fbce6: Download complete 02:53:28 9065ff56babe: Verifying Checksum 02:53:28 9065ff56babe: Download complete 02:53:28 b4d181a07f80: Download complete 02:53:28 77bc0d833cb6: Verifying Checksum 02:53:28 77bc0d833cb6: Download complete 02:53:29 d287ab97295c: Verifying Checksum 02:53:29 d287ab97295c: Download complete 02:53:30 b4d181a07f80: Pull complete 02:53:30 a1111a8f2ec3: Pull complete 02:53:30 ed53099fbce6: Pull complete 02:53:30 dc539afda2c1: Pull complete 02:53:30 77bc0d833cb6: Pull complete 02:53:30 9065ff56babe: Pull complete 02:53:36 d287ab97295c: Pull complete 02:53:36 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 02:53:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:53:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:53:36 prd-centos7-docker-4c-2g-2273 does not seem to be running inside a container 02:53:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:53:38 $ docker top 95c43d1e7894f405dd6ca9130cde27a5664ec9ed6794d31cde03db55da1d638b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:53:39 ---> job-cost.sh 02:53:39 lf-activate-venv: SKIPPING 02:53:39 INFO: No Stack... 02:54:01 INFO: Retrieving Pricing Info for: v3-standard-2 02:54:01 INFO: Archiving Costs [Pipeline] sh 02:54:01 + cat /w/workspace/device-rest-go/10/archives/cost.csv 02:54:01 + cut -d, -f6 [Pipeline] lock 02:54:01 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-10-stack-cost] 02:54:01 Resource [jenkins-edgexfoundry-device-rest-go-main-10-stack-cost] did not exist. Created. 02:54:01 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:54:01 /w/workspace/device-rest-go/10@tmp/durable-8c324976/script.sh: 1: /w/workspace/device-rest-go/10@tmp/durable-8c324976/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 02:54:02 + echo total: 0.05999999865889549 [Pipeline] stash 02:54:02 Warning: overwriting stash ‘stack-cost’ 02:54:02 Stashed 1 file(s) [Pipeline] } 02:54:02 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-10-stack-cost] [Pipeline] // lock [Pipeline] } 02:54:02 $ docker stop --time=1 95c43d1e7894f405dd6ca9130cde27a5664ec9ed6794d31cde03db55da1d638b 02:54:03 $ docker rm -f 95c43d1e7894f405dd6ca9130cde27a5664ec9ed6794d31cde03db55da1d638b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] configFileProvider 02:54:04 provisioning config files... 02:54:04 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config875100389032884505tmp [Pipeline] { [Pipeline] sh 02:54:04 + set +x 02:54:04 + curl -s https://codecov.io/bash 02:54:04 + bash -s -- 02:54:04 02:54:04 _____ _ 02:54:04 / ____| | | 02:54:04 | | ___ __| | ___ ___ _____ __ 02:54:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:54:04 | |___| (_) | (_| | __/ (_| (_) \ V / 02:54:04 \_____\___/ \__,_|\___|\___\___/ \_/ 02:54:04 Bash-1.0.6 02:54:04 02:54:04 02:54:04 ==> git version 2.24.4 found 02:54:04 ==> 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 02:54:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:54:04 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:54:04 ==> Jenkins CI detected. 02:54:04 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 02:54:04 project root: . 02:54:04 --> token set from env 02:54:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:54:04 ==> Running gcov in . (disable via -X gcov) 02:54:04 ==> Python coveragepy not found 02:54:04 ==> Searching for coverage reports in: 02:54:04 + . 02:54:04 -> Found 1 reports 02:54:04 ==> Detecting git/mercurial file structure 02:54:04 ==> Reading reports 02:54:04 + ./coverage.out bytes=8435 02:54:04 ==> Appending adjustments 02:54:04 https://docs.codecov.io/docs/fixing-reports 02:54:04 + Found adjustments 02:54:04 ==> Gzipping contents 02:54:04 4.0K /tmp/codecov.chgNvo.gz 02:54:04 ==> Uploading reports 02:54:04 url: https://codecov.io 02:54:04 query: branch=main&commit=c2b56409ff7876491f1b0abf22052cd5d8a556b9&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:54:04 -> Pinging Codecov 02:54:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=c2b56409ff7876491f1b0abf22052cd5d8a556b9&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:54:05 -> Uploading to 02:54:05 https://storage.googleapis.com/codecov/v4/raw/2021-10-07/4E5D53B4F1F92C436F7061BF334D961C/c2b56409ff7876491f1b0abf22052cd5d8a556b9/8b0cc3b0-47fe-491b-b430-369151a23aa6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211007T025405Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cdfba9eb4f28e8c8575d43cfc0edb8b76d0aa47b233e4ebce0368222076531f6 02:54:05 % Total % Received % Xferd Average Speed Time Time Time Current 02:54:05 Dload Upload Total Spent Left Speed 02:54:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1741 0 0 100 1741 0 5182 --:--:-- --:--:-- --:--:-- 5181 100 1741 0 0 100 1741 0 5180 --:--:-- --:--:-- --:--:-- 5166 02:54:05 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/c2b56409ff7876491f1b0abf22052cd5d8a556b9 [Pipeline] } 02:54:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:54:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:54:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:54:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:54:06 02:54:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 02:54:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:54:06 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:54:06 188c0c94c7c5: Pulling fs layer 02:54:06 0ef7d3d256c8: Pulling fs layer 02:54:06 de9db76c5a1d: Pulling fs layer 02:54:06 0eba1c9be4d2: Pulling fs layer 02:54:06 0d57e429df01: Pulling fs layer 02:54:06 4e4be7b47b0d: Pulling fs layer 02:54:06 e1f770b5df2f: Pulling fs layer 02:54:06 85a0685a4137: Pulling fs layer 02:54:06 0d57e429df01: Waiting 02:54:06 0eba1c9be4d2: Waiting 02:54:06 4e4be7b47b0d: Waiting 02:54:06 e1f770b5df2f: Waiting 02:54:06 85a0685a4137: Waiting 02:54:06 de9db76c5a1d: Download complete 02:54:06 0ef7d3d256c8: Verifying Checksum 02:54:06 0ef7d3d256c8: Download complete 02:54:06 0d57e429df01: Verifying Checksum 02:54:06 0d57e429df01: Download complete 02:54:06 4e4be7b47b0d: Verifying Checksum 02:54:06 4e4be7b47b0d: Download complete 02:54:06 188c0c94c7c5: Verifying Checksum 02:54:06 188c0c94c7c5: Download complete 02:54:07 188c0c94c7c5: Pull complete 02:54:07 0ef7d3d256c8: Pull complete 02:54:07 de9db76c5a1d: Pull complete 02:54:07 0eba1c9be4d2: Verifying Checksum 02:54:07 0eba1c9be4d2: Download complete 02:54:08 e1f770b5df2f: Verifying Checksum 02:54:08 e1f770b5df2f: Download complete 02:54:09 85a0685a4137: Verifying Checksum 02:54:09 85a0685a4137: Download complete 02:54:12 0eba1c9be4d2: Pull complete 02:54:12 0d57e429df01: Pull complete 02:54:12 4e4be7b47b0d: Pull complete 02:54:13 e1f770b5df2f: Pull complete 02:54:17 85a0685a4137: Pull complete 02:54:17 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 02:54:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:54:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 02:54:17 prd-centos7-docker-4c-2g-2260 does not seem to be running inside a container 02:54:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:54:20 $ docker top 43aa9c54170bcf3c77e5e667916eb32c30887c9a3508845909e7018b451dc3d1 -eo pid,comm [Pipeline] { [Pipeline] echo 02:54:20 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 02:54:21 + set -o pipefail 02:54:21 + snyk monitor '--org=edgex-jenkins' 02:54:33 02:54:33 Monitoring /w/workspace/edgexfoundry_device-rest-go_main... 02:54:33 02:54:33 'go list -json -deps ./...' command failed with error: go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0: Get "https://proxy.golang.org/github.com/edgexfoundry/device-sdk-go/v2/@v/v2.0.0.mod": dial tcp [2607:f8b0:4020:805::2011]:443: connect: network is unreachable 02:54:33 02:54:33 [Pipeline] } 02:54:33 $ docker stop --time=1 43aa9c54170bcf3c77e5e667916eb32c30887c9a3508845909e7018b451dc3d1 02:54:34 $ docker rm -f 43aa9c54170bcf3c77e5e667916eb32c30887c9a3508845909e7018b451dc3d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:54:34 [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:54:36 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 02:54:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:54:37 ---> package-listing.sh 02:54:37 ++ facter osfamily 02:54:37 ++ tr '[:upper:]' '[:lower:]' 02:54:37 + OS_FAMILY=redhat 02:54:37 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 02:54:37 + START_PACKAGES=/tmp/packages_start.txt 02:54:37 + END_PACKAGES=/tmp/packages_end.txt 02:54:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:54:37 + PACKAGES=/tmp/packages_start.txt 02:54:37 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:54:37 + PACKAGES=/tmp/packages_end.txt 02:54:37 + case "${OS_FAMILY}" in 02:54:37 + rpm -qa 02:54:37 + sort 02:54:38 + '[' -f /tmp/packages_start.txt ']' 02:54:38 + '[' -f /tmp/packages_end.txt ']' 02:54:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:54:38 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:54:38 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 02:54:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 02:54:38 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:54:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:54:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:38 02:54:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:54:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:39 latest: Pulling from edgex-lftools-log-publisher 02:54:39 b4d181a07f80: Pulling fs layer 02:54:39 a1111a8f2ec3: Pulling fs layer 02:54:39 ed53099fbce6: Pulling fs layer 02:54:39 dc539afda2c1: Pulling fs layer 02:54:39 77bc0d833cb6: Pulling fs layer 02:54:39 9065ff56babe: Pulling fs layer 02:54:39 d287ab97295c: Pulling fs layer 02:54:39 dc539afda2c1: Waiting 02:54:39 77bc0d833cb6: Waiting 02:54:39 9065ff56babe: Waiting 02:54:39 d287ab97295c: Waiting 02:54:39 a1111a8f2ec3: Verifying Checksum 02:54:39 a1111a8f2ec3: Download complete 02:54:39 dc539afda2c1: Verifying Checksum 02:54:39 dc539afda2c1: Download complete 02:54:39 ed53099fbce6: Verifying Checksum 02:54:39 ed53099fbce6: Download complete 02:54:39 9065ff56babe: Verifying Checksum 02:54:39 9065ff56babe: Download complete 02:54:39 77bc0d833cb6: Verifying Checksum 02:54:39 77bc0d833cb6: Download complete 02:54:39 b4d181a07f80: Verifying Checksum 02:54:39 b4d181a07f80: Download complete 02:54:40 d287ab97295c: Verifying Checksum 02:54:40 d287ab97295c: Download complete 02:54:41 b4d181a07f80: Pull complete 02:54:41 a1111a8f2ec3: Pull complete 02:54:41 ed53099fbce6: Pull complete 02:54:41 dc539afda2c1: Pull complete 02:54:42 77bc0d833cb6: Pull complete 02:54:42 9065ff56babe: Pull complete 02:54:47 d287ab97295c: Pull complete 02:54:47 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 02:54:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:54:47 prd-centos7-docker-4c-2g-2260 does not seem to be running inside a container 02:54:47 $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:54:50 $ docker top fee7dc7a44920b57f7a1fcee1852579f6704d0e4957040e5e2b6fc1d34869366 -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:50 + touch /tmp/pre-build-complete [Pipeline] sh 02:54:50 + mkdir -p /var/log/sysstat [Pipeline] sh 02:54:51 + ls /var/log/sa-host 02:54:51 + sadf -c /var/log/sa-host/sa07 02:54:51 file_magic: OK 02:54:51 HZ: Using current value: 100 02:54:51 file_header: OK 02:54:51 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 02:54:51 Statistics: 02:54:51 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:54:51 File successfully converted to sysstat format version 12.0.3 02:54:51 + sadf -c /var/log/sa-host/sa30 02:54:51 file_magic: OK 02:54:51 HZ: Using current value: 100 02:54:51 file_header: OK 02:54:51 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 02:54:51 Statistics: 02:54:51 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:54:51 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:51 provisioning config files... 02:54:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7624624963241324742tmp [Pipeline] { [Pipeline] echo 02:54:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:54:51 ---> create-netrc.sh [Pipeline] } 02:54:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:54:51 ---> python-tools-install.sh [Pipeline] echo 02:54:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:54:52 ---> sudo-logs.sh 02:54:52 Archiving 'sudo' log.. 02:54:52 sudo: unable to resolve host prd-centos7-docker-4c-2g-2260.novalocal: Name or service not known 02:54:52 sudo: unable to resolve host prd-centos7-docker-4c-2g-2260.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 02:54:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:54:52 ---> job-cost.sh 02:54:52 lf-activate-venv: SKIPPING 02:54:52 DEBUG: total: 0.05999999865889549 02:54:52 INFO: Retrieving Stack Cost... 02:54:56 INFO: Retrieving Pricing Info for: v3-standard-2 02:54:57 INFO: Archiving Costs [Pipeline] echo 02:54:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:54:57 ---> logs-deploy.sh 02:54:57 lf-activate-venv: SKIPPING 02:54:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/10 02:54:57 INFO: archiving workspace using pattern(s): 02:54:58 Archives upload complete. 02:54:58 INFO: archiving logs to Nexus 02:54:58 ---> uname -a: 02:54:58 Linux prd-centos7-docker-4c-2g-2260.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 02:54:58 02:54:58 02:54:58 ---> lscpu: 02:54:58 Architecture: x86_64 02:54:58 CPU op-mode(s): 32-bit, 64-bit 02:54:58 Byte Order: Little Endian 02:54:58 Address sizes: 40 bits physical, 48 bits virtual 02:54:58 CPU(s): 2 02:54:58 On-line CPU(s) list: 0,1 02:54:58 Thread(s) per core: 1 02:54:58 Core(s) per socket: 1 02:54:58 Socket(s): 2 02:54:58 NUMA node(s): 1 02:54:58 Vendor ID: AuthenticAMD 02:54:58 CPU family: 23 02:54:58 Model: 49 02:54:58 Model name: AMD EPYC-Rome Processor 02:54:58 Stepping: 0 02:54:58 CPU MHz: 2799.998 02:54:58 BogoMIPS: 5599.99 02:54:58 Virtualization: AMD-V 02:54:58 Hypervisor vendor: KVM 02:54:58 Virtualization type: full 02:54:58 L1d cache: 32K 02:54:58 L1i cache: 32K 02:54:58 L2 cache: 512K 02:54:58 L3 cache: 16384K 02:54:58 NUMA node0 CPU(s): 0,1 02:54:58 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 02:54:58 02:54:58 02:54:58 ---> nproc: 02:54:58 2 02:54:58 02:54:58 02:54:58 ---> df -h: 02:54:58 Filesystem Size Used Avail Use% Mounted on 02:54:58 overlay 40G 8.4G 32G 21% / 02:54:58 tmpfs 64M 0 64M 0% /dev 02:54:58 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 02:54:58 shm 64M 0 64M 0% /dev/shm 02:54:58 /dev/vda1 40G 8.4G 32G 21% /facter-os 02:54:58 02:54:58 02:54:58 ---> sar -b -r -n DEV: 02:54:58 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/07/21 _x86_64_ (2 CPU) 02:54:58 02:54:58 02:40:01 LINUX RESTART (2 CPU) 02:54:58 02:54:58 02:41:01 tps rtps wtps bread/s bwrtn/s 02:54:58 02:42:01 2.02 0.00 2.02 0.00 40.97 02:54:58 02:43:01 0.42 0.00 0.42 0.00 6.10 02:54:58 02:44:01 0.33 0.00 0.33 0.00 5.16 02:54:58 02:45:01 0.15 0.00 0.15 0.00 2.18 02:54:58 02:46:02 0.43 0.00 0.43 0.00 6.46 02:54:58 02:47:01 0.17 0.00 0.17 0.00 1.73 02:54:58 02:48:01 0.13 0.00 0.13 0.00 2.02 02:54:58 02:49:01 0.32 0.00 0.32 0.00 3.70 02:54:58 02:50:01 0.27 0.00 0.27 0.00 3.61 02:54:58 02:51:01 0.27 0.00 0.27 0.00 2.98 02:54:58 02:52:01 0.25 0.00 0.25 0.00 2.57 02:54:58 02:53:01 0.15 0.00 0.15 0.00 1.88 02:54:58 02:54:01 0.27 0.00 0.27 0.00 3.63 02:54:58 Average: 0.40 0.00 0.40 0.00 6.39 02:54:58 02:54:58 02:41:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:54:58 02:42:01 5667856 0 620052 7.74 2620 1718404 1195856 13.20 563580 1538780 20 02:54:58 02:43:01 5667808 0 620092 7.74 2620 1718412 1164216 12.85 564820 1538848 20 02:54:58 02:44:01 5665628 0 622272 7.77 2620 1718412 1163988 12.85 566320 1538848 16 02:54:58 02:45:01 5664020 0 623872 7.79 2620 1718420 1164276 12.85 567108 1539672 8 02:54:58 02:46:02 5668608 0 619276 7.73 2620 1718428 1164096 12.85 562680 1539672 16 02:54:58 02:47:01 5668896 0 618984 7.73 2620 1718432 1164120 12.85 562916 1539692 20 02:54:58 02:48:01 5657588 0 630288 7.87 2620 1718436 1164204 12.85 573276 1539688 8 02:54:58 02:49:01 5658396 0 629476 7.86 2620 1718440 1163988 12.85 572576 1539696 8 02:54:58 02:50:01 5658756 0 629056 7.85 2620 1718500 1163988 12.85 574464 1537688 16 02:54:58 02:51:01 5658240 0 629624 7.86 2620 1718448 1164084 12.85 574944 1537728 8 02:54:58 02:52:01 5650492 0 637368 7.96 2620 1718452 1164180 12.85 582764 1537728 16 02:54:58 02:53:01 5651308 0 636548 7.95 2620 1718456 1163988 12.85 581648 1537728 12 02:54:58 02:54:01 5651664 0 636184 7.94 2620 1718464 1163988 12.85 581512 1537728 16 02:54:58 Average: 5660712 0 627161 7.83 2620 1718439 1166536 12.88 571431 1538730 14 02:54:58 02:54:58 02:41:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:54:58 02:42:01 eth0 1.48 0.60 0.95 0.27 0.00 0.00 0.00 0.00 02:54:58 02:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:43:01 eth0 1.72 0.32 0.38 0.22 0.00 0.00 0.00 0.00 02:54:58 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:44:01 eth0 0.27 0.10 0.02 0.01 0.00 0.00 0.00 0.00 02:54:58 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:45:01 eth0 1.43 0.77 0.67 0.45 0.00 0.00 0.00 0.00 02:54:58 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:46:02 eth0 0.60 0.28 0.17 0.08 0.00 0.00 0.00 0.00 02:54:58 02:46:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:46:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:47:01 eth0 1.00 0.39 0.32 0.21 0.00 0.00 0.00 0.00 02:54:58 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:48:01 eth0 1.03 0.38 0.32 0.20 0.00 0.00 0.00 0.00 02:54:58 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:49:01 eth0 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:54:58 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:50:01 eth0 0.58 0.08 0.06 0.01 0.00 0.00 0.00 0.00 02:54:58 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:51:01 eth0 0.85 0.30 0.20 0.08 0.00 0.00 0.00 0.00 02:54:58 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:52:01 eth0 1.85 0.47 0.41 0.18 0.00 0.00 0.00 0.00 02:54:58 02:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:53:01 eth0 0.17 0.12 0.01 0.04 0.00 0.00 0.00 0.00 02:54:58 02:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:54:01 eth0 0.18 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:54:58 02:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 Average: eth0 0.87 0.31 0.27 0.14 0.00 0.00 0.00 0.00 02:54:58 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:58 02:54:58 02:54:58 ---> sar -P ALL: 02:54:58 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/07/21 _x86_64_ (2 CPU) 02:54:58 02:54:58 02:40:01 LINUX RESTART (2 CPU) 02:54:58 02:54:58 02:41:01 CPU %user %nice %system %iowait %steal %idle 02:54:58 02:42:01 all 0.36 0.00 0.09 0.00 0.02 99.53 02:54:58 02:42:01 0 0.10 0.00 0.10 0.00 0.02 99.78 02:54:58 02:42:01 1 0.62 0.00 0.08 0.00 0.02 99.28 02:54:58 02:43:01 all 0.22 0.00 0.06 0.00 0.01 99.72 02:54:58 02:43:01 0 0.10 0.00 0.08 0.00 0.02 99.80 02:54:58 02:43:01 1 0.33 0.00 0.03 0.00 0.00 99.63 02:54:58 02:44:01 all 0.21 0.00 0.05 0.00 0.02 99.72 02:54:58 02:44:01 0 0.07 0.00 0.07 0.00 0.02 99.85 02:54:58 02:44:01 1 0.35 0.00 0.03 0.00 0.02 99.60 02:54:58 02:45:01 all 0.21 0.00 0.03 0.00 0.01 99.75 02:54:58 02:45:01 0 0.20 0.00 0.05 0.00 0.02 99.73 02:54:58 02:45:01 1 0.22 0.00 0.02 0.00 0.00 99.77 02:54:58 02:46:02 all 0.20 0.00 0.04 0.00 0.02 99.74 02:54:58 02:46:02 0 0.35 0.00 0.05 0.00 0.02 99.58 02:54:58 02:46:02 1 0.05 0.00 0.03 0.00 0.02 99.90 02:54:58 02:47:01 all 0.20 0.00 0.03 0.00 0.02 99.75 02:54:58 02:47:01 0 0.34 0.00 0.03 0.00 0.02 99.61 02:54:58 02:47:01 1 0.05 0.00 0.03 0.00 0.02 99.90 02:54:58 02:48:01 all 0.18 0.00 0.05 0.00 0.02 99.75 02:54:58 02:48:01 0 0.28 0.00 0.03 0.00 0.02 99.67 02:54:58 02:48:01 1 0.08 0.00 0.07 0.00 0.02 99.83 02:54:58 02:49:01 all 0.24 0.00 0.03 0.00 0.01 99.72 02:54:58 02:49:01 0 0.45 0.00 0.05 0.00 0.02 99.48 02:54:58 02:49:01 1 0.03 0.00 0.02 0.00 0.00 99.95 02:54:58 02:50:01 all 0.21 0.00 0.03 0.00 0.01 99.76 02:54:58 02:50:01 0 0.37 0.00 0.03 0.00 0.00 99.60 02:54:58 02:50:01 1 0.05 0.00 0.02 0.00 0.02 99.92 02:54:58 02:51:01 all 0.24 0.00 0.03 0.00 0.02 99.71 02:54:58 02:51:01 0 0.45 0.00 0.03 0.00 0.02 99.50 02:54:58 02:51:01 1 0.03 0.00 0.03 0.00 0.02 99.92 02:54:58 02:52:01 all 0.20 0.00 0.05 0.00 0.02 99.73 02:54:58 02:52:01 0 0.32 0.00 0.02 0.00 0.02 99.65 02:54:58 02:52:01 1 0.08 0.00 0.08 0.00 0.02 99.82 02:54:58 02:54:58 02:52:01 CPU %user %nice %system %iowait %steal %idle 02:54:58 02:53:01 all 0.17 0.00 0.03 0.00 0.01 99.79 02:54:58 02:53:01 0 0.27 0.00 0.03 0.00 0.00 99.70 02:54:58 02:53:01 1 0.07 0.00 0.03 0.00 0.02 99.88 02:54:58 02:54:01 all 0.24 0.00 0.03 0.00 0.02 99.71 02:54:58 02:54:01 0 0.37 0.00 0.02 0.00 0.00 99.62 02:54:58 02:54:01 1 0.12 0.00 0.05 0.00 0.03 99.80 02:54:58 Average: all 0.22 0.00 0.04 0.00 0.01 99.72 02:54:58 Average: 0 0.28 0.00 0.05 0.00 0.01 99.66 02:54:58 Average: 1 0.16 0.00 0.04 0.00 0.01 99.78 02:54:58 02:54:58 02:54:58