Pull request #942 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of gy95 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 7e3188cb6f7f988d05cb284df26c8fc32f770518 rather than 4a2a2dba503e9e86d224515a995b7945b773c27f Obtained Jenkinsfile from 7e3188cb6f7f988d05cb284df26c8fc32f770518 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-ssh8585026483373170609.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --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-ssh8618049400585898021.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 9d0281235b943b7ad605f650702698f9078b2862 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/PR-942/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/PR-942/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1331148963578086757.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh371036772463177236.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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/PR-942/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/PR-942/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6452799982350413612.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-104 in /w/workspace/dgexfoundry_device-sdk-go_PR-942 [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 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-942 # 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_PR-942@tmp/jenkins-gitclient-ssh8279893542633208325.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 7e3188cb6f7f988d05cb284df26c8fc32f770518 into PR head commit 4a2a2dba503e9e86d224515a995b7945b773c27f Merge succeeded, producing 4a2a2dba503e9e86d224515a995b7945b773c27f Checking out Revision 4a2a2dba503e9e86d224515a995b7945b773c27f (PR-942) > 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 remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 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_PR-942@tmp/jenkins-gitclient-ssh2629358346895382767.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/942/head:refs/remotes/origin/PR-942 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a2a2dba503e9e86d224515a995b7945b773c27f # timeout=10 > git remote # timeout=10 > 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 /w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/jenkins-gitclient-ssh4629896323666226347.key > git merge 7e3188cb6f7f988d05cb284df26c8fc32f770518 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a2a2dba503e9e86d224515a995b7945b773c27f # timeout=10 Commit message: "Merge branch 'master' into update_profile" First time build. Skipping changelog. > git rev-list --no-walk a13b1e75df7e2cfe96819a8a3f1ab6299a8269f8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:44:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:44:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:44:36 ========================================================= 08:44:36 EdgeX Global Pipelines Version Info 08:44:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:44:38 ------------------- 08:44:38 stable info: 08:44:38 ------------------- 08:44:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:44:38 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 08:44:38 Message: update stable to v1.0.192 08:44:38 ------------------- 08:44:38 experimental info: 08:44:38 ------------------- 08:44:38 Commited By: **** collab-it+edgex@linuxfoundation.org 08:44:38 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 08:44:38 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:44:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:44:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:44:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:44:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:44:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-942 [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-942 [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-942 [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a2a2dba503e9e86d224515a995b7945b773c27f [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a2a2db [Pipeline] echo 08:44:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:44:39 provisioning config files... 08:44:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/config4988199668321715119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:44:40 ---> docker-login.sh 08:44:40 nexus3.edgexfoundry.org:10001 08:44:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:40 Configure a credential helper to remove this warning. See 08:44:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:40 08:44:40 Login Succeeded 08:44:40 nexus3.edgexfoundry.org:10002 08:44:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:40 Configure a credential helper to remove this warning. See 08:44:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:40 08:44:40 Login Succeeded 08:44:40 nexus3.edgexfoundry.org:10003 08:44:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:40 Configure a credential helper to remove this warning. See 08:44:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:40 08:44:40 Login Succeeded 08:44:40 nexus3.edgexfoundry.org:10004 08:44:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:40 Configure a credential helper to remove this warning. See 08:44:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:40 08:44:40 Login Succeeded 08:44:40 docker.io 08:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:41 Configure a credential helper to remove this warning. See 08:44:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:41 08:44:41 Login Succeeded 08:44:41 ---> docker-login.sh ends [Pipeline] } 08:44:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:44:41 + git log --format=format:%s -1 4a2a2dba503e9e86d224515a995b7945b773c27f [Pipeline] echo 08:44:42 GIT_COMMIT: 4a2a2dba503e9e86d224515a995b7945b773c27f, Commit Message: Merge branch 'master' into update_profile [Pipeline] echo 08:44:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:44:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:44:43 08:44:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:44:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:44:43 latest: Pulling from edgex-devops/git-semver 08:44:43 31603596830f: Pulling fs layer 08:44:43 54011a49482f: Pulling fs layer 08:44:43 a6820b24f6d8: Pulling fs layer 08:44:43 f581987b2513: Pulling fs layer 08:44:43 f581987b2513: Waiting 08:44:43 54011a49482f: Download complete 08:44:43 31603596830f: Verifying Checksum 08:44:43 31603596830f: Download complete 08:44:43 f581987b2513: Verifying Checksum 08:44:43 f581987b2513: Download complete 08:44:43 a6820b24f6d8: Verifying Checksum 08:44:43 a6820b24f6d8: Download complete 08:44:44 31603596830f: Pull complete 08:44:44 54011a49482f: Pull complete 08:44:45 a6820b24f6d8: Pull complete 08:44:45 f581987b2513: Pull complete 08:44:45 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 08:44:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:44:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:44:45 prd-centos7-docker-4c-2g-104 does not seem to be running inside a container 08:44:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-942 -v /w/workspace/dgexfoundry_device-sdk-go_PR-942:/w/workspace/dgexfoundry_device-sdk-go_PR-942:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:44:47 $ docker top c3cc104b8c067da273fb4fbdfbd0ce096cd0fe1ac3f3500b67c876fd7c9d17cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:44:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:44:47 [ssh-agent] Looking for ssh-agent implementation... 08:44:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:44:47 $ docker exec c3cc104b8c067da273fb4fbdfbd0ce096cd0fe1ac3f3500b67c876fd7c9d17cc ssh-agent 08:44:47 SSH_AUTH_SOCK=/tmp/ssh-jKTkxhGRilWa/agent.14 08:44:47 SSH_AGENT_PID=21 08:44:47 Running ssh-add (command line suppressed) 08:44:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/private_key_4070591326236732592.key (/w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/private_key_4070591326236732592.key) 08:44:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:44:48 + git tag --points-at HEAD [Pipeline] } 08:44:48 $ docker exec --env ******** --env ******** c3cc104b8c067da273fb4fbdfbd0ce096cd0fe1ac3f3500b67c876fd7c9d17cc ssh-agent -k 08:44:48 unset SSH_AUTH_SOCK; 08:44:48 unset SSH_AGENT_PID; 08:44:48 echo Agent pid 21 killed; 08:44:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:44:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:44:48 [ssh-agent] Looking for ssh-agent implementation... 08:44:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:44:48 $ docker exec c3cc104b8c067da273fb4fbdfbd0ce096cd0fe1ac3f3500b67c876fd7c9d17cc ssh-agent 08:44:48 SSH_AUTH_SOCK=/tmp/ssh-QJl4yO8u9cfk/agent.54 08:44:48 SSH_AGENT_PID=61 08:44:48 Running ssh-add (command line suppressed) 08:44:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/private_key_972544855477984018.key (/w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/private_key_972544855477984018.key) 08:44:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:44:48 + git semver init 08:44:48 # -> Open(): unable to determine branch for HEAD 08:44:48 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-942/.git 08:44:48 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-942 08:44:48 # $SEMVER_REMOTE_NAME = origin 08:44:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:44:48 # $SEMVER_USER_NAME = edgex-jenkins 08:44:48 # $SEMVER_BRANCH = PR-942 08:44:48 # $SEMVER_TEMP = /tmp/semver-513638152 08:44:48 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:44:49 # '/tmp/semver-513638152' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-942/.semver' 08:44:49 # -> Force: false 08:44:49 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-942/.semver [Pipeline] } 08:44:49 $ docker exec --env ******** --env ******** c3cc104b8c067da273fb4fbdfbd0ce096cd0fe1ac3f3500b67c876fd7c9d17cc ssh-agent -k 08:44:49 unset SSH_AUTH_SOCK; 08:44:49 unset SSH_AGENT_PID; 08:44:49 echo Agent pid 61 killed; 08:44:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:44:49 + git semver [Pipeline] } 08:44:49 $ docker stop --time=1 c3cc104b8c067da273fb4fbdfbd0ce096cd0fe1ac3f3500b67c876fd7c9d17cc 08:44:51 $ docker rm -f c3cc104b8c067da273fb4fbdfbd0ce096cd0fe1ac3f3500b67c876fd7c9d17cc [Pipeline] // withDockerContainer [Pipeline] sh 08:44:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:44:52 Stashed 1 file(s) [Pipeline] echo 08:44:52 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 08:45:07 Still waiting to schedule task 08:45:07 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:45:07 Still waiting to schedule task 08:45:07 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-102’ 08:47:49 Running on prd-centos7-docker-4c-2g-105 in /w/workspace/dgexfoundry_device-sdk-go_PR-942 [Pipeline] { [Pipeline] ws 08:47:49 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 08:47:50 Selected Git installation does not exist. Using Default 08:47:50 The recommended git tool is: NONE 08:47:52 using credential edgex-jenkins-ssh 08:47:52 Cloning the remote Git repository 08:47:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:47:52 > git init /w/workspace/device-sdk-go/5 # timeout=10 08:47:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:47:52 > git --version # timeout=10 08:47:52 > git --version # 'git version 2.24.4' 08:47:52 using GIT_SSH to set credentials SSH Credentials for GitHub 08:47:52 [INFO] Currently running in a labeled security context 08:47:52 [INFO] Currently SELinux is 'enforcing' on the host 08:47:52 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh7269471963349173317.key 08:47:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:47:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:47:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:47:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:47:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:47:53 using GIT_SSH to set credentials SSH Credentials for GitHub 08:47:53 [INFO] Currently running in a labeled security context 08:47:53 [INFO] Currently SELinux is 'enforcing' on the host 08:47:53 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh5360458928115640365.key 08:47:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/942/head:refs/remotes/origin/PR-942 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:47:53 Merging remotes/origin/master commit 7e3188cb6f7f988d05cb284df26c8fc32f770518 into PR head commit 4a2a2dba503e9e86d224515a995b7945b773c27f 08:47:53 Merge succeeded, producing 4a2a2dba503e9e86d224515a995b7945b773c27f 08:47:53 Checking out Revision 4a2a2dba503e9e86d224515a995b7945b773c27f (PR-942) 08:47:53 > git config core.sparsecheckout # timeout=10 08:47:53 > git checkout -f 4a2a2dba503e9e86d224515a995b7945b773c27f # timeout=10 08:47:53 > git remote # timeout=10 08:47:53 > git config --get remote.origin.url # timeout=10 08:47:53 using GIT_SSH to set credentials SSH Credentials for GitHub 08:47:53 [INFO] Currently running in a labeled security context 08:47:53 [INFO] Currently SELinux is 'enforcing' on the host 08:47:53 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh6774487672566332713.key 08:47:53 > git merge 7e3188cb6f7f988d05cb284df26c8fc32f770518 # timeout=10 08:47:53 > git rev-parse HEAD^{commit} # timeout=10 08:47:53 > git config core.sparsecheckout # timeout=10 08:47:53 > git checkout -f 4a2a2dba503e9e86d224515a995b7945b773c27f # timeout=10 08:47:57 Commit message: "Merge branch 'master' into update_profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:47:58 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:47:59 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:47:59 + sudo service docker restart 08:47:59 + true 08:47:59 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:48:17 provisioning config files... 08:48:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config6105511026835032701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:48:17 ---> docker-login.sh 08:48:17 nexus3.edgexfoundry.org:10001 08:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:18 Configure a credential helper to remove this warning. See 08:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:18 08:48:18 Login Succeeded 08:48:18 nexus3.edgexfoundry.org:10002 08:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:18 Configure a credential helper to remove this warning. See 08:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:18 08:48:18 Login Succeeded 08:48:18 nexus3.edgexfoundry.org:10003 08:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:18 Configure a credential helper to remove this warning. See 08:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:18 08:48:18 Login Succeeded 08:48:18 nexus3.edgexfoundry.org:10004 08:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:18 Configure a credential helper to remove this warning. See 08:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:18 08:48:18 Login Succeeded 08:48:18 docker.io 08:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:18 Configure a credential helper to remove this warning. See 08:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:18 08:48:18 Login Succeeded 08:48:18 ---> docker-login.sh ends [Pipeline] } 08:48:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:48:19 ========================================================= 08:48:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 08:48:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:48:19 + 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 . 08:48:19 Sending build context to Docker daemon 2.623MB 08:48:19 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 08:48:19 Step 2/8 : FROM ${BASE} 08:48:19 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 08:48:19 540db60ca938: Pulling fs layer 08:48:19 adcc1eea9eea: Pulling fs layer 08:48:19 4c4ab2625f07: Pulling fs layer 08:48:19 0510c868ecb4: Pulling fs layer 08:48:19 afea3b2eda06: Pulling fs layer 08:48:19 7809a108b3ef: Pulling fs layer 08:48:19 f706445af74f: Pulling fs layer 08:48:19 0510c868ecb4: Waiting 08:48:19 afea3b2eda06: Waiting 08:48:19 7809a108b3ef: Waiting 08:48:19 f706445af74f: Waiting 08:48:19 4c4ab2625f07: Verifying Checksum 08:48:19 4c4ab2625f07: Download complete 08:48:19 adcc1eea9eea: Verifying Checksum 08:48:19 adcc1eea9eea: Download complete 08:48:19 afea3b2eda06: Verifying Checksum 08:48:19 afea3b2eda06: Download complete 08:48:19 7809a108b3ef: Verifying Checksum 08:48:19 7809a108b3ef: Download complete 08:48:19 540db60ca938: Verifying Checksum 08:48:19 540db60ca938: Download complete 08:48:20 540db60ca938: Pull complete 08:48:20 adcc1eea9eea: Pull complete 08:48:20 4c4ab2625f07: Pull complete 08:48:22 f706445af74f: Verifying Checksum 08:48:22 f706445af74f: Download complete 08:48:22 0510c868ecb4: Verifying Checksum 08:48:22 0510c868ecb4: Download complete 08:48:26 0510c868ecb4: Pull complete 08:48:26 afea3b2eda06: Pull complete 08:48:26 7809a108b3ef: Pull complete 08:48:27 f706445af74f: Pull complete 08:48:27 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 08:48:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 08:48:27 ---> b068be0155e3 08:48:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:48:31 ---> Running in c5b97daab0fb 08:48:31 Removing intermediate container c5b97daab0fb 08:48:31 ---> d1d23a72e228 08:48:31 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:48:31 ---> Running in 7b9a40b315cd 08:48:32 Removing intermediate container 7b9a40b315cd 08:48:32 ---> 58aa59ca0e6a 08:48:32 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 08:48:32 ---> Running in c75567d5479f 08:48:32 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 08:48:33 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 08:48:33 (1/6) Installing libc-dev (0.7.2-r3) 08:48:34 (2/6) Installing libsodium (1.0.18-r0) 08:48:34 (3/6) Installing pkgconf (1.7.3-r0) 08:48:34 (4/6) Installing libsodium-dev (1.0.18-r0) 08:48:34 (5/6) Installing libzmq (4.3.3-r1) 08:48:34 (6/6) Installing zeromq-dev (4.3.3-r1) 08:48:34 Executing busybox-1.32.1-r6.trigger 08:48:34 OK: 150 MiB in 46 packages 08:48:35 Removing intermediate container c75567d5479f 08:48:35 ---> 8a132edb9434 08:48:35 Step 6/8 : WORKDIR /device-sdk-go 08:48:35 ---> Running in a6be72e94c62 08:48:35 Removing intermediate container a6be72e94c62 08:48:35 ---> 1ec576e87739 08:48:35 Step 7/8 : COPY . . 08:48:35 ---> 3cd8a45a6a87 08:48:35 Step 8/8 : RUN go mod download 08:48:35 ---> Running in f8158dbe02bd 08:48:53 Removing intermediate container f8158dbe02bd 08:48:53 ---> 27bbffb1b0df 08:48:53 Successfully built 27bbffb1b0df 08:48:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:48:54 + docker inspect -f . ci-base-image-x86_64 08:48:54 . [Pipeline] withDockerContainer 08:48:54 prd-centos7-docker-4c-2g-105 does not seem to be running inside a container 08:48:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:48:54 $ docker top 7a929d8f17d884f5980752ef7cea87842dfdfe14e47b339effd5840495aadc6b -eo pid,comm [Pipeline] { [Pipeline] sh 08:48:55 + go version 08:48:55 go version go1.16.3 linux/amd64 [Pipeline] } 08:48:55 $ docker stop --time=1 7a929d8f17d884f5980752ef7cea87842dfdfe14e47b339effd5840495aadc6b 08:48:56 $ docker rm -f 7a929d8f17d884f5980752ef7cea87842dfdfe14e47b339effd5840495aadc6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:48:57 + docker inspect -f . ci-base-image-x86_64 08:48:57 . [Pipeline] withDockerContainer 08:48:57 prd-centos7-docker-4c-2g-105 does not seem to be running inside a container 08:48:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:48:57 $ docker top 62e861b964cb4113995ab9abde8e53ae25e783bdbbe2d0da266df13825a27841 -eo pid,comm [Pipeline] { [Pipeline] sh 08:48:58 + go mod tidy [Pipeline] sh 08:48:58 + make test 08:48:58 go mod tidy 08:48:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:49:05 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:49:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-106 in /w/workspace/dgexfoundry_device-sdk-go_PR-942 [Pipeline] { [Pipeline] ws 08:49:09 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 08:49:09 Selected Git installation does not exist. Using Default 08:49:09 The recommended git tool is: NONE 08:49:15 using credential edgex-jenkins-ssh 08:49:15 Cloning the remote Git repository 08:49:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:49:15 > git init /w/workspace/device-sdk-go/5 # timeout=10 08:49:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:49:15 > git --version # timeout=10 08:49:15 > git --version # 'git version 2.17.1' 08:49:15 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:49:18 Merging remotes/origin/master commit 7e3188cb6f7f988d05cb284df26c8fc32f770518 into PR head commit 4a2a2dba503e9e86d224515a995b7945b773c27f 08:49:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:49:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:49:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:49:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:49:17 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/942/head:refs/remotes/origin/PR-942 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:49:18 > git config core.sparsecheckout # timeout=10 08:49:18 > git checkout -f 4a2a2dba503e9e86d224515a995b7945b773c27f # timeout=10 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:49:18 Failed in branch arm64 08:49:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:49:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:49:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:49:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.062s coverage: 25.4% of statements 08:49:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:49:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.063s coverage: 28.1% of statements 08:49:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.059s coverage: 78.9% of statements 08:49:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.065s coverage: 9.0% of statements 08:49:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:49:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:49:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:49:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.068s coverage: 30.2% of statements 08:49:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:49:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.067s coverage: 83.3% of statements 08:49:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:49:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:49:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 58.0% of statements 08:49:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.841s coverage: 89.2% of statements 08:49:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 08:49:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.0% of statements 08:49:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:49:36 GO111MODULE=on go vet ./... 08:49:58 gofmt -l . 08:49:58 [ "`gofmt -l .`" = "" ] 08:49:58 ./bin/test-attribution-txt.sh 08:49:58 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:49:58 $ docker stop --time=1 62e861b964cb4113995ab9abde8e53ae25e783bdbbe2d0da266df13825a27841 08:50:00 $ docker rm -f 62e861b964cb4113995ab9abde8e53ae25e783bdbbe2d0da266df13825a27841 [Pipeline] // withDockerContainer [Pipeline] sh 08:50:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:50:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:50:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:50:02 + ls -al . 08:50:02 total 212 08:50:02 drwxrwxr-x. 10 jenkins jenkins 4096 May 25 08:49 . 08:50:02 drwxrwxr-x. 4 jenkins jenkins 28 May 25 08:47 .. 08:50:02 drwxrwxr-x. 2 jenkins jenkins 64 May 25 08:47 bin 08:50:02 -rw-r--r--. 1 jenkins jenkins 126444 May 25 08:49 coverage.out 08:50:02 -rw-rw-r--. 1 jenkins jenkins 987 May 25 08:47 Dockerfile.build 08:50:02 -rw-rw-r--. 1 jenkins jenkins 140 May 25 08:47 .dockerignore 08:50:02 drwxrwxr-x. 5 jenkins jenkins 62 May 25 08:47 example 08:50:02 drwxrwxr-x. 8 jenkins jenkins 179 May 25 08:47 .git 08:50:02 drwxrwxr-x. 2 jenkins jenkins 103 May 25 08:47 .github 08:50:02 -rw-rw-r--. 1 jenkins jenkins 138 May 25 08:47 .gitignore 08:50:02 -rw-r--r--. 1 jenkins jenkins 575 May 25 08:49 go.mod 08:50:02 -rw-r--r--. 1 jenkins jenkins 20803 May 25 08:48 go.sum 08:50:02 drwxrwxr-x. 15 jenkins jenkins 224 May 25 08:47 internal 08:50:02 -rw-rw-r--. 1 jenkins jenkins 894 May 25 08:47 Jenkinsfile 08:50:02 -rw-rw-r--. 1 jenkins jenkins 11341 May 25 08:47 LICENSE 08:50:02 -rw-rw-r--. 1 jenkins jenkins 1026 May 25 08:47 Makefile 08:50:02 drwxrwxr-x. 4 jenkins jenkins 26 May 25 08:47 openapi 08:50:02 drwxrwxr-x. 5 jenkins jenkins 50 May 25 08:47 pkg 08:50:02 -rw-rw-r--. 1 jenkins jenkins 7652 May 25 08:47 README.md 08:50:02 -rw-rw-r--. 1 jenkins jenkins 6616 May 25 08:47 RELEASE-NOTES.txt 08:50:02 drwxrwxr-x. 4 jenkins jenkins 54 May 25 08:47 snap 08:50:02 -rw-rw-r--. 1 jenkins jenkins 5 May 25 08:44 VERSION 08:50:02 -rw-rw-r--. 1 jenkins jenkins 222 May 25 08:47 version.go [Pipeline] isUnix [Pipeline] sh 08:50:03 + 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=4a2a2dba503e9e86d224515a995b7945b773c27f --label arch=amd64 --label version=0.0.0 . 08:50:03 Sending build context to Docker daemon 2.75MB 08:50:03 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 08:50:03 Step 2/23 : FROM ${BASE} AS builder 08:50:03 ---> 27bbffb1b0df 08:50:03 Step 3/23 : WORKDIR /device-sdk-go 08:50:03 ---> Running in 13a540b584df 08:50:03 Removing intermediate container 13a540b584df 08:50:03 ---> f5eeeff5e6e3 08:50:03 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:50:03 ---> Running in 73d5277b7601 08:50:04 Removing intermediate container 73d5277b7601 08:50:04 ---> 3680a564268d 08:50:04 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:50:04 ---> Running in 1d7c31769bbd 08:50:04 Removing intermediate container 1d7c31769bbd 08:50:04 ---> c898f57d8058 08:50:04 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:50:04 ---> Running in e70de53705e8 08:50:05 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 08:50:06 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 08:50:06 OK: 150 MiB in 46 packages 08:50:07 Removing intermediate container e70de53705e8 08:50:07 ---> 8f54fb6a1e52 08:50:07 Step 7/23 : COPY . . 08:50:07 ---> 257e283c8586 08:50:07 Step 8/23 : RUN go mod download 08:50:07 ---> Running in 8d1aa65574e2 08:50:07 Removing intermediate container 8d1aa65574e2 08:50:07 ---> efe1af6f4389 08:50:07 Step 9/23 : RUN make build 08:50:08 ---> Running in 69f3e97dc01b 08:50:08 go mod tidy 08:50:08 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:50:21 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:50:21 Removing intermediate container 69f3e97dc01b 08:50:21 ---> 182190b09a5f 08:50:21 Step 10/23 : FROM alpine:3.12 08:50:22 3.12: Pulling from library/alpine 08:50:22 339de151aab4: Pulling fs layer 08:50:22 339de151aab4: Verifying Checksum 08:50:22 339de151aab4: Download complete 08:50:22 339de151aab4: Pull complete 08:50:22 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 08:50:22 Status: Downloaded newer image for alpine:3.12 08:50:22 ---> 13621d1b12d4 08:50:22 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:50:22 ---> Running in 5e4994bf4d59 08:50:22 Removing intermediate container 5e4994bf4d59 08:50:22 ---> 12947bb7c45a 08:50:22 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:50:22 ---> Running in 85fa8692b6a2 08:50:23 Removing intermediate container 85fa8692b6a2 08:50:23 ---> 4ce9a14d3690 08:50:23 Step 13/23 : RUN apk add --update --no-cache zeromq 08:50:23 ---> Running in b6422e1389ab 08:50:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:50:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:50:24 (1/5) Installing libgcc (9.3.0-r2) 08:50:24 (2/5) Installing libsodium (1.0.18-r0) 08:50:24 (3/5) Installing libstdc++ (9.3.0-r2) 08:50:25 (4/5) Installing libzmq (4.3.3-r0) 08:50:25 (5/5) Installing zeromq (4.3.3-r0) 08:50:25 Executing busybox-1.31.1-r20.trigger 08:50:26 OK: 8 MiB in 19 packages 08:50:26 Removing intermediate container b6422e1389ab 08:50:26 ---> b9b6303bc2b2 08:50:26 Step 14/23 : WORKDIR / 08:50:26 ---> Running in a9fe7a4312d4 08:50:26 Removing intermediate container a9fe7a4312d4 08:50:26 ---> 149f37befa79 08:50:26 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:50:26 ---> a016b89098a4 08:50:26 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:50:27 ---> 36f1cd4cc710 08:50:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:50:27 ---> c06543acacad 08:50:27 Step 18/23 : EXPOSE 59999 08:50:27 ---> Running in 3f5f58eacced 08:50:27 Removing intermediate container 3f5f58eacced 08:50:27 ---> 137f6c5524cb 08:50:27 Step 19/23 : ENTRYPOINT ["/device-simple"] 08:50:27 ---> Running in 2908fefc13c6 08:50:27 Removing intermediate container 2908fefc13c6 08:50:27 ---> 1a2d2345eff6 08:50:27 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:50:27 ---> Running in 5164cb66b3f6 08:50:27 Removing intermediate container 5164cb66b3f6 08:50:27 ---> 7a0ac381eeb6 08:50:27 Step 21/23 : LABEL arch=amd64 08:50:27 ---> Running in ef6029f4bd9b 08:50:27 Removing intermediate container ef6029f4bd9b 08:50:27 ---> ff1ad974bf11 08:50:27 Step 22/23 : LABEL git_sha=4a2a2dba503e9e86d224515a995b7945b773c27f 08:50:27 ---> Running in 8b957036585a 08:50:28 Removing intermediate container 8b957036585a 08:50:28 ---> 3bbdd99d08c6 08:50:28 Step 23/23 : LABEL version=0.0.0 08:50:28 ---> Running in 2f424dc1fe75 08:50:28 Removing intermediate container 2f424dc1fe75 08:50:28 ---> 9960a52bb495 08:50:28 [Warning] One or more build-args [MAKE ARCH] were not consumed 08:50:28 Successfully built 9960a52bb495 08:50:28 Successfully tagged device-sdk-simple:latest [Pipeline] } [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 08:50:28 ---> job-cost.sh 08:50:28 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-R932 08:50:38 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:50:53 lf-activate-venv(): INFO: Adding /tmp/venv-R932/bin to PATH 08:50:53 INFO: No Stack... 08:50:53 INFO: Retrieving Pricing Info for: v3-standard-2 08:50:53 INFO: Archiving Costs [Pipeline] sh 08:50:54 + cat /w/workspace/device-sdk-go/5/archives/cost.csv 08:50:54 + cut -d, -f6 [Pipeline] lock 08:50:54 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-942-5-stack-cost] 08:50:54 Resource [jenkins-edgexfoundry-device-sdk-go-PR-942-5-stack-cost] did not exist. Created. 08:50:54 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-942-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:50:54 + echo total: 0.05999999865889549 [Pipeline] stash 08:50:54 Stashed 1 file(s) [Pipeline] } 08:50:54 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-942-5-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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:50:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:50:56 ---> package-listing.sh 08:50:56 ++ facter osfamily 08:50:56 ++ tr '[:upper:]' '[:lower:]' 08:50:56 + OS_FAMILY=redhat 08:50:56 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-942 08:50:56 + START_PACKAGES=/tmp/packages_start.txt 08:50:56 + END_PACKAGES=/tmp/packages_end.txt 08:50:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:50:56 + PACKAGES=/tmp/packages_start.txt 08:50:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-942 ']' 08:50:56 + PACKAGES=/tmp/packages_end.txt 08:50:56 + case "${OS_FAMILY}" in 08:50:56 + rpm -qa 08:50:56 + sort 08:50:57 + '[' -f /tmp/packages_start.txt ']' 08:50:57 + '[' -f /tmp/packages_end.txt ']' 08:50:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:50:57 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-942 ']' 08:50:57 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-942/archives/ 08:50:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-942/archives/ [Pipeline] echo 08:50:57 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_PR-942/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:50:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:50:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:50:58 08:50:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:50:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:50:59 alpine: Pulling from edgex-lftools-log-publisher 08:50:59 df20fa9351a1: Pulling fs layer 08:50:59 36b3adc4ff6f: Pulling fs layer 08:50:59 8ad3a11d3b57: Pulling fs layer 08:50:59 46f8f816bc3b: Pulling fs layer 08:50:59 93b61091891f: Pulling fs layer 08:50:59 93b9cdb0e59b: Pulling fs layer 08:50:59 5e14af77c1be: Pulling fs layer 08:50:59 01666e4c0597: Pulling fs layer 08:50:59 aa168da1d23b: Pulling fs layer 08:50:59 93b61091891f: Waiting 08:50:59 93b9cdb0e59b: Waiting 08:50:59 5e14af77c1be: Waiting 08:50:59 01666e4c0597: Waiting 08:50:59 aa168da1d23b: Waiting 08:50:59 46f8f816bc3b: Waiting 08:50:59 36b3adc4ff6f: Verifying Checksum 08:50:59 36b3adc4ff6f: Download complete 08:50:59 46f8f816bc3b: Verifying Checksum 08:50:59 46f8f816bc3b: Download complete 08:50:59 df20fa9351a1: Verifying Checksum 08:50:59 df20fa9351a1: Download complete 08:50:59 93b9cdb0e59b: Verifying Checksum 08:50:59 93b9cdb0e59b: Download complete 08:50:59 5e14af77c1be: Verifying Checksum 08:50:59 5e14af77c1be: Download complete 08:50:59 93b61091891f: Verifying Checksum 08:50:59 93b61091891f: Download complete 08:50:59 01666e4c0597: Verifying Checksum 08:50:59 01666e4c0597: Download complete 08:50:59 df20fa9351a1: Pull complete 08:50:59 36b3adc4ff6f: Pull complete 08:50:59 8ad3a11d3b57: Verifying Checksum 08:50:59 8ad3a11d3b57: Download complete 08:51:00 8ad3a11d3b57: Pull complete 08:51:01 46f8f816bc3b: Pull complete 08:51:01 93b61091891f: Pull complete 08:51:01 aa168da1d23b: Verifying Checksum 08:51:01 aa168da1d23b: Download complete 08:51:01 93b9cdb0e59b: Pull complete 08:51:01 5e14af77c1be: Pull complete 08:51:02 01666e4c0597: Pull complete 08:51:06 aa168da1d23b: Pull complete 08:51:06 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:51:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:51:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:51:06 prd-centos7-docker-4c-2g-104 does not seem to be running inside a container 08:51:06 $ 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_PR-942/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_PR-942 -v /w/workspace/dgexfoundry_device-sdk-go_PR-942:/w/workspace/dgexfoundry_device-sdk-go_PR-942:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:51:22 $ docker top 3e2ca2e13e94792ffec94200d4fc619626974662d85c9647f969fb9e58f5e59f -eo pid,comm [Pipeline] { [Pipeline] sh 08:51:22 + touch /tmp/pre-build-complete [Pipeline] sh 08:51:22 + mkdir -p /var/log/sa [Pipeline] sh 08:51:23 + ls /var/log/sa-host 08:51:23 + sadf -c /var/log/sa-host/sa05 08:51:23 file_magic: OK 08:51:23 HZ: Using current value: 100 08:51:23 file_header: OK 08:51:23 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:51:23 Statistics: 08:51:23 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:51:23 File successfully converted to sysstat format version 12.2.1 08:51:23 + sadf -c /var/log/sa-host/sa25 08:51:23 file_magic: OK 08:51:23 HZ: Using current value: 100 08:51:23 file_header: OK 08:51:23 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:51:23 Statistics: 08:51:23 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:51:23 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:51:23 provisioning config files... 08:51:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/config8612777486843870045tmp [Pipeline] { [Pipeline] echo 08:51:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:51:24 ---> create-netrc.sh [Pipeline] } 08:51:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:51:24 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:51:24 ---> python-tools-install.sh [Pipeline] echo 08:51:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:51:24 ---> sudo-logs.sh 08:51:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:51:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:51:25 ---> job-cost.sh 08:51:25 lf-activate-venv: SKIPPING 08:51:25 DEBUG: total: 0.05999999865889549 08:51:25 INFO: Retrieving Stack Cost... 08:51:25 INFO: Retrieving Pricing Info for: v3-standard-2 08:51:26 INFO: Archiving Costs [Pipeline] echo 08:51:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:51:26 ---> logs-deploy.sh 08:51:26 lf-activate-venv: SKIPPING 08:51:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-942/5 08:51:26 INFO: archiving workspace using pattern(s): 08:51:27 Archives upload complete. 08:51:27 INFO: archiving logs to Nexus 08:51:28 ---> uname -a: 08:51:28 Linux prd-centos7-docker-4c-2g-104.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 08:51:28 08:51:28 08:51:28 ---> lscpu: 08:51:28 Architecture: x86_64 08:51:28 CPU op-mode(s): 32-bit, 64-bit 08:51:28 Byte Order: Little Endian 08:51:28 Address sizes: 40 bits physical, 48 bits virtual 08:51:28 CPU(s): 2 08:51:28 On-line CPU(s) list: 0,1 08:51:28 Thread(s) per core: 1 08:51:28 Core(s) per socket: 1 08:51:28 Socket(s): 2 08:51:28 NUMA node(s): 1 08:51:28 Vendor ID: AuthenticAMD 08:51:28 CPU family: 23 08:51:28 Model: 49 08:51:28 Model name: AMD EPYC-Rome Processor 08:51:28 Stepping: 0 08:51:28 CPU MHz: 2800.000 08:51:28 BogoMIPS: 5600.00 08:51:28 Virtualization: AMD-V 08:51:28 Hypervisor vendor: KVM 08:51:28 Virtualization type: full 08:51:28 L1d cache: 64 KiB 08:51:28 L1i cache: 64 KiB 08:51:28 L2 cache: 1 MiB 08:51:28 L3 cache: 32 MiB 08:51:28 NUMA node0 CPU(s): 0,1 08:51:28 Vulnerability Itlb multihit: Not affected 08:51:28 Vulnerability L1tf: Not affected 08:51:28 Vulnerability Mds: Not affected 08:51:28 Vulnerability Meltdown: Not affected 08:51:28 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:51:28 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:51:28 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:51:28 Vulnerability Srbds: Not affected 08:51:28 Vulnerability Tsx async abort: Not affected 08:51:28 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 08:51:28 08:51:28 08:51:28 ---> nproc: 08:51:28 2 08:51:28 08:51:28 08:51:28 ---> df -h: 08:51:28 Filesystem Size Used Available Use% Mounted on 08:51:28 overlay 40.0G 7.6G 32.4G 19% / 08:51:28 tmpfs 64.0M 0 64.0M 0% /dev 08:51:28 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 08:51:28 shm 64.0M 0 64.0M 0% /dev/shm 08:51:28 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 08:51:28 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 08:51:28 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 08:51:28 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 08:51:28 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp 08:51:28 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 08:51:28 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 08:51:28 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 08:51:28 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 08:51:28 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-942 08:51:28 08:51:28 08:51:28 ---> free -m: 08:51:28 total used free shared buff/cache available 08:51:28 Mem: 7821 922 4800 0 2097 6720 08:51:28 Swap: 1023 0 1023 08:51:28 08:51:28 08:51:28 ---> ip addr: 08:51:28 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:51:28 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:51:28 inet 127.0.0.1/8 scope host lo 08:51:28 valid_lft forever preferred_lft forever 08:51:28 inet6 ::1/128 scope host 08:51:28 valid_lft forever preferred_lft forever 08:51:28 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 08:51:28 link/ether fa:16:3e:9f:f4:ca brd ff:ff:ff:ff:ff:ff 08:51:28 inet 10.30.122.8/23 brd 10.30.123.255 scope global dynamic eth0 08:51:28 valid_lft 85934sec preferred_lft 85934sec 08:51:28 inet6 fe80::f816:3eff:fe9f:f4ca/64 scope link 08:51:28 valid_lft forever preferred_lft forever 08:51:28 3: docker0: mtu 1500 qdisc noqueue state DOWN 08:51:28 link/ether 02:42:2e:a8:e3:e4 brd ff:ff:ff:ff:ff:ff 08:51:28 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 08:51:28 valid_lft forever preferred_lft forever 08:51:28 inet6 fe80::42:2eff:fea8:e3e4/64 scope link 08:51:28 valid_lft forever preferred_lft forever 08:51:28 08:51:28 08:51:28 ---> sar -b -r -n DEV: 08:51:28 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/25/21 _x86_64_ (2 CPU) 08:51:28 08:51:28 08:43:28 LINUX RESTART (2 CPU) 08:51:28 08:51:28 08:44:08 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:51:28 08:45:01 134.23 21.32 112.91 0.00 6559.40 22924.34 0.00 08:51:28 08:46:01 3.55 0.03 3.51 0.00 1.07 121.50 0.00 08:51:28 08:47:01 0.40 0.00 0.40 0.00 0.00 6.71 0.00 08:51:28 08:48:01 0.32 0.00 0.32 0.00 0.00 5.38 0.00 08:51:28 08:49:01 0.30 0.00 0.30 0.00 0.00 5.08 0.00 08:51:28 08:50:01 0.38 0.00 0.38 0.00 0.00 6.93 0.00 08:51:28 08:51:01 2.93 0.10 2.83 0.00 9.99 66.02 0.00 08:51:28 Average: 18.38 2.76 15.62 0.00 843.65 2973.60 0.00 08:51:28 08:51:28 08:44:08 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:51:28 08:45:01 5458788 0 807020 10.08 2620 1740504 1279268 14.12 581140 1569120 136 08:51:28 08:46:01 5469812 0 795992 9.94 2620 1740508 1197600 13.22 572544 1569084 20 08:51:28 08:47:01 5465860 0 799944 9.99 2620 1740508 1213484 13.40 574808 1570324 20 08:51:28 08:48:01 5461592 0 804204 10.04 2620 1740516 1237128 13.66 578260 1570324 20 08:51:28 08:49:01 5468916 0 796872 9.95 2620 1740524 1191224 13.15 570976 1571036 16 08:51:28 08:50:01 5463184 0 802600 10.02 2620 1740528 1191760 13.16 574680 1573876 8 08:51:28 08:51:01 5258760 0 849512 10.61 2620 1898040 1387212 15.32 748492 1590324 156956 08:51:28 Average: 5435273 0 808021 10.09 2620 1763018 1242525 13.72 600129 1573441 22454 08:51:28 08:51:28 08:44:08 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:51:28 08:45:01 eth0 739.74 524.18 1265.70 104.21 0.00 0.00 0.00 0.00 08:51:28 08:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:51:28 08:45:01 docker0 15.14 11.42 2.34 31.13 0.00 0.00 0.00 0.00 08:51:28 08:46:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 08:51:28 08:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:51:28 08:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:51:28 08:47:01 eth0 4.27 2.83 3.06 7.96 0.00 0.00 0.00 0.00 08:51:28 08:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:51:28 08:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:51:28 08:48:01 eth0 2.18 1.20 0.40 6.75 0.00 0.00 0.00 0.00 08:51:28 08:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:51:28 08:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:51:28 08:49:01 eth0 0.27 0.08 0.03 0.01 0.00 0.00 0.00 0.00 08:51:28 08:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:51:28 08:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:51:28 08:50:01 eth0 1.52 1.48 0.42 7.14 0.00 0.00 0.00 0.00 08:51:28 08:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:51:28 08:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:51:28 08:51:01 eth0 175.27 156.60 2162.63 14.11 0.00 0.00 0.00 0.00 08:51:28 08:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:51:28 08:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:51:28 Average: eth0 121.64 90.87 477.25 18.60 0.00 0.00 0.00 0.00 08:51:28 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:51:28 Average: docker0 1.94 1.47 0.30 4.00 0.00 0.00 0.00 0.00 08:51:28 08:51:28 08:51:28 ---> sar -P ALL: 08:51:28 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/25/21 _x86_64_ (2 CPU) 08:51:28 08:51:28 08:43:28 LINUX RESTART (2 CPU) 08:51:28 08:51:28 08:44:08 CPU %user %nice %system %iowait %steal %idle 08:51:28 08:45:01 all 18.76 0.00 5.60 21.00 0.08 54.57 08:51:28 08:45:01 0 18.30 0.00 6.33 21.58 0.08 53.71 08:51:28 08:45:01 1 19.22 0.00 4.86 20.42 0.08 55.41 08:51:28 08:46:01 all 0.19 0.00 0.05 0.00 0.03 99.73 08:51:28 08:46:01 0 0.08 0.00 0.05 0.00 0.02 99.85 08:51:28 08:46:01 1 0.30 0.00 0.05 0.00 0.03 99.62 08:51:28 08:47:01 all 0.23 0.00 0.06 0.00 0.03 99.68 08:51:28 08:47:01 0 0.10 0.00 0.07 0.00 0.03 99.80 08:51:28 08:47:01 1 0.35 0.00 0.05 0.00 0.03 99.57 08:51:28 08:48:01 all 0.05 0.00 0.03 0.00 0.03 99.90 08:51:28 08:48:01 0 0.05 0.00 0.03 0.00 0.05 99.87 08:51:28 08:48:01 1 0.05 0.00 0.02 0.00 0.00 99.93 08:51:28 08:49:01 all 0.03 0.00 0.05 0.00 0.03 99.89 08:51:28 08:49:01 0 0.03 0.00 0.03 0.00 0.02 99.92 08:51:28 08:49:01 1 0.03 0.00 0.07 0.00 0.03 99.87 08:51:28 08:50:01 all 0.18 0.00 0.05 0.00 0.03 99.73 08:51:28 08:50:01 0 0.15 0.00 0.05 0.00 0.03 99.77 08:51:28 08:50:01 1 0.22 0.00 0.05 0.00 0.03 99.70 08:51:28 08:51:01 all 2.68 0.00 0.86 0.32 0.03 96.12 08:51:28 08:51:01 0 2.77 0.00 0.92 0.37 0.03 95.90 08:51:28 08:51:01 1 2.59 0.00 0.79 0.27 0.02 96.33 08:51:28 Average: all 2.82 0.00 0.85 2.66 0.03 93.64 08:51:28 Average: 0 2.73 0.00 0.95 2.73 0.04 93.54 08:51:28 Average: 1 2.91 0.00 0.75 2.58 0.03 93.73 08:51:28 08:51:28 08:51:28