Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f798cd889c9c6c23ad9524ed5baa666d931da3e9 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2828526409556721415.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4477119839878613377.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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/master/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh587120795264224940.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5383569267600180709.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/master/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8503810377407838898.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 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-1112 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision f798cd889c9c6c23ad9524ed5baa666d931da3e9 (master) Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_master@tmp/jenkins-gitclient-ssh3751872075379345275.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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 f798cd889c9c6c23ad9524ed5baa666d931da3e9 # timeout=10 Commit message: "Merge pull request #981 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-registry/v2-2.0.0" > git rev-list --no-walk 0db703d64fc08bffb80d8974c9a71386e8567543 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:11:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:11:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:11:28 ========================================================= 09:11:28 EdgeX Global Pipelines Version Info 09:11:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:11:32 ------------------- 09:11:32 stable info: 09:11:32 ------------------- 09:11:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:11:32 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 09:11:32 Message: update stable to v1.0.195 09:11:32 ------------------- 09:11:32 experimental info: 09:11:32 ------------------- 09:11:32 Commited By: **** collab-it+edgex@linuxfoundation.org 09:11:32 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 09:11:32 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:11:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:11:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f798cd889c9c6c23ad9524ed5baa666d931da3e9 [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f798cd8 [Pipeline] echo 09:11:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:11:33 provisioning config files... 09:11:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1232175058639499513tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:34 ---> docker-login.sh 09:11:34 nexus3.edgexfoundry.org:10001 09:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:34 Configure a credential helper to remove this warning. See 09:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:34 09:11:34 Login Succeeded 09:11:34 nexus3.edgexfoundry.org:10002 09:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:34 Configure a credential helper to remove this warning. See 09:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:34 09:11:34 Login Succeeded 09:11:34 nexus3.edgexfoundry.org:10003 09:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:34 Configure a credential helper to remove this warning. See 09:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:34 09:11:34 Login Succeeded 09:11:34 nexus3.edgexfoundry.org:10004 09:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:34 Configure a credential helper to remove this warning. See 09:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:34 09:11:34 Login Succeeded 09:11:34 docker.io 09:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:35 Configure a credential helper to remove this warning. See 09:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:35 09:11:35 Login Succeeded 09:11:35 ---> docker-login.sh ends [Pipeline] } 09:11:35 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 09:11:36 + git log --format=format:%s -1 f798cd889c9c6c23ad9524ed5baa666d931da3e9 [Pipeline] echo 09:11:36 GIT_COMMIT: f798cd889c9c6c23ad9524ed5baa666d931da3e9, Commit Message: Merge pull request #981 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-registry/v2-2.0.0 [Pipeline] echo 09:11:36 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:11:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:11:36 09:11:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:11:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:11:36 latest: Pulling from edgex-devops/git-semver 09:11:36 31603596830f: Pulling fs layer 09:11:36 54011a49482f: Pulling fs layer 09:11:36 a6820b24f6d8: Pulling fs layer 09:11:36 f581987b2513: Pulling fs layer 09:11:36 f581987b2513: Waiting 09:11:36 54011a49482f: Verifying Checksum 09:11:36 54011a49482f: Download complete 09:11:37 31603596830f: Verifying Checksum 09:11:37 31603596830f: Download complete 09:11:37 f581987b2513: Verifying Checksum 09:11:37 f581987b2513: Download complete 09:11:37 a6820b24f6d8: Verifying Checksum 09:11:37 a6820b24f6d8: Download complete 09:11:37 31603596830f: Pull complete 09:11:37 54011a49482f: Pull complete 09:11:38 a6820b24f6d8: Pull complete 09:11:38 f581987b2513: Pull complete 09:11:38 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 09:11:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:11:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:11:38 prd-centos7-docker-4c-2g-1112 does not seem to be running inside a container 09:11:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:11:39 $ docker top ed7b346cf8d59edcfbea14a65b200230626b88618661895f1c5ab7cf02261be1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:11:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:11:39 [ssh-agent] Looking for ssh-agent implementation... 09:11:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:11:40 $ docker exec ed7b346cf8d59edcfbea14a65b200230626b88618661895f1c5ab7cf02261be1 ssh-agent 09:11:40 SSH_AUTH_SOCK=/tmp/ssh-ZcpA3ZeklPFo/agent.13 09:11:40 SSH_AGENT_PID=19 09:11:40 Running ssh-add (command line suppressed) 09:11:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2341961338203145706.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2341961338203145706.key) 09:11:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:11:40 + git tag --points-at HEAD [Pipeline] } 09:11:40 $ docker exec --env ******** --env ******** ed7b346cf8d59edcfbea14a65b200230626b88618661895f1c5ab7cf02261be1 ssh-agent -k 09:11:40 unset SSH_AUTH_SOCK; 09:11:40 unset SSH_AGENT_PID; 09:11:40 echo Agent pid 19 killed; 09:11:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:11:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:11:40 [ssh-agent] Looking for ssh-agent implementation... 09:11:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:11:40 $ docker exec ed7b346cf8d59edcfbea14a65b200230626b88618661895f1c5ab7cf02261be1 ssh-agent 09:11:41 SSH_AUTH_SOCK=/tmp/ssh-0PKcTOjNcyUs/agent.53 09:11:41 SSH_AGENT_PID=59 09:11:41 Running ssh-add (command line suppressed) 09:11:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5496696533563967064.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5496696533563967064.key) 09:11:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:11:43 + git semver init 09:11:43 # -> Open(): unable to determine branch for HEAD 09:11:43 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 09:11:43 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 09:11:43 # $SEMVER_REMOTE_NAME = origin 09:11:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:11:43 # $SEMVER_USER_NAME = edgex-jenkins 09:11:43 # $SEMVER_BRANCH = master 09:11:43 # $SEMVER_TEMP = /tmp/semver-229107980 09:11:43 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:11:44 # '/tmp/semver-229107980' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 09:11:44 # -> Force: false 09:11:44 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 09:11:44 $ docker exec --env ******** --env ******** ed7b346cf8d59edcfbea14a65b200230626b88618661895f1c5ab7cf02261be1 ssh-agent -k 09:11:44 unset SSH_AUTH_SOCK; 09:11:44 unset SSH_AGENT_PID; 09:11:44 echo Agent pid 59 killed; 09:11:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:11:44 + git semver [Pipeline] } 09:11:44 $ docker stop --time=1 ed7b346cf8d59edcfbea14a65b200230626b88618661895f1c5ab7cf02261be1 09:11:46 $ docker rm -f ed7b346cf8d59edcfbea14a65b200230626b88618661895f1c5ab7cf02261be1 [Pipeline] // withDockerContainer [Pipeline] sh 09:11:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:11:46 Stashed 1 file(s) [Pipeline] echo 09:11:46 [edgeXSemver]: initialized semver on version 2.0.0-dev.84 [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 09:12:02 Still waiting to schedule task 09:12:02 ‘prd-centos7-builder-2c-1g-1109’ doesn’t have label ‘centos7-docker-4c-2g’ 09:12:02 ‘prd-centos7-docker-4c-2g-1099’ is offline 09:12:02 ‘prd-centos7-docker-4c-2g-1102’ is offline 09:12:02 ‘prd-centos7-docker-4c-2g-1103’ is offline 09:12:02 ‘prd-centos7-docker-4c-2g-1108’ is offline 09:12:02 ‘prd-centos7-docker-4c-2g-1113’ is offline 09:12:02 ‘prd-centos7-docker-4c-2g-1114’ is offline 09:12:02 ‘prd-centos7-docker-4c-2g-915’ is offline 09:12:02 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1101’ doesn’t have label ‘centos7-docker-4c-2g’ 09:12:02 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1106’ doesn’t have label ‘centos7-docker-4c-2g’ 09:12:02 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1107’ doesn’t have label ‘centos7-docker-4c-2g’ 09:12:02 Still waiting to schedule task 09:12:02 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:13:07 Running on prd-centos7-docker-4c-2g-1116 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 09:13:07 Running in /w/workspace/device-sdk-go/193 [Pipeline] { [Pipeline] checkout 09:13:07 Selected Git installation does not exist. Using Default 09:13:07 The recommended git tool is: NONE 09:13:10 using credential edgex-jenkins-ssh 09:13:10 Cloning the remote Git repository 09:13:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:13:10 > git init /w/workspace/device-sdk-go/193 # timeout=10 09:13:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:13:10 > git --version # timeout=10 09:13:10 > git --version # 'git version 2.24.4' 09:13:10 using GIT_SSH to set credentials SSH Credentials for GitHub 09:13:10 [INFO] Currently running in a labeled security context 09:13:10 [INFO] Currently SELinux is 'enforcing' on the host 09:13:10 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/193@tmp/jenkins-gitclient-ssh540875432429102404.key 09:13:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:13:11 Avoid second fetch 09:13:11 Checking out Revision f798cd889c9c6c23ad9524ed5baa666d931da3e9 (master) 09:13:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:13:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:13:11 > git config core.sparsecheckout # timeout=10 09:13:11 > git checkout -f f798cd889c9c6c23ad9524ed5baa666d931da3e9 # timeout=10 09:13:14 Commit message: "Merge pull request #981 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-registry/v2-2.0.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:13:15 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:13:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:13:16 + true 09:13:16 + sudo service docker restart 09:13:16 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:13:35 provisioning config files... 09:13:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/193@tmp/config6928152464714158021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:35 ---> docker-login.sh 09:13:35 nexus3.edgexfoundry.org:10001 09:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:36 Configure a credential helper to remove this warning. See 09:13:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:36 09:13:36 Login Succeeded 09:13:36 nexus3.edgexfoundry.org:10002 09:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:36 Configure a credential helper to remove this warning. See 09:13:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:36 09:13:36 Login Succeeded 09:13:36 nexus3.edgexfoundry.org:10003 09:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:36 Configure a credential helper to remove this warning. See 09:13:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:36 09:13:36 Login Succeeded 09:13:36 nexus3.edgexfoundry.org:10004 09:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:36 Configure a credential helper to remove this warning. See 09:13:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:36 09:13:36 Login Succeeded 09:13:36 docker.io 09:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:37 Configure a credential helper to remove this warning. See 09:13:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:37 09:13:37 Login Succeeded 09:13:37 ---> docker-login.sh ends [Pipeline] } 09:13:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:13:37 ========================================================= 09:13:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 09:13:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:13:37 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 09:13:37 Sending build context to Docker daemon 2.694MB 09:13:37 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 09:13:37 Step 2/8 : FROM ${BASE} 09:13:37 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 09:13:37 540db60ca938: Pulling fs layer 09:13:37 adcc1eea9eea: Pulling fs layer 09:13:37 4c4ab2625f07: Pulling fs layer 09:13:37 0510c868ecb4: Pulling fs layer 09:13:37 afea3b2eda06: Pulling fs layer 09:13:37 7809a108b3ef: Pulling fs layer 09:13:37 f706445af74f: Pulling fs layer 09:13:37 0510c868ecb4: Waiting 09:13:37 afea3b2eda06: Waiting 09:13:37 7809a108b3ef: Waiting 09:13:37 f706445af74f: Waiting 09:13:37 4c4ab2625f07: Verifying Checksum 09:13:37 4c4ab2625f07: Download complete 09:13:37 adcc1eea9eea: Verifying Checksum 09:13:37 adcc1eea9eea: Download complete 09:13:37 afea3b2eda06: Verifying Checksum 09:13:37 afea3b2eda06: Download complete 09:13:37 7809a108b3ef: Verifying Checksum 09:13:37 7809a108b3ef: Download complete 09:13:37 540db60ca938: Verifying Checksum 09:13:37 540db60ca938: Download complete 09:13:38 540db60ca938: Pull complete 09:13:38 adcc1eea9eea: Pull complete 09:13:38 4c4ab2625f07: Pull complete 09:13:39 f706445af74f: Verifying Checksum 09:13:39 f706445af74f: Download complete 09:13:40 0510c868ecb4: Verifying Checksum 09:13:40 0510c868ecb4: Download complete 09:13:44 0510c868ecb4: Pull complete 09:13:44 afea3b2eda06: Pull complete 09:13:44 7809a108b3ef: Pull complete 09:13:45 f706445af74f: Pull complete 09:13:45 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 09:13:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 09:13:45 ---> b068be0155e3 09:13:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:13:49 ---> Running in 2143569a08c6 09:13:50 Removing intermediate container 2143569a08c6 09:13:50 ---> 8ba22cc33ebf 09:13:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:13:50 ---> Running in 2b4aa3a4af06 09:13:50 Removing intermediate container 2b4aa3a4af06 09:13:50 ---> 559b18be394f 09:13:50 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 09:13:50 ---> Running in e97c4818aa86 09:13:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 09:13:52 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 09:13:52 (1/6) Installing libc-dev (0.7.2-r3) 09:13:52 (2/6) Installing libsodium (1.0.18-r0) 09:13:52 (3/6) Installing pkgconf (1.7.3-r0) 09:13:52 (4/6) Installing libsodium-dev (1.0.18-r0) 09:13:52 (5/6) Installing libzmq (4.3.3-r1) 09:13:53 (6/6) Installing zeromq-dev (4.3.3-r1) 09:13:53 Executing busybox-1.32.1-r6.trigger 09:13:53 OK: 150 MiB in 46 packages 09:13:53 Removing intermediate container e97c4818aa86 09:13:53 ---> 97f557419e90 09:13:53 Step 6/8 : WORKDIR /device-sdk-go 09:13:53 ---> Running in d84d2c7782a4 09:13:53 Removing intermediate container d84d2c7782a4 09:13:53 ---> 28fa98cef19c 09:13:53 Step 7/8 : COPY . . 09:13:53 ---> dd83f3acadf6 09:13:53 Step 8/8 : RUN go mod download 09:13:53 ---> Running in f03f234113e1 09:14:02 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1115 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 09:14:02 Running in /w/workspace/device-sdk-go/193 [Pipeline] { [Pipeline] checkout 09:14:02 Selected Git installation does not exist. Using Default 09:14:02 The recommended git tool is: NONE 09:14:06 Removing intermediate container f03f234113e1 09:14:06 ---> bf66a9a53ee1 09:14:06 Successfully built bf66a9a53ee1 09:14:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:14:06 + docker inspect -f . ci-base-image-x86_64 09:14:06 . [Pipeline] withDockerContainer 09:14:06 prd-centos7-docker-4c-2g-1116 does not seem to be running inside a container 09:14:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/193 -v /w/workspace/device-sdk-go/193:/w/workspace/device-sdk-go/193:rw,z -v /w/workspace/device-sdk-go/193@tmp:/w/workspace/device-sdk-go/193@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:14:07 $ docker top 9f196e16ba7d7a81fad5f1655347b9608a374c27a6825eaec098ecfcbf3694fd -eo pid,comm [Pipeline] { [Pipeline] sh 09:14:07 + go version 09:14:07 go version go1.16.3 linux/amd64 [Pipeline] } 09:14:07 $ docker stop --time=1 9f196e16ba7d7a81fad5f1655347b9608a374c27a6825eaec098ecfcbf3694fd 09:14:09 $ docker rm -f 9f196e16ba7d7a81fad5f1655347b9608a374c27a6825eaec098ecfcbf3694fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:14:10 + docker inspect -f . ci-base-image-x86_64 09:14:10 . [Pipeline] withDockerContainer 09:14:10 prd-centos7-docker-4c-2g-1116 does not seem to be running inside a container 09:14:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/193 -v /w/workspace/device-sdk-go/193:/w/workspace/device-sdk-go/193:rw,z -v /w/workspace/device-sdk-go/193@tmp:/w/workspace/device-sdk-go/193@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:14:10 using credential edgex-jenkins-ssh 09:14:10 Cloning the remote Git repository 09:14:10 $ docker top 32f7ec81cc64b5a4899b32687f429d1806ad6cca58c3e513261ebd2c95031b62 -eo pid,comm [Pipeline] { [Pipeline] sh 09:14:11 + go mod tidy 09:14:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:14:11 > git init /w/workspace/device-sdk-go/193 # timeout=10 09:14:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:14:11 > git --version # timeout=10 09:14:11 > git --version # 'git version 2.17.1' 09:14:11 using GIT_SSH to set credentials SSH Credentials for GitHub 09:14:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh 09:14:11 + make test 09:14:11 go mod tidy 09:14:12 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:14:12 Avoid second fetch 09:14:12 Checking out Revision f798cd889c9c6c23ad9524ed5baa666d931da3e9 (master) 09:14:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:14:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:14:12 > git config core.sparsecheckout # timeout=10 09:14:12 > git checkout -f f798cd889c9c6c23ad9524ed5baa666d931da3e9 # timeout=10 09:14:16 Commit message: "Merge pull request #981 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-registry/v2-2.0.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:14:18 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:14:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:14:18 + + true 09:14:18 sudo service docker restart 09:14:18 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:14:37 provisioning config files... 09:14:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/193@tmp/config707136235913911032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:14:37 ---> docker-login.sh 09:14:37 nexus3.edgexfoundry.org:10001 09:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:38 Configure a credential helper to remove this warning. See 09:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:38 09:14:38 Login Succeeded 09:14:38 nexus3.edgexfoundry.org:10002 09:14:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:39 Configure a credential helper to remove this warning. See 09:14:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:39 09:14:39 Login Succeeded 09:14:39 nexus3.edgexfoundry.org:10003 09:14:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:40 Configure a credential helper to remove this warning. See 09:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:40 09:14:40 Login Succeeded 09:14:40 nexus3.edgexfoundry.org:10004 09:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:40 Configure a credential helper to remove this warning. See 09:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:40 09:14:40 Login Succeeded 09:14:40 docker.io 09:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:41 Configure a credential helper to remove this warning. See 09:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:41 09:14:41 Login Succeeded 09:14:41 ---> docker-login.sh ends [Pipeline] } 09:14:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:14:41 ========================================================= 09:14:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 09:14:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:14:42 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 09:14:42 Sending build context to Docker daemon 2.693MB 09:14:42 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 09:14:42 Step 2/8 : FROM ${BASE} 09:14:43 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:14:43 595b0fe564bb: Pulling fs layer 09:14:43 3088b5b3c5c0: Pulling fs layer 09:14:43 5b7225fbf94c: Pulling fs layer 09:14:43 ba82ee9f976e: Pulling fs layer 09:14:43 506bd15cee9f: Pulling fs layer 09:14:43 75a0a4a0db45: Pulling fs layer 09:14:43 618dc40b7e24: Pulling fs layer 09:14:43 ba82ee9f976e: Waiting 09:14:43 506bd15cee9f: Waiting 09:14:43 75a0a4a0db45: Waiting 09:14:43 5b7225fbf94c: Verifying Checksum 09:14:43 5b7225fbf94c: Download complete 09:14:43 3088b5b3c5c0: Verifying Checksum 09:14:43 3088b5b3c5c0: Download complete 09:14:43 595b0fe564bb: Download complete 09:14:43 75a0a4a0db45: Verifying Checksum 09:14:43 75a0a4a0db45: Download complete 09:14:43 506bd15cee9f: Verifying Checksum 09:14:43 506bd15cee9f: Download complete 09:14:43 595b0fe564bb: Pull complete 09:14:44 3088b5b3c5c0: Pull complete 09:14:44 5b7225fbf94c: Pull complete 09:14:45 618dc40b7e24: Verifying Checksum 09:14:45 618dc40b7e24: Download complete 09:14:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:14:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 09:14:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:14:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.051s coverage: 24.2% of statements 09:14:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:14:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.052s coverage: 28.1% of statements 09:14:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.053s coverage: 78.9% of statements 09:14:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.058s coverage: 9.0% of statements 09:14:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 09:14:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 09:14:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:14:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.072s coverage: 28.7% of statements 09:14:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 09:14:46 ba82ee9f976e: Verifying Checksum 09:14:46 ba82ee9f976e: Download complete 09:14:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 6.051s coverage: 83.3% of statements 09:14:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:14:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:14:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 58.0% of statements 09:14:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.813s coverage: 89.2% of statements 09:14:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 09:14:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.0% of statements 09:14:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:14:53 GO111MODULE=on go vet ./... 09:14:57 ba82ee9f976e: Pull complete 09:14:57 506bd15cee9f: Pull complete 09:14:57 75a0a4a0db45: Pull complete 09:15:01 618dc40b7e24: Pull complete 09:15:01 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 09:15:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 09:15:01 ---> a36622ca3599 09:15:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:15:03 ---> Running in efd3f9ee4e24 09:15:03 Removing intermediate container efd3f9ee4e24 09:15:03 ---> a076d7ee81eb 09:15:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:15:03 ---> Running in 9865a58657fe 09:15:06 Removing intermediate container 9865a58657fe 09:15:06 ---> f75145dcfb33 09:15:06 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 09:15:06 ---> Running in 79911dcde3f3 09:15:09 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 09:15:09 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 09:15:10 (1/6) Installing libc-dev (0.7.2-r3) 09:15:10 (2/6) Installing libsodium (1.0.18-r0) 09:15:10 (3/6) Installing pkgconf (1.7.3-r0) 09:15:10 (4/6) Installing libsodium-dev (1.0.18-r0) 09:15:10 (5/6) Installing libzmq (4.3.3-r1) 09:15:11 (6/6) Installing zeromq-dev (4.3.3-r1) 09:15:11 Executing busybox-1.32.1-r6.trigger 09:15:11 OK: 139 MiB in 46 packages 09:15:12 Removing intermediate container 79911dcde3f3 09:15:12 ---> 30ea68a1a740 09:15:12 Step 6/8 : WORKDIR /device-sdk-go 09:15:12 ---> Running in 7490d2f8d040 09:15:12 Removing intermediate container 7490d2f8d040 09:15:12 ---> a17ac05a712c 09:15:12 Step 7/8 : COPY . . 09:15:12 gofmt -l . 09:15:12 [ "`gofmt -l .`" = "" ] 09:15:12 ./bin/test-attribution-txt.sh 09:15:12 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:15:12 $ docker stop --time=1 32f7ec81cc64b5a4899b32687f429d1806ad6cca58c3e513261ebd2c95031b62 09:15:14 ---> 9b832bba12d2 09:15:14 Step 8/8 : RUN go mod download 09:15:14 ---> Running in 699c06417c0a 09:15:14 $ docker rm -f 32f7ec81cc64b5a4899b32687f429d1806ad6cca58c3e513261ebd2c95031b62 [Pipeline] // withDockerContainer [Pipeline] sh 09:15:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:15:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:15:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:15:24 + ls -al . 09:15:24 total 212 09:15:24 drwxrwxr-x. 10 jenkins jenkins 4096 Jun 24 09:15 . 09:15:24 drwxrwxr-x. 4 jenkins jenkins 32 Jun 24 09:13 .. 09:15:24 drwxrwxr-x. 2 jenkins jenkins 64 Jun 24 09:13 bin 09:15:24 -rw-r--r--. 1 jenkins jenkins 125634 Jun 24 09:14 coverage.out 09:15:24 -rw-rw-r--. 1 jenkins jenkins 987 Jun 24 09:13 Dockerfile.build 09:15:24 -rw-rw-r--. 1 jenkins jenkins 140 Jun 24 09:13 .dockerignore 09:15:24 drwxrwxr-x. 5 jenkins jenkins 62 Jun 24 09:13 example 09:15:24 drwxrwxr-x. 8 jenkins jenkins 162 Jun 24 09:13 .git 09:15:24 drwxrwxr-x. 2 jenkins jenkins 103 Jun 24 09:13 .github 09:15:24 -rw-rw-r--. 1 jenkins jenkins 138 Jun 24 09:13 .gitignore 09:15:24 -rw-r--r--. 1 jenkins jenkins 563 Jun 24 09:15 go.mod 09:15:24 -rw-r--r--. 1 jenkins jenkins 20507 Jun 24 09:14 go.sum 09:15:24 drwxrwxr-x. 15 jenkins jenkins 224 Jun 24 09:13 internal 09:15:24 -rw-rw-r--. 1 jenkins jenkins 894 Jun 24 09:13 Jenkinsfile 09:15:24 -rw-rw-r--. 1 jenkins jenkins 11341 Jun 24 09:13 LICENSE 09:15:24 -rw-rw-r--. 1 jenkins jenkins 1026 Jun 24 09:13 Makefile 09:15:24 drwxrwxr-x. 4 jenkins jenkins 26 Jun 24 09:13 openapi 09:15:24 drwxrwxr-x. 5 jenkins jenkins 50 Jun 24 09:13 pkg 09:15:24 -rw-rw-r--. 1 jenkins jenkins 7652 Jun 24 09:13 README.md 09:15:24 -rw-rw-r--. 1 jenkins jenkins 6616 Jun 24 09:13 RELEASE-NOTES.txt 09:15:24 drwxrwxr-x. 4 jenkins jenkins 54 Jun 24 09:13 snap 09:15:24 -rw-rw-r--. 1 jenkins jenkins 12 Jun 24 09:11 VERSION 09:15:24 -rw-rw-r--. 1 jenkins jenkins 222 Jun 24 09:13 version.go [Pipeline] isUnix [Pipeline] sh 09:15:24 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f798cd889c9c6c23ad9524ed5baa666d931da3e9 --label arch=amd64 --label version=2.0.0-dev.84 . 09:15:24 Sending build context to Docker daemon 2.821MB 09:15:24 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 09:15:24 Step 2/23 : FROM ${BASE} AS builder 09:15:24 ---> bf66a9a53ee1 09:15:24 Step 3/23 : WORKDIR /device-sdk-go 09:15:24 ---> Running in 55327b0810f8 09:15:24 Removing intermediate container 55327b0810f8 09:15:24 ---> 3851c4ba7444 09:15:24 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:15:24 ---> Running in b734d12577c7 09:15:24 Removing intermediate container b734d12577c7 09:15:24 ---> a5dfeffcf461 09:15:24 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:15:24 ---> Running in 836717899c3e 09:15:25 Removing intermediate container 836717899c3e 09:15:25 ---> 8a2278777f48 09:15:25 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 09:15:25 ---> Running in 7d507d77c4dc 09:15:25 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 09:15:26 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 09:15:27 OK: 150 MiB in 46 packages 09:15:27 Removing intermediate container 7d507d77c4dc 09:15:27 ---> 14024a6c5c4b 09:15:27 Step 7/23 : COPY . . 09:15:28 ---> c22e32f0a255 09:15:28 Step 8/23 : RUN go mod download 09:15:28 ---> Running in 23d9fc73fcb2 09:15:28 Removing intermediate container 23d9fc73fcb2 09:15:28 ---> 03357e96c39c 09:15:28 Step 9/23 : RUN make build 09:15:28 ---> Running in 406d64663d78 09:15:28 go mod tidy 09:15:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.84" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:15:40 Removing intermediate container 699c06417c0a 09:15:40 ---> a79cdac9aa69 09:15:40 Successfully built a79cdac9aa69 09:15:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:15:41 + docker inspect -f . ci-base-image-arm64 09:15:41 . [Pipeline] withDockerContainer 09:15:41 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 09:15:41 prd-ubuntu18.04-docker-arm64-4c-16g-1115 does not seem to be running inside a container 09:15:41 Removing intermediate container 406d64663d78 09:15:41 ---> 8b65d7cbfd4c 09:15:41 Step 10/23 : FROM alpine:3.12 09:15:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/193 -v /w/workspace/device-sdk-go/193:/w/workspace/device-sdk-go/193:rw,z -v /w/workspace/device-sdk-go/193@tmp:/w/workspace/device-sdk-go/193@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:15:44 3.12: Pulling from library/alpine 09:15:44 339de151aab4: Pulling fs layer 09:15:44 339de151aab4: Verifying Checksum 09:15:44 339de151aab4: Download complete 09:15:44 339de151aab4: Pull complete 09:15:44 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 09:15:44 Status: Downloaded newer image for alpine:3.12 09:15:44 ---> 13621d1b12d4 09:15:44 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:15:44 ---> Running in 06f8241320df 09:15:44 Removing intermediate container 06f8241320df 09:15:44 ---> 31f79cd6dbb4 09:15:44 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:15:44 ---> Running in 36bffebbd4d1 09:15:44 Removing intermediate container 36bffebbd4d1 09:15:44 ---> b1e13344fc3e 09:15:44 Step 13/23 : RUN apk add --update --no-cache zeromq 09:15:44 ---> Running in 45fc8af9166e 09:15:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:15:44 $ docker top 2341258f0370fa0cd7023b62e35bd4e7df4b133cdacffb11edcf62f44fad019e -eo pid,comm 09:15:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh 09:15:44 (1/5) Installing libgcc (9.3.0-r2) 09:15:44 (2/5) Installing libsodium (1.0.18-r0) 09:15:45 + go version 09:15:45 go version go1.16.5 linux/arm64 [Pipeline] } 09:15:45 $ docker stop --time=1 2341258f0370fa0cd7023b62e35bd4e7df4b133cdacffb11edcf62f44fad019e 09:15:45 (3/5) Installing libstdc++ (9.3.0-r2) 09:15:46 (4/5) Installing libzmq (4.3.3-r0) 09:15:46 (5/5) Installing zeromq (4.3.3-r0) 09:15:46 Executing busybox-1.31.1-r20.trigger 09:15:46 OK: 8 MiB in 19 packages 09:15:46 Removing intermediate container 45fc8af9166e 09:15:46 ---> 1fb93ad9a064 09:15:46 Step 14/23 : WORKDIR / 09:15:46 ---> Running in c83b0cfc9c5a 09:15:46 Removing intermediate container c83b0cfc9c5a 09:15:46 ---> 311c39bad4b5 09:15:46 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:15:46 ---> 3071cb66ace5 09:15:46 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:15:46 $ docker rm -f 2341258f0370fa0cd7023b62e35bd4e7df4b133cdacffb11edcf62f44fad019e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:15:47 ---> 5119bbbe8701 09:15:47 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:15:47 ---> 1a6047db6222 09:15:47 Step 18/23 : EXPOSE 59999 09:15:47 ---> Running in 022e1d84ccfa 09:15:47 + docker inspect -f . ci-base-image-arm64 09:15:47 . [Pipeline] withDockerContainer 09:15:47 Removing intermediate container 022e1d84ccfa 09:15:47 ---> 82b387fce8ea 09:15:47 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:15:47 ---> Running in e4ca0a9aad3a 09:15:47 Removing intermediate container e4ca0a9aad3a 09:15:47 ---> 97ef28169f13 09:15:47 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:15:47 ---> Running in 8918ba9b8a56 09:15:47 Removing intermediate container 8918ba9b8a56 09:15:47 ---> e879afc69037 09:15:47 Step 21/23 : LABEL arch=amd64 09:15:47 prd-ubuntu18.04-docker-arm64-4c-16g-1115 does not seem to be running inside a container 09:15:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/193 -v /w/workspace/device-sdk-go/193:/w/workspace/device-sdk-go/193:rw,z -v /w/workspace/device-sdk-go/193@tmp:/w/workspace/device-sdk-go/193@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:15:48 ---> Running in 30a2537ac200 09:15:48 Removing intermediate container 30a2537ac200 09:15:48 ---> 3b7a0efe83a6 09:15:48 Step 22/23 : LABEL git_sha=f798cd889c9c6c23ad9524ed5baa666d931da3e9 09:15:48 ---> Running in c6d5d50530a4 09:15:48 Removing intermediate container c6d5d50530a4 09:15:48 ---> 8240aa442661 09:15:48 Step 23/23 : LABEL version=2.0.0-dev.84 09:15:48 ---> Running in a7d2f30baf0c 09:15:48 Removing intermediate container a7d2f30baf0c 09:15:48 ---> a6e19bdc12ae 09:15:48 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:15:48 Successfully built a6e19bdc12ae 09:15:48 Successfully tagged device-sdk-simple:latest 09:15:49 $ docker top 890a9afd606ce299b9243af320f378a9d3a9fbd2ebef34da67b1dc30b9931305 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 09:15:50 + go mod tidy 09:15:50 ---> job-cost.sh 09:15:50 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-egT6 [Pipeline] sh 09:15:51 + make test 09:15:51 go mod tidy 09:15:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:16:00 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:16:12 lf-activate-venv(): INFO: Adding /tmp/venv-egT6/bin to PATH 09:16:12 INFO: No Stack... 09:16:13 INFO: Retrieving Pricing Info for: v3-standard-2 09:16:13 INFO: Archiving Costs [Pipeline] sh 09:16:13 + cat /w/workspace/device-sdk-go/193/archives/cost.csv 09:16:13 + cut -d, -f6 [Pipeline] lock 09:16:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-193-stack-cost] 09:16:14 Resource [jenkins-edgexfoundry-device-sdk-go-master-193-stack-cost] did not exist. Created. 09:16:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-193-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:16:14 + echo total: 0.05999999865889549 [Pipeline] stash 09:16:14 Stashed 1 file(s) [Pipeline] } 09:16:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-193-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:16:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:17:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:17:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 09:17:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:17:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.283s coverage: 24.2% of statements 09:17:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:17:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.274s coverage: 28.1% of statements 09:17:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.231s coverage: 78.9% of statements 09:17:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.294s coverage: 9.0% of statements 09:17:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 09:17:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 09:17:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:17:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.309s coverage: 28.7% of statements 09:17:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 09:17:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 6.324s coverage: 83.3% of statements 09:17:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:17:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:17:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.409s coverage: 58.0% of statements 09:17:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.113s coverage: 89.2% of statements 09:17:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 09:17:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.193s coverage: 5.0% of statements 09:17:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:17:41 GO111MODULE=on go vet ./... 09:18:39 gofmt -l . 09:18:39 [ "`gofmt -l .`" = "" ] 09:18:39 ./bin/test-attribution-txt.sh 09:18:41 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:18:42 $ docker stop --time=1 890a9afd606ce299b9243af320f378a9d3a9fbd2ebef34da67b1dc30b9931305 09:18:44 $ docker rm -f 890a9afd606ce299b9243af320f378a9d3a9fbd2ebef34da67b1dc30b9931305 [Pipeline] // withDockerContainer [Pipeline] sh 09:18:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:18:45 Warning: overwriting stash ‘coverage-report’ 09:18:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:18:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:18:47 + ls -al . 09:18:47 total 248 09:18:47 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 09:18 . 09:18:47 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 09:14 .. 09:18:47 -rw-rw-r-- 1 jenkins jenkins 140 Jun 24 09:14 .dockerignore 09:18:47 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 09:14 .git 09:18:47 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 09:14 .github 09:18:47 -rw-rw-r-- 1 jenkins jenkins 138 Jun 24 09:14 .gitignore 09:18:47 -rw-rw-r-- 1 jenkins jenkins 987 Jun 24 09:14 Dockerfile.build 09:18:47 -rw-rw-r-- 1 jenkins jenkins 894 Jun 24 09:14 Jenkinsfile 09:18:47 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 24 09:14 LICENSE 09:18:47 -rw-rw-r-- 1 jenkins jenkins 1026 Jun 24 09:14 Makefile 09:18:47 -rw-rw-r-- 1 jenkins jenkins 7652 Jun 24 09:14 README.md 09:18:47 -rw-rw-r-- 1 jenkins jenkins 6616 Jun 24 09:14 RELEASE-NOTES.txt 09:18:47 -rw-rw-r-- 1 jenkins jenkins 12 Jun 24 09:11 VERSION 09:18:47 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 09:14 bin 09:18:47 -rw-r--r-- 1 jenkins jenkins 125634 Jun 24 09:17 coverage.out 09:18:47 drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 09:14 example 09:18:47 -rw-r--r-- 1 jenkins jenkins 563 Jun 24 09:18 go.mod 09:18:47 -rw-r--r-- 1 jenkins jenkins 20507 Jun 24 09:15 go.sum 09:18:47 drwxrwxr-x 15 jenkins jenkins 4096 Jun 24 09:14 internal 09:18:47 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 09:14 openapi 09:18:47 drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 09:14 pkg 09:18:47 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 09:14 snap 09:18:47 -rw-rw-r-- 1 jenkins jenkins 222 Jun 24 09:14 version.go [Pipeline] isUnix [Pipeline] sh 09:18:47 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f798cd889c9c6c23ad9524ed5baa666d931da3e9 --label arch=arm64 --label version=2.0.0-dev.84 . 09:18:48 Sending build context to Docker daemon 2.82MB 09:18:48 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 09:18:48 Step 2/23 : FROM ${BASE} AS builder 09:18:48 ---> a79cdac9aa69 09:18:48 Step 3/23 : WORKDIR /device-sdk-go 09:18:48 ---> Running in 3c740f9bc557 09:18:48 Removing intermediate container 3c740f9bc557 09:18:48 ---> 2a3f3302adba 09:18:48 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:18:48 ---> Running in 0202d3f73107 09:18:49 Removing intermediate container 0202d3f73107 09:18:49 ---> 4f2c7ade95bd 09:18:49 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:18:49 ---> Running in c2a745274972 09:18:56 Removing intermediate container c2a745274972 09:18:56 ---> fb2a1e8e406e 09:18:56 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 09:18:56 ---> Running in 2ff4d28515ce 09:18:56 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 09:18:56 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 09:18:56 OK: 139 MiB in 46 packages 09:18:56 Removing intermediate container 2ff4d28515ce 09:18:56 ---> 0df86d327e95 09:18:56 Step 7/23 : COPY . . 09:18:57 ---> 2800f28fa68a 09:18:57 Step 8/23 : RUN go mod download 09:18:58 ---> Running in effbc8b79ac8 09:19:00 Removing intermediate container effbc8b79ac8 09:19:00 ---> 3cbc2449d5ac 09:19:00 Step 9/23 : RUN make build 09:19:00 ---> Running in 6872add3586f 09:19:02 go mod tidy 09:19:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.84" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:19:34 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 09:19:37 Removing intermediate container 6872add3586f 09:19:37 ---> 2fc8ac1aced8 09:19:37 Step 10/23 : FROM alpine:3.12 09:19:38 3.12: Pulling from library/alpine 09:19:38 d2f70382dc9a: Pulling fs layer 09:19:38 d2f70382dc9a: Verifying Checksum 09:19:38 d2f70382dc9a: Download complete 09:19:39 d2f70382dc9a: Pull complete 09:19:39 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 09:19:39 Status: Downloaded newer image for alpine:3.12 09:19:39 ---> c4fd0aeabfcf 09:19:39 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:19:39 ---> Running in 24c96b52e532 09:19:39 Removing intermediate container 24c96b52e532 09:19:39 ---> ac5f8d612f05 09:19:39 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:19:39 ---> Running in e42f07a025a0 09:19:42 Removing intermediate container e42f07a025a0 09:19:42 ---> 6542099e5a31 09:19:42 Step 13/23 : RUN apk add --update --no-cache zeromq 09:19:42 ---> Running in 805e8c53438d 09:19:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:19:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:19:45 (1/5) Installing libgcc (9.3.0-r2) 09:19:45 (2/5) Installing libsodium (1.0.18-r0) 09:19:45 (3/5) Installing libstdc++ (9.3.0-r2) 09:19:45 (4/5) Installing libzmq (4.3.3-r0) 09:19:45 (5/5) Installing zeromq (4.3.3-r0) 09:19:45 Executing busybox-1.31.1-r20.trigger 09:19:45 OK: 8 MiB in 19 packages 09:19:46 Removing intermediate container 805e8c53438d 09:19:46 ---> e0638c9b0b71 09:19:46 Step 14/23 : WORKDIR / 09:19:46 ---> Running in ab795668cde6 09:19:47 Removing intermediate container ab795668cde6 09:19:47 ---> 381448e88091 09:19:47 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:19:50 ---> 345be6a9315b 09:19:50 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:19:50 ---> 645530853616 09:19:50 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:19:50 ---> e53da0b424ec 09:19:50 Step 18/23 : EXPOSE 59999 09:19:50 ---> Running in f1bebd5742f8 09:19:50 Removing intermediate container f1bebd5742f8 09:19:50 ---> 4c88dbbc09bc 09:19:50 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:19:50 ---> Running in 4c32745594a5 09:19:51 Removing intermediate container 4c32745594a5 09:19:51 ---> e3668b95f088 09:19:51 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:19:51 ---> Running in 529048086eb4 09:19:52 Removing intermediate container 529048086eb4 09:19:52 ---> da87e72e0d11 09:19:52 Step 21/23 : LABEL arch=arm64 09:19:52 ---> Running in cf3f6684a82e 09:19:52 Removing intermediate container cf3f6684a82e 09:19:52 ---> a7ad9edf80f6 09:19:52 Step 22/23 : LABEL git_sha=f798cd889c9c6c23ad9524ed5baa666d931da3e9 09:19:52 ---> Running in abc19893ec92 09:19:53 Removing intermediate container abc19893ec92 09:19:53 ---> 275948f51938 09:19:53 Step 23/23 : LABEL version=2.0.0-dev.84 09:19:53 ---> Running in e4e362498718 09:19:53 Removing intermediate container e4e362498718 09:19:53 ---> e97a551705d1 09:19:53 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:19:53 Successfully built e97a551705d1 09:19:53 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 09:19:54 ---> job-cost.sh 09:19:54 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1Tta 09:20:33 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:22:11 lf-activate-venv(): INFO: Adding /tmp/venv-1Tta/bin to PATH 09:22:11 INFO: No Stack... 09:22:11 INFO: Retrieving Pricing Info for: v2-standard-4 09:22:11 INFO: Archiving Costs [Pipeline] sh 09:22:11 + cat /w/workspace/device-sdk-go/193/archives/cost.csv 09:22:11 + cut -d, -f6 [Pipeline] lock 09:22:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-193-stack-cost] 09:22:11 Resource [jenkins-edgexfoundry-device-sdk-go-master-193-stack-cost] did not exist. Created. 09:22:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-193-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:22:12 /w/workspace/device-sdk-go/193@tmp/durable-8286f4fb/script.sh: 1: /w/workspace/device-sdk-go/193@tmp/durable-8286f4fb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 09:22:12 + echo total: 0.18000000715255737 [Pipeline] stash 09:22:12 Warning: overwriting stash ‘stack-cost’ 09:22:12 Stashed 1 file(s) [Pipeline] } 09:22:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-193-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 09:22:13 provisioning config files... 09:22:13 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4737208532162522485tmp [Pipeline] { [Pipeline] sh 09:22:13 + set +x 09:22:13 + curl -s https://codecov.io/bash 09:22:13 + bash -s -- 09:22:13 09:22:13 _____ _ 09:22:13 / ____| | | 09:22:13 | | ___ __| | ___ ___ _____ __ 09:22:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:22:13 | |___| (_) | (_| | __/ (_| (_) \ V / 09:22:13 \_____\___/ \__,_|\___|\___\___/ \_/ 09:22:13 Bash-1.0.3 09:22:13 09:22:13 09:22:13 ==> git version 2.24.4 found 09:22:13 ==> 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 09:22:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 09:22:13 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 09:22:13 ==> Jenkins CI detected. 09:22:13 project root: . 09:22:13 --> token set from env 09:22:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:22:14 ==> Running gcov in . (disable via -X gcov) 09:22:14 ==> Python coveragepy not found 09:22:14 ==> Searching for coverage reports in: 09:22:14 + . 09:22:14 -> Found 1 reports 09:22:14 ==> Detecting git/mercurial file structure 09:22:14 ==> Reading reports 09:22:14 + ./coverage.out bytes=125634 09:22:14 ==> Appending adjustments 09:22:14 https://docs.codecov.io/docs/fixing-reports 09:22:14 + Found adjustments 09:22:14 ==> Gzipping contents 09:22:14 16K /tmp/codecov.UlHwaq.gz 09:22:14 ==> Uploading reports 09:22:14 url: https://codecov.io 09:22:14 query: branch=master&commit=f798cd889c9c6c23ad9524ed5baa666d931da3e9&build=193&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F193%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:22:14 -> Pinging Codecov 09:22:14 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=f798cd889c9c6c23ad9524ed5baa666d931da3e9&build=193&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F193%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:22:15 -> Uploading to 09:22:15 https://storage.googleapis.com/codecov/v4/raw/2021-06-24/7E55EF52A471D76F132DFD9A03CDDE97/f798cd889c9c6c23ad9524ed5baa666d931da3e9/a319cee6-4b0d-4bdb-9adc-16587ed49a94.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210624%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210624T092214Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cbeff5528cf110e17edd3b99ad79a1c0fedc1e0153a7259697b1a3236292ff40 09:22:15 % Total % Received % Xferd Average Speed Time Time Time Current 09:22:15 Dload Upload Total Spent Left Speed 09:22:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16295 0 0 100 16295 0 41191 --:--:-- --:--:-- --:--:-- 41253 09:22:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f798cd889c9c6c23ad9524ed5baa666d931da3e9 [Pipeline] } 09:22:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:22:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:22:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:22:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:22:16 09:22:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 09:22:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:22:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:22:16 188c0c94c7c5: Pulling fs layer 09:22:16 0ef7d3d256c8: Pulling fs layer 09:22:16 de9db76c5a1d: Pulling fs layer 09:22:16 0eba1c9be4d2: Pulling fs layer 09:22:16 0d57e429df01: Pulling fs layer 09:22:16 4e4be7b47b0d: Pulling fs layer 09:22:16 e1f770b5df2f: Pulling fs layer 09:22:16 85a0685a4137: Pulling fs layer 09:22:16 0eba1c9be4d2: Waiting 09:22:16 0d57e429df01: Waiting 09:22:16 4e4be7b47b0d: Waiting 09:22:16 85a0685a4137: Waiting 09:22:16 e1f770b5df2f: Waiting 09:22:16 de9db76c5a1d: Verifying Checksum 09:22:16 de9db76c5a1d: Download complete 09:22:16 0ef7d3d256c8: Verifying Checksum 09:22:16 0ef7d3d256c8: Download complete 09:22:16 0d57e429df01: Verifying Checksum 09:22:16 0d57e429df01: Download complete 09:22:16 4e4be7b47b0d: Verifying Checksum 09:22:16 4e4be7b47b0d: Download complete 09:22:16 188c0c94c7c5: Verifying Checksum 09:22:16 188c0c94c7c5: Download complete 09:22:17 188c0c94c7c5: Pull complete 09:22:17 0ef7d3d256c8: Pull complete 09:22:17 de9db76c5a1d: Pull complete 09:22:20 e1f770b5df2f: Verifying Checksum 09:22:20 e1f770b5df2f: Download complete 09:22:23 0eba1c9be4d2: Verifying Checksum 09:22:23 0eba1c9be4d2: Download complete 09:22:23 85a0685a4137: Verifying Checksum 09:22:23 85a0685a4137: Download complete 09:22:26 0eba1c9be4d2: Pull complete 09:22:26 0d57e429df01: Pull complete 09:22:27 4e4be7b47b0d: Pull complete 09:22:27 e1f770b5df2f: Pull complete 09:22:31 85a0685a4137: Pull complete 09:22:31 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 09:22:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:22:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 09:22:31 prd-centos7-docker-4c-2g-1112 does not seem to be running inside a container 09:22:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 09:22:34 $ docker top 78d1d94fc83fd48fc65e050bbf79a3f3c267c1c068398975c1e7142b68ab4a07 -eo pid,comm [Pipeline] { [Pipeline] echo 09:22:34 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 09:22:34 + set -o pipefail 09:22:34 + snyk monitor '--org=edgex-jenkins' 09:22:46 09:22:46 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... 09:22:46 09:22:46 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/60c62df9-3132-40b9-8b65-e211376218fd 09:22:46 09:22:46 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:22:46 09:22:46 [Pipeline] } 09:22:46 $ docker stop --time=1 78d1d94fc83fd48fc65e050bbf79a3f3c267c1c068398975c1e7142b68ab4a07 09:22:48 $ docker rm -f 78d1d94fc83fd48fc65e050bbf79a3f3c267c1c068398975c1e7142b68ab4a07 [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) [Pipeline] echo 09:22:49 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:22:49 provisioning config files... 09:22:49 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3491990500479207717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:49 --> edgex-publish-swagger.sh 09:22:49 === Publish openapi/v1 API === 09:22:49 [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger 09:22:49 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] 09:22:49 % Total % Received % Xferd Average Speed Time Time Time Current 09:22:49 Dload Upload Total Spent Left Speed 09:22:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 26872 --:--:-- --:--:-- --:--:-- 26882 09:22:50 09:22:50 09:22:50 === Publish openapi/v2 API === 09:22:50 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 09:22:50 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] 09:22:50 % Total % Received % Xferd Average Speed Time Time Time Current 09:22:50 Dload Upload Total Spent Left Speed 09:22:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51483 0 0 100 51483 0 66934 --:--:-- --:--:-- --:--:-- 66861 09:22:51 09:22:51 [Pipeline] } 09:22:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:22:51 + git log --format=format:%s -1 f798cd889c9c6c23ad9524ed5baa666d931da3e9 [Pipeline] isUnix [Pipeline] sh 09:22:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:22:52 . [Pipeline] withDockerContainer 09:22:52 prd-centos7-docker-4c-2g-1112 does not seem to be running inside a container 09:22:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:22:52 $ docker top 5ea46c0f4c8be6d606d59c28e34f644290064906bfeec1c3df48a42e7fe0c3a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:22:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:22:52 [ssh-agent] Looking for ssh-agent implementation... 09:22:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:22:54 $ docker exec 5ea46c0f4c8be6d606d59c28e34f644290064906bfeec1c3df48a42e7fe0c3a8 ssh-agent 09:22:54 SSH_AUTH_SOCK=/tmp/ssh-uW4k5ObJXCKM/agent.13 09:22:54 SSH_AGENT_PID=19 09:22:54 Running ssh-add (command line suppressed) 09:22:55 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3540978294996689379.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3540978294996689379.key) 09:22:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:22:55 + git semver tag 09:22:55 # -> Open(): unable to determine branch for HEAD 09:22:55 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 09:22:55 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 09:22:55 # $SEMVER_REMOTE_NAME = origin 09:22:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:22:55 # $SEMVER_USER_NAME = edgex-jenkins 09:22:55 # $SEMVER_BRANCH = master 09:22:55 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 09:22:55 # f798cd889c9c6c23ad9524ed5baa666d931da3e9 HEAD 09:22:55 # -> Force: false 09:22:55 # 9d9b343405320b73e36d3ae3c7731534a5dbbaf7 refs/tags/v2.0.0-dev.84 [Pipeline] } 09:22:55 $ docker exec --env ******** --env ******** 5ea46c0f4c8be6d606d59c28e34f644290064906bfeec1c3df48a42e7fe0c3a8 ssh-agent -k 09:22:55 unset SSH_AUTH_SOCK; 09:22:55 unset SSH_AGENT_PID; 09:22:55 echo Agent pid 19 killed; 09:22:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:22:55 + git semver [Pipeline] } 09:22:55 $ docker stop --time=1 5ea46c0f4c8be6d606d59c28e34f644290064906bfeec1c3df48a42e7fe0c3a8 09:22:57 $ docker rm -f 5ea46c0f4c8be6d606d59c28e34f644290064906bfeec1c3df48a42e7fe0c3a8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 09:22:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:22:57 09:22:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 09:22:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:22:57 0.23.1-centos7: Pulling from edgex-lftools 09:22:57 ab5ef0e58194: Pulling fs layer 09:22:57 9712f1f96733: Pulling fs layer 09:22:57 63f879dbbcfc: Pulling fs layer 09:22:57 0d9ebad4ef96: Pulling fs layer 09:22:57 e9a5061849ea: Pulling fs layer 09:22:57 d747dcd14b5f: Pulling fs layer 09:22:57 2de7ff778b66: Pulling fs layer 09:22:57 0d9ebad4ef96: Waiting 09:22:57 e9a5061849ea: Waiting 09:22:57 2de7ff778b66: Waiting 09:22:57 d747dcd14b5f: Waiting 09:22:57 9712f1f96733: Verifying Checksum 09:22:57 9712f1f96733: Download complete 09:22:59 63f879dbbcfc: Verifying Checksum 09:22:59 63f879dbbcfc: Download complete 09:23:00 e9a5061849ea: Verifying Checksum 09:23:00 e9a5061849ea: Download complete 09:23:00 d747dcd14b5f: Verifying Checksum 09:23:00 d747dcd14b5f: Download complete 09:23:00 ab5ef0e58194: Verifying Checksum 09:23:00 ab5ef0e58194: Download complete 09:23:01 2de7ff778b66: Verifying Checksum 09:23:01 2de7ff778b66: Download complete 09:23:01 0d9ebad4ef96: Verifying Checksum 09:23:01 0d9ebad4ef96: Download complete 09:23:03 ab5ef0e58194: Pull complete 09:23:03 9712f1f96733: Pull complete 09:23:04 63f879dbbcfc: Pull complete 09:23:08 0d9ebad4ef96: Pull complete 09:23:08 e9a5061849ea: Pull complete 09:23:08 d747dcd14b5f: Pull complete 09:23:09 2de7ff778b66: Pull complete 09:23:09 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:23:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:23:09 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 09:23:09 prd-centos7-docker-4c-2g-1112 does not seem to be running inside a container 09:23:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:23:15 $ docker top 5fea3f4b69693c45cb32b88de5939d6340e18434a8a75468acdb79ae96326a84 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:23:15 provisioning config files... 09:23:15 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2873451858399426486tmp 09:23:15 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4057393004481835334tmp 09:23:15 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4624398760034827998tmp [Pipeline] { [Pipeline] echo 09:23:15 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:23:16 ---> sigul-configuration.sh 09:23:16 gpg: directory `/root/.gnupg' created 09:23:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:23:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:23:16 gpg: keyring `/root/.gnupg/secring.gpg' created 09:23:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:23:16 gpg: CAST5 encrypted data 09:23:16 gpg: encrypted with 1 passphrase 09:23:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:23:16 + mkdir /home/jenkins 09:23:16 + mkdir /home/jenkins/sigul [Pipeline] sh 09:23:16 + 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 09:23:16 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:23:16 ---> sigul-install.sh 09:23:21 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 09:23:21 + git tag --list 09:23:21 0.7.1 09:23:21 delhi-tag 09:23:21 v1.0.0 09:23:21 v1.1.0 09:23:21 v1.1.1 09:23:21 v1.1.2 09:23:21 v1.2.0 09:23:21 v1.2.1 09:23:21 v1.2.2 09:23:21 v1.2.3 09:23:21 v1.3.0 09:23:21 v1.4.0 09:23:21 v2.0.0-dev.1 09:23:21 v2.0.0-dev.10 09:23:21 v2.0.0-dev.11 09:23:21 v2.0.0-dev.12 09:23:21 v2.0.0-dev.13 09:23:21 v2.0.0-dev.14 09:23:21 v2.0.0-dev.15 09:23:21 v2.0.0-dev.16 09:23:21 v2.0.0-dev.17 09:23:21 v2.0.0-dev.18 09:23:21 v2.0.0-dev.19 09:23:21 v2.0.0-dev.2 09:23:21 v2.0.0-dev.20 09:23:21 v2.0.0-dev.21 09:23:21 v2.0.0-dev.22 09:23:21 v2.0.0-dev.23 09:23:21 v2.0.0-dev.24 09:23:21 v2.0.0-dev.25 09:23:21 v2.0.0-dev.26 09:23:21 v2.0.0-dev.27 09:23:21 v2.0.0-dev.28 09:23:21 v2.0.0-dev.29 09:23:21 v2.0.0-dev.3 09:23:21 v2.0.0-dev.30 09:23:21 v2.0.0-dev.31 09:23:21 v2.0.0-dev.32 09:23:21 v2.0.0-dev.33 09:23:21 v2.0.0-dev.34 09:23:21 v2.0.0-dev.35 09:23:21 v2.0.0-dev.36 09:23:21 v2.0.0-dev.37 09:23:21 v2.0.0-dev.38 09:23:21 v2.0.0-dev.39 09:23:21 v2.0.0-dev.4 09:23:21 v2.0.0-dev.40 09:23:21 v2.0.0-dev.41 09:23:21 v2.0.0-dev.42 09:23:21 v2.0.0-dev.43 09:23:21 v2.0.0-dev.44 09:23:21 v2.0.0-dev.45 09:23:21 v2.0.0-dev.46 09:23:21 v2.0.0-dev.47 09:23:21 v2.0.0-dev.48 09:23:21 v2.0.0-dev.49 09:23:21 v2.0.0-dev.5 09:23:21 v2.0.0-dev.50 09:23:21 v2.0.0-dev.51 09:23:21 v2.0.0-dev.52 09:23:21 v2.0.0-dev.53 09:23:21 v2.0.0-dev.54 09:23:21 v2.0.0-dev.55 09:23:21 v2.0.0-dev.56 09:23:21 v2.0.0-dev.57 09:23:21 v2.0.0-dev.58 09:23:21 v2.0.0-dev.59 09:23:21 v2.0.0-dev.6 09:23:21 v2.0.0-dev.60 09:23:21 v2.0.0-dev.61 09:23:21 v2.0.0-dev.62 09:23:21 v2.0.0-dev.63 09:23:21 v2.0.0-dev.64 09:23:21 v2.0.0-dev.65 09:23:21 v2.0.0-dev.66 09:23:21 v2.0.0-dev.67 09:23:21 v2.0.0-dev.68 09:23:21 v2.0.0-dev.69 09:23:21 v2.0.0-dev.7 09:23:21 v2.0.0-dev.70 09:23:21 v2.0.0-dev.71 09:23:21 v2.0.0-dev.72 09:23:21 v2.0.0-dev.73 09:23:21 v2.0.0-dev.74 09:23:21 v2.0.0-dev.75 09:23:21 v2.0.0-dev.76 09:23:21 v2.0.0-dev.77 09:23:21 v2.0.0-dev.78 09:23:21 v2.0.0-dev.79 09:23:21 v2.0.0-dev.8 09:23:21 v2.0.0-dev.80 09:23:21 v2.0.0-dev.81 09:23:21 v2.0.0-dev.82 09:23:21 v2.0.0-dev.83 09:23:21 v2.0.0-dev.84 09:23:21 v2.0.0-dev.9 [Pipeline] sh 09:23:22 + lftools sign git-tag v2.0.0-dev.84 09:23:22 Signing Git tag with Sigul... 09:23:22 Signing v2.0.0-dev.84 [Pipeline] echo 09:23:23 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:23:24 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:23:24 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:23:24 $ docker stop --time=1 5fea3f4b69693c45cb32b88de5939d6340e18434a8a75468acdb79ae96326a84 09:23:26 $ docker rm -f 5fea3f4b69693c45cb32b88de5939d6340e18434a8a75468acdb79ae96326a84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 09:23:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:23:26 . [Pipeline] withDockerContainer 09:23:26 prd-centos7-docker-4c-2g-1112 does not seem to be running inside a container 09:23:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:23:27 $ docker top e7410eab54ad0b39fa842f3946db38cb76611936b034b1579657dbde91cade34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:23:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:23:27 [ssh-agent] Looking for ssh-agent implementation... 09:23:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:23:27 $ docker exec e7410eab54ad0b39fa842f3946db38cb76611936b034b1579657dbde91cade34 ssh-agent 09:23:27 SSH_AUTH_SOCK=/tmp/ssh-a9bKHlaKOaO1/agent.15 09:23:27 SSH_AGENT_PID=22 09:23:27 Running ssh-add (command line suppressed) 09:23:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5162591613303945465.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5162591613303945465.key) 09:23:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:23:28 + git semver bump pre 09:23:28 # -> Open(): unable to determine branch for HEAD 09:23:28 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 09:23:28 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 09:23:28 # $SEMVER_REMOTE_NAME = origin 09:23:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:23:28 # $SEMVER_USER_NAME = edgex-jenkins 09:23:28 # $SEMVER_BRANCH = master 09:23:28 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 09:23:28 2.0.0-dev.85 [Pipeline] } 09:23:28 $ docker exec --env ******** --env ******** e7410eab54ad0b39fa842f3946db38cb76611936b034b1579657dbde91cade34 ssh-agent -k 09:23:28 unset SSH_AUTH_SOCK; 09:23:28 unset SSH_AGENT_PID; 09:23:28 echo Agent pid 22 killed; 09:23:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:23:28 + git semver [Pipeline] } 09:23:28 $ docker stop --time=1 e7410eab54ad0b39fa842f3946db38cb76611936b034b1579657dbde91cade34 09:23:29 $ docker rm -f e7410eab54ad0b39fa842f3946db38cb76611936b034b1579657dbde91cade34 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 09:23:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:23:30 . [Pipeline] withDockerContainer 09:23:30 prd-centos7-docker-4c-2g-1112 does not seem to be running inside a container 09:23:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:23:30 $ docker top 881bb1491f63bc25555696eaf71b190e9035468a7aaacc5342ac5df3638dcf30 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:23:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:23:31 [ssh-agent] Looking for ssh-agent implementation... 09:23:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:23:31 $ docker exec 881bb1491f63bc25555696eaf71b190e9035468a7aaacc5342ac5df3638dcf30 ssh-agent 09:23:31 SSH_AUTH_SOCK=/tmp/ssh-y5Tq2kRlgZ5C/agent.14 09:23:31 SSH_AGENT_PID=20 09:23:31 Running ssh-add (command line suppressed) 09:23:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7213366140482105726.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7213366140482105726.key) 09:23:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:23:31 + git semver push 09:23:31 # -> Open(): unable to determine branch for HEAD 09:23:31 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 09:23:31 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 09:23:31 # $SEMVER_REMOTE_NAME = origin 09:23:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:23:31 # $SEMVER_USER_NAME = edgex-jenkins 09:23:31 # $SEMVER_BRANCH = master 09:23:31 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 09:23:37 $ docker exec --env ******** --env ******** 881bb1491f63bc25555696eaf71b190e9035468a7aaacc5342ac5df3638dcf30 ssh-agent -k 09:23:37 unset SSH_AUTH_SOCK; 09:23:37 unset SSH_AGENT_PID; 09:23:37 echo Agent pid 20 killed; 09:23:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:23:37 + git semver [Pipeline] } 09:23:37 $ docker stop --time=1 881bb1491f63bc25555696eaf71b190e9035468a7aaacc5342ac5df3638dcf30 09:23:38 $ docker rm -f 881bb1491f63bc25555696eaf71b190e9035468a7aaacc5342ac5df3638dcf30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 09:23:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:23:40 ---> package-listing.sh 09:23:40 ++ tr '[:upper:]' '[:lower:]' 09:23:40 ++ facter osfamily 09:23:40 + OS_FAMILY=redhat 09:23:40 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 09:23:40 + START_PACKAGES=/tmp/packages_start.txt 09:23:40 + END_PACKAGES=/tmp/packages_end.txt 09:23:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:23:40 + PACKAGES=/tmp/packages_start.txt 09:23:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 09:23:40 + PACKAGES=/tmp/packages_end.txt 09:23:40 + case "${OS_FAMILY}" in 09:23:40 + sort 09:23:40 + rpm -qa 09:23:41 + '[' -f /tmp/packages_start.txt ']' 09:23:41 + '[' -f /tmp/packages_end.txt ']' 09:23:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:23:41 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 09:23:41 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 09:23:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 09:23:41 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/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:23:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:23:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:23:42 09:23:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:23:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:23:42 alpine: Pulling from edgex-lftools-log-publisher 09:23:42 df20fa9351a1: Pulling fs layer 09:23:42 36b3adc4ff6f: Pulling fs layer 09:23:42 8ad3a11d3b57: Pulling fs layer 09:23:42 46f8f816bc3b: Pulling fs layer 09:23:42 93b61091891f: Pulling fs layer 09:23:42 93b9cdb0e59b: Pulling fs layer 09:23:42 5e14af77c1be: Pulling fs layer 09:23:42 01666e4c0597: Pulling fs layer 09:23:42 aa168da1d23b: Pulling fs layer 09:23:42 46f8f816bc3b: Waiting 09:23:42 93b61091891f: Waiting 09:23:42 93b9cdb0e59b: Waiting 09:23:42 5e14af77c1be: Waiting 09:23:42 01666e4c0597: Waiting 09:23:42 aa168da1d23b: Waiting 09:23:42 36b3adc4ff6f: Verifying Checksum 09:23:42 36b3adc4ff6f: Download complete 09:23:42 46f8f816bc3b: Verifying Checksum 09:23:42 46f8f816bc3b: Download complete 09:23:42 df20fa9351a1: Verifying Checksum 09:23:42 df20fa9351a1: Download complete 09:23:42 93b9cdb0e59b: Verifying Checksum 09:23:42 93b9cdb0e59b: Download complete 09:23:43 5e14af77c1be: Verifying Checksum 09:23:43 5e14af77c1be: Download complete 09:23:43 93b61091891f: Download complete 09:23:43 01666e4c0597: Verifying Checksum 09:23:43 01666e4c0597: Download complete 09:23:43 df20fa9351a1: Pull complete 09:23:43 8ad3a11d3b57: Verifying Checksum 09:23:43 8ad3a11d3b57: Download complete 09:23:43 36b3adc4ff6f: Pull complete 09:23:43 8ad3a11d3b57: Pull complete 09:23:43 46f8f816bc3b: Pull complete 09:23:44 93b61091891f: Pull complete 09:23:44 93b9cdb0e59b: Pull complete 09:23:44 5e14af77c1be: Pull complete 09:23:44 01666e4c0597: Pull complete 09:23:45 aa168da1d23b: Download complete 09:23:49 aa168da1d23b: Pull complete 09:23:49 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:23:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:23:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:23:49 prd-centos7-docker-4c-2g-1112 does not seem to be running inside a container 09:23:49 $ 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/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:23:52 $ docker top d39696ac225f0040bd0b83523fec28c296dda30aa4859477d8e77c5bb16036c1 -eo pid,comm [Pipeline] { [Pipeline] sh 09:23:53 + touch /tmp/pre-build-complete [Pipeline] sh 09:23:53 + mkdir -p /var/log/sa [Pipeline] sh 09:23:53 + ls /var/log/sa-host 09:23:53 + sadf -c /var/log/sa-host/sa05 09:23:53 file_magic: OK 09:23:53 HZ: Using current value: 100 09:23:53 file_header: OK 09:23:53 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 09:23:53 Statistics: 09:23:53 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:23:53 File successfully converted to sysstat format version 12.2.1 09:23:53 + sadf -c /var/log/sa-host/sa24 09:23:53 file_magic: OK 09:23:53 HZ: Using current value: 100 09:23:53 file_header: OK 09:23:53 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 09:23:53 Statistics: 09:23:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:23:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:23:53 provisioning config files... 09:23:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2291749964724885664tmp [Pipeline] { [Pipeline] echo 09:23:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:23:56 ---> create-netrc.sh [Pipeline] } 09:23:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:23:56 ---> python-tools-install.sh [Pipeline] echo 09:23:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:23:56 ---> sudo-logs.sh 09:23:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:23:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:23:57 ---> job-cost.sh 09:23:57 lf-activate-venv: SKIPPING 09:23:57 DEBUG: total: 0.18000000715255737 09:23:57 INFO: Retrieving Stack Cost... 09:23:58 INFO: Retrieving Pricing Info for: v3-standard-2 09:23:58 INFO: Archiving Costs [Pipeline] echo 09:23:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:23:59 ---> logs-deploy.sh 09:23:59 lf-activate-venv: SKIPPING 09:23:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/193 09:23:59 INFO: archiving workspace using pattern(s): 09:24:00 Archives upload complete. 09:24:00 INFO: archiving logs to Nexus 09:24:01 ---> uname -a: 09:24:01 Linux prd-centos7-docker-4c-2g-1112.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 09:24:01 09:24:01 09:24:01 ---> lscpu: 09:24:01 Architecture: x86_64 09:24:01 CPU op-mode(s): 32-bit, 64-bit 09:24:01 Byte Order: Little Endian 09:24:01 Address sizes: 40 bits physical, 48 bits virtual 09:24:01 CPU(s): 2 09:24:01 On-line CPU(s) list: 0,1 09:24:01 Thread(s) per core: 1 09:24:01 Core(s) per socket: 1 09:24:01 Socket(s): 2 09:24:01 NUMA node(s): 1 09:24:01 Vendor ID: AuthenticAMD 09:24:01 CPU family: 23 09:24:01 Model: 49 09:24:01 Model name: AMD EPYC-Rome Processor 09:24:01 Stepping: 0 09:24:01 CPU MHz: 2800.000 09:24:01 BogoMIPS: 5600.00 09:24:01 Virtualization: AMD-V 09:24:01 Hypervisor vendor: KVM 09:24:01 Virtualization type: full 09:24:01 L1d cache: 64 KiB 09:24:01 L1i cache: 64 KiB 09:24:01 L2 cache: 1 MiB 09:24:01 L3 cache: 32 MiB 09:24:01 NUMA node0 CPU(s): 0,1 09:24:01 Vulnerability Itlb multihit: Not affected 09:24:01 Vulnerability L1tf: Not affected 09:24:01 Vulnerability Mds: Not affected 09:24:01 Vulnerability Meltdown: Not affected 09:24:01 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:24:01 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:24:01 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:24:01 Vulnerability Srbds: Not affected 09:24:01 Vulnerability Tsx async abort: Not affected 09:24:01 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 retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 09:24:01 09:24:01 09:24:01 ---> nproc: 09:24:01 2 09:24:01 09:24:01 09:24:01 ---> df -h: 09:24:01 Filesystem Size Used Available Use% Mounted on 09:24:01 overlay 40.0G 8.9G 31.1G 22% / 09:24:01 tmpfs 64.0M 0 64.0M 0% /dev 09:24:01 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 09:24:01 shm 64.0M 0 64.0M 0% /dev/shm 09:24:01 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 09:24:01 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 09:24:01 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 09:24:01 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 09:24:01 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 09:24:01 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/dgexfoundry_device-sdk-go_master 09:24:01 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/dgexfoundry_device-sdk-go_master@tmp 09:24:01 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 09:24:01 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 09:24:01 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 09:24:01 09:24:01 09:24:01 ---> free -m: 09:24:01 total used free shared buff/cache available 09:24:01 Mem: 7821 1293 3139 0 3388 6446 09:24:01 Swap: 1023 0 1023 09:24:01 09:24:01 09:24:01 ---> ip addr: 09:24:01 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:24:01 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:24:01 inet 127.0.0.1/8 scope host lo 09:24:01 valid_lft forever preferred_lft forever 09:24:01 inet6 ::1/128 scope host 09:24:01 valid_lft forever preferred_lft forever 09:24:01 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 09:24:01 link/ether fa:16:3e:85:14:60 brd ff:ff:ff:ff:ff:ff 09:24:01 inet 10.30.122.115/23 brd 10.30.123.255 scope global dynamic eth0 09:24:01 valid_lft 85613sec preferred_lft 85613sec 09:24:01 inet6 fe80::f816:3eff:fe85:1460/64 scope link 09:24:01 valid_lft forever preferred_lft forever 09:24:01 3: docker0: mtu 1500 qdisc noqueue state DOWN 09:24:01 link/ether 02:42:3b:7a:55:21 brd ff:ff:ff:ff:ff:ff 09:24:01 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:24:01 valid_lft forever preferred_lft forever 09:24:01 inet6 fe80::42:3bff:fe7a:5521/64 scope link 09:24:01 valid_lft forever preferred_lft forever 09:24:01 09:24:01 09:24:01 ---> sar -b -r -n DEV: 09:24:01 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/24/21 _x86_64_ (2 CPU) 09:24:01 09:24:01 09:10:41 LINUX RESTART (2 CPU) 09:24:01 09:24:01 09:11:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:24:01 09:12:01 168.17 45.60 122.57 0.00 6601.76 41336.94 0.00 09:24:01 09:13:01 2.25 0.00 2.25 0.00 0.00 52.77 0.00 09:24:01 09:14:01 0.43 0.00 0.43 0.00 0.00 6.45 0.00 09:24:01 09:15:01 0.25 0.00 0.25 0.00 0.00 2.83 0.00 09:24:01 09:16:01 0.27 0.00 0.27 0.00 0.00 4.01 0.00 09:24:01 09:17:01 0.38 0.00 0.38 0.00 0.00 6.03 0.00 09:24:01 09:18:01 0.17 0.00 0.17 0.00 0.00 1.65 0.00 09:24:01 09:19:01 0.28 0.00 0.28 0.00 0.00 4.16 0.00 09:24:01 09:20:01 0.25 0.00 0.25 0.00 0.00 2.43 0.00 09:24:01 09:21:01 0.23 0.00 0.23 0.00 0.00 3.20 0.00 09:24:01 09:22:01 0.28 0.00 0.28 0.00 0.00 2.88 0.00 09:24:01 09:23:01 103.70 0.03 103.66 0.00 3.73 31879.99 0.00 09:24:01 Average: 23.07 3.80 19.26 0.00 550.70 6111.77 0.00 09:24:01 09:24:01 09:11:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:24:01 09:12:01 5450364 0 815304 10.18 2620 1740652 1290092 14.24 583324 1574764 132 09:24:01 09:13:01 5455764 0 809896 10.11 2620 1740660 1252576 13.83 579316 1574732 20 09:24:01 09:14:01 5455872 0 809784 10.11 2620 1740664 1252540 13.83 579004 1574928 20 09:24:01 09:15:01 5453088 0 812564 10.15 2620 1740668 1246372 13.76 581804 1574928 12 09:24:01 09:16:01 5454656 0 810988 10.13 2620 1740676 1229112 13.57 576552 1579152 20 09:24:01 09:17:01 5454508 0 811136 10.13 2620 1740676 1229124 13.57 576628 1579152 12 09:24:01 09:18:01 5457760 0 807876 10.09 2620 1740684 1208252 13.34 573864 1579152 20 09:24:01 09:19:01 5455104 0 810528 10.12 2620 1740688 1208252 13.34 576400 1579152 8 09:24:01 09:20:01 5447576 0 818052 10.21 2620 1740692 1208252 13.34 584416 1579152 8 09:24:01 09:21:01 5446284 0 819340 10.23 2620 1740696 1208456 13.34 587064 1577432 8 09:24:01 09:22:01 5445180 0 820444 10.24 2620 1740696 1208396 13.34 588588 1577432 8 09:24:01 09:23:01 4200860 0 1089856 13.61 2620 2715604 1627004 17.96 949472 2365020 256700 09:24:01 Average: 5348085 0 836314 10.44 2620 1821921 1264036 13.96 611369 1642916 21414 09:24:01 09:24:01 09:11:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:24:01 09:12:01 eth0 611.54 432.99 1118.96 88.72 0.00 0.00 0.00 0.00 09:24:01 09:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:12:01 docker0 10.69 7.81 1.94 28.50 0.00 0.00 0.00 0.00 09:24:01 09:13:01 eth0 3.48 1.07 1.74 0.45 0.00 0.00 0.00 0.00 09:24:01 09:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:14:01 eth0 1.43 0.48 0.57 0.39 0.00 0.00 0.00 0.00 09:24:01 09:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:15:01 eth0 2.93 0.55 0.72 0.40 0.00 0.00 0.00 0.00 09:24:01 09:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:16:01 eth0 2.55 0.70 0.90 0.55 0.00 0.00 0.00 0.00 09:24:01 09:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:17:01 eth0 1.18 0.62 0.67 0.46 0.00 0.00 0.00 0.00 09:24:01 09:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:18:01 eth0 0.13 0.08 0.01 0.04 0.00 0.00 0.00 0.00 09:24:01 09:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:19:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:24:01 09:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:20:01 eth0 0.72 0.08 0.06 0.01 0.00 0.00 0.00 0.00 09:24:01 09:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:21:01 eth0 0.48 0.28 0.27 0.20 0.00 0.00 0.00 0.00 09:24:01 09:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:22:01 eth0 0.17 0.12 0.08 0.07 0.00 0.00 0.00 0.00 09:24:01 09:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:23:01 eth0 997.05 914.53 7691.95 80.16 0.00 0.00 0.00 0.00 09:24:01 09:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 09:23:01 docker0 71.69 72.12 5.65 394.66 0.00 0.00 0.00 0.00 09:24:01 Average: eth0 135.22 112.69 735.10 14.29 0.00 0.00 0.00 0.00 09:24:01 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:01 Average: docker0 6.87 6.66 0.63 35.28 0.00 0.00 0.00 0.00 09:24:01 09:24:01 09:24:01 ---> sar -P ALL: 09:24:01 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/24/21 _x86_64_ (2 CPU) 09:24:01 09:24:01 09:10:41 LINUX RESTART (2 CPU) 09:24:01 09:24:01 09:11:01 CPU %user %nice %system %iowait %steal %idle 09:24:01 09:12:01 all 19.87 0.00 7.74 10.03 0.08 62.28 09:24:01 09:12:01 0 19.93 0.00 8.36 9.35 0.09 62.27 09:24:01 09:12:01 1 19.81 0.00 7.11 10.71 0.07 62.29 09:24:01 09:13:01 all 0.21 0.00 0.06 0.00 0.03 99.70 09:24:01 09:13:01 0 0.39 0.00 0.07 0.00 0.02 99.53 09:24:01 09:13:01 1 0.03 0.00 0.05 0.00 0.05 99.87 09:24:01 09:14:01 all 0.21 0.00 0.05 0.00 0.03 99.72 09:24:01 09:14:01 0 0.35 0.00 0.05 0.00 0.03 99.56 09:24:01 09:14:01 1 0.07 0.00 0.05 0.00 0.02 99.87 09:24:01 09:15:01 all 0.12 0.00 0.03 0.00 0.03 99.82 09:24:01 09:15:01 0 0.15 0.00 0.03 0.00 0.03 99.78 09:24:01 09:15:01 1 0.08 0.00 0.03 0.00 0.02 99.87 09:24:01 09:16:01 all 0.17 0.00 0.05 0.00 0.03 99.75 09:24:01 09:16:01 0 0.23 0.00 0.07 0.00 0.03 99.66 09:24:01 09:16:01 1 0.10 0.00 0.03 0.00 0.03 99.83 09:24:01 09:17:01 all 0.13 0.00 0.03 0.00 0.03 99.80 09:24:01 09:17:01 0 0.22 0.00 0.02 0.00 0.02 99.75 09:24:01 09:17:01 1 0.05 0.00 0.05 0.00 0.05 99.85 09:24:01 09:18:01 all 0.12 0.00 0.03 0.00 0.03 99.82 09:24:01 09:18:01 0 0.18 0.00 0.02 0.00 0.02 99.78 09:24:01 09:18:01 1 0.05 0.00 0.03 0.00 0.05 99.87 09:24:01 09:19:01 all 0.12 0.00 0.03 0.00 0.03 99.82 09:24:01 09:19:01 0 0.18 0.00 0.03 0.00 0.00 99.78 09:24:01 09:19:01 1 0.05 0.00 0.03 0.00 0.05 99.87 09:24:01 09:20:01 all 0.05 0.00 0.05 0.00 0.03 99.87 09:24:01 09:20:01 0 0.05 0.00 0.05 0.00 0.02 99.88 09:24:01 09:20:01 1 0.05 0.00 0.05 0.00 0.03 99.87 09:24:01 09:21:01 all 0.11 0.00 0.03 0.00 0.03 99.83 09:24:01 09:21:01 0 0.05 0.00 0.03 0.00 0.02 99.90 09:24:01 09:21:01 1 0.17 0.00 0.02 0.00 0.05 99.77 09:24:01 09:22:01 all 0.08 0.00 0.05 0.00 0.03 99.85 09:24:01 09:22:01 0 0.08 0.00 0.05 0.00 0.02 99.85 09:24:01 09:22:01 1 0.07 0.00 0.05 0.00 0.03 99.85 09:24:01 09:24:01 09:22:01 CPU %user %nice %system %iowait %steal %idle 09:24:01 09:23:01 all 14.95 0.00 7.37 2.74 0.08 74.87 09:24:01 09:23:01 0 15.15 0.00 7.59 2.42 0.07 74.77 09:24:01 09:23:01 1 14.75 0.00 7.15 3.05 0.09 74.96 09:24:01 Average: all 2.90 0.00 1.25 1.03 0.04 94.79 09:24:01 Average: 0 2.97 0.00 1.31 0.95 0.03 94.74 09:24:01 Average: 1 2.84 0.00 1.18 1.11 0.04 94.83 09:24:01 09:24:01 09:24:01