Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ab80832e8fa331645ec332aa024eb9f07585cb40 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-ssh6443603119679212056.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh6930357692269005480.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh6245438591453416156.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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-ssh800467692193549868.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-ssh4762774656645851531.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1375 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-ssh8949519741131502696.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 ab80832e8fa331645ec332aa024eb9f07585cb40 (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 ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 Commit message: "Merge pull request #139 from siggiskulason/snap-fix-version" > git rev-list --no-walk dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:34:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:34:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:34:04 ========================================================= 08:34:04 EdgeX Global Pipelines Version Info 08:34:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:34:06 ------------------- 08:34:06 stable info: 08:34:06 ------------------- 08:34:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:34:06 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 08:34:06 Message: update stable to v1.0.210 08:34:06 ------------------- 08:34:06 experimental info: 08:34:06 ------------------- 08:34:06 Commited By: **** collab-it+edgex@linuxfoundation.org 08:34:06 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 08:34:06 Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:34:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:34:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:34:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:34:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab80832e8fa331645ec332aa024eb9f07585cb40 [Pipeline] echo 08:34:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab80832 [Pipeline] echo 08:34:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:34:07 provisioning config files... 08:34:07 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4137336258580270258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:34:07 ---> docker-login.sh 08:34:07 nexus3.edgexfoundry.org:10001 08:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:07 Configure a credential helper to remove this warning. See 08:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:07 08:34:07 Login Succeeded 08:34:07 nexus3.edgexfoundry.org:10002 08:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:07 Configure a credential helper to remove this warning. See 08:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:07 08:34:07 Login Succeeded 08:34:07 nexus3.edgexfoundry.org:10003 08:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:07 Configure a credential helper to remove this warning. See 08:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:07 08:34:07 Login Succeeded 08:34:07 nexus3.edgexfoundry.org:10004 08:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:07 Configure a credential helper to remove this warning. See 08:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:07 08:34:07 Login Succeeded 08:34:07 docker.io 08:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:08 Configure a credential helper to remove this warning. See 08:34:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:08 08:34:08 Login Succeeded 08:34:08 ---> docker-login.sh ends [Pipeline] } 08:34:08 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 08:34:08 + git log --format=format:%s -1 ab80832e8fa331645ec332aa024eb9f07585cb40 [Pipeline] echo 08:34:08 GIT_COMMIT: ab80832e8fa331645ec332aa024eb9f07585cb40, Commit Message: Merge pull request #139 from siggiskulason/snap-fix-version [Pipeline] echo 08:34:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:34:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:34:09 08:34:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:34:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:34:09 latest: Pulling from edgex-devops/git-semver 08:34:09 a0d0a0d46f8b: Pulling fs layer 08:34:09 3e5f54012d9b: Pulling fs layer 08:34:09 4c7163046ea9: Pulling fs layer 08:34:09 0c2d73faf560: Pulling fs layer 08:34:09 0c2d73faf560: Waiting 08:34:09 3e5f54012d9b: Verifying Checksum 08:34:09 3e5f54012d9b: Download complete 08:34:09 a0d0a0d46f8b: Download complete 08:34:09 4c7163046ea9: Verifying Checksum 08:34:09 4c7163046ea9: Download complete 08:34:09 0c2d73faf560: Verifying Checksum 08:34:09 0c2d73faf560: Download complete 08:34:09 a0d0a0d46f8b: Pull complete 08:34:09 3e5f54012d9b: Pull complete 08:34:09 4c7163046ea9: Pull complete 08:34:10 0c2d73faf560: Pull complete 08:34:10 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 08:34:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:34:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:34:10 prd-centos7-docker-4c-2g-1375 does not seem to be running inside a container 08:34:10 $ 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 08:34:10 $ docker top ececc561419d6b2c1317d8397ee786bf959e046ff2ab2ae7aa638864fe1428fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:34:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:34:11 [ssh-agent] Looking for ssh-agent implementation... 08:34:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:34:11 $ docker exec ececc561419d6b2c1317d8397ee786bf959e046ff2ab2ae7aa638864fe1428fa ssh-agent 08:34:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjnaDfN/agent.14 08:34:11 SSH_AGENT_PID=22 08:34:11 Running ssh-add (command line suppressed) 08:34:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4158961939727186513.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4158961939727186513.key) 08:34:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:34:11 + git tag --points-at HEAD [Pipeline] } 08:34:11 $ docker exec --env ******** --env ******** ececc561419d6b2c1317d8397ee786bf959e046ff2ab2ae7aa638864fe1428fa ssh-agent -k 08:34:11 unset SSH_AUTH_SOCK; 08:34:11 unset SSH_AGENT_PID; 08:34:11 echo Agent pid 22 killed; 08:34:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:34:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:34:11 [ssh-agent] Looking for ssh-agent implementation... 08:34:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:34:11 $ docker exec ececc561419d6b2c1317d8397ee786bf959e046ff2ab2ae7aa638864fe1428fa ssh-agent 08:34:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKiLMJp/agent.55 08:34:11 SSH_AGENT_PID=61 08:34:11 Running ssh-add (command line suppressed) 08:34:12 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7403638482347697327.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7403638482347697327.key) 08:34:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:34:12 + git semver init 08:34:12 # -> Open(): unable to determine branch for HEAD 08:34:12 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 08:34:12 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 08:34:12 # $SEMVER_REMOTE_NAME = origin 08:34:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:34:12 # $SEMVER_USER_NAME = edgex-jenkins 08:34:12 # $SEMVER_BRANCH = main 08:34:12 # $SEMVER_TEMP = /tmp/semver-491879856 08:34:12 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 08:34:13 # '/tmp/semver-491879856' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 08:34:13 # -> Force: false 08:34:13 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 08:34:13 $ docker exec --env ******** --env ******** ececc561419d6b2c1317d8397ee786bf959e046ff2ab2ae7aa638864fe1428fa ssh-agent -k 08:34:13 unset SSH_AUTH_SOCK; 08:34:13 unset SSH_AGENT_PID; 08:34:13 echo Agent pid 61 killed; 08:34:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:34:13 + git semver [Pipeline] } 08:34:13 $ docker stop --time=1 ececc561419d6b2c1317d8397ee786bf959e046ff2ab2ae7aa638864fe1428fa 08:34:15 $ docker rm -f ececc561419d6b2c1317d8397ee786bf959e046ff2ab2ae7aa638864fe1428fa [Pipeline] // withDockerContainer [Pipeline] sh 08:34:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:34:15 Stashed 1 file(s) [Pipeline] echo 08:34:15 [edgeXSemver]: initialized semver on version 2.0.1-dev.10 [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 08:34:30 Still waiting to schedule task 08:34:30 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:34:30 Still waiting to schedule task 08:34:30 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:37:17 Running on prd-centos7-docker-4c-2g-1390 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 08:37:17 Running in /w/workspace/device-rest-go/15 [Pipeline] { [Pipeline] checkout 08:37:17 The recommended git tool is: git 08:37:19 using credential edgex-jenkins-ssh 08:37:19 Cloning the remote Git repository 08:37:18 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 08:37:18 > git init /w/workspace/device-rest-go/15 # timeout=10 08:37:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:37:18 > git --version # timeout=10 08:37:18 > git --version # 'git version 2.24.4' 08:37:18 using GIT_SSH to set credentials SSH Credentials for GitHub 08:37:18 [INFO] Currently running in a labeled security context 08:37:18 [INFO] Currently SELinux is 'enforcing' on the host 08:37:18 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/15@tmp/jenkins-gitclient-ssh9049372023439693191.key 08:37:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:37:20 Avoid second fetch 08:37:20 Checking out Revision ab80832e8fa331645ec332aa024eb9f07585cb40 (main) 08:37:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:37:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:37:19 > git config core.sparsecheckout # timeout=10 08:37:19 > git checkout -f ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 08:37:24 Commit message: "Merge pull request #139 from siggiskulason/snap-fix-version" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:37:25 provisioning config files... 08:37:25 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/15@tmp/config1378067037691716372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:37:25 ---> docker-login.sh 08:37:25 nexus3.edgexfoundry.org:10001 08:37:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:37:25 Configure a credential helper to remove this warning. See 08:37:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:37:25 08:37:25 Login Succeeded 08:37:25 nexus3.edgexfoundry.org:10002 08:37:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:37:25 Configure a credential helper to remove this warning. See 08:37:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:37:25 08:37:25 Login Succeeded 08:37:25 nexus3.edgexfoundry.org:10003 08:37:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:37:25 Configure a credential helper to remove this warning. See 08:37:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:37:25 08:37:25 Login Succeeded 08:37:25 nexus3.edgexfoundry.org:10004 08:37:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:37:25 Configure a credential helper to remove this warning. See 08:37:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:37:25 08:37:25 Login Succeeded 08:37:25 docker.io 08:37:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:37:26 Configure a credential helper to remove this warning. See 08:37:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:37:26 08:37:26 Login Succeeded 08:37:26 ---> docker-login.sh ends [Pipeline] } 08:37:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:37:26 ========================================================= 08:37:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 08:37:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:37:26 + 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 . 08:37:26 Sending build context to Docker daemon 118.8kB 08:37:26 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 08:37:26 Step 2/11 : FROM ${BASE} AS builder 08:37:26 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 08:37:26 a0d0a0d46f8b: Pulling fs layer 08:37:26 31adcdaf11c8: Pulling fs layer 08:37:26 b8b176561691: Pulling fs layer 08:37:26 4527c011a84f: Pulling fs layer 08:37:26 5d74067f8e1e: Pulling fs layer 08:37:26 e0aca202a116: Pulling fs layer 08:37:26 3a43be97a3b4: Pulling fs layer 08:37:26 34cad66bf833: Pulling fs layer 08:37:26 b4e3c513aaa6: Pulling fs layer 08:37:26 5d74067f8e1e: Waiting 08:37:26 e0aca202a116: Waiting 08:37:26 3a43be97a3b4: Waiting 08:37:26 34cad66bf833: Waiting 08:37:26 b4e3c513aaa6: Waiting 08:37:26 4527c011a84f: Waiting 08:37:26 b8b176561691: Verifying Checksum 08:37:26 b8b176561691: Download complete 08:37:26 31adcdaf11c8: Verifying Checksum 08:37:26 31adcdaf11c8: Download complete 08:37:26 5d74067f8e1e: Verifying Checksum 08:37:26 5d74067f8e1e: Download complete 08:37:26 e0aca202a116: Verifying Checksum 08:37:26 e0aca202a116: Download complete 08:37:26 a0d0a0d46f8b: Verifying Checksum 08:37:26 a0d0a0d46f8b: Download complete 08:37:26 3a43be97a3b4: Verifying Checksum 08:37:26 3a43be97a3b4: Download complete 08:37:27 34cad66bf833: Verifying Checksum 08:37:27 34cad66bf833: Download complete 08:37:27 a0d0a0d46f8b: Pull complete 08:37:27 4527c011a84f: Verifying Checksum 08:37:27 4527c011a84f: Download complete 08:37:27 b4e3c513aaa6: Verifying Checksum 08:37:27 b4e3c513aaa6: Download complete 08:37:27 31adcdaf11c8: Pull complete 08:37:27 b8b176561691: Pull complete 08:37:31 4527c011a84f: Pull complete 08:37:31 5d74067f8e1e: Pull complete 08:37:31 e0aca202a116: Pull complete 08:37:31 3a43be97a3b4: Pull complete 08:37:31 34cad66bf833: Pull complete 08:37:33 b4e3c513aaa6: Pull complete 08:37:33 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 08:37:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 08:37:33 ---> 9f6097aaca64 08:37:33 Step 3/11 : ARG MAKE='make build' 08:37:35 ---> Running in 76e20d918e3d 08:37:35 Removing intermediate container 76e20d918e3d 08:37:35 ---> 55a6f75ef73c 08:37:35 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:37:35 ---> Running in 1d6c99184ac8 08:37:35 Removing intermediate container 1d6c99184ac8 08:37:35 ---> 241a365c7b6c 08:37:35 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 08:37:35 ---> Running in dc16dea6e3a9 08:37:35 Removing intermediate container dc16dea6e3a9 08:37:35 ---> 3f0bd484c91f 08:37:35 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:37:35 ---> Running in 2531cdd5979c 08:37:36 Removing intermediate container 2531cdd5979c 08:37:36 ---> 37a0d92f5700 08:37:36 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:37:36 ---> Running in b324b7ee0579 08:37:36 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:37:37 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:37:37 (1/4) Installing openssh-keygen (8.6_p1-r3) 08:37:37 (2/4) Installing libedit (20210216.3.1-r0) 08:37:37 (3/4) Installing openssh-client-common (8.6_p1-r3) 08:37:37 (4/4) Installing openssh-client-default (8.6_p1-r3) 08:37:37 Executing busybox-1.33.1-r3.trigger 08:37:37 OK: 224 MiB in 56 packages 08:37:38 Removing intermediate container b324b7ee0579 08:37:38 ---> 1373e0200506 08:37:38 Step 8/11 : WORKDIR /device-rest-go 08:37:38 ---> Running in b53687c56898 08:37:38 Removing intermediate container b53687c56898 08:37:38 ---> 42bc31776b0e 08:37:38 Step 9/11 : COPY . . 08:37:38 ---> ead2e0120635 08:37:38 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:37:38 ---> Running in 99114f04d8a6 08:37:46 Removing intermediate container 99114f04d8a6 08:37:46 ---> a972afdb0c47 08:37:46 Step 11/11 : RUN $MAKE 08:37:46 ---> Running in 946c353e9539 08:37:46 noop 08:37:46 Removing intermediate container 946c353e9539 08:37:46 ---> 70485b463b6f 08:37:46 Successfully built 70485b463b6f 08:37:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:37:47 + docker inspect -f . ci-base-image-x86_64 08:37:47 . [Pipeline] withDockerContainer 08:37:47 prd-centos7-docker-4c-2g-1390 does not seem to be running inside a container 08:37:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/15 -v /w/workspace/device-rest-go/15:/w/workspace/device-rest-go/15:rw,z -v /w/workspace/device-rest-go/15@tmp:/w/workspace/device-rest-go/15@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-x86_64 cat 08:37:47 $ docker top e09e7aa073928ff4e95e5f7034bed151f26db0bf0a551d63e31970df2ce20fb8 -eo pid,comm [Pipeline] { [Pipeline] sh 08:37:48 + go version 08:37:48 go version go1.16.8 linux/amd64 [Pipeline] } 08:37:48 $ docker stop --time=1 e09e7aa073928ff4e95e5f7034bed151f26db0bf0a551d63e31970df2ce20fb8 08:37:49 $ docker rm -f e09e7aa073928ff4e95e5f7034bed151f26db0bf0a551d63e31970df2ce20fb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:37:49 + docker inspect -f . ci-base-image-x86_64 08:37:49 . [Pipeline] withDockerContainer 08:37:49 prd-centos7-docker-4c-2g-1390 does not seem to be running inside a container 08:37:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/15 -v /w/workspace/device-rest-go/15:/w/workspace/device-rest-go/15:rw,z -v /w/workspace/device-rest-go/15@tmp:/w/workspace/device-rest-go/15@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-x86_64 cat 08:37:50 $ docker top 39dff00b9247a44f88a66c19f9e8f9a86a3aa0256157df536be7ed57b5c18aec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:37:50 + make test 08:37:50 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:37:50 ? github.com/edgexfoundry/device-rest-go [no test files] 08:38:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:38:09 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 53.8% of statements 08:38:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:38:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:38:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:38:14 ./bin/test-attribution-txt.sh [Pipeline] } 08:38:14 $ docker stop --time=1 39dff00b9247a44f88a66c19f9e8f9a86a3aa0256157df536be7ed57b5c18aec 08:38:15 $ docker rm -f 39dff00b9247a44f88a66c19f9e8f9a86a3aa0256157df536be7ed57b5c18aec [Pipeline] // withDockerContainer [Pipeline] sh 08:38:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:38:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:38:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:38:17 + ls -al . 08:38:17 total 116 08:38:17 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 14 08:38 . 08:38:17 drwxrwxr-x. 4 jenkins jenkins 30 Oct 14 08:37 .. 08:38:17 -rw-rw-r--. 1 jenkins jenkins 6792 Oct 14 08:37 Attribution.txt 08:38:17 drwxrwxr-x. 2 jenkins jenkins 37 Oct 14 08:37 bin 08:38:17 -rw-rw-r--. 1 jenkins jenkins 7459 Oct 14 08:37 CHANGELOG.md 08:38:17 drwxrwxr-x. 3 jenkins jenkins 32 Oct 14 08:37 cmd 08:38:17 -rw-r--r--. 1 jenkins jenkins 8435 Oct 14 08:38 coverage.out 08:38:17 -rw-rw-r--. 1 jenkins jenkins 1649 Oct 14 08:37 Dockerfile 08:38:17 -rw-rw-r--. 1 jenkins jenkins 151 Oct 14 08:37 .dockerignore 08:38:17 drwxrwxr-x. 2 jenkins jenkins 76 Oct 14 08:37 driver 08:38:17 drwxrwxr-x. 8 jenkins jenkins 162 Oct 14 08:37 .git 08:38:17 drwxrwxr-x. 2 jenkins jenkins 103 Oct 14 08:37 .github 08:38:17 -rw-rw-r--. 1 jenkins jenkins 329 Oct 14 08:37 .gitignore 08:38:17 -rw-rw-r--. 1 jenkins jenkins 271 Oct 14 08:37 go.mod 08:38:17 -rw-rw-r--. 1 jenkins jenkins 20570 Oct 14 08:37 go.sum 08:38:17 -rw-rw-r--. 1 jenkins jenkins 677 Oct 14 08:37 GOVERNANCE.md 08:38:17 -rw-rw-r--. 1 jenkins jenkins 680 Oct 14 08:37 Jenkinsfile 08:38:17 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 14 08:37 LICENSE 08:38:17 -rw-rw-r--. 1 jenkins jenkins 1078 Oct 14 08:37 Makefile 08:38:17 -rw-rw-r--. 1 jenkins jenkins 620 Oct 14 08:37 OWNERS.md 08:38:17 -rw-rw-r--. 1 jenkins jenkins 7661 Oct 14 08:37 README.md 08:38:17 drwxrwxr-x. 4 jenkins jenkins 71 Oct 14 08:37 snap 08:38:17 -rw-rw-r--. 1 jenkins jenkins 12 Oct 14 08:34 VERSION 08:38:17 -rw-rw-r--. 1 jenkins jenkins 713 Oct 14 08:37 version.go [Pipeline] isUnix [Pipeline] sh 08:38:17 + 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=ab80832e8fa331645ec332aa024eb9f07585cb40 --label arch=amd64 --label version=2.0.1-dev.10 . 08:38:17 Sending build context to Docker daemon 128kB 08:38:17 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 08:38:17 Step 2/24 : FROM ${BASE} AS builder 08:38:17 ---> 70485b463b6f 08:38:17 Step 3/24 : ARG MAKE='make build' 08:38:17 ---> Running in 12d36064ce72 08:38:17 Removing intermediate container 12d36064ce72 08:38:17 ---> fcde0b35f122 08:38:17 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:38:17 ---> Running in 285c44851eef 08:38:18 Removing intermediate container 285c44851eef 08:38:18 ---> 6a083edc66ae 08:38:18 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 08:38:18 ---> Running in e5231723ecb5 08:38:18 Removing intermediate container e5231723ecb5 08:38:18 ---> 485668a9c6e0 08:38:18 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:38:18 ---> Running in 29d3dbd712d5 08:38:18 Removing intermediate container 29d3dbd712d5 08:38:18 ---> b61a77304d58 08:38:18 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:38:18 ---> Running in 4e6b415c91d7 08:38:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:38:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:38:19 OK: 224 MiB in 56 packages 08:38:20 Removing intermediate container 4e6b415c91d7 08:38:20 ---> f5915b5f6c5d 08:38:20 Step 8/24 : WORKDIR /device-rest-go 08:38:20 ---> Running in dd490a764bf5 08:38:20 Removing intermediate container dd490a764bf5 08:38:20 ---> 70d552c8d35d 08:38:20 Step 9/24 : COPY . . 08:38:20 ---> c63a23d17366 08:38:20 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:38:20 ---> Running in 2047d0f07d02 08:38:20 Removing intermediate container 2047d0f07d02 08:38:20 ---> b2b4662edb2d 08:38:20 Step 11/24 : RUN $MAKE 08:38:20 ---> Running in 58df610aaadb 08:38:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.10" -o cmd/device-rest ./cmd 08:38:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1386 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 08:38:32 Running in /w/workspace/device-rest-go/15 [Pipeline] { [Pipeline] checkout 08:38:33 The recommended git tool is: git 08:38:33 Removing intermediate container 58df610aaadb 08:38:33 ---> 203e4141999f 08:38:33 Step 12/24 : FROM alpine:3.14 08:38:33 3.14: Pulling from library/alpine 08:38:33 a0d0a0d46f8b: Already exists 08:38:33 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 08:38:33 Status: Downloaded newer image for alpine:3.14 08:38:33 ---> 14119a10abf4 08:38:33 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:38:33 ---> Running in 01014274388b 08:38:33 Removing intermediate container 01014274388b 08:38:33 ---> 5b6244b31021 08:38:33 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 08:38:33 ---> Running in b89fdb743ce9 08:38:33 Removing intermediate container b89fdb743ce9 08:38:33 ---> b2d8d1406e8f 08:38:33 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 08:38:33 ---> Running in 6a5859282bbf 08:38:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:38:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:38:34 (1/6) Installing dumb-init (1.2.5-r1) 08:38:34 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:38:34 (3/6) Installing libsodium (1.0.18-r0) 08:38:34 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:38:34 (5/6) Installing libzmq (4.3.4-r0) 08:38:34 (6/6) Installing zeromq (4.3.4-r0) 08:38:34 Executing busybox-1.33.1-r3.trigger 08:38:34 OK: 8 MiB in 20 packages 08:38:34 Removing intermediate container 6a5859282bbf 08:38:34 ---> a3c65d4568b1 08:38:34 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 08:38:35 ---> daa2a7814976 08:38:35 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 08:38:35 ---> 8db7e5874287 08:38:35 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 08:38:35 ---> 177d95623769 08:38:35 Step 19/24 : EXPOSE 59986 08:38:35 ---> Running in 741cbaae23f4 08:38:35 Removing intermediate container 741cbaae23f4 08:38:35 ---> 8ec4a1c4938c 08:38:35 Step 20/24 : ENTRYPOINT ["/device-rest"] 08:38:35 ---> Running in 1df497a6c378 08:38:35 Removing intermediate container 1df497a6c378 08:38:35 ---> ed1e2d503587 08:38:35 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:38:35 ---> Running in 3b23f49c77e4 08:38:35 Removing intermediate container 3b23f49c77e4 08:38:35 ---> 4e3baebed074 08:38:35 Step 22/24 : LABEL arch=amd64 08:38:35 ---> Running in a823e8e6d819 08:38:35 Removing intermediate container a823e8e6d819 08:38:35 ---> 97907e5b29ff 08:38:35 Step 23/24 : LABEL git_sha=ab80832e8fa331645ec332aa024eb9f07585cb40 08:38:35 ---> Running in a6e2c157a86e 08:38:35 Removing intermediate container a6e2c157a86e 08:38:35 ---> 789f7c182572 08:38:35 Step 24/24 : LABEL version=2.0.1-dev.10 08:38:35 ---> Running in 9af95c678e3e 08:38:35 Removing intermediate container 9af95c678e3e 08:38:35 ---> ed7144827db0 08:38:35 [Warning] One or more build-args [ARCH] were not consumed 08:38:35 Successfully built ed7144827db0 08:38:35 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:38:36 provisioning config files... 08:38:36 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/15@tmp/config4500516884940062914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:38:36 ---> docker-login.sh 08:38:36 nexus3.edgexfoundry.org:10001 08:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:38:36 Configure a credential helper to remove this warning. See 08:38:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:38:36 08:38:36 Login Succeeded 08:38:36 nexus3.edgexfoundry.org:10002 08:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:38:36 Configure a credential helper to remove this warning. See 08:38:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:38:36 08:38:36 Login Succeeded 08:38:36 nexus3.edgexfoundry.org:10003 08:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:38:36 Configure a credential helper to remove this warning. See 08:38:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:38:36 08:38:36 Login Succeeded 08:38:36 nexus3.edgexfoundry.org:10004 08:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:38:36 Configure a credential helper to remove this warning. See 08:38:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:38:36 08:38:36 Login Succeeded 08:38:36 docker.io 08:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:38:37 Configure a credential helper to remove this warning. See 08:38:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:38:37 08:38:37 Login Succeeded 08:38:37 ---> docker-login.sh ends [Pipeline] } 08:38:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:38:37 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 08:38:37 ab80832e8fa331645ec332aa024eb9f07585cb40 08:38:37 latest 08:38:37 2.0.1-dev.10 08:38:37 ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10 08:38:37 main 08:38:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:38:37 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ab80832e8fa331645ec332aa024eb9f07585cb40 [Pipeline] isUnix [Pipeline] sh 08:38:37 + docker push nexus3.edgexfoundry.org:10004/device-rest:ab80832e8fa331645ec332aa024eb9f07585cb40 08:38:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:38:37 9fe4351ff06d: Preparing 08:38:37 1e4046cb3732: Preparing 08:38:37 d9b420c6e578: Preparing 08:38:37 bf6fa0b6e437: Preparing 08:38:37 e2eb06d8af82: Preparing 08:38:37 e2eb06d8af82: Layer already exists 08:38:38 1e4046cb3732: Pushed 08:38:38 9fe4351ff06d: Pushed 08:38:38 bf6fa0b6e437: Pushed 08:38:39 d9b420c6e578: Pushed 08:38:39 ab80832e8fa331645ec332aa024eb9f07585cb40: digest: sha256:f7f3e1ab47de7fd2500b6253e573a70742a41f6248720e5bf0b18f850ce8c561 size: 1366 [Pipeline] isUnix [Pipeline] sh 08:38:39 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 08:38:39 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 08:38:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:38:39 9fe4351ff06d: Preparing 08:38:39 1e4046cb3732: Preparing 08:38:39 d9b420c6e578: Preparing 08:38:39 bf6fa0b6e437: Preparing 08:38:39 e2eb06d8af82: Preparing 08:38:39 d9b420c6e578: Layer already exists 08:38:39 e2eb06d8af82: Layer already exists 08:38:39 9fe4351ff06d: Layer already exists 08:38:39 bf6fa0b6e437: Layer already exists 08:38:39 1e4046cb3732: Layer already exists 08:38:39 latest: digest: sha256:f7f3e1ab47de7fd2500b6253e573a70742a41f6248720e5bf0b18f850ce8c561 size: 1366 [Pipeline] isUnix [Pipeline] sh 08:38:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.10 [Pipeline] isUnix [Pipeline] sh 08:38:40 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.10 08:38:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:38:40 9fe4351ff06d: Preparing 08:38:40 1e4046cb3732: Preparing 08:38:40 d9b420c6e578: Preparing 08:38:40 bf6fa0b6e437: Preparing 08:38:40 e2eb06d8af82: Preparing 08:38:40 1e4046cb3732: Layer already exists 08:38:40 d9b420c6e578: Layer already exists 08:38:40 e2eb06d8af82: Layer already exists 08:38:40 bf6fa0b6e437: Layer already exists 08:38:40 9fe4351ff06d: Layer already exists 08:38:40 2.0.1-dev.10: digest: sha256:f7f3e1ab47de7fd2500b6253e573a70742a41f6248720e5bf0b18f850ce8c561 size: 1366 [Pipeline] isUnix [Pipeline] sh 08:38:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10 [Pipeline] isUnix [Pipeline] sh 08:38:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10 08:38:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:38:41 9fe4351ff06d: Preparing 08:38:41 1e4046cb3732: Preparing 08:38:41 d9b420c6e578: Preparing 08:38:41 bf6fa0b6e437: Preparing 08:38:41 e2eb06d8af82: Preparing 08:38:41 9fe4351ff06d: Layer already exists 08:38:41 1e4046cb3732: Layer already exists 08:38:41 bf6fa0b6e437: Layer already exists 08:38:41 e2eb06d8af82: Layer already exists 08:38:41 d9b420c6e578: Layer already exists 08:38:41 ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10: digest: sha256:f7f3e1ab47de7fd2500b6253e573a70742a41f6248720e5bf0b18f850ce8c561 size: 1366 [Pipeline] isUnix [Pipeline] sh 08:38:41 using credential edgex-jenkins-ssh 08:38:41 Cloning the remote Git repository 08:38:41 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 08:38:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 08:38:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:38:41 9fe4351ff06d: Preparing 08:38:41 1e4046cb3732: Preparing 08:38:41 d9b420c6e578: Preparing 08:38:41 bf6fa0b6e437: Preparing 08:38:41 e2eb06d8af82: Preparing 08:38:41 9fe4351ff06d: Layer already exists 08:38:41 bf6fa0b6e437: Layer already exists 08:38:41 d9b420c6e578: Layer already exists 08:38:41 1e4046cb3732: Layer already exists 08:38:41 e2eb06d8af82: Layer already exists 08:38:41 main: digest: sha256:f7f3e1ab47de7fd2500b6253e573a70742a41f6248720e5bf0b18f850ce8c561 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:38:41 ===================================================== [Pipeline] echo 08:38:41 taggedImages: 08:38:41 - nexus3.edgexfoundry.org:10004/device-rest:ab80832e8fa331645ec332aa024eb9f07585cb40 08:38:41 - nexus3.edgexfoundry.org:10004/device-rest:latest 08:38:41 - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.10 08:38:41 - nexus3.edgexfoundry.org:10004/device-rest:ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10 08:38:41 - 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 08:38:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:42 08:38:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:38:41 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 08:38:41 > git init /w/workspace/device-rest-go/15 # timeout=10 08:38:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:38:41 > git --version # timeout=10 08:38:41 > git --version # 'git version 2.17.1' 08:38:41 using GIT_SSH to set credentials SSH Credentials for GitHub 08:38:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:38:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:42 latest: Pulling from edgex-lftools-log-publisher 08:38:42 b4d181a07f80: Pulling fs layer 08:38:42 a1111a8f2ec3: Pulling fs layer 08:38:42 ed53099fbce6: Pulling fs layer 08:38:42 dc539afda2c1: Pulling fs layer 08:38:42 77bc0d833cb6: Pulling fs layer 08:38:42 9065ff56babe: Pulling fs layer 08:38:42 d287ab97295c: Pulling fs layer 08:38:42 dc539afda2c1: Waiting 08:38:42 77bc0d833cb6: Waiting 08:38:42 9065ff56babe: Waiting 08:38:42 d287ab97295c: Waiting 08:38:42 a1111a8f2ec3: Verifying Checksum 08:38:42 a1111a8f2ec3: Download complete 08:38:42 dc539afda2c1: Verifying Checksum 08:38:42 dc539afda2c1: Download complete 08:38:42 ed53099fbce6: Verifying Checksum 08:38:42 ed53099fbce6: Download complete 08:38:42 9065ff56babe: Verifying Checksum 08:38:42 9065ff56babe: Download complete 08:38:42 77bc0d833cb6: Verifying Checksum 08:38:42 77bc0d833cb6: Download complete 08:38:42 b4d181a07f80: Verifying Checksum 08:38:42 b4d181a07f80: Download complete 08:38:43 d287ab97295c: Verifying Checksum 08:38:43 d287ab97295c: Download complete 08:38:43 Avoid second fetch 08:38:43 Checking out Revision ab80832e8fa331645ec332aa024eb9f07585cb40 (main) 08:38:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:38:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:38:43 > git config core.sparsecheckout # timeout=10 08:38:43 > git checkout -f ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 08:38:44 b4d181a07f80: Pull complete 08:38:44 a1111a8f2ec3: Pull complete 08:38:45 ed53099fbce6: Pull complete 08:38:45 dc539afda2c1: Pull complete 08:38:45 77bc0d833cb6: Pull complete 08:38:45 9065ff56babe: Pull complete 08:38:48 Commit message: "Merge pull request #139 from siggiskulason/snap-fix-version" 08:38:48 08:38:48 GitHub has been notified of this commit’s build result 08:38:48 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:38:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:38:49 % Total % Received % Xferd Average Speed Time Time Time Current 08:38:49 Dload Upload Total Spent Left Speed 08:38:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 169k 0 --:--:-- --:--:-- --:--:-- 169k [Pipeline] sh 08:38:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:38:50 + sudo tee /etc/docker/daemon.new 08:38:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:38:50 { 08:38:50 "registry-mirrors": [ 08:38:50 "https://nexus3.edgexfoundry.org:10001" 08:38:50 ], 08:38:50 "bip": "10.250.0.254/24", 08:38:50 "hosts": [ 08:38:50 "tcp://0.0.0.0:5555", 08:38:50 "unix:///var/run/docker.sock" 08:38:50 ], 08:38:50 "mtu": 1458, 08:38:50 "selinux-enabled": true, 08:38:50 "seccomp-profile": "/etc/docker/seccomp.json" 08:38:50 } [Pipeline] sh 08:38:50 d287ab97295c: Pull complete 08:38:50 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 08:38:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:38:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 08:38:50 prd-centos7-docker-4c-2g-1390 does not seem to be running inside a container 08:38:50 $ 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/15 -v /w/workspace/device-rest-go/15:/w/workspace/device-rest-go/15:rw,z -v /w/workspace/device-rest-go/15@tmp:/w/workspace/device-rest-go/15@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:latest cat 08:38:52 $ docker top 3b5554427223c13084675604ea1266b25635d074fce8cd8d674905ac9db13ae0 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 08:38:53 + sudo service docker restart 08:38:53 ---> job-cost.sh 08:38:53 lf-activate-venv: SKIPPING 08:38:53 INFO: No Stack... 08:38:53 INFO: Retrieving Pricing Info for: v3-standard-2 08:38:53 INFO: Archiving Costs [Pipeline] sh 08:38:54 + cut -d, -f6 08:38:54 + cat /w/workspace/device-rest-go/15/archives/cost.csv [Pipeline] lock 08:38:54 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-15-stack-cost] 08:38:54 Resource [jenkins-edgexfoundry-device-rest-go-main-15-stack-cost] did not exist. Created. 08:38:54 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:38:54 + echo total: 0.05999999865889549 [Pipeline] stash 08:38:54 Stashed 1 file(s) [Pipeline] } 08:38:54 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-15-stack-cost] [Pipeline] // lock [Pipeline] } 08:38:54 $ docker stop --time=1 3b5554427223c13084675604ea1266b25635d074fce8cd8d674905ac9db13ae0 08:38:55 $ docker rm -f 3b5554427223c13084675604ea1266b25635d074fce8cd8d674905ac9db13ae0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:39:15 provisioning config files... 08:39:15 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/15@tmp/config3278949533955607557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:39:16 ---> docker-login.sh 08:39:16 nexus3.edgexfoundry.org:10001 08:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:39:18 Configure a credential helper to remove this warning. See 08:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:39:18 08:39:18 Login Succeeded 08:39:18 nexus3.edgexfoundry.org:10002 08:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:39:18 Configure a credential helper to remove this warning. See 08:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:39:18 08:39:18 Login Succeeded 08:39:18 nexus3.edgexfoundry.org:10003 08:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:39:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:39:19 Configure a credential helper to remove this warning. See 08:39:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:39:19 08:39:19 Login Succeeded 08:39:19 nexus3.edgexfoundry.org:10004 08:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:39:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:39:20 Configure a credential helper to remove this warning. See 08:39:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:39:20 08:39:20 Login Succeeded 08:39:20 docker.io 08:39:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:39:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:39:21 Configure a credential helper to remove this warning. See 08:39:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:39:21 08:39:21 Login Succeeded 08:39:21 ---> docker-login.sh ends [Pipeline] } 08:39:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:39:21 ========================================================= 08:39:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 08:39:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:39:22 + 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 . 08:39:22 Sending build context to Docker daemon 118.8kB 08:39:22 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 08:39:22 Step 2/11 : FROM ${BASE} AS builder 08:39:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:39:22 552d1f2373af: Pulling fs layer 08:39:22 ea3f2d53f512: Pulling fs layer 08:39:22 9e70ebbbe112: Pulling fs layer 08:39:22 7a9cfe048b4a: Pulling fs layer 08:39:22 72dc09318566: Pulling fs layer 08:39:22 f4f7b4309257: Pulling fs layer 08:39:22 0ac9a79272e3: Pulling fs layer 08:39:22 b78e95d17946: Pulling fs layer 08:39:22 72dc09318566: Waiting 08:39:22 f4f7b4309257: Waiting 08:39:22 0ac9a79272e3: Waiting 08:39:22 b78e95d17946: Waiting 08:39:22 7a9cfe048b4a: Waiting 08:39:23 9e70ebbbe112: Verifying Checksum 08:39:23 9e70ebbbe112: Download complete 08:39:23 ea3f2d53f512: Verifying Checksum 08:39:23 ea3f2d53f512: Download complete 08:39:23 72dc09318566: Verifying Checksum 08:39:23 72dc09318566: Download complete 08:39:23 f4f7b4309257: Verifying Checksum 08:39:23 f4f7b4309257: Download complete 08:39:23 552d1f2373af: Verifying Checksum 08:39:23 552d1f2373af: Download complete 08:39:23 0ac9a79272e3: Verifying Checksum 08:39:23 0ac9a79272e3: Download complete 08:39:24 552d1f2373af: Pull complete 08:39:24 ea3f2d53f512: Pull complete 08:39:25 9e70ebbbe112: Pull complete 08:39:25 b78e95d17946: Verifying Checksum 08:39:25 b78e95d17946: Download complete 08:39:26 7a9cfe048b4a: Verifying Checksum 08:39:26 7a9cfe048b4a: Download complete 08:39:36 7a9cfe048b4a: Pull complete 08:39:37 72dc09318566: Pull complete 08:39:37 f4f7b4309257: Pull complete 08:39:37 0ac9a79272e3: Pull complete 08:39:43 b78e95d17946: Pull complete 08:39:43 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 08:39:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 08:39:43 ---> 8b459fc5aaf0 08:39:43 Step 3/11 : ARG MAKE='make build' 08:39:48 ---> Running in f413d306fb0b 08:39:48 Removing intermediate container f413d306fb0b 08:39:48 ---> d42845d00bc8 08:39:48 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:39:48 ---> Running in 29616d8614bb 08:39:48 Removing intermediate container 29616d8614bb 08:39:48 ---> 461f588948ea 08:39:48 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 08:39:49 ---> Running in 0f27d8bccce4 08:39:49 Removing intermediate container 0f27d8bccce4 08:39:49 ---> 310105901696 08:39:49 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:39:50 ---> Running in c2fef6a20f51 08:39:53 Removing intermediate container c2fef6a20f51 08:39:53 ---> 51b07a60e9f9 08:39:53 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:39:53 ---> Running in 1f3b1528e077 08:39:54 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:39:55 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:39:56 (1/4) Installing openssh-keygen (8.6_p1-r3) 08:39:56 (2/4) Installing libedit (20210216.3.1-r0) 08:39:56 (3/4) Installing openssh-client-common (8.6_p1-r3) 08:39:56 (4/4) Installing openssh-client-default (8.6_p1-r3) 08:39:56 Executing busybox-1.33.1-r3.trigger 08:39:56 OK: 223 MiB in 56 packages 08:39:58 Removing intermediate container 1f3b1528e077 08:39:58 ---> a712c2be980d 08:39:58 Step 8/11 : WORKDIR /device-rest-go 08:39:58 ---> Running in 757ecd086d63 08:39:58 Removing intermediate container 757ecd086d63 08:39:58 ---> 7234c6248878 08:39:58 Step 9/11 : COPY . . 08:39:59 ---> 6e18ad9ed47a 08:39:59 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:39:59 ---> Running in 3219ac017d3d 08:40:26 Removing intermediate container 3219ac017d3d 08:40:26 ---> 53ef484fa951 08:40:26 Step 11/11 : RUN $MAKE 08:40:26 ---> Running in b29c0ab2758e 08:40:27 noop 08:40:28 Removing intermediate container b29c0ab2758e 08:40:28 ---> bccdfbaaa1a7 08:40:28 Successfully built bccdfbaaa1a7 08:40:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:40:28 + docker inspect -f . ci-base-image-arm64 08:40:28 . [Pipeline] withDockerContainer 08:40:29 prd-ubuntu18.04-docker-arm64-4c-16g-1386 does not seem to be running inside a container 08:40:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/15 -v /w/workspace/device-rest-go/15:/w/workspace/device-rest-go/15:rw,z -v /w/workspace/device-rest-go/15@tmp:/w/workspace/device-rest-go/15@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 08:40:30 $ docker top 700fa36fe871be7b17f6534fd709665e1c7ffb319b244449986c1439f975b6c6 -eo pid,comm [Pipeline] { [Pipeline] sh 08:40:31 + go version 08:40:31 go version go1.16.8 linux/arm64 [Pipeline] } 08:40:31 $ docker stop --time=1 700fa36fe871be7b17f6534fd709665e1c7ffb319b244449986c1439f975b6c6 08:40:33 $ docker rm -f 700fa36fe871be7b17f6534fd709665e1c7ffb319b244449986c1439f975b6c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:40:34 + docker inspect -f . ci-base-image-arm64 08:40:34 . [Pipeline] withDockerContainer 08:40:34 prd-ubuntu18.04-docker-arm64-4c-16g-1386 does not seem to be running inside a container 08:40:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/15 -v /w/workspace/device-rest-go/15:/w/workspace/device-rest-go/15:rw,z -v /w/workspace/device-rest-go/15@tmp:/w/workspace/device-rest-go/15@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 08:40:36 $ docker top 723ed265b34ea1ffd967a0d4b8bb34224c3a1b91b096074c224bc5e839909e20 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:40:37 + make test 08:40:37 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:40:38 ? github.com/edgexfoundry/device-rest-go [no test files] 08:41:35 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:41:37 ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 53.8% of statements 08:41:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:42:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:42:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:42:09 ./bin/test-attribution-txt.sh [Pipeline] } 08:42:10 $ docker stop --time=1 723ed265b34ea1ffd967a0d4b8bb34224c3a1b91b096074c224bc5e839909e20 08:42:11 $ docker rm -f 723ed265b34ea1ffd967a0d4b8bb34224c3a1b91b096074c224bc5e839909e20 [Pipeline] // withDockerContainer [Pipeline] sh 08:42:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:42:12 Warning: overwriting stash ‘coverage-report’ 08:42:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:42:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:42:14 + ls -al . 08:42:14 total 144 08:42:14 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 08:42 . 08:42:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:38 .. 08:42:14 -rw-rw-r-- 1 jenkins jenkins 151 Oct 14 08:38 .dockerignore 08:42:14 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 08:38 .git 08:42:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:38 .github 08:42:14 -rw-rw-r-- 1 jenkins jenkins 329 Oct 14 08:38 .gitignore 08:42:14 -rw-rw-r-- 1 jenkins jenkins 6792 Oct 14 08:38 Attribution.txt 08:42:14 -rw-rw-r-- 1 jenkins jenkins 7459 Oct 14 08:38 CHANGELOG.md 08:42:14 -rw-rw-r-- 1 jenkins jenkins 1649 Oct 14 08:38 Dockerfile 08:42:14 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 08:38 GOVERNANCE.md 08:42:14 -rw-rw-r-- 1 jenkins jenkins 680 Oct 14 08:38 Jenkinsfile 08:42:14 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 08:38 LICENSE 08:42:14 -rw-rw-r-- 1 jenkins jenkins 1078 Oct 14 08:38 Makefile 08:42:14 -rw-rw-r-- 1 jenkins jenkins 620 Oct 14 08:38 OWNERS.md 08:42:14 -rw-rw-r-- 1 jenkins jenkins 7661 Oct 14 08:38 README.md 08:42:14 -rw-rw-r-- 1 jenkins jenkins 12 Oct 14 08:34 VERSION 08:42:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:38 bin 08:42:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:38 cmd 08:42:14 -rw-r--r-- 1 jenkins jenkins 8435 Oct 14 08:41 coverage.out 08:42:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:38 driver 08:42:14 -rw-rw-r-- 1 jenkins jenkins 271 Oct 14 08:38 go.mod 08:42:14 -rw-rw-r-- 1 jenkins jenkins 20570 Oct 14 08:38 go.sum 08:42:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:38 snap 08:42:14 -rw-rw-r-- 1 jenkins jenkins 713 Oct 14 08:38 version.go [Pipeline] isUnix [Pipeline] sh 08:42:14 + 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=ab80832e8fa331645ec332aa024eb9f07585cb40 --label arch=arm64 --label version=2.0.1-dev.10 . 08:42:14 Sending build context to Docker daemon 128kB 08:42:15 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 08:42:15 Step 2/24 : FROM ${BASE} AS builder 08:42:15 ---> bccdfbaaa1a7 08:42:15 Step 3/24 : ARG MAKE='make build' 08:42:15 ---> Running in d56beef451e9 08:42:16 Removing intermediate container d56beef451e9 08:42:16 ---> 37adbd51bee0 08:42:16 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:42:16 ---> Running in f9747eae944f 08:42:16 Removing intermediate container f9747eae944f 08:42:16 ---> 0bb225290bfc 08:42:16 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 08:42:16 ---> Running in 8e67fd25cf4e 08:42:17 Removing intermediate container 8e67fd25cf4e 08:42:17 ---> 73114f89f767 08:42:17 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:42:17 ---> Running in f0923923ca60 08:42:19 Removing intermediate container f0923923ca60 08:42:19 ---> b592eb7506c1 08:42:19 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:42:19 ---> Running in 740944a7dbea 08:42:21 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:42:22 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:42:23 OK: 223 MiB in 56 packages 08:42:25 Removing intermediate container 740944a7dbea 08:42:25 ---> 9455e81eb684 08:42:25 Step 8/24 : WORKDIR /device-rest-go 08:42:25 ---> Running in 86cec00f612d 08:42:25 Removing intermediate container 86cec00f612d 08:42:25 ---> 37a04f704033 08:42:25 Step 9/24 : COPY . . 08:42:26 ---> 638d4d3e7b7d 08:42:26 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:42:26 ---> Running in 56cf77a31bce 08:42:29 Removing intermediate container 56cf77a31bce 08:42:29 ---> c267f0202017 08:42:29 Step 11/24 : RUN $MAKE 08:42:29 ---> Running in d6846f76400a 08:42:30 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.10" -o cmd/device-rest ./cmd 08:43:17 Removing intermediate container d6846f76400a 08:43:17 ---> d7c180cc3385 08:43:17 Step 12/24 : FROM alpine:3.14 08:43:17 3.14: Pulling from library/alpine 08:43:17 552d1f2373af: Already exists 08:43:17 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 08:43:17 Status: Downloaded newer image for alpine:3.14 08:43:17 ---> bb3de5531c18 08:43:17 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:43:17 ---> Running in a9057dac4298 08:43:17 Removing intermediate container a9057dac4298 08:43:17 ---> d239293c304a 08:43:17 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 08:43:17 ---> Running in 25f8ca33bd5c 08:43:17 Removing intermediate container 25f8ca33bd5c 08:43:17 ---> b9dbc1cd3da9 08:43:17 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 08:43:17 ---> Running in 2914e56778f2 08:43:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:43:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:43:17 (1/6) Installing dumb-init (1.2.5-r1) 08:43:17 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:43:17 (3/6) Installing libsodium (1.0.18-r0) 08:43:17 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:43:17 (5/6) Installing libzmq (4.3.4-r0) 08:43:17 (6/6) Installing zeromq (4.3.4-r0) 08:43:17 Executing busybox-1.33.1-r3.trigger 08:43:17 OK: 8 MiB in 20 packages 08:43:18 Removing intermediate container 2914e56778f2 08:43:18 ---> a74a6a097010 08:43:18 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 08:43:20 ---> dd39c7a772fe 08:43:20 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 08:43:20 ---> 7bccda6a8fc8 08:43:20 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 08:43:21 ---> ce9bc61d4597 08:43:21 Step 19/24 : EXPOSE 59986 08:43:21 ---> Running in 91876e46c316 08:43:21 Removing intermediate container 91876e46c316 08:43:21 ---> 5423f50ce38c 08:43:21 Step 20/24 : ENTRYPOINT ["/device-rest"] 08:43:22 ---> Running in 13892af552ec 08:43:22 Removing intermediate container 13892af552ec 08:43:22 ---> c5df36e8ae94 08:43:22 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:43:22 ---> Running in 00737ce4d48b 08:43:23 Removing intermediate container 00737ce4d48b 08:43:23 ---> 07618c375051 08:43:23 Step 22/24 : LABEL arch=arm64 08:43:23 ---> Running in 26b974a6bd4b 08:43:24 Removing intermediate container 26b974a6bd4b 08:43:24 ---> acac047dfd3e 08:43:24 Step 23/24 : LABEL git_sha=ab80832e8fa331645ec332aa024eb9f07585cb40 08:43:24 ---> Running in 046eb2e6c568 08:43:24 Removing intermediate container 046eb2e6c568 08:43:24 ---> c9f4d36d0af8 08:43:24 Step 24/24 : LABEL version=2.0.1-dev.10 08:43:24 ---> Running in b2b6c68e1c4b 08:43:24 Removing intermediate container b2b6c68e1c4b 08:43:24 ---> 004e4e5331d3 08:43:24 [Warning] One or more build-args [ARCH] were not consumed 08:43:24 Successfully built 004e4e5331d3 08:43:24 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 08:43:25 provisioning config files... 08:43:25 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/15@tmp/config4305242444194717342tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:43:25 ---> docker-login.sh 08:43:25 nexus3.edgexfoundry.org:10001 08:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:25 Configure a credential helper to remove this warning. See 08:43:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:25 08:43:25 Login Succeeded 08:43:25 nexus3.edgexfoundry.org:10002 08:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:26 Configure a credential helper to remove this warning. See 08:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:26 08:43:26 Login Succeeded 08:43:26 nexus3.edgexfoundry.org:10003 08:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:26 Configure a credential helper to remove this warning. See 08:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:26 08:43:26 Login Succeeded 08:43:26 nexus3.edgexfoundry.org:10004 08:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:27 Configure a credential helper to remove this warning. See 08:43:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:27 08:43:27 Login Succeeded 08:43:27 docker.io 08:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:28 Configure a credential helper to remove this warning. See 08:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:28 08:43:28 Login Succeeded 08:43:28 ---> docker-login.sh ends [Pipeline] } 08:43:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:43:28 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 08:43:28 ab80832e8fa331645ec332aa024eb9f07585cb40 08:43:28 latest 08:43:28 2.0.1-dev.10 08:43:28 ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10 08:43:28 main 08:43:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:43:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ab80832e8fa331645ec332aa024eb9f07585cb40 [Pipeline] isUnix [Pipeline] sh 08:43:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ab80832e8fa331645ec332aa024eb9f07585cb40 08:43:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:43:29 aef49e71d31d: Preparing 08:43:29 8bee8d829649: Preparing 08:43:29 ef083ae85171: Preparing 08:43:29 07829c36f2e3: Preparing 08:43:29 ee420dfed78a: Preparing 08:43:29 ee420dfed78a: Layer already exists 08:43:29 aef49e71d31d: Pushed 08:43:29 8bee8d829649: Pushed 08:43:30 07829c36f2e3: Pushed 08:43:32 ef083ae85171: Pushed 08:43:32 ab80832e8fa331645ec332aa024eb9f07585cb40: digest: sha256:20bda12c617398a20fc26c3b3bdd89521bfe8abbb635c5b064558c9d6c5356dc size: 1365 [Pipeline] isUnix [Pipeline] sh 08:43:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:43:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 08:43:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:43:33 aef49e71d31d: Preparing 08:43:33 8bee8d829649: Preparing 08:43:33 ef083ae85171: Preparing 08:43:33 07829c36f2e3: Preparing 08:43:33 ee420dfed78a: Preparing 08:43:33 ef083ae85171: Layer already exists 08:43:33 ee420dfed78a: Layer already exists 08:43:33 8bee8d829649: Layer already exists 08:43:33 aef49e71d31d: Layer already exists 08:43:33 07829c36f2e3: Layer already exists 08:43:33 latest: digest: sha256:20bda12c617398a20fc26c3b3bdd89521bfe8abbb635c5b064558c9d6c5356dc size: 1365 [Pipeline] isUnix [Pipeline] sh 08:43:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.10 [Pipeline] isUnix [Pipeline] sh 08:43:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.10 08:43:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:43:33 aef49e71d31d: Preparing 08:43:33 8bee8d829649: Preparing 08:43:33 ef083ae85171: Preparing 08:43:33 07829c36f2e3: Preparing 08:43:33 ee420dfed78a: Preparing 08:43:33 aef49e71d31d: Layer already exists 08:43:33 ef083ae85171: Layer already exists 08:43:33 ee420dfed78a: Layer already exists 08:43:33 07829c36f2e3: Layer already exists 08:43:33 8bee8d829649: Layer already exists 08:43:34 2.0.1-dev.10: digest: sha256:20bda12c617398a20fc26c3b3bdd89521bfe8abbb635c5b064558c9d6c5356dc size: 1365 [Pipeline] isUnix [Pipeline] sh 08:43:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10 [Pipeline] isUnix [Pipeline] sh 08:43:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10 08:43:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:43:34 aef49e71d31d: Preparing 08:43:34 8bee8d829649: Preparing 08:43:34 ef083ae85171: Preparing 08:43:34 07829c36f2e3: Preparing 08:43:34 ee420dfed78a: Preparing 08:43:35 aef49e71d31d: Layer already exists 08:43:35 ee420dfed78a: Layer already exists 08:43:35 07829c36f2e3: Layer already exists 08:43:35 8bee8d829649: Layer already exists 08:43:35 ef083ae85171: Layer already exists 08:43:35 ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10: digest: sha256:20bda12c617398a20fc26c3b3bdd89521bfe8abbb635c5b064558c9d6c5356dc size: 1365 [Pipeline] isUnix [Pipeline] sh 08:43:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 08:43:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 08:43:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:43:35 aef49e71d31d: Preparing 08:43:35 8bee8d829649: Preparing 08:43:35 ef083ae85171: Preparing 08:43:35 07829c36f2e3: Preparing 08:43:35 ee420dfed78a: Preparing 08:43:36 8bee8d829649: Layer already exists 08:43:36 ef083ae85171: Layer already exists 08:43:36 aef49e71d31d: Layer already exists 08:43:36 07829c36f2e3: Layer already exists 08:43:36 ee420dfed78a: Layer already exists 08:43:36 main: digest: sha256:20bda12c617398a20fc26c3b3bdd89521bfe8abbb635c5b064558c9d6c5356dc size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:43:36 ===================================================== [Pipeline] echo 08:43:36 taggedImages: 08:43:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ab80832e8fa331645ec332aa024eb9f07585cb40 08:43:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 08:43:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.10 08:43:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10 08:43:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:43:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:43:36 08:43:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:43:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:43:37 arm64: Pulling from edgex-lftools-log-publisher 08:43:37 448f6bf000e3: Pulling fs layer 08:43:37 f757da607395: Pulling fs layer 08:43:37 05883995daec: Pulling fs layer 08:43:37 8603b9c90790: Pulling fs layer 08:43:37 1560dd03e051: Pulling fs layer 08:43:37 27f5ce0e4adf: Pulling fs layer 08:43:37 c2d8d7efcc4b: Pulling fs layer 08:43:37 1560dd03e051: Waiting 08:43:37 27f5ce0e4adf: Waiting 08:43:37 c2d8d7efcc4b: Waiting 08:43:37 8603b9c90790: Waiting 08:43:37 f757da607395: Verifying Checksum 08:43:37 f757da607395: Download complete 08:43:37 8603b9c90790: Download complete 08:43:38 1560dd03e051: Verifying Checksum 08:43:38 1560dd03e051: Download complete 08:43:38 27f5ce0e4adf: Verifying Checksum 08:43:38 27f5ce0e4adf: Download complete 08:43:38 05883995daec: Verifying Checksum 08:43:38 05883995daec: Download complete 08:43:38 448f6bf000e3: Verifying Checksum 08:43:38 448f6bf000e3: Download complete 08:43:41 c2d8d7efcc4b: Verifying Checksum 08:43:41 c2d8d7efcc4b: Download complete 08:43:42 448f6bf000e3: Pull complete 08:43:43 f757da607395: Pull complete 08:43:44 05883995daec: Pull complete 08:43:44 8603b9c90790: Pull complete 08:43:45 1560dd03e051: Pull complete 08:43:46 27f5ce0e4adf: Pull complete 08:44:01 c2d8d7efcc4b: Pull complete 08:44:01 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 08:44:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:44:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:44:02 prd-ubuntu18.04-docker-arm64-4c-16g-1386 does not seem to be running inside a container 08:44:02 $ 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/15 -v /w/workspace/device-rest-go/15:/w/workspace/device-rest-go/15:rw,z -v /w/workspace/device-rest-go/15@tmp:/w/workspace/device-rest-go/15@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 08:44:06 $ docker top e33873e127f7d3977ea3e26dadd96c29526c18057c71002a973ea0bcd29c3407 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:44:07 ---> job-cost.sh 08:44:07 lf-activate-venv: SKIPPING 08:44:07 INFO: No Stack... 08:44:08 INFO: Retrieving Pricing Info for: v3-standard-4 08:44:09 INFO: Archiving Costs [Pipeline] sh 08:44:09 + cat /w/workspace/device-rest-go/15/archives/cost.csv 08:44:09 + cut -d, -f6 [Pipeline] lock 08:44:09 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-15-stack-cost] 08:44:09 Resource [jenkins-edgexfoundry-device-rest-go-main-15-stack-cost] did not exist. Created. 08:44:09 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:44:10 /w/workspace/device-rest-go/15@tmp/durable-9976e83e/script.sh: 1: /w/workspace/device-rest-go/15@tmp/durable-9976e83e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 08:44:11 + echo total: 0.10999999940395355 [Pipeline] stash 08:44:11 Warning: overwriting stash ‘stack-cost’ 08:44:11 Stashed 1 file(s) [Pipeline] } 08:44:11 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-15-stack-cost] [Pipeline] // lock [Pipeline] } 08:44:11 $ docker stop --time=1 e33873e127f7d3977ea3e26dadd96c29526c18057c71002a973ea0bcd29c3407 08:44:13 $ docker rm -f e33873e127f7d3977ea3e26dadd96c29526c18057c71002a973ea0bcd29c3407 [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 08:44:13 provisioning config files... 08:44:13 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4230042441283501114tmp [Pipeline] { [Pipeline] sh 08:44:14 + set +x 08:44:14 + curl -s https://codecov.io/bash 08:44:14 + bash -s -- 08:44:14 08:44:14 _____ _ 08:44:14 / ____| | | 08:44:14 | | ___ __| | ___ ___ _____ __ 08:44:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:44:14 | |___| (_) | (_| | __/ (_| (_) \ V / 08:44:14 \_____\___/ \__,_|\___|\___\___/ \_/ 08:44:14 Bash-1.0.6 08:44:14 08:44:14 08:44:14 ==> git version 2.24.4 found 08:44:14 ==> 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 08:44:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:44:14 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:44:14 ==> Jenkins CI detected. 08:44:14 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 08:44:14 project root: . 08:44:14 --> token set from env 08:44:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:44:14 ==> Running gcov in . (disable via -X gcov) 08:44:14 ==> Python coveragepy not found 08:44:14 ==> Searching for coverage reports in: 08:44:14 + . 08:44:14 -> Found 1 reports 08:44:14 ==> Detecting git/mercurial file structure 08:44:14 ==> Reading reports 08:44:14 + ./coverage.out bytes=8435 08:44:14 ==> Appending adjustments 08:44:14 https://docs.codecov.io/docs/fixing-reports 08:44:14 + Found adjustments 08:44:14 ==> Gzipping contents 08:44:14 4.0K /tmp/codecov.4r0BWD.gz 08:44:14 ==> Uploading reports 08:44:14 url: https://codecov.io 08:44:14 query: branch=main&commit=ab80832e8fa331645ec332aa024eb9f07585cb40&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:44:14 -> Pinging Codecov 08:44:14 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=ab80832e8fa331645ec332aa024eb9f07585cb40&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:44:14 -> Uploading to 08:44:14 https://storage.googleapis.com/codecov/v4/raw/2021-10-14/4E5D53B4F1F92C436F7061BF334D961C/ab80832e8fa331645ec332aa024eb9f07585cb40/9fa36f0c-0dd5-4b5b-8b01-70b0750ae9cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211014T084414Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ffce773533f5ec77445bd9cab7ee688458f167ebf2b0a9fe95108f8b1a766885 08:44:14 % Total % Received % Xferd Average Speed Time Time Time Current 08:44:14 Dload Upload Total Spent Left Speed 08:44:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1741 0 0 100 1741 0 5883 --:--:-- --:--:-- --:--:-- 5901 08:44:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ab80832e8fa331645ec332aa024eb9f07585cb40 [Pipeline] } 08:44:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:44:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:44:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:44:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:44:15 08:44:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 08:44:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:44:15 1.410.4: Pulling from edgex-devops/edgex-snyk-go 08:44:15 188c0c94c7c5: Pulling fs layer 08:44:15 0ef7d3d256c8: Pulling fs layer 08:44:15 de9db76c5a1d: Pulling fs layer 08:44:15 0eba1c9be4d2: Pulling fs layer 08:44:15 0d57e429df01: Pulling fs layer 08:44:15 4e4be7b47b0d: Pulling fs layer 08:44:15 e1f770b5df2f: Pulling fs layer 08:44:15 85a0685a4137: Pulling fs layer 08:44:15 0d57e429df01: Waiting 08:44:15 4e4be7b47b0d: Waiting 08:44:15 e1f770b5df2f: Waiting 08:44:15 85a0685a4137: Waiting 08:44:15 0eba1c9be4d2: Waiting 08:44:15 de9db76c5a1d: Verifying Checksum 08:44:15 de9db76c5a1d: Download complete 08:44:15 0ef7d3d256c8: Verifying Checksum 08:44:15 0ef7d3d256c8: Download complete 08:44:15 0d57e429df01: Verifying Checksum 08:44:15 0d57e429df01: Download complete 08:44:15 4e4be7b47b0d: Verifying Checksum 08:44:15 4e4be7b47b0d: Download complete 08:44:15 188c0c94c7c5: Verifying Checksum 08:44:15 188c0c94c7c5: Download complete 08:44:16 188c0c94c7c5: Pull complete 08:44:16 e1f770b5df2f: Verifying Checksum 08:44:16 e1f770b5df2f: Download complete 08:44:16 0ef7d3d256c8: Pull complete 08:44:16 de9db76c5a1d: Pull complete 08:44:16 85a0685a4137: Verifying Checksum 08:44:16 85a0685a4137: Download complete 08:44:16 0eba1c9be4d2: Verifying Checksum 08:44:16 0eba1c9be4d2: Download complete 08:44:21 0eba1c9be4d2: Pull complete 08:44:21 0d57e429df01: Pull complete 08:44:21 4e4be7b47b0d: Pull complete 08:44:21 e1f770b5df2f: Pull complete 08:44:25 85a0685a4137: Pull complete 08:44:25 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 08:44:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:44:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 08:44:25 prd-centos7-docker-4c-2g-1375 does not seem to be running inside a container 08:44:25 $ 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 08:44:28 $ docker top 227f4ba256b594865d3e47e338f38c97c9a22810dc2e067984fb1e45bf145759 -eo pid,comm [Pipeline] { [Pipeline] echo 08:44:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 08:44:28 + set -o pipefail 08:44:28 + snyk monitor '--org=edgex-jenkins' 08:44:32 08:44:32 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 08:44:32 08:44:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/c7999a8d-c2c9-4b02-8da7-49cab73c32d2 08:44:32 08:44:32 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 08:44:32 08:44:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:44:32 08:44:32 08:44:32 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 08:44:32 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:44:32 $ docker stop --time=1 227f4ba256b594865d3e47e338f38c97c9a22810dc2e067984fb1e45bf145759 08:44:34 $ docker rm -f 227f4ba256b594865d3e47e338f38c97c9a22810dc2e067984fb1e45bf145759 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:44:35 + git log --format=format:%s -1 ab80832e8fa331645ec332aa024eb9f07585cb40 [Pipeline] isUnix [Pipeline] sh 08:44:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:44:35 . [Pipeline] withDockerContainer 08:44:36 prd-centos7-docker-4c-2g-1375 does not seem to be running inside a container 08:44:36 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:44:36 $ docker top ed836ccc0974141bb442c1742fbe849be09e693b8b59b76609c88e435c19e7e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:44:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:44:36 [ssh-agent] Looking for ssh-agent implementation... 08:44:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:44:36 $ docker exec ed836ccc0974141bb442c1742fbe849be09e693b8b59b76609c88e435c19e7e4 ssh-agent 08:44:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXACIpkC/agent.14 08:44:36 SSH_AGENT_PID=20 08:44:36 Running ssh-add (command line suppressed) 08:44:36 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6416634030521333922.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6416634030521333922.key) 08:44:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:44:37 + git semver tag 08:44:37 # -> Open(): unable to determine branch for HEAD 08:44:37 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 08:44:37 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 08:44:37 # $SEMVER_REMOTE_NAME = origin 08:44:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:44:37 # $SEMVER_USER_NAME = edgex-jenkins 08:44:37 # $SEMVER_BRANCH = main 08:44:37 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 08:44:37 # ab80832e8fa331645ec332aa024eb9f07585cb40 HEAD 08:44:37 # -> Force: false 08:44:37 # e89a8bd8e1091746d256bedaa4d1616c5c78df0b refs/tags/v2.0.1-dev.10 [Pipeline] } 08:44:37 $ docker exec --env ******** --env ******** ed836ccc0974141bb442c1742fbe849be09e693b8b59b76609c88e435c19e7e4 ssh-agent -k 08:44:37 unset SSH_AUTH_SOCK; 08:44:37 unset SSH_AGENT_PID; 08:44:37 echo Agent pid 20 killed; 08:44:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:44:37 + git semver [Pipeline] } 08:44:37 $ docker stop --time=1 ed836ccc0974141bb442c1742fbe849be09e693b8b59b76609c88e435c19e7e4 08:44:38 $ docker rm -f ed836ccc0974141bb442c1742fbe849be09e693b8b59b76609c88e435c19e7e4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 08:44:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:44:39 08:44:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 08:44:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:44:39 0.23.1-centos7: Pulling from edgex-lftools 08:44:39 ab5ef0e58194: Pulling fs layer 08:44:39 9712f1f96733: Pulling fs layer 08:44:39 63f879dbbcfc: Pulling fs layer 08:44:39 0d9ebad4ef96: Pulling fs layer 08:44:39 e9a5061849ea: Pulling fs layer 08:44:39 d747dcd14b5f: Pulling fs layer 08:44:39 2de7ff778b66: Pulling fs layer 08:44:39 d747dcd14b5f: Waiting 08:44:39 0d9ebad4ef96: Waiting 08:44:39 e9a5061849ea: Waiting 08:44:39 2de7ff778b66: Waiting 08:44:39 9712f1f96733: Verifying Checksum 08:44:39 9712f1f96733: Download complete 08:44:39 63f879dbbcfc: Verifying Checksum 08:44:39 63f879dbbcfc: Download complete 08:44:40 0d9ebad4ef96: Verifying Checksum 08:44:40 0d9ebad4ef96: Download complete 08:44:40 e9a5061849ea: Verifying Checksum 08:44:40 e9a5061849ea: Download complete 08:44:40 d747dcd14b5f: Verifying Checksum 08:44:40 d747dcd14b5f: Download complete 08:44:40 ab5ef0e58194: Verifying Checksum 08:44:40 ab5ef0e58194: Download complete 08:44:40 2de7ff778b66: Verifying Checksum 08:44:40 2de7ff778b66: Download complete 08:44:42 ab5ef0e58194: Pull complete 08:44:42 9712f1f96733: Pull complete 08:44:43 63f879dbbcfc: Pull complete 08:44:48 0d9ebad4ef96: Pull complete 08:44:48 e9a5061849ea: Pull complete 08:44:48 d747dcd14b5f: Pull complete 08:44:49 2de7ff778b66: Pull complete 08:44:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:44:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:44:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 08:44:49 prd-centos7-docker-4c-2g-1375 does not seem to be running inside a container 08:44:49 $ docker run -t -d -u 1001:1001 -u 0:0 -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:0.23.1-centos7 cat 08:44:53 $ docker top bc044259e1f99b15d0bb2a965b6ecde5913ba8f3106dbe43422a7b351b814449 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:44:53 provisioning config files... 08:44:53 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4929744127474214239tmp 08:44:53 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8045219547901721845tmp 08:44:53 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2391657920977172611tmp [Pipeline] { [Pipeline] echo 08:44:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:44:53 ---> sigul-configuration.sh 08:44:53 gpg: directory `/root/.gnupg' created 08:44:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:44:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:44:53 gpg: keyring `/root/.gnupg/secring.gpg' created 08:44:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:44:53 gpg: CAST5 encrypted data 08:44:53 gpg: encrypted with 1 passphrase 08:44:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:44:53 + mkdir /home/jenkins 08:44:53 + mkdir /home/jenkins/sigul [Pipeline] sh 08:44:54 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 08:44:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:44:54 ---> sigul-install.sh 08:44:54 Sigul already installed; skipping installation. [Pipeline] sh 08:44:54 + git tag --list 08:44:54 v1.0.0 08:44:54 v1.1.0 08:44:54 v1.1.1 08:44:54 v1.1.2 08:44:54 v1.2.0 08:44:54 v1.2.1 08:44:54 v2.0.0 08:44:54 v2.0.1-dev.1 08:44:54 v2.0.1-dev.10 08:44:54 v2.0.1-dev.2 08:44:54 v2.0.1-dev.3 08:44:54 v2.0.1-dev.4 08:44:54 v2.0.1-dev.5 08:44:54 v2.0.1-dev.6 08:44:54 v2.0.1-dev.7 08:44:54 v2.0.1-dev.8 08:44:54 v2.0.1-dev.9 [Pipeline] sh 08:44:54 + lftools sign git-tag v2.0.1-dev.10 08:44:55 Signing Git tag with Sigul... 08:44:55 Signing v2.0.1-dev.10 [Pipeline] echo 08:44:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:44:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:44:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:44:57 $ docker stop --time=1 bc044259e1f99b15d0bb2a965b6ecde5913ba8f3106dbe43422a7b351b814449 08:44:58 $ docker rm -f bc044259e1f99b15d0bb2a965b6ecde5913ba8f3106dbe43422a7b351b814449 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 08:44:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:44:58 . [Pipeline] withDockerContainer 08:44:59 prd-centos7-docker-4c-2g-1375 does not seem to be running inside a container 08:44:59 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:44:59 $ docker top a4e26c6f644857a3c008f2ab8a280e330b302a02532e02c0a91e0fa304d95c6e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:44:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:44:59 [ssh-agent] Looking for ssh-agent implementation... 08:44:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:44:59 $ docker exec a4e26c6f644857a3c008f2ab8a280e330b302a02532e02c0a91e0fa304d95c6e ssh-agent 08:44:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkcjCbB/agent.13 08:44:59 SSH_AGENT_PID=19 08:44:59 Running ssh-add (command line suppressed) 08:44:59 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8446848921230005489.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8446848921230005489.key) 08:44:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:45:00 + git semver bump pre 08:45:00 # -> Open(): unable to determine branch for HEAD 08:45:00 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 08:45:00 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 08:45:00 # $SEMVER_REMOTE_NAME = origin 08:45:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:45:00 # $SEMVER_USER_NAME = edgex-jenkins 08:45:00 # $SEMVER_BRANCH = main 08:45:00 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 08:45:00 2.0.1-dev.11 [Pipeline] } 08:45:00 $ docker exec --env ******** --env ******** a4e26c6f644857a3c008f2ab8a280e330b302a02532e02c0a91e0fa304d95c6e ssh-agent -k 08:45:00 unset SSH_AUTH_SOCK; 08:45:00 unset SSH_AGENT_PID; 08:45:00 echo Agent pid 19 killed; 08:45:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:45:00 + git semver [Pipeline] } 08:45:00 $ docker stop --time=1 a4e26c6f644857a3c008f2ab8a280e330b302a02532e02c0a91e0fa304d95c6e 08:45:01 $ docker rm -f a4e26c6f644857a3c008f2ab8a280e330b302a02532e02c0a91e0fa304d95c6e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:45:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:45:02 . [Pipeline] withDockerContainer 08:45:02 prd-centos7-docker-4c-2g-1375 does not seem to be running inside a container 08:45:02 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:45:02 $ docker top fce9e86ebb9f5e79fea140cc45a00bf6678ce7299618d0c6075da471347a518d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:45:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:45:02 [ssh-agent] Looking for ssh-agent implementation... 08:45:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:45:02 $ docker exec fce9e86ebb9f5e79fea140cc45a00bf6678ce7299618d0c6075da471347a518d ssh-agent 08:45:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfpJJNf/agent.14 08:45:03 SSH_AGENT_PID=20 08:45:03 Running ssh-add (command line suppressed) 08:45:03 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7803360207389736005.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7803360207389736005.key) 08:45:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:45:03 + git semver push 08:45:03 # -> Open(): unable to determine branch for HEAD 08:45:03 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 08:45:03 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 08:45:03 # $SEMVER_REMOTE_NAME = origin 08:45:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:45:03 # $SEMVER_USER_NAME = edgex-jenkins 08:45:03 # $SEMVER_BRANCH = main 08:45:03 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 08:45:06 $ docker exec --env ******** --env ******** fce9e86ebb9f5e79fea140cc45a00bf6678ce7299618d0c6075da471347a518d ssh-agent -k 08:45:06 unset SSH_AUTH_SOCK; 08:45:06 unset SSH_AGENT_PID; 08:45:06 echo Agent pid 20 killed; 08:45:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:45:06 + git semver [Pipeline] } 08:45:06 $ docker stop --time=1 fce9e86ebb9f5e79fea140cc45a00bf6678ce7299618d0c6075da471347a518d 08:45:07 $ docker rm -f fce9e86ebb9f5e79fea140cc45a00bf6678ce7299618d0c6075da471347a518d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:45:08 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 08:45:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:45:09 ---> package-listing.sh 08:45:09 ++ facter osfamily 08:45:09 ++ tr '[:upper:]' '[:lower:]' 08:45:09 + OS_FAMILY=redhat 08:45:09 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 08:45:09 + START_PACKAGES=/tmp/packages_start.txt 08:45:09 + END_PACKAGES=/tmp/packages_end.txt 08:45:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:45:09 + PACKAGES=/tmp/packages_start.txt 08:45:09 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 08:45:09 + PACKAGES=/tmp/packages_end.txt 08:45:09 + case "${OS_FAMILY}" in 08:45:09 + rpm -qa 08:45:09 + sort 08:45:10 + '[' -f /tmp/packages_start.txt ']' 08:45:10 + '[' -f /tmp/packages_end.txt ']' 08:45:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:45:10 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 08:45:10 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 08:45:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 08:45:10 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 08:45:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:45:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:45:11 08:45:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:45:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:45:11 latest: Pulling from edgex-lftools-log-publisher 08:45:11 b4d181a07f80: Pulling fs layer 08:45:11 a1111a8f2ec3: Pulling fs layer 08:45:11 ed53099fbce6: Pulling fs layer 08:45:11 dc539afda2c1: Pulling fs layer 08:45:11 77bc0d833cb6: Pulling fs layer 08:45:11 9065ff56babe: Pulling fs layer 08:45:11 d287ab97295c: Pulling fs layer 08:45:11 dc539afda2c1: Waiting 08:45:11 77bc0d833cb6: Waiting 08:45:11 9065ff56babe: Waiting 08:45:11 d287ab97295c: Waiting 08:45:11 a1111a8f2ec3: Verifying Checksum 08:45:11 a1111a8f2ec3: Download complete 08:45:11 dc539afda2c1: Verifying Checksum 08:45:11 dc539afda2c1: Download complete 08:45:11 77bc0d833cb6: Verifying Checksum 08:45:11 77bc0d833cb6: Download complete 08:45:11 ed53099fbce6: Verifying Checksum 08:45:11 ed53099fbce6: Download complete 08:45:11 9065ff56babe: Verifying Checksum 08:45:11 9065ff56babe: Download complete 08:45:11 b4d181a07f80: Verifying Checksum 08:45:11 b4d181a07f80: Download complete 08:45:12 d287ab97295c: Verifying Checksum 08:45:12 d287ab97295c: Download complete 08:45:13 b4d181a07f80: Pull complete 08:45:13 a1111a8f2ec3: Pull complete 08:45:13 ed53099fbce6: Pull complete 08:45:14 dc539afda2c1: Pull complete 08:45:14 77bc0d833cb6: Pull complete 08:45:14 9065ff56babe: Pull complete 08:45:19 d287ab97295c: Pull complete 08:45:19 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 08:45:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:45:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:45:19 prd-centos7-docker-4c-2g-1375 does not seem to be running inside a container 08:45:19 $ 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 08:45:22 $ docker top c96f4f1d090b22698100240afdec2854ad3ed230449ecd4843b4af64d9f75bc6 -eo pid,comm [Pipeline] { [Pipeline] sh 08:45:22 + touch /tmp/pre-build-complete [Pipeline] sh 08:45:22 + mkdir -p /var/log/sysstat [Pipeline] sh 08:45:23 + ls /var/log/sa-host 08:45:23 + sadf -c /var/log/sa-host/sa14 08:45:23 file_magic: OK 08:45:23 HZ: Using current value: 100 08:45:23 file_header: OK 08:45:23 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 08:45:23 Statistics: 08:45:23 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:45:23 File successfully converted to sysstat format version 12.0.3 08:45:23 + sadf -c /var/log/sa-host/sa30 08:45:23 file_magic: OK 08:45:23 HZ: Using current value: 100 08:45:23 file_header: OK 08:45:23 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 08:45:23 Statistics: 08:45:23 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:45:23 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:45:23 provisioning config files... 08:45:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1601353921819627006tmp [Pipeline] { [Pipeline] echo 08:45:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:45:23 ---> create-netrc.sh [Pipeline] } 08:45:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:45:23 ---> python-tools-install.sh [Pipeline] echo 08:45:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:45:24 ---> sudo-logs.sh 08:45:24 Archiving 'sudo' log.. 08:45:24 sudo: unable to resolve host prd-centos7-docker-4c-2g-1375.novalocal: Name or service not known 08:45:24 sudo: unable to resolve host prd-centos7-docker-4c-2g-1375.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 08:45:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:45:24 ---> job-cost.sh 08:45:24 lf-activate-venv: SKIPPING 08:45:24 DEBUG: total: 0.10999999940395355 08:45:24 INFO: Retrieving Stack Cost... 08:45:25 INFO: Retrieving Pricing Info for: v3-standard-2 08:45:25 INFO: Archiving Costs [Pipeline] echo 08:45:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:45:25 ---> logs-deploy.sh 08:45:25 lf-activate-venv: SKIPPING 08:45:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/15 08:45:25 INFO: archiving workspace using pattern(s): 08:45:26 Archives upload complete. 08:45:26 INFO: archiving logs to Nexus 08:45:27 ---> uname -a: 08:45:27 Linux prd-centos7-docker-4c-2g-1375.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 08:45:27 08:45:27 08:45:27 ---> lscpu: 08:45:27 Architecture: x86_64 08:45:27 CPU op-mode(s): 32-bit, 64-bit 08:45:27 Byte Order: Little Endian 08:45:27 Address sizes: 40 bits physical, 48 bits virtual 08:45:27 CPU(s): 2 08:45:27 On-line CPU(s) list: 0,1 08:45:27 Thread(s) per core: 1 08:45:27 Core(s) per socket: 1 08:45:27 Socket(s): 2 08:45:27 NUMA node(s): 1 08:45:27 Vendor ID: AuthenticAMD 08:45:27 CPU family: 23 08:45:27 Model: 49 08:45:27 Model name: AMD EPYC-Rome Processor 08:45:27 Stepping: 0 08:45:27 CPU MHz: 2800.000 08:45:27 BogoMIPS: 5600.00 08:45:27 Virtualization: AMD-V 08:45:27 Hypervisor vendor: KVM 08:45:27 Virtualization type: full 08:45:27 L1d cache: 32K 08:45:27 L1i cache: 32K 08:45:27 L2 cache: 512K 08:45:27 L3 cache: 16384K 08:45:27 NUMA node0 CPU(s): 0,1 08:45:27 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 08:45:27 08:45:27 08:45:27 ---> nproc: 08:45:27 2 08:45:27 08:45:27 08:45:27 ---> df -h: 08:45:27 Filesystem Size Used Avail Use% Mounted on 08:45:27 overlay 40G 9.0G 32G 23% / 08:45:27 tmpfs 64M 0 64M 0% /dev 08:45:27 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 08:45:27 shm 64M 0 64M 0% /dev/shm 08:45:27 /dev/vda1 40G 9.0G 32G 23% /facter-os 08:45:27 08:45:27 08:45:27 ---> sar -b -r -n DEV: 08:45:27 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/14/21 _x86_64_ (2 CPU) 08:45:27 08:45:27 08:33:32 LINUX RESTART (2 CPU) 08:45:27 08:45:27 08:34:01 tps rtps wtps bread/s bwrtn/s 08:45:27 08:35:01 49.87 3.38 46.49 2350.32 2808.56 08:45:27 08:36:01 0.43 0.00 0.43 0.00 6.76 08:45:27 08:37:02 0.27 0.00 0.27 0.00 3.63 08:45:27 08:38:01 0.20 0.00 0.20 0.00 3.18 08:45:27 08:39:01 0.23 0.00 0.23 0.00 3.11 08:45:27 08:40:01 0.38 0.00 0.38 0.00 6.30 08:45:27 08:41:01 0.27 0.00 0.27 0.00 4.86 08:45:27 08:42:01 0.33 0.00 0.33 0.00 5.45 08:45:27 08:43:01 0.33 0.00 0.33 0.00 4.50 08:45:27 08:44:01 0.20 0.00 0.20 0.00 3.43 08:45:27 08:45:01 193.71 0.03 193.67 3.73 53875.17 08:45:27 Average: 22.43 0.31 22.12 214.41 5166.58 08:45:27 08:45:27 08:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:45:27 08:35:01 5675272 0 620532 7.75 2620 1710516 1267480 13.99 567980 1530412 20 08:45:27 08:36:01 5685368 0 610432 7.62 2620 1710520 1185188 13.09 559748 1530368 16 08:45:27 08:37:02 5692368 0 603428 7.53 2620 1710524 1155376 12.76 552780 1530928 8 08:45:27 08:38:01 5688744 0 607044 7.58 2620 1710532 1155628 12.76 556408 1530928 8 08:45:27 08:39:01 5691548 0 604236 7.54 2620 1710536 1155604 12.76 553108 1531864 20 08:45:27 08:40:01 5692828 0 602952 7.53 2620 1710540 1155376 12.76 551796 1531864 12 08:45:27 08:41:01 5690976 0 604744 7.55 2620 1710600 1155700 12.76 553672 1531984 24 08:45:27 08:42:01 5680700 0 615068 7.68 2620 1710552 1155880 12.76 563996 1531968 16 08:45:27 08:43:01 5680256 0 615512 7.69 2620 1710552 1155868 12.76 563896 1531968 20 08:45:27 08:44:01 5682456 0 613308 7.66 2620 1710556 1155592 12.76 563996 1530368 12 08:45:27 08:45:01 3979116 0 994676 12.42 2620 3032528 1467092 16.20 922684 2653664 52 08:45:27 Average: 5530876 0 644721 8.05 2620 1830723 1196799 13.21 591824 1633301 19 08:45:27 08:45:27 08:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:45:27 08:35:01 eth0 93.79 88.03 470.98 23.35 0.00 0.00 0.00 0.00 08:45:27 08:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:35:01 docker0 38.99 19.05 3.42 133.18 0.00 0.00 0.00 0.00 08:45:27 08:36:01 eth0 3.35 0.68 1.00 0.58 0.00 0.00 0.00 0.00 08:45:27 08:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:37:02 eth0 1.37 0.13 0.09 0.01 0.00 0.00 0.00 0.00 08:45:27 08:37:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:37:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:38:01 eth0 1.69 0.39 0.41 0.21 0.00 0.00 0.00 0.00 08:45:27 08:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:39:01 eth0 2.12 0.38 0.52 0.26 0.00 0.00 0.00 0.00 08:45:27 08:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:40:01 eth0 1.63 0.08 0.16 0.01 0.00 0.00 0.00 0.00 08:45:27 08:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:41:01 eth0 1.05 0.57 0.54 0.36 0.00 0.00 0.00 0.00 08:45:27 08:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:42:01 eth0 1.38 0.47 0.58 0.39 0.00 0.00 0.00 0.00 08:45:27 08:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:43:01 eth0 0.48 0.30 0.27 0.23 0.00 0.00 0.00 0.00 08:45:27 08:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:44:01 eth0 0.28 0.18 0.09 0.04 0.00 0.00 0.00 0.00 08:45:27 08:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:45:01 eth0 330.30 196.54 7643.25 38.44 0.00 0.00 0.00 0.00 08:45:27 08:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 08:45:01 veth65f050c 0.02 0.10 0.00 0.01 0.00 0.00 0.00 0.00 08:45:27 08:45:01 docker0 19.63 32.58 1.96 356.54 0.00 0.00 0.00 0.00 08:45:27 Average: eth0 39.84 26.21 739.39 5.82 0.00 0.00 0.00 0.00 08:45:27 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 Average: veth65f050c 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 08:45:27 Average: docker0 5.34 4.70 0.49 44.60 0.00 0.00 0.00 0.00 08:45:27 08:45:27 08:45:27 ---> sar -P ALL: 08:45:27 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/14/21 _x86_64_ (2 CPU) 08:45:27 08:45:27 08:33:32 LINUX RESTART (2 CPU) 08:45:27 08:45:27 08:34:01 CPU %user %nice %system %iowait %steal %idle 08:45:27 08:35:01 all 4.33 0.00 1.93 1.33 0.03 92.36 08:45:27 08:35:01 0 4.90 0.00 2.32 2.32 0.03 90.43 08:45:27 08:35:01 1 3.77 0.00 1.55 0.35 0.03 94.29 08:45:27 08:36:01 all 0.25 0.00 0.08 0.00 0.03 99.64 08:45:27 08:36:01 0 0.37 0.00 0.07 0.00 0.02 99.55 08:45:27 08:36:01 1 0.13 0.00 0.10 0.00 0.03 99.73 08:45:27 08:37:02 all 0.23 0.00 0.08 0.00 0.03 99.66 08:45:27 08:37:02 0 0.23 0.00 0.12 0.00 0.03 99.62 08:45:27 08:37:02 1 0.23 0.00 0.05 0.00 0.02 99.70 08:45:27 08:38:01 all 0.25 0.00 0.07 0.00 0.01 99.68 08:45:27 08:38:01 0 0.08 0.00 0.10 0.00 0.02 99.80 08:45:27 08:38:01 1 0.41 0.00 0.03 0.00 0.00 99.56 08:45:27 08:39:01 all 0.28 0.00 0.07 0.00 0.01 99.64 08:45:27 08:39:01 0 0.18 0.00 0.12 0.00 0.02 99.68 08:45:27 08:39:01 1 0.38 0.00 0.02 0.00 0.00 99.60 08:45:27 08:40:01 all 0.26 0.00 0.07 0.00 0.03 99.65 08:45:27 08:40:01 0 0.08 0.00 0.10 0.00 0.03 99.78 08:45:27 08:40:01 1 0.43 0.00 0.03 0.00 0.02 99.52 08:45:27 08:41:01 all 0.39 0.00 0.07 0.00 0.02 99.52 08:45:27 08:41:01 0 0.13 0.00 0.12 0.00 0.03 99.72 08:45:27 08:41:01 1 0.65 0.00 0.02 0.00 0.00 99.33 08:45:27 08:42:01 all 0.19 0.00 0.06 0.00 0.02 99.73 08:45:27 08:42:01 0 0.10 0.00 0.08 0.00 0.03 99.78 08:45:27 08:42:01 1 0.28 0.00 0.03 0.00 0.00 99.68 08:45:27 08:43:01 all 0.18 0.00 0.05 0.00 0.03 99.75 08:45:27 08:43:01 0 0.08 0.00 0.05 0.00 0.02 99.85 08:45:27 08:43:01 1 0.27 0.00 0.05 0.00 0.03 99.65 08:45:27 08:44:01 all 0.06 0.00 0.05 0.00 0.01 99.88 08:45:27 08:44:01 0 0.03 0.00 0.05 0.00 0.02 99.90 08:45:27 08:44:01 1 0.08 0.00 0.05 0.00 0.00 99.87 08:45:27 08:45:01 all 24.01 0.00 10.00 2.32 0.11 63.57 08:45:27 08:45:01 0 23.55 0.00 10.53 2.16 0.11 63.65 08:45:27 08:45:01 1 24.46 0.00 9.46 2.48 0.11 63.49 08:45:27 08:45:27 Average: CPU %user %nice %system %iowait %steal %idle 08:45:27 Average: all 2.67 0.00 1.10 0.32 0.03 95.88 08:45:27 Average: 0 2.61 0.00 1.20 0.40 0.03 95.76 08:45:27 Average: 1 2.73 0.00 1.00 0.25 0.02 96.00 08:45:27 08:45:27 08:45:27