cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 968d3db8c2290dc5857cf0eb9311eccc6509e672 rather than 0f89794838806ae71bcde4cf012dd4fab8ddffca Obtained Jenkinsfile from 968d3db8c2290dc5857cf0eb9311eccc6509e672 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9115880202919486459.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3347333254544389513.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 c141c1271097dc03ad291c2451e310eaf98cdd06 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-1023/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1023/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2535578717958313472.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1368817611065221455.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1023/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1023/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5799073617725581517.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[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_BUILD_IMAGE_TARGET: builder 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/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-1441 in /w/workspace/gexfoundry_device-sdk-go_PR-1023 [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/gexfoundry_device-sdk-go_PR-1023 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1023@tmp/jenkins-gitclient-ssh5711674298139139954.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 968d3db8c2290dc5857cf0eb9311eccc6509e672 into PR head commit 0f89794838806ae71bcde4cf012dd4fab8ddffca Merge succeeded, producing 0f89794838806ae71bcde4cf012dd4fab8ddffca Checking out Revision 0f89794838806ae71bcde4cf012dd4fab8ddffca (PR-1023) > 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1023@tmp/jenkins-gitclient-ssh6628252907059398221.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1023/head:refs/remotes/origin/PR-1023 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f89794838806ae71bcde4cf012dd4fab8ddffca # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1023@tmp/jenkins-gitclient-ssh8099848422125018575.key > git merge 968d3db8c2290dc5857cf0eb9311eccc6509e672 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f89794838806ae71bcde4cf012dd4fab8ddffca # timeout=10 Commit message: "fix: Fix nil pointer error when executing SET command with empty value" > git rev-list --no-walk 0f89794838806ae71bcde4cf012dd4fab8ddffca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:22:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:22:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:22:58 ========================================================= 01:22:58 EdgeX Global Pipelines Version Info 01:22:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:22:59 ------------------- 01:22:59 stable info: 01:22:59 ------------------- 01:22:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:22:59 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 01:22:59 Message: update stable to v1.0.206 01:23:00 ------------------- 01:23:00 experimental info: 01:23:00 ------------------- 01:23:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:23:00 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 01:23:00 Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:23:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:23:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:23:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:23:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:23:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 01:23:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:23:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:23:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:23:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:23:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1023 [Pipeline] echo 01:23:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1023 [Pipeline] echo 01:23:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1023 [Pipeline] echo 01:23:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f89794838806ae71bcde4cf012dd4fab8ddffca [Pipeline] echo 01:23:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f89794 [Pipeline] echo 01:23:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:23:01 provisioning config files... 01:23:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1023@tmp/config4227920255332473743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:23:01 ---> docker-login.sh 01:23:01 nexus3.edgexfoundry.org:10001 01:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:02 Configure a credential helper to remove this warning. See 01:23:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:02 01:23:02 Login Succeeded 01:23:02 nexus3.edgexfoundry.org:10002 01:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:03 Configure a credential helper to remove this warning. See 01:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:03 01:23:03 Login Succeeded 01:23:03 nexus3.edgexfoundry.org:10003 01:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:03 Configure a credential helper to remove this warning. See 01:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:03 01:23:03 Login Succeeded 01:23:03 nexus3.edgexfoundry.org:10004 01:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:03 Configure a credential helper to remove this warning. See 01:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:03 01:23:03 Login Succeeded 01:23:03 docker.io 01:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:09 Configure a credential helper to remove this warning. See 01:23:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:09 01:23:09 Login Succeeded 01:23:09 ---> docker-login.sh ends [Pipeline] } 01:23:09 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 01:23:09 + git log --format=format:%s -1 0f89794838806ae71bcde4cf012dd4fab8ddffca [Pipeline] echo 01:23:09 GIT_COMMIT: 0f89794838806ae71bcde4cf012dd4fab8ddffca, Commit Message: fix: Fix nil pointer error when executing SET command with empty value [Pipeline] echo 01:23:09 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:23:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:23:10 01:23:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:23:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:23:11 latest: Pulling from edgex-devops/git-semver 01:23:11 31603596830f: Pulling fs layer 01:23:11 04fac38145f0: Pulling fs layer 01:23:11 701f6daf10bf: Pulling fs layer 01:23:11 24f72da36158: Pulling fs layer 01:23:11 24f72da36158: Waiting 01:23:11 04fac38145f0: Download complete 01:23:11 31603596830f: Verifying Checksum 01:23:11 31603596830f: Download complete 01:23:11 701f6daf10bf: Verifying Checksum 01:23:11 701f6daf10bf: Download complete 01:23:11 24f72da36158: Verifying Checksum 01:23:11 24f72da36158: Download complete 01:23:11 31603596830f: Pull complete 01:23:11 04fac38145f0: Pull complete 01:23:12 701f6daf10bf: Pull complete 01:23:12 24f72da36158: Pull complete 01:23:12 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 01:23:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:23:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:23:12 prd-centos7-docker-4c-2g-1441 does not seem to be running inside a container 01:23:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1023 -v /w/workspace/gexfoundry_device-sdk-go_PR-1023:/w/workspace/gexfoundry_device-sdk-go_PR-1023:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1023@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1023@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:23:13 $ docker top ecc051c457e1e2137eea8630e1c0fc8d63d8125bda0a579edd076b2a855a19d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:23:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:23:13 [ssh-agent] Looking for ssh-agent implementation... 01:23:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:23:13 $ docker exec ecc051c457e1e2137eea8630e1c0fc8d63d8125bda0a579edd076b2a855a19d7 ssh-agent 01:23:13 SSH_AUTH_SOCK=/tmp/ssh-s97gIerFD2JL/agent.14 01:23:13 SSH_AGENT_PID=20 01:23:13 Running ssh-add (command line suppressed) 01:23:13 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1023@tmp/private_key_5121867805575870248.key (/w/workspace/gexfoundry_device-sdk-go_PR-1023@tmp/private_key_5121867805575870248.key) 01:23:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:23:14 + git tag --points-at HEAD [Pipeline] } 01:23:14 $ docker exec --env ******** --env ******** ecc051c457e1e2137eea8630e1c0fc8d63d8125bda0a579edd076b2a855a19d7 ssh-agent -k 01:23:14 unset SSH_AUTH_SOCK; 01:23:14 unset SSH_AGENT_PID; 01:23:14 echo Agent pid 20 killed; 01:23:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:23:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:23:14 [ssh-agent] Looking for ssh-agent implementation... 01:23:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:23:14 $ docker exec ecc051c457e1e2137eea8630e1c0fc8d63d8125bda0a579edd076b2a855a19d7 ssh-agent 01:23:14 SSH_AUTH_SOCK=/tmp/ssh-UZjYtbR2c6vH/agent.53 01:23:14 SSH_AGENT_PID=59 01:23:14 Running ssh-add (command line suppressed) 01:23:14 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1023@tmp/private_key_2927273546102878757.key (/w/workspace/gexfoundry_device-sdk-go_PR-1023@tmp/private_key_2927273546102878757.key) 01:23:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:23:14 + git semver init 01:23:14 # -> Open(): unable to determine branch for HEAD 01:23:14 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1023/.git 01:23:14 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1023 01:23:14 # $SEMVER_REMOTE_NAME = origin 01:23:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:23:14 # $SEMVER_USER_NAME = edgex-jenkins 01:23:14 # $SEMVER_BRANCH = PR-1023 01:23:14 # $SEMVER_TEMP = /tmp/semver-602925658 01:23:14 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 01:23:15 # '/tmp/semver-602925658' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1023/.semver' 01:23:15 # -> Force: false 01:23:15 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1023/.semver [Pipeline] } 01:23:15 $ docker exec --env ******** --env ******** ecc051c457e1e2137eea8630e1c0fc8d63d8125bda0a579edd076b2a855a19d7 ssh-agent -k 01:23:16 unset SSH_AUTH_SOCK; 01:23:16 unset SSH_AGENT_PID; 01:23:16 echo Agent pid 59 killed; 01:23:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:23:16 + git semver [Pipeline] } 01:23:16 $ docker stop --time=1 ecc051c457e1e2137eea8630e1c0fc8d63d8125bda0a579edd076b2a855a19d7 01:23:17 $ docker rm -f ecc051c457e1e2137eea8630e1c0fc8d63d8125bda0a579edd076b2a855a19d7 [Pipeline] // withDockerContainer [Pipeline] sh 01:23:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:23:18 Stashed 1 file(s) [Pipeline] echo 01:23:18 [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 01:23:33 Still waiting to schedule task 01:23:33 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:23:33 Still waiting to schedule task 01:23:33 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1433’ 01:26:09 Running on prd-centos7-docker-4c-2g-1442 in /w/workspace/gexfoundry_device-sdk-go_PR-1023 [Pipeline] { [Pipeline] ws 01:26:09 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 01:26:09 Selected Git installation does not exist. Using Default 01:26:09 The recommended git tool is: NONE 01:26:13 using credential edgex-jenkins-ssh 01:26:13 Cloning the remote Git repository 01:26:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:26:13 > git init /w/workspace/device-sdk-go/2 # timeout=10 01:26:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:26:13 > git --version # timeout=10 01:26:13 > git --version # 'git version 2.24.4' 01:26:13 using GIT_SSH to set credentials SSH Credentials for GitHub 01:26:13 [INFO] Currently running in a labeled security context 01:26:13 [INFO] Currently SELinux is 'enforcing' on the host 01:26:13 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh7491070265697017715.key 01:26:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:26:15 Merging remotes/origin/main commit 968d3db8c2290dc5857cf0eb9311eccc6509e672 into PR head commit 0f89794838806ae71bcde4cf012dd4fab8ddffca 01:26:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:26:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:26:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:26:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:26:14 using GIT_SSH to set credentials SSH Credentials for GitHub 01:26:14 [INFO] Currently running in a labeled security context 01:26:14 [INFO] Currently SELinux is 'enforcing' on the host 01:26:14 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh7707250716271512896.key 01:26:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1023/head:refs/remotes/origin/PR-1023 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:26:15 > git config core.sparsecheckout # timeout=10 01:26:15 > git checkout -f 0f89794838806ae71bcde4cf012dd4fab8ddffca # timeout=10 01:26:15 Merge succeeded, producing 0f89794838806ae71bcde4cf012dd4fab8ddffca 01:26:15 Checking out Revision 0f89794838806ae71bcde4cf012dd4fab8ddffca (PR-1023) 01:26:15 > git remote # timeout=10 01:26:15 > git config --get remote.origin.url # timeout=10 01:26:15 using GIT_SSH to set credentials SSH Credentials for GitHub 01:26:15 [INFO] Currently running in a labeled security context 01:26:15 [INFO] Currently SELinux is 'enforcing' on the host 01:26:15 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1107844163942926734.key 01:26:15 > git merge 968d3db8c2290dc5857cf0eb9311eccc6509e672 # timeout=10 01:26:15 > git rev-parse HEAD^{commit} # timeout=10 01:26:15 > git config core.sparsecheckout # timeout=10 01:26:15 > git checkout -f 0f89794838806ae71bcde4cf012dd4fab8ddffca # timeout=10 01:26:18 Commit message: "fix: Fix nil pointer error when executing SET command with empty value" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:26:19 provisioning config files... 01:26:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7207514390000709742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:19 ---> docker-login.sh 01:26:19 nexus3.edgexfoundry.org:10001 01:26:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:19 Configure a credential helper to remove this warning. See 01:26:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:19 01:26:19 Login Succeeded 01:26:19 nexus3.edgexfoundry.org:10002 01:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:20 Configure a credential helper to remove this warning. See 01:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:20 01:26:20 Login Succeeded 01:26:20 nexus3.edgexfoundry.org:10003 01:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:20 Configure a credential helper to remove this warning. See 01:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:20 01:26:20 Login Succeeded 01:26:20 nexus3.edgexfoundry.org:10004 01:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:20 Configure a credential helper to remove this warning. See 01:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:20 01:26:20 Login Succeeded 01:26:20 docker.io 01:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:21 Configure a credential helper to remove this warning. See 01:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:21 01:26:21 Login Succeeded 01:26:21 ---> docker-login.sh ends [Pipeline] } 01:26:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:26:21 ========================================================= 01:26:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 01:26:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:26:21 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 01:26:21 Sending build context to Docker daemon 2.622MB 01:26:21 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 01:26:21 Step 2/9 : FROM ${BASE} AS builder 01:26:21 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 01:26:21 540db60ca938: Pulling fs layer 01:26:21 adcc1eea9eea: Pulling fs layer 01:26:21 4c4ab2625f07: Pulling fs layer 01:26:21 db62176df00c: Pulling fs layer 01:26:21 3b30891b0d05: Pulling fs layer 01:26:21 06b49ca38bd5: Pulling fs layer 01:26:21 c788192a36de: Pulling fs layer 01:26:21 a77e37c0d609: Pulling fs layer 01:26:21 c3185cebc471: Pulling fs layer 01:26:21 06b49ca38bd5: Waiting 01:26:21 c788192a36de: Waiting 01:26:21 a77e37c0d609: Waiting 01:26:21 db62176df00c: Waiting 01:26:21 c3185cebc471: Waiting 01:26:21 3b30891b0d05: Waiting 01:26:21 adcc1eea9eea: Verifying Checksum 01:26:21 adcc1eea9eea: Download complete 01:26:22 540db60ca938: Verifying Checksum 01:26:22 540db60ca938: Download complete 01:26:22 3b30891b0d05: Verifying Checksum 01:26:22 3b30891b0d05: Download complete 01:26:22 540db60ca938: Pull complete 01:26:22 adcc1eea9eea: Pull complete 01:26:22 06b49ca38bd5: Download complete 01:26:22 c788192a36de: Verifying Checksum 01:26:22 c788192a36de: Download complete 01:26:22 a77e37c0d609: Download complete 01:26:22 4c4ab2625f07: Verifying Checksum 01:26:22 4c4ab2625f07: Download complete 01:26:22 4c4ab2625f07: Pull complete 01:26:23 db62176df00c: Verifying Checksum 01:26:23 db62176df00c: Download complete 01:26:24 c3185cebc471: Verifying Checksum 01:26:24 c3185cebc471: Download complete 01:26:28 db62176df00c: Pull complete 01:26:28 3b30891b0d05: Pull complete 01:26:28 06b49ca38bd5: Pull complete 01:26:28 c788192a36de: Pull complete 01:26:28 a77e37c0d609: Pull complete 01:26:30 c3185cebc471: Pull complete 01:26:30 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 01:26:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 01:26:30 ---> 031687cdd783 01:26:30 Step 3/9 : WORKDIR /device-sdk-go 01:26:32 ---> Running in 15e69ad0d5ae 01:26:32 Removing intermediate container 15e69ad0d5ae 01:26:32 ---> eb6926114a87 01:26:32 Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:26:32 ---> Running in 6b549b7cb4da 01:26:32 Removing intermediate container 6b549b7cb4da 01:26:32 ---> efeb74e50e7b 01:26:32 Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:26:32 ---> Running in 5ef1dd8ab918 01:26:32 Removing intermediate container 5ef1dd8ab918 01:26:32 ---> 522fcf25d4aa 01:26:32 Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:26:32 ---> Running in f4ac312f70f4 01:26:32 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 01:26:33 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 01:26:34 OK: 219 MiB in 52 packages 01:26:34 Removing intermediate container f4ac312f70f4 01:26:34 ---> ae37f2e017e3 01:26:34 Step 7/9 : COPY . . 01:26:34 ---> 71c82b63faf8 01:26:34 Step 8/9 : RUN go mod download 01:26:34 ---> Running in dcb7aafac108 01:26:44 Removing intermediate container dcb7aafac108 01:26:44 ---> 1360d4d55287 01:26:44 Step 9/9 : RUN make build 01:26:44 ---> Running in e0b56231556e 01:26:44 go mod tidy 01:26:44 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 01:26:54 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:26:55 Removing intermediate container e0b56231556e 01:26:55 ---> 250eecfb558b 01:26:55 [Warning] One or more build-args [MAKE] were not consumed 01:26:55 Successfully built 250eecfb558b 01:26:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:26:55 + docker inspect -f . ci-base-image-x86_64 01:26:55 . [Pipeline] withDockerContainer 01:26:55 prd-centos7-docker-4c-2g-1442 does not seem to be running inside a container 01:26:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:26:56 $ docker top 8724b56b9511cf0a4db7482fd97f120ac197851a68abfd1755905854762a7b64 -eo pid,comm [Pipeline] { [Pipeline] sh 01:26:56 + go version 01:26:56 go version go1.16.6 linux/amd64 [Pipeline] } 01:26:56 $ docker stop --time=1 8724b56b9511cf0a4db7482fd97f120ac197851a68abfd1755905854762a7b64 01:26:57 $ docker rm -f 8724b56b9511cf0a4db7482fd97f120ac197851a68abfd1755905854762a7b64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:26:58 + docker inspect -f . ci-base-image-x86_64 01:26:58 . [Pipeline] withDockerContainer 01:26:58 prd-centos7-docker-4c-2g-1442 does not seem to be running inside a container 01:26:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:26:59 $ docker top ab8ad9198f8da73857bcd27cfcec0369f76ae0cb3048436b0a881b88c7cb82db -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:26:59 + go mod tidy [Pipeline] sh 01:27:00 + make test 01:27:00 go mod tidy 01:27:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:27:05 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:27:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:27:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:27:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:27:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.050s coverage: 23.7% of statements 01:27:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:27:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 28.1% of statements 01:27:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.057s coverage: 78.9% of statements 01:27:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.047s coverage: 9.0% of statements 01:27:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 01:27:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:27:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:27:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.064s coverage: 28.7% of statements 01:27:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:27:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.065s coverage: 83.3% of statements 01:27:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:27:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:27:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.066s coverage: 58.0% of statements 01:27:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.790s coverage: 89.2% of statements 01:27:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:27:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.043s coverage: 4.9% of statements 01:27:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:27:33 GO111MODULE=on go vet ./... 01:27:41 gofmt -l . 01:27:41 [ "`gofmt -l .`" = "" ] 01:27:41 ./bin/test-attribution-txt.sh 01:27:42 ./bin/test-go-mod-tidy.sh [Pipeline] } 01:27:42 $ docker stop --time=1 ab8ad9198f8da73857bcd27cfcec0369f76ae0cb3048436b0a881b88c7cb82db 01:27:43 $ docker rm -f ab8ad9198f8da73857bcd27cfcec0369f76ae0cb3048436b0a881b88c7cb82db [Pipeline] // withDockerContainer [Pipeline] sh 01:27:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:27:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 01:27:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1443 in /w/workspace/gexfoundry_device-sdk-go_PR-1023 [Pipeline] { [Pipeline] sh [Pipeline] ws 01:27:46 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 01:27:47 Selected Git installation does not exist. Using Default 01:27:47 The recommended git tool is: NONE 01:27:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:27:47 + ls -al . 01:27:47 total 236 01:27:47 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 5 01:27 . 01:27:47 drwxrwxr-x. 4 jenkins jenkins 28 Oct 5 01:26 .. 01:27:47 drwxrwxr-x. 2 jenkins jenkins 64 Oct 5 01:26 bin 01:27:47 -rw-rw-r--. 1 jenkins jenkins 24816 Oct 5 01:26 CHANGELOG.md 01:27:47 -rw-r--r--. 1 jenkins jenkins 125634 Oct 5 01:27 coverage.out 01:27:47 -rw-rw-r--. 1 jenkins jenkins 140 Oct 5 01:26 .dockerignore 01:27:47 drwxrwxr-x. 5 jenkins jenkins 62 Oct 5 01:26 example 01:27:47 drwxrwxr-x. 8 jenkins jenkins 179 Oct 5 01:26 .git 01:27:47 drwxrwxr-x. 3 jenkins jenkins 125 Oct 5 01:26 .github 01:27:47 -rw-rw-r--. 1 jenkins jenkins 138 Oct 5 01:26 .gitignore 01:27:47 -rw-r--r--. 1 jenkins jenkins 576 Oct 5 01:27 go.mod 01:27:47 -rw-r--r--. 1 jenkins jenkins 20493 Oct 5 01:26 go.sum 01:27:47 -rw-rw-r--. 1 jenkins jenkins 677 Oct 5 01:26 GOVERNANCE.md 01:27:47 drwxrwxr-x. 15 jenkins jenkins 224 Oct 5 01:26 internal 01:27:47 -rw-rw-r--. 1 jenkins jenkins 880 Oct 5 01:26 Jenkinsfile 01:27:47 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 5 01:26 LICENSE 01:27:47 -rw-rw-r--. 1 jenkins jenkins 1026 Oct 5 01:26 Makefile 01:27:47 drwxrwxr-x. 3 jenkins jenkins 16 Oct 5 01:26 openapi 01:27:47 -rw-rw-r--. 1 jenkins jenkins 619 Oct 5 01:26 OWNERS.md 01:27:47 drwxrwxr-x. 5 jenkins jenkins 50 Oct 5 01:26 pkg 01:27:47 -rw-rw-r--. 1 jenkins jenkins 7646 Oct 5 01:26 README.md 01:27:47 drwxrwxr-x. 4 jenkins jenkins 54 Oct 5 01:26 snap 01:27:47 -rw-rw-r--. 1 jenkins jenkins 5 Oct 5 01:23 VERSION 01:27:47 -rw-rw-r--. 1 jenkins jenkins 222 Oct 5 01:26 version.go [Pipeline] isUnix [Pipeline] sh 01:27:47 + 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=0f89794838806ae71bcde4cf012dd4fab8ddffca --label arch=amd64 --label version=0.0.0 . 01:27:47 Sending build context to Docker daemon 2.748MB 01:27:47 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 01:27:47 Step 2/23 : FROM ${BASE} AS builder 01:27:47 ---> 250eecfb558b 01:27:47 Step 3/23 : WORKDIR /device-sdk-go 01:27:47 ---> Running in f24afcffcabb 01:27:47 Removing intermediate container f24afcffcabb 01:27:47 ---> 811977cc152d 01:27:47 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:27:47 ---> Running in a7b886691a1c 01:27:48 Removing intermediate container a7b886691a1c 01:27:48 ---> 285d8c7449a2 01:27:48 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:27:48 ---> Running in fe2db05c3cbd 01:27:48 Removing intermediate container fe2db05c3cbd 01:27:48 ---> 4d6a39a81699 01:27:48 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:27:48 ---> Running in 930111b3e18e 01:27:48 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 01:27:49 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 01:27:49 OK: 219 MiB in 52 packages 01:27:50 Removing intermediate container 930111b3e18e 01:27:50 ---> ddcb3a954408 01:27:50 Step 7/23 : COPY . . 01:27:50 ---> baa4745c8e82 01:27:50 Step 8/23 : RUN go mod download 01:27:50 ---> Running in e33488d98fbb 01:27:51 Removing intermediate container e33488d98fbb 01:27:51 ---> d975fed869a1 01:27:51 Step 9/23 : RUN make build 01:27:51 ---> Running in e083ea2e30ab 01:27:51 go mod tidy 01:27:51 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 01:27:51 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:27:52 Removing intermediate container e083ea2e30ab 01:27:52 ---> df7bbbb7047b 01:27:52 Step 10/23 : FROM alpine:3.14 01:27:52 3.14: Pulling from library/alpine 01:27:52 a0d0a0d46f8b: Pulling fs layer 01:27:53 a0d0a0d46f8b: Verifying Checksum 01:27:53 a0d0a0d46f8b: Download complete 01:27:53 a0d0a0d46f8b: Pull complete 01:27:53 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 01:27:53 Status: Downloaded newer image for alpine:3.14 01:27:53 ---> 14119a10abf4 01:27:53 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:27:53 ---> Running in 2b82c635609e 01:27:53 Removing intermediate container 2b82c635609e 01:27:53 ---> 539ac702160f 01:27:53 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:27:53 ---> Running in 3f09cfcfd090 01:27:53 using credential edgex-jenkins-ssh 01:27:53 Cloning the remote Git repository 01:27:53 Removing intermediate container 3f09cfcfd090 01:27:53 ---> aa4ef84ccdd9 01:27:53 Step 13/23 : RUN apk add --update --no-cache zeromq 01:27:53 ---> Running in 8e2de54458dc 01:27:54 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:27:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:27:53 > git init /w/workspace/device-sdk-go/2 # timeout=10 01:27:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:27:53 > git --version # timeout=10 01:27:53 > git --version # 'git version 2.17.1' 01:27:53 using GIT_SSH to set credentials SSH Credentials for GitHub 01:27:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:27:55 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:27:55 (1/5) Installing libgcc (10.3.1_git20210424-r2) 01:27:55 (2/5) Installing libsodium (1.0.18-r0) 01:27:55 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 01:27:55 (4/5) Installing libzmq (4.3.4-r0) 01:27:55 (5/5) Installing zeromq (4.3.4-r0) 01:27:55 Executing busybox-1.33.1-r3.trigger 01:27:55 OK: 8 MiB in 19 packages 01:27:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:27:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:27:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:27:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:27:55 using GIT_SSH to set credentials SSH Credentials for GitHub 01:27:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1023/head:refs/remotes/origin/PR-1023 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:27:56 Removing intermediate container 8e2de54458dc 01:27:56 ---> 1257e8e559aa 01:27:56 Step 14/23 : WORKDIR / 01:27:56 ---> Running in 8aad19830f53 01:27:56 Removing intermediate container 8aad19830f53 01:27:56 ---> e991721335b2 01:27:56 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:27:56 Merging remotes/origin/main commit 968d3db8c2290dc5857cf0eb9311eccc6509e672 into PR head commit 0f89794838806ae71bcde4cf012dd4fab8ddffca 01:27:56 ---> 0719d7ab0de3 01:27:56 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:27:56 Merge succeeded, producing 0f89794838806ae71bcde4cf012dd4fab8ddffca 01:27:56 Checking out Revision 0f89794838806ae71bcde4cf012dd4fab8ddffca (PR-1023) 01:27:56 ---> a05c939180cc 01:27:56 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:27:56 ---> 72a72a851577 01:27:56 Step 18/23 : EXPOSE 59999 01:27:56 ---> Running in 8932e9c4cc85 01:27:57 Removing intermediate container 8932e9c4cc85 01:27:57 ---> d30b766c6fbe 01:27:57 Step 19/23 : ENTRYPOINT ["/device-simple"] 01:27:57 ---> Running in bce76489d9fb 01:27:57 Removing intermediate container bce76489d9fb 01:27:57 ---> 7cba3858951d 01:27:57 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:27:57 ---> Running in 9f8d695e8d2b 01:27:57 Removing intermediate container 9f8d695e8d2b 01:27:57 ---> f75fe91e2063 01:27:57 Step 21/23 : LABEL arch=amd64 01:27:57 ---> Running in b595ac3b552c 01:27:57 Removing intermediate container b595ac3b552c 01:27:57 ---> 39b96f0dd481 01:27:57 Step 22/23 : LABEL git_sha=0f89794838806ae71bcde4cf012dd4fab8ddffca 01:27:57 ---> Running in 9dd6b078c542 01:27:57 Removing intermediate container 9dd6b078c542 01:27:57 ---> 5387b9080343 01:27:57 Step 23/23 : LABEL version=0.0.0 01:27:57 ---> Running in b59ba8bfeee6 01:27:57 Removing intermediate container b59ba8bfeee6 01:27:57 ---> dbb0739241a1 01:27:57 [Warning] One or more build-args [ARCH MAKE] were not consumed 01:27:57 Successfully built dbb0739241a1 01:27:57 Successfully tagged device-sdk-simple:latest [Pipeline] } 01:27:56 > git config core.sparsecheckout # timeout=10 01:27:56 > git checkout -f 0f89794838806ae71bcde4cf012dd4fab8ddffca # timeout=10 01:27:56 > git remote # timeout=10 01:27:56 > git config --get remote.origin.url # timeout=10 01:27:56 using GIT_SSH to set credentials SSH Credentials for GitHub 01:27:56 > git merge 968d3db8c2290dc5857cf0eb9311eccc6509e672 # timeout=10 01:27:56 > git rev-parse HEAD^{commit} # timeout=10 01:27:56 > git config core.sparsecheckout # timeout=10 01:27:56 > git checkout -f 0f89794838806ae71bcde4cf012dd4fab8ddffca # timeout=10 [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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:27:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:58 01:27:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:27:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:58 latest: Pulling from edgex-lftools-log-publisher 01:27:58 b4d181a07f80: Pulling fs layer 01:27:58 a1111a8f2ec3: Pulling fs layer 01:27:58 ed53099fbce6: Pulling fs layer 01:27:58 dc539afda2c1: Pulling fs layer 01:27:58 77bc0d833cb6: Pulling fs layer 01:27:58 9065ff56babe: Pulling fs layer 01:27:58 d287ab97295c: Pulling fs layer 01:27:58 dc539afda2c1: Waiting 01:27:58 77bc0d833cb6: Waiting 01:27:58 9065ff56babe: Waiting 01:27:58 d287ab97295c: Waiting 01:27:58 ed53099fbce6: Verifying Checksum 01:27:58 ed53099fbce6: Download complete 01:27:58 a1111a8f2ec3: Verifying Checksum 01:27:58 a1111a8f2ec3: Download complete 01:27:58 dc539afda2c1: Verifying Checksum 01:27:58 dc539afda2c1: Download complete 01:27:59 9065ff56babe: Verifying Checksum 01:27:59 9065ff56babe: Download complete 01:27:59 77bc0d833cb6: Verifying Checksum 01:27:59 77bc0d833cb6: Download complete 01:27:59 b4d181a07f80: Verifying Checksum 01:27:59 b4d181a07f80: Download complete 01:28:00 d287ab97295c: Verifying Checksum 01:28:00 d287ab97295c: Download complete 01:28:00 b4d181a07f80: Pull complete 01:28:00 a1111a8f2ec3: Pull complete 01:28:01 Commit message: "fix: Fix nil pointer error when executing SET command with empty value" 01:28:01 ed53099fbce6: Pull complete 01:28:01 dc539afda2c1: Pull complete 01:28:01 01:28:01 GitHub has been notified of this commit’s build result 01:28:01 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { 01:28:01 77bc0d833cb6: Pull complete 01:28:01 9065ff56babe: Pull complete [Pipeline] configFileProvider 01:28:01 provisioning config files... 01:28:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6515183641346767870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:02 ---> docker-login.sh 01:28:02 nexus3.edgexfoundry.org:10001 01:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:05 Configure a credential helper to remove this warning. See 01:28:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:05 01:28:05 Login Succeeded 01:28:05 nexus3.edgexfoundry.org:10002 01:28:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:05 Configure a credential helper to remove this warning. See 01:28:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:05 01:28:05 Login Succeeded 01:28:05 nexus3.edgexfoundry.org:10003 01:28:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:06 Configure a credential helper to remove this warning. See 01:28:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:06 01:28:06 Login Succeeded 01:28:06 nexus3.edgexfoundry.org:10004 01:28:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:06 Configure a credential helper to remove this warning. See 01:28:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:06 01:28:06 Login Succeeded 01:28:06 docker.io 01:28:07 d287ab97295c: Pull complete 01:28:07 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:28:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:28:07 prd-centos7-docker-4c-2g-1442 does not seem to be running inside a container 01:28:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:28:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:07 Configure a credential helper to remove this warning. See 01:28:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:07 01:28:07 Login Succeeded 01:28:07 ---> docker-login.sh ends 01:28:09 $ docker top 496bcd361daf82559109cc95e521fe7687918383709be8544bc355e58ce5beba -eo pid,comm [Pipeline] { [Pipeline] } 01:28:09 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 01:28:10 ---> job-cost.sh 01:28:10 lf-activate-venv: SKIPPING 01:28:10 INFO: No Stack... [Pipeline] echo 01:28:10 ========================================================= 01:28:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 01:28:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:28:10 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 01:28:11 Sending build context to Docker daemon 2.622MB 01:28:11 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 01:28:11 Step 2/9 : FROM ${BASE} AS builder 01:28:11 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:28:11 595b0fe564bb: Pulling fs layer 01:28:11 24495759ef45: Pulling fs layer 01:28:11 d148012ef14d: Pulling fs layer 01:28:11 e90a11edd702: Pulling fs layer 01:28:11 d77568369979: Pulling fs layer 01:28:11 fc1c9f9a7f3b: Pulling fs layer 01:28:11 170f2ba95c9a: Pulling fs layer 01:28:11 97ac5df62f85: Pulling fs layer 01:28:11 d77568369979: Waiting 01:28:11 fc1c9f9a7f3b: Waiting 01:28:11 170f2ba95c9a: Waiting 01:28:11 97ac5df62f85: Waiting 01:28:11 e90a11edd702: Waiting 01:28:11 d148012ef14d: Verifying Checksum 01:28:11 d148012ef14d: Download complete 01:28:11 24495759ef45: Verifying Checksum 01:28:11 24495759ef45: Download complete 01:28:11 d77568369979: Download complete 01:28:11 fc1c9f9a7f3b: Verifying Checksum 01:28:11 fc1c9f9a7f3b: Download complete 01:28:11 595b0fe564bb: Download complete 01:28:11 170f2ba95c9a: Verifying Checksum 01:28:11 170f2ba95c9a: Download complete 01:28:12 595b0fe564bb: Pull complete 01:28:13 24495759ef45: Pull complete 01:28:13 d148012ef14d: Pull complete 01:28:28 INFO: Retrieving Pricing Info for: v3-standard-2 01:28:32 INFO: Archiving Costs [Pipeline] sh 01:28:33 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 01:28:33 + cut -d, -f6 [Pipeline] lock 01:28:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1023-2-stack-cost] 01:28:33 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1023-2-stack-cost] did not exist. Created. 01:28:33 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1023-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:28:33 + echo total: 0.05999999865889549 [Pipeline] stash 01:28:33 Stashed 1 file(s) [Pipeline] } 01:28:33 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1023-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:28:33 $ docker stop --time=1 496bcd361daf82559109cc95e521fe7687918383709be8544bc355e58ce5beba 01:28:34 $ docker rm -f 496bcd361daf82559109cc95e521fe7687918383709be8544bc355e58ce5beba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:28:40 97ac5df62f85: Verifying Checksum 01:28:40 97ac5df62f85: Download complete 01:28:41 e90a11edd702: Download complete 01:28:51 e90a11edd702: Pull complete 01:28:51 d77568369979: Pull complete 01:28:52 fc1c9f9a7f3b: Pull complete 01:28:52 170f2ba95c9a: Pull complete 01:28:58 97ac5df62f85: Pull complete 01:28:58 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 01:28:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 01:28:58 ---> 04bc70af865f 01:28:58 Step 3/9 : WORKDIR /device-sdk-go 01:29:04 ---> Running in fcf19ca016bf 01:29:04 Removing intermediate container fcf19ca016bf 01:29:04 ---> 1e532e6e5b2c 01:29:04 Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:29:05 ---> Running in 532ed9ed5375 01:29:05 Removing intermediate container 532ed9ed5375 01:29:05 ---> cfa0ba1c07c4 01:29:05 Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:29:06 ---> Running in 9bbc4316b83a 01:29:08 Removing intermediate container 9bbc4316b83a 01:29:08 ---> 2667603c8f5e 01:29:08 Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:29:08 ---> Running in 822a42f7b909 01:29:10 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 01:29:10 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 01:29:11 OK: 218 MiB in 52 packages 01:29:12 Removing intermediate container 822a42f7b909 01:29:12 ---> a02c6779695d 01:29:12 Step 7/9 : COPY . . 01:29:14 ---> 166f0bbd828c 01:29:14 Step 8/9 : RUN go mod download 01:29:14 ---> Running in 55f2a2fa91c2 01:29:41 Removing intermediate container 55f2a2fa91c2 01:29:41 ---> 4cd3de2f3cb4 01:29:41 Step 9/9 : RUN make build 01:29:41 ---> Running in 652e12a83ece 01:29:42 go mod tidy 01:29:42 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 01:30:15 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:30:17 Removing intermediate container 652e12a83ece 01:30:17 ---> 9106f209611b 01:30:17 [Warning] One or more build-args [MAKE] were not consumed 01:30:17 Successfully built 9106f209611b 01:30:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:30:18 + docker inspect -f . ci-base-image-arm64 01:30:18 . [Pipeline] withDockerContainer 01:30:18 prd-ubuntu18.04-docker-arm64-4c-16g-1443 does not seem to be running inside a container 01:30:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:30:20 $ docker top 237bd6f38774b862d792fd795e9a507902dbbfe2e381727dabaabdb45a458ba9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:30:21 + go version 01:30:21 go version go1.16.6 linux/arm64 [Pipeline] } 01:30:21 $ docker stop --time=1 237bd6f38774b862d792fd795e9a507902dbbfe2e381727dabaabdb45a458ba9 01:30:23 $ docker rm -f 237bd6f38774b862d792fd795e9a507902dbbfe2e381727dabaabdb45a458ba9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:30:24 + docker inspect -f . ci-base-image-arm64 01:30:24 . [Pipeline] withDockerContainer 01:30:25 prd-ubuntu18.04-docker-arm64-4c-16g-1443 does not seem to be running inside a container 01:30:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:30:26 $ docker top 810b0e978d44375991012298990683f3fb02efad4b186b6f6d5aa73d812b0483 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:30:27 + go mod tidy [Pipeline] sh 01:30:29 + make test 01:30:29 go mod tidy 01:30:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:30:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:32:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:32:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:32:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:32:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.289s coverage: 23.7% of statements 01:32:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:32:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.205s coverage: 28.1% of statements 01:32:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.244s coverage: 78.9% of statements 01:32:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.194s coverage: 9.0% of statements 01:32:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 01:32:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:32:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:32:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.335s coverage: 28.7% of statements 01:32:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:32:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.239s coverage: 83.3% of statements 01:32:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:32:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:32:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.421s coverage: 58.0% of statements 01:32:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.193s coverage: 89.2% of statements 01:32:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:32:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.168s coverage: 4.9% of statements 01:32:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:32:14 GO111MODULE=on go vet ./... 01:32:47 gofmt -l . 01:32:47 [ "`gofmt -l .`" = "" ] 01:32:47 ./bin/test-attribution-txt.sh 01:32:49 ./bin/test-go-mod-tidy.sh [Pipeline] } 01:32:50 $ docker stop --time=1 810b0e978d44375991012298990683f3fb02efad4b186b6f6d5aa73d812b0483 01:32:52 $ docker rm -f 810b0e978d44375991012298990683f3fb02efad4b186b6f6d5aa73d812b0483 [Pipeline] // withDockerContainer [Pipeline] sh 01:32:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:32:53 Warning: overwriting stash ‘coverage-report’ 01:32:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:32:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:32:56 + ls -al . 01:32:56 total 272 01:32:56 drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 01:32 . 01:32:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 01:27 .. 01:32:56 -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 01:27 .dockerignore 01:32:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 01:28 .git 01:32:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 01:27 .github 01:32:56 -rw-rw-r-- 1 jenkins jenkins 138 Oct 5 01:27 .gitignore 01:32:56 -rw-rw-r-- 1 jenkins jenkins 24816 Oct 5 01:27 CHANGELOG.md 01:32:56 -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 01:27 GOVERNANCE.md 01:32:56 -rw-rw-r-- 1 jenkins jenkins 880 Oct 5 01:27 Jenkinsfile 01:32:56 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 01:27 LICENSE 01:32:56 -rw-rw-r-- 1 jenkins jenkins 1026 Oct 5 01:27 Makefile 01:32:56 -rw-rw-r-- 1 jenkins jenkins 619 Oct 5 01:27 OWNERS.md 01:32:56 -rw-rw-r-- 1 jenkins jenkins 7646 Oct 5 01:27 README.md 01:32:56 -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 01:23 VERSION 01:32:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 01:27 bin 01:32:56 -rw-r--r-- 1 jenkins jenkins 125634 Oct 5 01:32 coverage.out 01:32:56 drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 01:27 example 01:32:56 -rw-r--r-- 1 jenkins jenkins 576 Oct 5 01:32 go.mod 01:32:56 -rw-r--r-- 1 jenkins jenkins 20493 Oct 5 01:30 go.sum 01:32:56 drwxrwxr-x 15 jenkins jenkins 4096 Oct 5 01:27 internal 01:32:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 01:27 openapi 01:32:56 drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 01:27 pkg 01:32:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 01:27 snap 01:32:56 -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 01:27 version.go [Pipeline] isUnix [Pipeline] sh 01:32:56 + 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=0f89794838806ae71bcde4cf012dd4fab8ddffca --label arch=arm64 --label version=0.0.0 . 01:32:56 Sending build context to Docker daemon 2.748MB 01:32:56 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 01:32:56 Step 2/23 : FROM ${BASE} AS builder 01:32:56 ---> 9106f209611b 01:32:56 Step 3/23 : WORKDIR /device-sdk-go 01:32:57 ---> Running in fbb37417c6de 01:32:57 Removing intermediate container fbb37417c6de 01:32:57 ---> 07ae4badae0e 01:32:57 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:32:57 ---> Running in b5abae3554d1 01:32:58 Removing intermediate container b5abae3554d1 01:32:58 ---> d680d090cd1a 01:32:58 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:32:58 ---> Running in 086898adf14e 01:33:00 Removing intermediate container 086898adf14e 01:33:00 ---> 8eb5a204dfcc 01:33:00 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:33:00 ---> Running in d1b9ee4d7df6 01:33:01 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 01:33:02 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 01:33:03 OK: 218 MiB in 52 packages 01:33:04 Removing intermediate container d1b9ee4d7df6 01:33:04 ---> 8b871dd12cdd 01:33:04 Step 7/23 : COPY . . 01:33:05 ---> 4a5e396e60ef 01:33:05 Step 8/23 : RUN go mod download 01:33:05 ---> Running in dc9c097fecd4 01:33:08 Removing intermediate container dc9c097fecd4 01:33:08 ---> db7bb5a75f76 01:33:08 Step 9/23 : RUN make build 01:33:08 ---> Running in 1d6ed8bd81ad 01:33:09 go mod tidy 01:33:10 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 01:33:11 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:33:12 Removing intermediate container 1d6ed8bd81ad 01:33:12 ---> 4c1856fa50f4 01:33:12 Step 10/23 : FROM alpine:3.14 01:33:14 3.14: Pulling from library/alpine 01:33:14 552d1f2373af: Pulling fs layer 01:33:15 552d1f2373af: Verifying Checksum 01:33:15 552d1f2373af: Download complete 01:33:16 552d1f2373af: Pull complete 01:33:16 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 01:33:16 Status: Downloaded newer image for alpine:3.14 01:33:16 ---> bb3de5531c18 01:33:16 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:33:16 ---> Running in 73a9f13b2bd3 01:33:16 Removing intermediate container 73a9f13b2bd3 01:33:16 ---> 3de50ba838e1 01:33:16 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:33:16 ---> Running in 760b0f2ed768 01:33:19 Removing intermediate container 760b0f2ed768 01:33:19 ---> 64b404646959 01:33:19 Step 13/23 : RUN apk add --update --no-cache zeromq 01:33:19 ---> Running in d33b8a20b781 01:33:20 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:33:21 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:33:22 (1/5) Installing libgcc (10.3.1_git20210424-r2) 01:33:22 (2/5) Installing libsodium (1.0.18-r0) 01:33:22 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 01:33:22 (4/5) Installing libzmq (4.3.4-r0) 01:33:22 (5/5) Installing zeromq (4.3.4-r0) 01:33:22 Executing busybox-1.33.1-r3.trigger 01:33:22 OK: 8 MiB in 19 packages 01:33:24 Removing intermediate container d33b8a20b781 01:33:24 ---> 341928063d20 01:33:24 Step 14/23 : WORKDIR / 01:33:24 ---> Running in 7e2b5481ffaa 01:33:24 Removing intermediate container 7e2b5481ffaa 01:33:24 ---> e0cce5b9a3fd 01:33:24 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:33:25 ---> 4cee40e46848 01:33:25 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:33:27 ---> e8764cc90b24 01:33:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:33:28 ---> b677ddc639b5 01:33:28 Step 18/23 : EXPOSE 59999 01:33:28 ---> Running in 66c158b1b503 01:33:28 Removing intermediate container 66c158b1b503 01:33:28 ---> 7159b3e9f930 01:33:28 Step 19/23 : ENTRYPOINT ["/device-simple"] 01:33:28 ---> Running in 13c3686856d0 01:33:29 Removing intermediate container 13c3686856d0 01:33:29 ---> 83744e9c4559 01:33:29 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:33:29 ---> Running in 7e1321565582 01:33:29 Removing intermediate container 7e1321565582 01:33:29 ---> 7cc4fbce10cb 01:33:29 Step 21/23 : LABEL arch=arm64 01:33:29 ---> Running in e28549d63f13 01:33:30 Removing intermediate container e28549d63f13 01:33:30 ---> 4a659b3bd943 01:33:30 Step 22/23 : LABEL git_sha=0f89794838806ae71bcde4cf012dd4fab8ddffca 01:33:30 ---> Running in ebf3e2cc7564 01:33:31 Removing intermediate container ebf3e2cc7564 01:33:31 ---> 40da49e0a081 01:33:31 Step 23/23 : LABEL version=0.0.0 01:33:31 ---> Running in 18b16f06d837 01:33:31 Removing intermediate container 18b16f06d837 01:33:31 ---> 9843e42b3969 01:33:31 [Warning] One or more build-args [MAKE ARCH] were not consumed 01:33:31 Successfully built 9843e42b3969 01:33:31 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:33:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:33:32 01:33:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:33:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:33:33 arm64: Pulling from edgex-lftools-log-publisher 01:33:33 448f6bf000e3: Pulling fs layer 01:33:33 f757da607395: Pulling fs layer 01:33:33 05883995daec: Pulling fs layer 01:33:33 8603b9c90790: Pulling fs layer 01:33:33 1560dd03e051: Pulling fs layer 01:33:33 27f5ce0e4adf: Pulling fs layer 01:33:33 c2d8d7efcc4b: Pulling fs layer 01:33:33 8603b9c90790: Waiting 01:33:33 1560dd03e051: Waiting 01:33:33 27f5ce0e4adf: Waiting 01:33:33 c2d8d7efcc4b: Waiting 01:33:33 f757da607395: Verifying Checksum 01:33:33 f757da607395: Download complete 01:33:33 8603b9c90790: Verifying Checksum 01:33:33 8603b9c90790: Download complete 01:33:33 1560dd03e051: Verifying Checksum 01:33:33 1560dd03e051: Download complete 01:33:33 27f5ce0e4adf: Verifying Checksum 01:33:33 27f5ce0e4adf: Download complete 01:33:34 05883995daec: Verifying Checksum 01:33:34 05883995daec: Download complete 01:33:34 448f6bf000e3: Verifying Checksum 01:33:34 448f6bf000e3: Download complete 01:33:38 c2d8d7efcc4b: Verifying Checksum 01:33:38 448f6bf000e3: Pull complete 01:33:38 f757da607395: Pull complete 01:33:40 05883995daec: Pull complete 01:33:41 8603b9c90790: Pull complete 01:33:41 1560dd03e051: Pull complete 01:33:42 27f5ce0e4adf: Pull complete 01:33:57 c2d8d7efcc4b: Pull complete 01:33:57 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 01:33:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:33:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:33:58 prd-ubuntu18.04-docker-arm64-4c-16g-1443 does not seem to be running inside a container 01:33:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:34:03 $ docker top c7c378af3fbec46aa5afcef9722a36f896f32a36d1c49d847c5ae2f892538bda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:34:04 ---> job-cost.sh 01:34:04 lf-activate-venv: SKIPPING 01:34:04 INFO: No Stack... 01:34:16 INFO: Retrieving Pricing Info for: v3-standard-4 01:34:17 INFO: Archiving Costs [Pipeline] sh 01:34:18 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 01:34:18 + cut -d, -f6 [Pipeline] lock 01:34:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1023-2-stack-cost] 01:34:18 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1023-2-stack-cost] did not exist. Created. 01:34:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1023-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:34:18 /w/workspace/device-sdk-go/2@tmp/durable-3a166946/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-3a166946/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 01:34:19 + echo total: 0.10999999940395355 [Pipeline] stash 01:34:19 Warning: overwriting stash ‘stack-cost’ 01:34:19 Stashed 1 file(s) [Pipeline] } 01:34:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1023-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:34:19 $ docker stop --time=1 c7c378af3fbec46aa5afcef9722a36f896f32a36d1c49d847c5ae2f892538bda 01:34:21 $ docker rm -f c7c378af3fbec46aa5afcef9722a36f896f32a36d1c49d847c5ae2f892538bda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:34:22 provisioning config files... 01:34:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1023@tmp/config9124200453833170782tmp [Pipeline] { [Pipeline] sh 01:34:23 + set +x 01:34:23 + curl -s https://codecov.io/bash 01:34:23 + bash -s -- 01:34:23 01:34:23 _____ _ 01:34:23 / ____| | | 01:34:23 | | ___ __| | ___ ___ _____ __ 01:34:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:34:23 | |___| (_) | (_| | __/ (_| (_) \ V / 01:34:23 \_____\___/ \__,_|\___|\___\___/ \_/ 01:34:23 Bash-1.0.6 01:34:23 01:34:23 01:34:23 ==> git version 2.24.4 found 01:34:23 ==> 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 01:34:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 01:34:23 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 01:34:23 ==> Jenkins CI detected. 01:34:23 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1023 01:34:23 project root: . 01:34:23 --> token set from env 01:34:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:34:23 ==> Running gcov in . (disable via -X gcov) 01:34:23 ==> Python coveragepy not found 01:34:23 ==> Searching for coverage reports in: 01:34:23 + . 01:34:23 -> Found 1 reports 01:34:23 ==> Detecting git/mercurial file structure 01:34:23 ==> Reading reports 01:34:23 + ./coverage.out bytes=125634 01:34:23 ==> Appending adjustments 01:34:23 https://docs.codecov.io/docs/fixing-reports 01:34:23 + Found adjustments 01:34:23 ==> Gzipping contents 01:34:23 16K /tmp/codecov.hNFsPk.gz 01:34:23 ==> Uploading reports 01:34:23 url: https://codecov.io 01:34:23 query: branch=PR-1023&commit=0f89794838806ae71bcde4cf012dd4fab8ddffca&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1023%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1023&job=&cmd_args= 01:34:23 -> Pinging Codecov 01:34:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1023&commit=0f89794838806ae71bcde4cf012dd4fab8ddffca&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1023%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1023&job=&cmd_args= 01:34:23 -> Uploading to 01:34:23 https://storage.googleapis.com/codecov/v4/raw/2021-10-05/7E55EF52A471D76F132DFD9A03CDDE97/0f89794838806ae71bcde4cf012dd4fab8ddffca/5564a482-c088-4a3b-90a9-a03bc0ececeb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211005T013423Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2052b81081ceee540f8e25a2a39b8f0e3f5674622c0ceaddb130251a306418e8 01:34:23 % Total % Received % Xferd Average Speed Time Time Time Current 01:34:23 Dload Upload Total Spent Left Speed 01:34:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16017 0 0 100 16017 0 40664 --:--:-- --:--:-- --:--:-- 40755 01:34:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0f89794838806ae71bcde4cf012dd4fab8ddffca [Pipeline] } 01:34:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:34:26 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1023/archives ']' [Pipeline] libraryResource [Pipeline] sh 01:34:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:34:27 ---> package-listing.sh 01:34:27 ++ facter osfamily 01:34:27 ++ tr '[:upper:]' '[:lower:]' 01:34:27 + OS_FAMILY=redhat 01:34:27 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1023 01:34:27 + START_PACKAGES=/tmp/packages_start.txt 01:34:27 + END_PACKAGES=/tmp/packages_end.txt 01:34:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:34:27 + PACKAGES=/tmp/packages_start.txt 01:34:27 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1023 ']' 01:34:27 + PACKAGES=/tmp/packages_end.txt 01:34:27 + case "${OS_FAMILY}" in 01:34:27 + rpm -qa 01:34:27 + sort 01:34:28 + '[' -f /tmp/packages_start.txt ']' 01:34:28 + '[' -f /tmp/packages_end.txt ']' 01:34:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:34:28 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1023 ']' 01:34:28 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1023/archives/ 01:34:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1023/archives/ [Pipeline] echo 01:34:28 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1023/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:34:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:34:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:29 01:34:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:34:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:29 latest: Pulling from edgex-lftools-log-publisher 01:34:29 b4d181a07f80: Pulling fs layer 01:34:29 a1111a8f2ec3: Pulling fs layer 01:34:29 ed53099fbce6: Pulling fs layer 01:34:29 dc539afda2c1: Pulling fs layer 01:34:29 77bc0d833cb6: Pulling fs layer 01:34:29 9065ff56babe: Pulling fs layer 01:34:29 d287ab97295c: Pulling fs layer 01:34:29 dc539afda2c1: Waiting 01:34:29 77bc0d833cb6: Waiting 01:34:29 9065ff56babe: Waiting 01:34:29 d287ab97295c: Waiting 01:34:29 a1111a8f2ec3: Verifying Checksum 01:34:29 a1111a8f2ec3: Download complete 01:34:29 dc539afda2c1: Download complete 01:34:29 ed53099fbce6: Verifying Checksum 01:34:29 ed53099fbce6: Download complete 01:34:29 9065ff56babe: Verifying Checksum 01:34:29 9065ff56babe: Download complete 01:34:29 77bc0d833cb6: Verifying Checksum 01:34:29 77bc0d833cb6: Download complete 01:34:30 b4d181a07f80: Verifying Checksum 01:34:30 b4d181a07f80: Download complete 01:34:31 d287ab97295c: Verifying Checksum 01:34:31 d287ab97295c: Download complete 01:34:31 b4d181a07f80: Pull complete 01:34:31 a1111a8f2ec3: Pull complete 01:34:32 ed53099fbce6: Pull complete 01:34:32 dc539afda2c1: Pull complete 01:34:32 77bc0d833cb6: Pull complete 01:34:32 9065ff56babe: Pull complete 01:34:38 d287ab97295c: Pull complete 01:34:38 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:34:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:34:38 prd-centos7-docker-4c-2g-1441 does not seem to be running inside a container 01:34:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1023/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1023 -v /w/workspace/gexfoundry_device-sdk-go_PR-1023:/w/workspace/gexfoundry_device-sdk-go_PR-1023:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1023@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1023@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:34:40 $ docker top 47578e47881529482781d502540addd02e8df255fec8abe1808b0c2c01bde9aa -eo pid,comm [Pipeline] { [Pipeline] sh 01:34:41 + touch /tmp/pre-build-complete [Pipeline] sh 01:34:41 + mkdir -p /var/log/sysstat [Pipeline] sh 01:34:41 + ls /var/log/sa-host 01:34:41 + sadf -c /var/log/sa-host/sa05 01:34:41 file_magic: OK 01:34:41 HZ: Using current value: 100 01:34:41 file_header: OK 01:34:41 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 01:34:41 Statistics: 01:34:41 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:34:41 File successfully converted to sysstat format version 12.0.3 01:34:41 + sadf -c /var/log/sa-host/sa30 01:34:41 file_magic: OK 01:34:41 HZ: Using current value: 100 01:34:41 file_header: OK 01:34:41 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 01:34:41 Statistics: 01:34:41 Hnuu...uuuununununu...Hnuu...uuuununununu... 01:34:41 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:34:42 provisioning config files... 01:34:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1023@tmp/config2397755558791450548tmp [Pipeline] { [Pipeline] echo 01:34:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:34:42 ---> create-netrc.sh [Pipeline] } 01:34:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:34:43 ---> python-tools-install.sh [Pipeline] echo 01:34:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:34:43 ---> sudo-logs.sh 01:34:43 Archiving 'sudo' log.. 01:34:43 sudo: unable to resolve host prd-centos7-docker-4c-2g-1441.novalocal: Name or service not known 01:34:43 sudo: unable to resolve host prd-centos7-docker-4c-2g-1441.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 01:34:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:34:44 ---> job-cost.sh 01:34:44 lf-activate-venv: SKIPPING 01:34:44 DEBUG: total: 0.10999999940395355 01:34:44 INFO: Retrieving Stack Cost... 01:34:44 INFO: Retrieving Pricing Info for: v3-standard-2 01:34:44 INFO: Archiving Costs [Pipeline] echo 01:34:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:34:45 ---> logs-deploy.sh 01:34:45 lf-activate-venv: SKIPPING 01:34:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1023/2 01:34:45 INFO: archiving workspace using pattern(s): 01:34:46 Archives upload complete. 01:34:46 INFO: archiving logs to Nexus 01:34:46 ---> uname -a: 01:34:46 Linux prd-centos7-docker-4c-2g-1441.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 01:34:46 01:34:46 01:34:46 ---> lscpu: 01:34:46 Architecture: x86_64 01:34:46 CPU op-mode(s): 32-bit, 64-bit 01:34:46 Byte Order: Little Endian 01:34:46 Address sizes: 40 bits physical, 48 bits virtual 01:34:46 CPU(s): 2 01:34:46 On-line CPU(s) list: 0,1 01:34:46 Thread(s) per core: 1 01:34:46 Core(s) per socket: 1 01:34:46 Socket(s): 2 01:34:46 NUMA node(s): 1 01:34:46 Vendor ID: AuthenticAMD 01:34:46 CPU family: 23 01:34:46 Model: 49 01:34:46 Model name: AMD EPYC-Rome Processor 01:34:46 Stepping: 0 01:34:46 CPU MHz: 2799.996 01:34:46 BogoMIPS: 5599.99 01:34:46 Virtualization: AMD-V 01:34:46 Hypervisor vendor: KVM 01:34:46 Virtualization type: full 01:34:46 L1d cache: 32K 01:34:46 L1i cache: 32K 01:34:46 L2 cache: 512K 01:34:46 L3 cache: 16384K 01:34:46 NUMA node0 CPU(s): 0,1 01:34:46 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 01:34:46 01:34:46 01:34:46 ---> nproc: 01:34:46 2 01:34:46 01:34:46 01:34:46 ---> df -h: 01:34:46 Filesystem Size Used Avail Use% Mounted on 01:34:46 overlay 40G 7.7G 33G 20% / 01:34:46 tmpfs 64M 0 64M 0% /dev 01:34:46 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 01:34:46 shm 64M 0 64M 0% /dev/shm 01:34:46 /dev/vda1 40G 7.7G 33G 20% /facter-os 01:34:46 01:34:46 01:34:46 ---> sar -b -r -n DEV: 01:34:46 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/05/21 _x86_64_ (2 CPU) 01:34:46 01:34:46 01:22:13 LINUX RESTART (2 CPU) 01:34:46 01:34:46 01:23:01 tps rtps wtps bread/s bwrtn/s 01:34:46 01:24:01 19.55 3.16 16.39 2314.20 2950.14 01:34:46 01:25:01 1.77 0.00 1.77 0.00 33.27 01:34:46 01:26:01 0.75 0.00 0.75 0.00 7.90 01:34:46 01:27:01 0.43 0.00 0.43 0.00 5.38 01:34:46 01:28:01 0.15 0.00 0.15 0.00 1.82 01:34:46 01:29:01 0.35 0.00 0.35 0.00 4.71 01:34:46 01:30:01 0.23 0.00 0.23 0.00 3.12 01:34:46 01:31:01 0.27 0.00 0.27 0.00 3.50 01:34:46 01:32:01 0.25 0.00 0.25 0.00 2.43 01:34:46 01:33:01 0.18 0.00 0.18 0.00 2.20 01:34:46 01:34:01 0.28 0.00 0.28 0.00 3.35 01:34:46 Average: 2.20 0.29 1.91 210.44 274.42 01:34:46 01:34:46 01:23:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:34:46 01:24:01 5673588 0 625732 7.81 2620 1707000 1245588 13.75 564640 1531212 20 01:34:46 01:25:01 5681084 0 618228 7.72 2620 1707008 1163120 12.84 558736 1531176 8 01:34:46 01:26:01 5677500 0 621812 7.76 2620 1707008 1163120 12.84 561732 1531392 8 01:34:46 01:27:01 5676500 0 622804 7.78 2620 1707016 1163312 12.84 562916 1531392 16 01:34:46 01:28:01 5681344 0 617952 7.72 2620 1707024 1163348 12.84 557960 1532248 16 01:34:46 01:29:01 5681328 0 617964 7.72 2620 1707028 1163120 12.84 557688 1532252 16 01:34:46 01:30:01 5671932 0 627356 7.83 2620 1707032 1163180 12.84 567144 1532272 16 01:34:46 01:31:01 5671860 0 627424 7.83 2620 1707036 1163120 12.84 567068 1532272 8 01:34:46 01:32:01 5670064 0 629216 7.86 2620 1707040 1163360 12.84 570736 1530072 20 01:34:46 01:33:01 5669968 0 629308 7.86 2620 1707044 1163372 12.84 570816 1530072 12 01:34:46 01:34:01 5664404 0 634868 7.93 2620 1707048 1163168 12.84 576280 1530160 20 01:34:46 Average: 5674507 0 624788 7.80 2620 1707026 1170710 12.93 565065 1531320 15 01:34:46 01:34:46 01:23:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:34:46 01:24:01 eth0 79.13 64.65 365.82 16.16 0.00 0.00 0.00 0.00 01:34:46 01:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:24:01 docker0 9.38 4.68 1.58 27.96 0.00 0.00 0.00 0.00 01:34:46 01:25:01 eth0 0.18 0.07 0.01 0.01 0.00 0.00 0.00 0.00 01:34:46 01:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:26:01 eth0 0.75 0.07 0.06 0.00 0.00 0.00 0.00 0.00 01:34:46 01:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:27:01 eth0 1.98 0.67 0.64 0.37 0.00 0.00 0.00 0.00 01:34:46 01:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:28:01 eth0 0.85 0.47 0.41 0.30 0.00 0.00 0.00 0.00 01:34:46 01:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:29:01 eth0 0.45 0.07 0.04 0.01 0.00 0.00 0.00 0.00 01:34:46 01:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:30:01 eth0 0.52 0.13 0.09 0.01 0.00 0.00 0.00 0.00 01:34:46 01:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:31:01 eth0 0.40 0.08 0.03 0.01 0.00 0.00 0.00 0.00 01:34:46 01:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:32:01 eth0 1.47 0.40 0.34 0.18 0.00 0.00 0.00 0.00 01:34:46 01:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:33:01 eth0 0.83 0.45 0.36 0.27 0.00 0.00 0.00 0.00 01:34:46 01:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:34:01 eth0 0.38 0.17 0.08 0.04 0.00 0.00 0.00 0.00 01:34:46 01:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 01:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 Average: eth0 7.91 6.11 33.45 1.58 0.00 0.00 0.00 0.00 01:34:46 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:34:46 Average: docker0 0.85 0.43 0.14 2.54 0.00 0.00 0.00 0.00 01:34:46 01:34:46 01:34:46 ---> sar -P ALL: 01:34:46 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/05/21 _x86_64_ (2 CPU) 01:34:46 01:34:46 01:22:13 LINUX RESTART (2 CPU) 01:34:46 01:34:46 01:23:01 CPU %user %nice %system %iowait %steal %idle 01:34:46 01:24:01 all 3.04 0.00 1.47 0.39 0.03 95.07 01:34:46 01:24:01 0 3.27 0.00 1.67 0.17 0.03 94.86 01:34:46 01:24:01 1 2.81 0.00 1.26 0.61 0.03 95.29 01:34:46 01:25:01 all 0.23 0.00 0.04 0.00 0.02 99.72 01:34:46 01:25:01 0 0.42 0.00 0.05 0.00 0.02 99.52 01:34:46 01:25:01 1 0.03 0.00 0.03 0.00 0.02 99.92 01:34:46 01:26:01 all 0.18 0.00 0.04 0.00 0.03 99.75 01:34:46 01:26:01 0 0.30 0.00 0.05 0.00 0.02 99.63 01:34:46 01:26:01 1 0.07 0.00 0.03 0.00 0.03 99.87 01:34:46 01:27:01 all 0.21 0.00 0.04 0.00 0.03 99.72 01:34:46 01:27:01 0 0.37 0.00 0.05 0.00 0.03 99.55 01:34:46 01:27:01 1 0.05 0.00 0.03 0.00 0.02 99.90 01:34:46 01:28:01 all 0.16 0.00 0.04 0.00 0.03 99.77 01:34:46 01:28:01 0 0.07 0.00 0.07 0.00 0.03 99.83 01:34:46 01:28:01 1 0.25 0.00 0.02 0.00 0.02 99.72 01:34:46 01:29:01 all 0.19 0.00 0.05 0.00 0.02 99.74 01:34:46 01:29:01 0 0.05 0.00 0.05 0.00 0.02 99.88 01:34:46 01:29:01 1 0.33 0.00 0.05 0.00 0.02 99.60 01:34:46 01:30:01 all 0.19 0.00 0.04 0.00 0.02 99.75 01:34:46 01:30:01 0 0.08 0.00 0.03 0.00 0.02 99.87 01:34:46 01:30:01 1 0.30 0.00 0.05 0.00 0.02 99.63 01:34:46 01:31:01 all 0.16 0.00 0.05 0.00 0.02 99.77 01:34:46 01:31:01 0 0.08 0.00 0.07 0.00 0.03 99.82 01:34:46 01:31:01 1 0.23 0.00 0.03 0.00 0.00 99.73 01:34:46 01:32:01 all 0.18 0.00 0.05 0.00 0.03 99.74 01:34:46 01:32:01 0 0.30 0.00 0.07 0.00 0.03 99.60 01:34:46 01:32:01 1 0.07 0.00 0.03 0.00 0.02 99.88 01:34:46 01:33:01 all 0.16 0.00 0.05 0.01 0.02 99.77 01:34:46 01:33:01 0 0.25 0.00 0.05 0.02 0.02 99.67 01:34:46 01:33:01 1 0.07 0.00 0.05 0.00 0.02 99.87 01:34:46 01:34:01 all 0.16 0.00 0.03 0.00 0.02 99.79 01:34:46 01:34:01 0 0.23 0.00 0.00 0.00 0.02 99.75 01:34:46 01:34:01 1 0.08 0.00 0.07 0.00 0.02 99.83 01:34:46 01:34:46 Average: CPU %user %nice %system %iowait %steal %idle 01:34:46 Average: all 0.44 0.00 0.17 0.04 0.02 99.33 01:34:46 Average: 0 0.49 0.00 0.19 0.02 0.02 99.27 01:34:46 Average: 1 0.39 0.00 0.15 0.05 0.02 99.39 01:34:46 01:34:46 01:34:46