Pull request #1031 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ca8f408215d3aa33b4c9f70e2fe77f2cb3750385+95a9d1abedb9d7c119ffb1f24142991202c879de (57cab0611efad82e890f4b1fd70c57414d4dad65) 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-ssh6680971651119316750.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 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-ssh1465841798985577426.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 c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 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-1031/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-1031/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4923087490503805846.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 # timeout=10 Commit message: "Merge pull request #357 from ernestojeda/fix-previous-commit-sha" > 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-ssh6142921707785341721.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-1031/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-1031/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4791915182980446076.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 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-112 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [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-1031 # 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-1031@tmp/jenkins-gitclient-ssh6761953478612978411.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config 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-1031@tmp/jenkins-gitclient-ssh8575650515811005629.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1031/head:refs/remotes/origin/PR-1031 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 95a9d1abedb9d7c119ffb1f24142991202c879de into PR head commit ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 Merge succeeded, producing ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 Checking out Revision ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 (PR-1031) > git config core.sparsecheckout # timeout=10 > git checkout -f ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # 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-1031@tmp/jenkins-gitclient-ssh384990188209896643.key > git merge 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:49:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:49:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:49:45 ========================================================= 17:49:45 EdgeX Global Pipelines Version Info 17:49:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 346ba9c9deb821d5b935c0aacc038e4e04b2f908 # timeout=10 17:49:46 ------------------- 17:49:46 stable info: 17:49:46 ------------------- 17:49:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:49:46 Commit SHA: c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 17:49:46 Message: update stable to v1.0.208 17:49:47 ------------------- 17:49:47 experimental info: 17:49:47 ------------------- 17:49:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:49:47 Commit SHA: c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 17:49:47 Message: update experimental to v1.0.208 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1031 [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1031 [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1031 [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca8f408 [Pipeline] echo 17:49:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:49:47 provisioning config files... 17:49:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config1122359137088352621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:49:47 ---> docker-login.sh 17:49:47 nexus3.edgexfoundry.org:10001 17:49:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:48 Configure a credential helper to remove this warning. See 17:49:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:48 17:49:48 Login Succeeded 17:49:48 nexus3.edgexfoundry.org:10002 17:49:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:48 Configure a credential helper to remove this warning. See 17:49:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:48 17:49:48 Login Succeeded 17:49:48 nexus3.edgexfoundry.org:10003 17:49:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:48 Configure a credential helper to remove this warning. See 17:49:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:48 17:49:48 Login Succeeded 17:49:48 nexus3.edgexfoundry.org:10004 17:49:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:48 Configure a credential helper to remove this warning. See 17:49:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:48 17:49:48 Login Succeeded 17:49:48 docker.io 17:49:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:48 Configure a credential helper to remove this warning. See 17:49:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:48 17:49:48 Login Succeeded 17:49:48 ---> docker-login.sh ends [Pipeline] } 17:49:48 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 17:49:49 + git log --format=format:%s -1 ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 [Pipeline] echo 17:49:49 GIT_COMMIT: ca8f408215d3aa33b4c9f70e2fe77f2cb3750385, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 17:49:49 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:49:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:49:49 17:49:49 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:49:49 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:49:49 latest: Pulling from edgex-devops/git-semver 17:49:49 a0d0a0d46f8b: Pulling fs layer 17:49:49 3e5f54012d9b: Pulling fs layer 17:49:49 4c7163046ea9: Pulling fs layer 17:49:49 0c2d73faf560: Pulling fs layer 17:49:49 0c2d73faf560: Waiting 17:49:49 3e5f54012d9b: Download complete 17:49:49 a0d0a0d46f8b: Verifying Checksum 17:49:49 a0d0a0d46f8b: Download complete 17:49:49 0c2d73faf560: Verifying Checksum 17:49:49 0c2d73faf560: Download complete 17:49:49 4c7163046ea9: Verifying Checksum 17:49:49 4c7163046ea9: Download complete 17:49:50 a0d0a0d46f8b: Pull complete 17:49:50 3e5f54012d9b: Pull complete 17:49:50 4c7163046ea9: Pull complete 17:49:50 0c2d73faf560: Pull complete 17:49:50 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 17:49:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:49:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:49:50 prd-centos7-docker-4c-2g-112 does not seem to be running inside a container 17:49:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1031 -v /w/workspace/gexfoundry_device-sdk-go_PR-1031:/w/workspace/gexfoundry_device-sdk-go_PR-1031:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:49:51 $ docker top ab5d99c13d8e338d79f9fb16f3e89fd0ba24dd2c255d3eefd2ae698cb602c3fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:49:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:51 [ssh-agent] Looking for ssh-agent implementation... 17:49:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:51 $ docker exec ab5d99c13d8e338d79f9fb16f3e89fd0ba24dd2c255d3eefd2ae698cb602c3fd ssh-agent 17:49:51 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkAPJEn/agent.14 17:49:51 SSH_AGENT_PID=20 17:49:51 Running ssh-add (command line suppressed) 17:49:52 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_8239339945868269862.key (/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_8239339945868269862.key) 17:49:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:52 + git tag --points-at HEAD [Pipeline] } 17:49:52 $ docker exec --env ******** --env ******** ab5d99c13d8e338d79f9fb16f3e89fd0ba24dd2c255d3eefd2ae698cb602c3fd ssh-agent -k 17:49:52 unset SSH_AUTH_SOCK; 17:49:52 unset SSH_AGENT_PID; 17:49:52 echo Agent pid 20 killed; 17:49:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:49:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:52 [ssh-agent] Looking for ssh-agent implementation... 17:49:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:52 $ docker exec ab5d99c13d8e338d79f9fb16f3e89fd0ba24dd2c255d3eefd2ae698cb602c3fd ssh-agent 17:49:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFHnHCb/agent.52 17:49:52 SSH_AGENT_PID=58 17:49:52 Running ssh-add (command line suppressed) 17:49:52 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_384737056216259700.key (/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_384737056216259700.key) 17:49:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:53 + git semver init 17:49:53 # -> Open(): unable to determine branch for HEAD 17:49:53 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1031/.git 17:49:53 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1031 17:49:53 # $SEMVER_REMOTE_NAME = origin 17:49:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:49:53 # $SEMVER_USER_NAME = edgex-jenkins 17:49:53 # $SEMVER_BRANCH = PR-1031 17:49:53 # $SEMVER_TEMP = /tmp/semver-917131555 17:49:53 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 17:49:54 # '/tmp/semver-917131555' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1031/.semver' 17:49:54 # -> Force: false 17:49:54 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1031/.semver [Pipeline] } 17:49:54 $ docker exec --env ******** --env ******** ab5d99c13d8e338d79f9fb16f3e89fd0ba24dd2c255d3eefd2ae698cb602c3fd ssh-agent -k 17:49:54 unset SSH_AUTH_SOCK; 17:49:54 unset SSH_AGENT_PID; 17:49:54 echo Agent pid 58 killed; 17:49:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:49:54 + git semver [Pipeline] } 17:49:54 $ docker stop --time=1 ab5d99c13d8e338d79f9fb16f3e89fd0ba24dd2c255d3eefd2ae698cb602c3fd 17:49:55 $ docker rm -f ab5d99c13d8e338d79f9fb16f3e89fd0ba24dd2c255d3eefd2ae698cb602c3fd [Pipeline] // withDockerContainer [Pipeline] sh 17:49:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:49:56 Stashed 1 file(s) [Pipeline] echo 17:49:56 [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 17:50:11 Still waiting to schedule task 17:50:11 ‘prd-centos7-docker-4c-2g-108’ is offline 17:50:11 ‘prd-centos7-docker-4c-2g-114’ is offline 17:50:11 ‘prd-centos7-docker-4c-2g-18’ is offline 17:50:11 ‘prd-ubuntu18.04-docker-arm64-4c-16g-111’ doesn’t have label ‘centos7-docker-4c-2g’ 17:50:11 Still waiting to schedule task 17:50:11 ‘prd-centos7-docker-4c-2g-108’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 17:50:11 ‘prd-centos7-docker-4c-2g-114’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 17:50:11 ‘prd-centos7-docker-4c-2g-18’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 17:50:11 ‘prd-ubuntu18.04-docker-arm64-4c-16g-111’ is offline 17:50:52 Running on prd-centos7-docker-4c-2g-116 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [Pipeline] { [Pipeline] ws 17:50:52 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 17:50:52 Selected Git installation does not exist. Using Default 17:50:52 The recommended git tool is: NONE 17:50:54 using credential edgex-jenkins-ssh 17:50:54 Cloning the remote Git repository 17:50:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:50:54 > git init /w/workspace/device-sdk-go/3 # timeout=10 17:50:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:50:54 > git --version # timeout=10 17:50:54 > git --version # 'git version 2.24.4' 17:50:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:54 [INFO] Currently running in a labeled security context 17:50:54 [INFO] Currently SELinux is 'enforcing' on the host 17:50:54 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh8721876332115686418.key 17:50:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:50:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:50:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:50:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:50:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:50:55 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:55 [INFO] Currently running in a labeled security context 17:50:55 [INFO] Currently SELinux is 'enforcing' on the host 17:50:55 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh8338242582025424688.key 17:50:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1031/head:refs/remotes/origin/PR-1031 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:50:56 Merging remotes/origin/main commit 95a9d1abedb9d7c119ffb1f24142991202c879de into PR head commit ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 17:50:56 Merge succeeded, producing ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 17:50:56 Checking out Revision ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 (PR-1031) 17:50:56 > git config core.sparsecheckout # timeout=10 17:50:56 > git checkout -f ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # timeout=10 17:50:56 > git remote # timeout=10 17:50:56 > git config --get remote.origin.url # timeout=10 17:50:56 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:56 [INFO] Currently running in a labeled security context 17:50:56 [INFO] Currently SELinux is 'enforcing' on the host 17:50:56 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh123545516389321139.key 17:50:56 > git merge 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 17:50:56 > git rev-parse HEAD^{commit} # timeout=10 17:50:56 > git config core.sparsecheckout # timeout=10 17:50:56 > git checkout -f ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # timeout=10 17:50:59 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:51:00 provisioning config files... 17:51:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5403387748048042296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:51:00 ---> docker-login.sh 17:51:00 nexus3.edgexfoundry.org:10001 17:51:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:00 Configure a credential helper to remove this warning. See 17:51:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:00 17:51:00 Login Succeeded 17:51:00 nexus3.edgexfoundry.org:10002 17:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:01 Configure a credential helper to remove this warning. See 17:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:01 17:51:01 Login Succeeded 17:51:01 nexus3.edgexfoundry.org:10003 17:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:01 Configure a credential helper to remove this warning. See 17:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:01 17:51:01 Login Succeeded 17:51:01 nexus3.edgexfoundry.org:10004 17:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:01 Configure a credential helper to remove this warning. See 17:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:01 17:51:01 Login Succeeded 17:51:01 docker.io 17:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:01 Configure a credential helper to remove this warning. See 17:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:01 17:51:01 Login Succeeded 17:51:01 ---> docker-login.sh ends [Pipeline] } 17:51:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:51:01 ========================================================= 17:51:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 17:51:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:51:02 + 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 . 17:51:02 Sending build context to Docker daemon 2.663MB 17:51:02 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 17:51:02 Step 2/10 : FROM ${BASE} AS builder 17:51:02 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 17:51:02 4e9f2cdf4387: Pulling fs layer 17:51:02 57d31006c564: Pulling fs layer 17:51:02 bd5ccded8296: Pulling fs layer 17:51:02 304dd3a0f381: Pulling fs layer 17:51:02 d37cda54a23b: Pulling fs layer 17:51:02 bae75c0f2455: Pulling fs layer 17:51:02 806579b3d29a: Pulling fs layer 17:51:02 c77eb801bf70: Pulling fs layer 17:51:02 6d0567d44e1a: Pulling fs layer 17:51:02 bae75c0f2455: Waiting 17:51:02 806579b3d29a: Waiting 17:51:02 304dd3a0f381: Waiting 17:51:02 c77eb801bf70: Waiting 17:51:02 d37cda54a23b: Waiting 17:51:02 6d0567d44e1a: Waiting 17:51:02 bd5ccded8296: Verifying Checksum 17:51:02 bd5ccded8296: Download complete 17:51:02 57d31006c564: Verifying Checksum 17:51:02 57d31006c564: Download complete 17:51:02 d37cda54a23b: Verifying Checksum 17:51:02 d37cda54a23b: Download complete 17:51:02 4e9f2cdf4387: Verifying Checksum 17:51:02 4e9f2cdf4387: Download complete 17:51:02 bae75c0f2455: Verifying Checksum 17:51:02 bae75c0f2455: Download complete 17:51:02 806579b3d29a: Verifying Checksum 17:51:02 806579b3d29a: Download complete 17:51:02 c77eb801bf70: Verifying Checksum 17:51:02 c77eb801bf70: Download complete 17:51:02 304dd3a0f381: Verifying Checksum 17:51:02 304dd3a0f381: Download complete 17:51:02 6d0567d44e1a: Verifying Checksum 17:51:02 6d0567d44e1a: Download complete 17:51:02 4e9f2cdf4387: Pull complete 17:51:02 57d31006c564: Pull complete 17:51:02 bd5ccded8296: Pull complete 17:51:07 304dd3a0f381: Pull complete 17:51:07 d37cda54a23b: Pull complete 17:51:07 bae75c0f2455: Pull complete 17:51:07 806579b3d29a: Pull complete 17:51:07 c77eb801bf70: Pull complete 17:51:09 6d0567d44e1a: Pull complete 17:51:09 Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd 17:51:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:51:09 ---> e839a31ac9d1 17:51:09 Step 3/10 : ARG MAKE=make build 17:51:11 ---> Running in ad67f2a0440a 17:51:11 Removing intermediate container ad67f2a0440a 17:51:11 ---> 33322b2602c7 17:51:11 Step 4/10 : WORKDIR /device-sdk-go 17:51:11 ---> Running in ad2c3e53dafb 17:51:11 Removing intermediate container ad2c3e53dafb 17:51:11 ---> 820070f1141d 17:51:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:51:11 ---> Running in 6eeae62b4d7a 17:51:11 Removing intermediate container 6eeae62b4d7a 17:51:11 ---> 875a7124bcc3 17:51:11 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:51:11 ---> Running in ad9534803501 17:51:12 Removing intermediate container ad9534803501 17:51:12 ---> d128449d8ff9 17:51:12 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:51:12 ---> Running in f8c3398ace45 17:51:12 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 17:51:13 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 17:51:13 OK: 219 MiB in 52 packages 17:51:13 Removing intermediate container f8c3398ace45 17:51:13 ---> 2ff2f1705340 17:51:13 Step 8/10 : COPY . . 17:51:13 ---> 9d2ae674ce5d 17:51:13 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:51:14 ---> Running in b65c59a294ad 17:51:46 Removing intermediate container b65c59a294ad 17:51:46 ---> 966d0f53bbd0 17:51:46 Step 10/10 : RUN ${MAKE} 17:51:46 ---> Running in 30c0c1e3fd69 17:51:46 noop 17:51:46 Removing intermediate container 30c0c1e3fd69 17:51:46 ---> 892adb6e1d63 17:51:46 Successfully built 892adb6e1d63 17:51:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:51:46 + docker inspect -f . ci-base-image-x86_64 17:51:46 . [Pipeline] withDockerContainer 17:51:46 prd-centos7-docker-4c-2g-116 does not seem to be running inside a container 17:51:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:51:47 $ docker top f5dc7489bfee8db3401dd315c6c9915ff3cba1eaae9822315fb41969183bafcb -eo pid,comm [Pipeline] { [Pipeline] sh 17:51:47 + go version 17:51:47 go version go1.16.8 linux/amd64 [Pipeline] } 17:51:47 $ docker stop --time=1 f5dc7489bfee8db3401dd315c6c9915ff3cba1eaae9822315fb41969183bafcb 17:51:48 $ docker rm -f f5dc7489bfee8db3401dd315c6c9915ff3cba1eaae9822315fb41969183bafcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:51:49 + docker inspect -f . ci-base-image-x86_64 17:51:49 . [Pipeline] withDockerContainer 17:51:49 prd-centos7-docker-4c-2g-116 does not seem to be running inside a container 17:51:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:51:49 $ docker top 276cf87e1a3163e45aedf67f3ebe45e7fa2f785d3b155241afba72b4857c9eb2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:51:50 + make test 17:51:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:51:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 17:52:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-115 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [Pipeline] { [Pipeline] ws 17:52:14 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 17:52:14 Selected Git installation does not exist. Using Default 17:52:14 The recommended git tool is: NONE 17:52:22 using credential edgex-jenkins-ssh 17:52:22 Cloning the remote Git repository 17:52:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:52:22 > git init /w/workspace/device-sdk-go/3 # timeout=10 17:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 17:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 17:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 17:52:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.052s coverage: 23.7% of statements 17:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 17:52:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 28.1% of statements 17:52:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.054s coverage: 78.9% of statements 17:52:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.049s coverage: 9.0% of statements 17:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 17:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 17:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 17:52:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.071s coverage: 28.7% of statements 17:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 17:52:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:52:22 > git --version # timeout=10 17:52:22 > git --version # 'git version 2.17.1' 17:52:22 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:52:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.054s coverage: 83.3% of statements 17:52:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 17:52:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 17:52:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 57.8% of statements 17:52:25 Merging remotes/origin/main commit 95a9d1abedb9d7c119ffb1f24142991202c879de into PR head commit ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 17:52:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:52:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:52:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:52:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:52:24 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1031/head:refs/remotes/origin/PR-1031 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:52:25 > git config core.sparsecheckout # timeout=10 17:52:25 > git checkout -f ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # timeout=10 17:52:25 > git remote # timeout=10 17:52:25 > git config --get remote.origin.url # timeout=10 17:52:25 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:25 > git merge 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 17:52:25 > git rev-parse HEAD^{commit} # timeout=10 17:52:25 Merge succeeded, producing ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 17:52:25 Checking out Revision ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 (PR-1031) 17:52:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.859s coverage: 89.0% of statements 17:52:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 17:52:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.051s coverage: 4.9% of statements 17:52:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 17:52:26 GO111MODULE=on go vet ./... 17:52:25 > git config core.sparsecheckout # timeout=10 17:52:25 > git checkout -f ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # timeout=10 17:52:30 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:30 provisioning config files... 17:52:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4986690855285212209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:31 ---> docker-login.sh 17:52:31 nexus3.edgexfoundry.org:10001 17:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:32 Configure a credential helper to remove this warning. See 17:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:32 17:52:32 Login Succeeded 17:52:32 nexus3.edgexfoundry.org:10002 17:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:33 Configure a credential helper to remove this warning. See 17:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:33 17:52:33 Login Succeeded 17:52:33 nexus3.edgexfoundry.org:10003 17:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:34 Configure a credential helper to remove this warning. See 17:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:34 17:52:34 Login Succeeded 17:52:34 nexus3.edgexfoundry.org:10004 17:52:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:35 Configure a credential helper to remove this warning. See 17:52:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:35 17:52:35 Login Succeeded 17:52:35 docker.io 17:52:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:35 Configure a credential helper to remove this warning. See 17:52:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:35 17:52:35 Login Succeeded 17:52:35 ---> docker-login.sh ends [Pipeline] } 17:52:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:52:36 ========================================================= 17:52:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 17:52:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:52:37 + 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 . 17:52:37 Sending build context to Docker daemon 2.662MB 17:52:37 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 17:52:37 Step 2/10 : FROM ${BASE} AS builder 17:52:38 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:52:38 bbf911997326: Pulling fs layer 17:52:38 58ec367f63d7: Pulling fs layer 17:52:38 1b4a6ffa7d45: Pulling fs layer 17:52:38 fc5181fea5dc: Pulling fs layer 17:52:38 9c418107303f: Pulling fs layer 17:52:38 284eca6f2348: Pulling fs layer 17:52:38 842844d905b1: Pulling fs layer 17:52:38 901a3a57568e: Pulling fs layer 17:52:38 9c418107303f: Waiting 17:52:38 284eca6f2348: Waiting 17:52:38 842844d905b1: Waiting 17:52:38 901a3a57568e: Waiting 17:52:38 fc5181fea5dc: Waiting 17:52:38 1b4a6ffa7d45: Download complete 17:52:38 58ec367f63d7: Verifying Checksum 17:52:38 58ec367f63d7: Download complete 17:52:38 9c418107303f: Verifying Checksum 17:52:38 9c418107303f: Download complete 17:52:38 284eca6f2348: Download complete 17:52:38 842844d905b1: Verifying Checksum 17:52:38 842844d905b1: Download complete 17:52:38 bbf911997326: Verifying Checksum 17:52:38 bbf911997326: Download complete 17:52:39 bbf911997326: Pull complete 17:52:40 58ec367f63d7: Pull complete 17:52:40 901a3a57568e: Verifying Checksum 17:52:40 901a3a57568e: Download complete 17:52:40 1b4a6ffa7d45: Pull complete 17:52:40 fc5181fea5dc: Verifying Checksum 17:52:40 fc5181fea5dc: Download complete 17:52:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:52:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:52:48 ./bin/test-attribution-txt.sh [Pipeline] } 17:52:48 $ docker stop --time=1 276cf87e1a3163e45aedf67f3ebe45e7fa2f785d3b155241afba72b4857c9eb2 17:52:50 $ docker rm -f 276cf87e1a3163e45aedf67f3ebe45e7fa2f785d3b155241afba72b4857c9eb2 [Pipeline] // withDockerContainer [Pipeline] sh 17:52:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:52:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 17:52:51 fc5181fea5dc: Pull complete 17:52:51 9c418107303f: Pull complete [Pipeline] sh 17:52:51 284eca6f2348: Pull complete 17:52:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:52:51 842844d905b1: Pull complete 17:52:51 + ls -al . 17:52:51 total 264 17:52:51 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 8 17:52 . 17:52:51 drwxrwxr-x. 4 jenkins jenkins 28 Oct 8 17:50 .. 17:52:51 drwxrwxr-x. 2 jenkins jenkins 37 Oct 8 17:50 bin 17:52:51 -rw-rw-r--. 1 jenkins jenkins 24816 Oct 8 17:50 CHANGELOG.md 17:52:51 -rw-r--r--. 1 jenkins jenkins 126160 Oct 8 17:52 coverage.out 17:52:51 -rw-rw-r--. 1 jenkins jenkins 140 Oct 8 17:50 .dockerignore 17:52:51 drwxrwxr-x. 5 jenkins jenkins 62 Oct 8 17:50 example 17:52:51 drwxrwxr-x. 8 jenkins jenkins 179 Oct 8 17:50 .git 17:52:51 drwxrwxr-x. 3 jenkins jenkins 125 Oct 8 17:50 .github 17:52:51 -rw-rw-r--. 1 jenkins jenkins 131 Oct 8 17:50 .gitignore 17:52:51 -rw-rw-r--. 1 jenkins jenkins 583 Oct 8 17:50 go.mod 17:52:51 -rw-rw-r--. 1 jenkins jenkins 49618 Oct 8 17:50 go.sum 17:52:51 -rw-rw-r--. 1 jenkins jenkins 677 Oct 8 17:50 GOVERNANCE.md 17:52:51 drwxrwxr-x. 15 jenkins jenkins 224 Oct 8 17:50 internal 17:52:51 -rw-rw-r--. 1 jenkins jenkins 880 Oct 8 17:50 Jenkinsfile 17:52:51 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 8 17:50 LICENSE 17:52:51 -rw-rw-r--. 1 jenkins jenkins 1120 Oct 8 17:50 Makefile 17:52:51 drwxrwxr-x. 3 jenkins jenkins 16 Oct 8 17:50 openapi 17:52:51 -rw-rw-r--. 1 jenkins jenkins 619 Oct 8 17:50 OWNERS.md 17:52:51 drwxrwxr-x. 5 jenkins jenkins 50 Oct 8 17:50 pkg 17:52:51 -rw-rw-r--. 1 jenkins jenkins 7646 Oct 8 17:50 README.md 17:52:51 drwxrwxr-x. 4 jenkins jenkins 54 Oct 8 17:50 snap 17:52:51 -rw-rw-r--. 1 jenkins jenkins 5 Oct 8 17:49 VERSION 17:52:51 -rw-rw-r--. 1 jenkins jenkins 222 Oct 8 17:50 version.go [Pipeline] isUnix [Pipeline] sh 17:52:52 + 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=ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 --label arch=amd64 --label version=0.0.0 . 17:52:52 Sending build context to Docker daemon 2.79MB 17:52:52 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 17:52:52 Step 2/24 : FROM ${BASE} AS builder 17:52:52 ---> 892adb6e1d63 17:52:52 Step 3/24 : ARG MAKE=make build 17:52:52 ---> Running in 4f1964603760 17:52:52 Removing intermediate container 4f1964603760 17:52:52 ---> 1c995b4a430a 17:52:52 Step 4/24 : WORKDIR /device-sdk-go 17:52:52 ---> Running in 135d5f77d984 17:52:52 Removing intermediate container 135d5f77d984 17:52:52 ---> cb2fee9ec414 17:52:52 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:52:52 ---> Running in 0060c3b656ad 17:52:52 Removing intermediate container 0060c3b656ad 17:52:52 ---> 0a39026cf7df 17:52:52 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:52:52 ---> Running in ac438378489e 17:52:53 Removing intermediate container ac438378489e 17:52:53 ---> 449ed18c9798 17:52:53 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:52:53 ---> Running in ab4d68ec2de8 17:52:53 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 17:52:54 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 17:52:54 OK: 219 MiB in 52 packages 17:52:55 Removing intermediate container ab4d68ec2de8 17:52:55 ---> 59340ba08ddb 17:52:55 Step 8/24 : COPY . . 17:52:55 ---> fb7355dc96ea 17:52:55 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:52:55 ---> Running in 1227a7003c4c 17:52:55 Removing intermediate container 1227a7003c4c 17:52:55 ---> 41be1391db4c 17:52:55 Step 10/24 : RUN ${MAKE} 17:52:55 ---> Running in 23ece2015da4 17:52:56 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 17:52:57 901a3a57568e: Pull complete 17:52:57 Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 17:52:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:52:57 ---> 72ade6ffb461 17:52:57 Step 3/10 : ARG MAKE=make build 17:53:02 ---> Running in d904a4a6cc4e 17:53:02 Removing intermediate container d904a4a6cc4e 17:53:02 ---> 51275b6757fe 17:53:02 Step 4/10 : WORKDIR /device-sdk-go 17:53:02 ---> Running in 4958412ab560 17:53:03 Removing intermediate container 4958412ab560 17:53:03 ---> 7a0d77547e80 17:53:03 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:53:03 ---> Running in d4d010f96297 17:53:04 Removing intermediate container d4d010f96297 17:53:04 ---> a3f4d8200eef 17:53:04 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:53:04 ---> Running in 28dbc4809b67 17:53:07 Removing intermediate container 28dbc4809b67 17:53:07 ---> 2387d6d22661 17:53:07 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:53:07 ---> Running in eddcae74f57e 17:53:08 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 17:53:08 Removing intermediate container 23ece2015da4 17:53:08 ---> 6a004860a033 17:53:08 Step 11/24 : FROM alpine:3.14 17:53:08 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 17:53:09 3.14: Pulling from library/alpine 17:53:09 a0d0a0d46f8b: Pulling fs layer 17:53:09 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 17:53:09 a0d0a0d46f8b: Verifying Checksum 17:53:09 a0d0a0d46f8b: Download complete 17:53:09 a0d0a0d46f8b: Pull complete 17:53:09 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 17:53:09 Status: Downloaded newer image for alpine:3.14 17:53:09 ---> 14119a10abf4 17:53:09 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:53:09 ---> Running in abf5326e3051 17:53:09 Removing intermediate container abf5326e3051 17:53:09 ---> 333b036430ff 17:53:09 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:53:09 ---> Running in 3857366fc9f7 17:53:10 OK: 218 MiB in 52 packages 17:53:10 Removing intermediate container 3857366fc9f7 17:53:10 ---> 68bd8fbebe37 17:53:10 Step 14/24 : RUN apk add --update --no-cache zeromq 17:53:10 ---> Running in efb41090d34f 17:53:10 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:53:11 Removing intermediate container eddcae74f57e 17:53:11 ---> b33d6becd6e5 17:53:11 Step 8/10 : COPY . . 17:53:11 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:53:11 (1/5) Installing libgcc (10.3.1_git20210424-r2) 17:53:11 (2/5) Installing libsodium (1.0.18-r0) 17:53:12 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 17:53:12 (4/5) Installing libzmq (4.3.4-r0) 17:53:12 (5/5) Installing zeromq (4.3.4-r0) 17:53:12 Executing busybox-1.33.1-r3.trigger 17:53:12 OK: 8 MiB in 19 packages 17:53:12 ---> b77057085fd1 17:53:12 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:53:12 ---> Running in 1951845c9fcb 17:53:12 Removing intermediate container efb41090d34f 17:53:12 ---> a660e324be25 17:53:12 Step 15/24 : WORKDIR / 17:53:12 ---> Running in 844ffbffd276 17:53:12 Removing intermediate container 844ffbffd276 17:53:12 ---> 20b33b7f3374 17:53:12 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:53:12 ---> 446cbf982971 17:53:12 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:53:13 ---> f09375b646af 17:53:13 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:53:13 ---> 2aa31b2e6082 17:53:13 Step 19/24 : EXPOSE 59999 17:53:13 ---> Running in 767f192019ed 17:53:13 Removing intermediate container 767f192019ed 17:53:13 ---> 1663d977cb07 17:53:13 Step 20/24 : ENTRYPOINT ["/device-simple"] 17:53:13 ---> Running in af0f465a4469 17:53:13 Removing intermediate container af0f465a4469 17:53:13 ---> fae929c19f30 17:53:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:53:13 ---> Running in 6a02eebcf84b 17:53:13 Removing intermediate container 6a02eebcf84b 17:53:13 ---> 80c0393298e2 17:53:13 Step 22/24 : LABEL arch=amd64 17:53:13 ---> Running in e4d367e4b458 17:53:13 Removing intermediate container e4d367e4b458 17:53:13 ---> acdb3f39ffaa 17:53:13 Step 23/24 : LABEL git_sha=ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 17:53:13 ---> Running in d5590ea38dea 17:53:13 Removing intermediate container d5590ea38dea 17:53:13 ---> 490eec04facb 17:53:13 Step 24/24 : LABEL version=0.0.0 17:53:13 ---> Running in 3eaa3060f6a8 17:53:13 Removing intermediate container 3eaa3060f6a8 17:53:13 ---> 616f2ec79373 17:53:13 [Warning] One or more build-args [ARCH] were not consumed 17:53:13 Successfully built 616f2ec79373 17:53:13 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:53:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:53:14 17:53:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:53:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:53:14 latest: Pulling from edgex-lftools-log-publisher 17:53:14 b4d181a07f80: Pulling fs layer 17:53:14 a1111a8f2ec3: Pulling fs layer 17:53:14 ed53099fbce6: Pulling fs layer 17:53:14 dc539afda2c1: Pulling fs layer 17:53:14 77bc0d833cb6: Pulling fs layer 17:53:14 9065ff56babe: Pulling fs layer 17:53:14 d287ab97295c: Pulling fs layer 17:53:14 77bc0d833cb6: Waiting 17:53:14 9065ff56babe: Waiting 17:53:14 d287ab97295c: Waiting 17:53:14 dc539afda2c1: Waiting 17:53:14 a1111a8f2ec3: Verifying Checksum 17:53:14 a1111a8f2ec3: Download complete 17:53:14 dc539afda2c1: Verifying Checksum 17:53:14 dc539afda2c1: Download complete 17:53:14 ed53099fbce6: Verifying Checksum 17:53:14 ed53099fbce6: Download complete 17:53:15 77bc0d833cb6: Verifying Checksum 17:53:15 77bc0d833cb6: Download complete 17:53:15 9065ff56babe: Verifying Checksum 17:53:15 9065ff56babe: Download complete 17:53:15 b4d181a07f80: Verifying Checksum 17:53:15 b4d181a07f80: Download complete 17:53:15 d287ab97295c: Verifying Checksum 17:53:15 d287ab97295c: Download complete 17:53:16 b4d181a07f80: Pull complete 17:53:16 a1111a8f2ec3: Pull complete 17:53:17 ed53099fbce6: Pull complete 17:53:17 dc539afda2c1: Pull complete 17:53:17 77bc0d833cb6: Pull complete 17:53:17 9065ff56babe: Pull complete 17:53:23 d287ab97295c: Pull complete 17:53:23 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:53:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:53:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:53:23 prd-centos7-docker-4c-2g-116 does not seem to be running inside a container 17:53:23 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:53:25 $ docker top b5aa90677e0e4332fb88f26c9bc61d238e3ebe75474d1bd3ef03ea2a447e4c9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:25 ---> job-cost.sh 17:53:25 lf-activate-venv: SKIPPING 17:53:25 INFO: No Stack... 17:53:32 INFO: Retrieving Pricing Info for: v3-standard-2 17:53:33 INFO: Archiving Costs [Pipeline] sh 17:53:33 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 17:53:33 + cut -d, -f6 [Pipeline] lock 17:53:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1031-3-stack-cost] 17:53:33 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-3-stack-cost] did not exist. Created. 17:53:33 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1031-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:53:33 + echo total: 0.05999999865889549 [Pipeline] stash 17:53:33 Stashed 1 file(s) [Pipeline] } 17:53:33 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:53:33 $ docker stop --time=1 b5aa90677e0e4332fb88f26c9bc61d238e3ebe75474d1bd3ef03ea2a447e4c9f 17:53:34 $ docker rm -f b5aa90677e0e4332fb88f26c9bc61d238e3ebe75474d1bd3ef03ea2a447e4c9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:54:34 Removing intermediate container 1951845c9fcb 17:54:34 ---> 1173e5463f90 17:54:34 Step 10/10 : RUN ${MAKE} 17:54:34 ---> Running in e90e42f7dc0f 17:54:34 noop 17:54:35 Removing intermediate container e90e42f7dc0f 17:54:35 ---> c8ca77a6ac1a 17:54:35 Successfully built c8ca77a6ac1a 17:54:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:54:36 + docker inspect -f . ci-base-image-arm64 17:54:36 . [Pipeline] withDockerContainer 17:54:36 prd-ubuntu18.04-docker-arm64-4c-16g-115 does not seem to be running inside a container 17:54:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat 17:54:38 $ docker top b0856d71ac8f940bb59146107e4fc8eea023cae7560e29bd891e77641e095e65 -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:39 + go version 17:54:39 go version go1.16.8 linux/arm64 [Pipeline] } 17:54:39 $ docker stop --time=1 b0856d71ac8f940bb59146107e4fc8eea023cae7560e29bd891e77641e095e65 17:54:41 $ docker rm -f b0856d71ac8f940bb59146107e4fc8eea023cae7560e29bd891e77641e095e65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:54:42 + docker inspect -f . ci-base-image-arm64 17:54:42 . [Pipeline] withDockerContainer 17:54:43 prd-ubuntu18.04-docker-arm64-4c-16g-115 does not seem to be running inside a container 17:54:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat 17:54:44 $ docker top dc6f14d318eb6280d3c4e46977272f981fb324c31481c5d3d9567349fa2d7ec0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:54:45 + make test 17:54:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:55:18 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 17:56:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 17:56:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 17:56:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 17:56:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.284s coverage: 23.7% of statements 17:56:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 17:56:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.184s coverage: 28.1% of statements 17:56:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.301s coverage: 78.9% of statements 17:56:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.213s coverage: 9.0% of statements 17:56:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 17:56:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 17:56:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 17:56:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.287s coverage: 28.7% of statements 17:56:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 17:56:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.269s coverage: 83.3% of statements 17:56:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 17:56:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 17:56:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.373s coverage: 57.8% of statements 17:56:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.052s coverage: 89.0% of statements 17:56:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 17:56:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.213s coverage: 4.9% of statements 17:56:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 17:56:45 GO111MODULE=on go vet ./... 17:57:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:57:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:57:53 ./bin/test-attribution-txt.sh [Pipeline] } 17:57:53 $ docker stop --time=1 dc6f14d318eb6280d3c4e46977272f981fb324c31481c5d3d9567349fa2d7ec0 17:57:55 $ docker rm -f dc6f14d318eb6280d3c4e46977272f981fb324c31481c5d3d9567349fa2d7ec0 [Pipeline] // withDockerContainer [Pipeline] sh 17:57:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:57:56 Warning: overwriting stash ‘coverage-report’ 17:57:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:57:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:57:58 + ls -al . 17:57:58 total 300 17:57:58 drwxrwxr-x 10 jenkins jenkins 4096 Oct 8 17:57 . 17:57:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 17:52 .. 17:57:58 -rw-rw-r-- 1 jenkins jenkins 140 Oct 8 17:52 .dockerignore 17:57:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 17:52 .git 17:57:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 17:52 .github 17:57:58 -rw-rw-r-- 1 jenkins jenkins 131 Oct 8 17:52 .gitignore 17:57:58 -rw-rw-r-- 1 jenkins jenkins 24816 Oct 8 17:52 CHANGELOG.md 17:57:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 17:52 GOVERNANCE.md 17:57:58 -rw-rw-r-- 1 jenkins jenkins 880 Oct 8 17:52 Jenkinsfile 17:57:58 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 8 17:52 LICENSE 17:57:58 -rw-rw-r-- 1 jenkins jenkins 1120 Oct 8 17:52 Makefile 17:57:58 -rw-rw-r-- 1 jenkins jenkins 619 Oct 8 17:52 OWNERS.md 17:57:58 -rw-rw-r-- 1 jenkins jenkins 7646 Oct 8 17:52 README.md 17:57:58 -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 17:49 VERSION 17:57:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 17:52 bin 17:57:58 -rw-r--r-- 1 jenkins jenkins 126160 Oct 8 17:56 coverage.out 17:57:58 drwxrwxr-x 5 jenkins jenkins 4096 Oct 8 17:52 example 17:57:58 -rw-rw-r-- 1 jenkins jenkins 583 Oct 8 17:52 go.mod 17:57:58 -rw-rw-r-- 1 jenkins jenkins 49618 Oct 8 17:52 go.sum 17:57:58 drwxrwxr-x 15 jenkins jenkins 4096 Oct 8 17:52 internal 17:57:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 17:52 openapi 17:57:58 drwxrwxr-x 5 jenkins jenkins 4096 Oct 8 17:52 pkg 17:57:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 17:52 snap 17:57:58 -rw-rw-r-- 1 jenkins jenkins 222 Oct 8 17:52 version.go [Pipeline] isUnix [Pipeline] sh 17:57:59 + 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=ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 --label arch=arm64 --label version=0.0.0 . 17:57:59 Sending build context to Docker daemon 2.789MB 17:57:59 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 17:57:59 Step 2/24 : FROM ${BASE} AS builder 17:57:59 ---> c8ca77a6ac1a 17:57:59 Step 3/24 : ARG MAKE=make build 17:58:00 ---> Running in bff6824ffbfc 17:58:00 Removing intermediate container bff6824ffbfc 17:58:00 ---> 801293285108 17:58:00 Step 4/24 : WORKDIR /device-sdk-go 17:58:00 ---> Running in 04be1c5b51a8 17:58:01 Removing intermediate container 04be1c5b51a8 17:58:01 ---> 58b96181720a 17:58:01 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:58:01 ---> Running in 2faf52ed185d 17:58:01 Removing intermediate container 2faf52ed185d 17:58:01 ---> 159cbd6cf854 17:58:01 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:58:02 ---> Running in ae421de9d327 17:58:04 Removing intermediate container ae421de9d327 17:58:04 ---> 1173b394dd7a 17:58:04 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:58:04 ---> Running in 23fa7897f663 17:58:05 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 17:58:06 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 17:58:07 OK: 218 MiB in 52 packages 17:58:08 Removing intermediate container 23fa7897f663 17:58:08 ---> 018dce859740 17:58:08 Step 8/24 : COPY . . 17:58:09 ---> 37af38719e41 17:58:09 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:58:10 ---> Running in 2c657f9d75a6 17:58:12 Removing intermediate container 2c657f9d75a6 17:58:12 ---> ed94a84216c0 17:58:12 Step 10/24 : RUN ${MAKE} 17:58:12 ---> Running in a6cfae852e83 17:58:13 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 17:58:53 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 17:58:53 Removing intermediate container a6cfae852e83 17:58:53 ---> 5db6f20eb073 17:58:53 Step 11/24 : FROM alpine:3.14 17:58:54 3.14: Pulling from library/alpine 17:58:54 552d1f2373af: Pulling fs layer 17:58:54 552d1f2373af: Verifying Checksum 17:58:54 552d1f2373af: Download complete 17:58:55 552d1f2373af: Pull complete 17:58:55 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 17:58:55 Status: Downloaded newer image for alpine:3.14 17:58:55 ---> bb3de5531c18 17:58:55 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:58:55 ---> Running in 7ec7fa51a56a 17:58:56 Removing intermediate container 7ec7fa51a56a 17:58:56 ---> 1ab203efd0cd 17:58:56 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:58:56 ---> Running in 65ffb15ee687 17:58:58 Removing intermediate container 65ffb15ee687 17:58:58 ---> 4c3e7aee270c 17:58:58 Step 14/24 : RUN apk add --update --no-cache zeromq 17:58:58 ---> Running in d4cf1846df06 17:59:00 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:59:01 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:59:02 (1/5) Installing libgcc (10.3.1_git20210424-r2) 17:59:02 (2/5) Installing libsodium (1.0.18-r0) 17:59:02 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 17:59:02 (4/5) Installing libzmq (4.3.4-r0) 17:59:02 (5/5) Installing zeromq (4.3.4-r0) 17:59:02 Executing busybox-1.33.1-r3.trigger 17:59:02 OK: 8 MiB in 19 packages 17:59:04 Removing intermediate container d4cf1846df06 17:59:04 ---> 1c37ef4419a8 17:59:04 Step 15/24 : WORKDIR / 17:59:04 ---> Running in ac9bdcdf3476 17:59:04 Removing intermediate container ac9bdcdf3476 17:59:04 ---> beec6a7e421c 17:59:04 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:59:05 ---> a61fa0089e3d 17:59:05 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:59:06 ---> 0cf318169075 17:59:06 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:59:07 ---> d10b7e73bb6f 17:59:07 Step 19/24 : EXPOSE 59999 17:59:07 ---> Running in 11a273dec0e5 17:59:08 Removing intermediate container 11a273dec0e5 17:59:08 ---> a4a4fe0ddf5b 17:59:08 Step 20/24 : ENTRYPOINT ["/device-simple"] 17:59:08 ---> Running in 53b42ea8e887 17:59:09 Removing intermediate container 53b42ea8e887 17:59:09 ---> 0db069898223 17:59:09 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:59:09 ---> Running in 016b9f1a66bf 17:59:09 Removing intermediate container 016b9f1a66bf 17:59:09 ---> 6ee8debe2fb9 17:59:09 Step 22/24 : LABEL arch=arm64 17:59:09 ---> Running in ac3be7c36e9c 17:59:10 Removing intermediate container ac3be7c36e9c 17:59:10 ---> 15ff242a9012 17:59:10 Step 23/24 : LABEL git_sha=ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 17:59:10 ---> Running in 89b3e0c476ee 17:59:10 Removing intermediate container 89b3e0c476ee 17:59:10 ---> 8ed5623bf753 17:59:10 Step 24/24 : LABEL version=0.0.0 17:59:11 ---> Running in 8064981f2bcb 17:59:11 Removing intermediate container 8064981f2bcb 17:59:11 ---> 6cc00b548ed0 17:59:11 [Warning] One or more build-args [ARCH] were not consumed 17:59:11 Successfully built 6cc00b548ed0 17:59:11 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 17:59:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:59:12 17:59:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:59:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:59:13 arm64: Pulling from edgex-lftools-log-publisher 17:59:13 448f6bf000e3: Pulling fs layer 17:59:13 f757da607395: Pulling fs layer 17:59:13 05883995daec: Pulling fs layer 17:59:13 8603b9c90790: Pulling fs layer 17:59:13 1560dd03e051: Pulling fs layer 17:59:13 27f5ce0e4adf: Pulling fs layer 17:59:13 c2d8d7efcc4b: Pulling fs layer 17:59:13 8603b9c90790: Waiting 17:59:13 1560dd03e051: Waiting 17:59:13 27f5ce0e4adf: Waiting 17:59:13 c2d8d7efcc4b: Waiting 17:59:13 f757da607395: Verifying Checksum 17:59:13 f757da607395: Download complete 17:59:13 8603b9c90790: Verifying Checksum 17:59:13 8603b9c90790: Download complete 17:59:13 1560dd03e051: Verifying Checksum 17:59:13 1560dd03e051: Download complete 17:59:13 05883995daec: Download complete 17:59:13 27f5ce0e4adf: Verifying Checksum 17:59:13 27f5ce0e4adf: Download complete 17:59:14 448f6bf000e3: Verifying Checksum 17:59:14 448f6bf000e3: Download complete 17:59:16 c2d8d7efcc4b: Verifying Checksum 17:59:16 c2d8d7efcc4b: Download complete 17:59:17 448f6bf000e3: Pull complete 17:59:18 f757da607395: Pull complete 17:59:19 05883995daec: Pull complete 17:59:20 8603b9c90790: Pull complete 17:59:21 1560dd03e051: Pull complete 17:59:21 27f5ce0e4adf: Pull complete 17:59:37 c2d8d7efcc4b: Pull complete 17:59:37 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 17:59:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:59:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:59:37 prd-ubuntu18.04-docker-arm64-4c-16g-115 does not seem to be running inside a container 17:59:37 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:10003/edgex-lftools-log-publisher:arm64 cat 17:59:42 $ docker top 270c71c1e1fd2cd004514a3d348a181ec3ce60587669d0c43b5ebc0800efd329 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:59:43 ---> job-cost.sh 17:59:43 lf-activate-venv: SKIPPING 17:59:43 INFO: No Stack... 17:59:43 INFO: Retrieving Pricing Info for: v3-standard-4 17:59:44 INFO: Archiving Costs [Pipeline] sh 17:59:44 + cat /w/workspace/device-sdk-go/3/archives/cost.csv+ 17:59:44 cut -d, -f6 [Pipeline] lock 17:59:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1031-3-stack-cost] 17:59:45 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-3-stack-cost] did not exist. Created. 17:59:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1031-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:59:45 /w/workspace/device-sdk-go/3@tmp/durable-9ae27c0b/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-9ae27c0b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:59:46 + echo total: 0.10999999940395355 [Pipeline] stash 17:59:46 Warning: overwriting stash ‘stack-cost’ 17:59:46 Stashed 1 file(s) [Pipeline] } 17:59:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:59:46 $ docker stop --time=1 270c71c1e1fd2cd004514a3d348a181ec3ce60587669d0c43b5ebc0800efd329 17:59:48 $ docker rm -f 270c71c1e1fd2cd004514a3d348a181ec3ce60587669d0c43b5ebc0800efd329 [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 17:59:49 provisioning config files... 17:59:49 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config5478586456101611790tmp [Pipeline] { [Pipeline] sh 17:59:49 + set +x 17:59:49 + bash -s -- 17:59:49 + curl -s https://codecov.io/bash 17:59:49 17:59:49 _____ _ 17:59:49 / ____| | | 17:59:49 | | ___ __| | ___ ___ _____ __ 17:59:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:59:49 | |___| (_) | (_| | __/ (_| (_) \ V / 17:59:49 \_____\___/ \__,_|\___|\___\___/ \_/ 17:59:49 Bash-1.0.6 17:59:49 17:59:49 17:59:49 ==> git version 2.24.4 found 17:59:49 ==> 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 17:59:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 17:59:49 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 17:59:49 ==> Jenkins CI detected. 17:59:49 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1031 17:59:49 project root: . 17:59:49 --> token set from env 17:59:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:59:49 ==> Running gcov in . (disable via -X gcov) 17:59:49 ==> Python coveragepy not found 17:59:49 ==> Searching for coverage reports in: 17:59:49 + . 17:59:49 -> Found 1 reports 17:59:49 ==> Detecting git/mercurial file structure 17:59:49 ==> Reading reports 17:59:49 + ./coverage.out bytes=126160 17:59:49 ==> Appending adjustments 17:59:49 https://docs.codecov.io/docs/fixing-reports 17:59:49 + Found adjustments 17:59:49 ==> Gzipping contents 17:59:49 16K /tmp/codecov.sEyszT.gz 17:59:49 ==> Uploading reports 17:59:49 url: https://codecov.io 17:59:49 query: branch=PR-1031&commit=ca8f408215d3aa33b4c9f70e2fe77f2cb3750385&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1031%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1031&job=&cmd_args= 17:59:49 -> Pinging Codecov 17:59:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1031&commit=ca8f408215d3aa33b4c9f70e2fe77f2cb3750385&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1031%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1031&job=&cmd_args= 17:59:50 -> Uploading to 17:59:50 https://storage.googleapis.com/codecov/v4/raw/2021-10-08/7E55EF52A471D76F132DFD9A03CDDE97/ca8f408215d3aa33b4c9f70e2fe77f2cb3750385/9fb6435e-58a4-4478-aa67-8fbf98692c22.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211008%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211008T175950Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bb5c1bb3008789fe5550091e1bd787a77510384ca2c36ed64a3f196687f07f29 17:59:50 % Total % Received % Xferd Average Speed Time Time Time Current 17:59:50 Dload Upload Total Spent Left Speed 17:59:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16055 0 0 100 16055 0 47343 --:--:-- --:--:-- --:--:-- 47500 17:59:50 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 [Pipeline] } 17:59:50 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 17:59:52 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives ']' [Pipeline] libraryResource [Pipeline] sh 17:59:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:59:52 ---> package-listing.sh 17:59:52 ++ tr '[:upper:]' '[:lower:]' 17:59:52 ++ facter osfamily 17:59:53 + OS_FAMILY=redhat 17:59:53 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1031 17:59:53 + START_PACKAGES=/tmp/packages_start.txt 17:59:53 + END_PACKAGES=/tmp/packages_end.txt 17:59:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:59:53 + PACKAGES=/tmp/packages_start.txt 17:59:53 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1031 ']' 17:59:53 + PACKAGES=/tmp/packages_end.txt 17:59:53 + case "${OS_FAMILY}" in 17:59:53 + rpm -qa 17:59:53 + sort 17:59:54 + '[' -f /tmp/packages_start.txt ']' 17:59:54 + '[' -f /tmp/packages_end.txt ']' 17:59:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:59:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1031 ']' 17:59:54 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives/ 17:59:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives/ [Pipeline] echo 17:59:54 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-1031/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:59:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:59:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:59:54 17:59:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:59:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:59:55 latest: Pulling from edgex-lftools-log-publisher 17:59:55 b4d181a07f80: Pulling fs layer 17:59:55 a1111a8f2ec3: Pulling fs layer 17:59:55 ed53099fbce6: Pulling fs layer 17:59:55 dc539afda2c1: Pulling fs layer 17:59:55 77bc0d833cb6: Pulling fs layer 17:59:55 9065ff56babe: Pulling fs layer 17:59:55 d287ab97295c: Pulling fs layer 17:59:55 77bc0d833cb6: Waiting 17:59:55 9065ff56babe: Waiting 17:59:55 d287ab97295c: Waiting 17:59:55 a1111a8f2ec3: Verifying Checksum 17:59:55 a1111a8f2ec3: Download complete 17:59:55 dc539afda2c1: Verifying Checksum 17:59:55 dc539afda2c1: Download complete 17:59:55 ed53099fbce6: Verifying Checksum 17:59:55 ed53099fbce6: Download complete 17:59:55 9065ff56babe: Verifying Checksum 17:59:55 9065ff56babe: Download complete 17:59:55 77bc0d833cb6: Verifying Checksum 17:59:55 77bc0d833cb6: Download complete 17:59:55 b4d181a07f80: Verifying Checksum 17:59:55 b4d181a07f80: Download complete 17:59:56 d287ab97295c: Verifying Checksum 17:59:56 d287ab97295c: Download complete 17:59:57 b4d181a07f80: Pull complete 17:59:57 a1111a8f2ec3: Pull complete 17:59:57 ed53099fbce6: Pull complete 17:59:57 dc539afda2c1: Pull complete 17:59:58 77bc0d833cb6: Pull complete 17:59:58 9065ff56babe: Pull complete 18:00:03 d287ab97295c: Pull complete 18:00:03 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:00:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:00:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:00:03 prd-centos7-docker-4c-2g-112 does not seem to be running inside a container 18:00:03 $ 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-1031/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-1031 -v /w/workspace/gexfoundry_device-sdk-go_PR-1031:/w/workspace/gexfoundry_device-sdk-go_PR-1031:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:00:06 $ docker top a288abf3c9411e976e10a6bd150ad5e04b540d6a04d98d9bc1f572b4ff71f508 -eo pid,comm [Pipeline] { [Pipeline] sh 18:00:06 + touch /tmp/pre-build-complete [Pipeline] sh 18:00:06 + mkdir -p /var/log/sysstat [Pipeline] sh 18:00:06 + ls /var/log/sa-host 18:00:06 + sadf -c /var/log/sa-host/sa08 18:00:06 file_magic: OK 18:00:06 HZ: Using current value: 100 18:00:06 file_header: OK 18:00:06 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 18:00:06 Statistics: 18:00:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:00:06 File successfully converted to sysstat format version 12.0.3 18:00:06 + sadf -c /var/log/sa-host/sa30 18:00:06 file_magic: OK 18:00:06 HZ: Using current value: 100 18:00:06 file_header: OK 18:00:06 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 18:00:06 Statistics: 18:00:06 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:00:06 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:00:07 provisioning config files... 18:00:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config759972825771108179tmp [Pipeline] { [Pipeline] echo 18:00:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:00:07 ---> create-netrc.sh [Pipeline] } 18:00:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:00:07 ---> python-tools-install.sh [Pipeline] echo 18:00:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:00:07 ---> sudo-logs.sh 18:00:07 Archiving 'sudo' log.. 18:00:07 sudo: unable to resolve host prd-centos7-docker-4c-2g-112.novalocal: Name or service not known 18:00:07 sudo: unable to resolve host prd-centos7-docker-4c-2g-112.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 18:00:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:00:08 ---> job-cost.sh 18:00:08 lf-activate-venv: SKIPPING 18:00:08 DEBUG: total: 0.10999999940395355 18:00:08 INFO: Retrieving Stack Cost... 18:00:09 INFO: Retrieving Pricing Info for: v3-standard-2 18:00:09 INFO: Archiving Costs [Pipeline] echo 18:00:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:00:10 ---> logs-deploy.sh 18:00:10 lf-activate-venv: SKIPPING 18:00:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1031/3 18:00:10 INFO: archiving workspace using pattern(s): 18:00:10 Archives upload complete. 18:00:11 INFO: archiving logs to Nexus 18:00:11 ---> uname -a: 18:00:11 Linux prd-centos7-docker-4c-2g-112.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 18:00:11 18:00:11 18:00:11 ---> lscpu: 18:00:11 Architecture: x86_64 18:00:11 CPU op-mode(s): 32-bit, 64-bit 18:00:11 Byte Order: Little Endian 18:00:11 Address sizes: 40 bits physical, 48 bits virtual 18:00:11 CPU(s): 2 18:00:11 On-line CPU(s) list: 0,1 18:00:11 Thread(s) per core: 1 18:00:11 Core(s) per socket: 1 18:00:11 Socket(s): 2 18:00:11 NUMA node(s): 1 18:00:11 Vendor ID: AuthenticAMD 18:00:11 CPU family: 23 18:00:11 Model: 49 18:00:11 Model name: AMD EPYC-Rome Processor 18:00:11 Stepping: 0 18:00:11 CPU MHz: 2799.998 18:00:11 BogoMIPS: 5599.99 18:00:11 Virtualization: AMD-V 18:00:11 Hypervisor vendor: KVM 18:00:11 Virtualization type: full 18:00:11 L1d cache: 32K 18:00:11 L1i cache: 32K 18:00:11 L2 cache: 512K 18:00:11 L3 cache: 16384K 18:00:11 NUMA node0 CPU(s): 0,1 18:00:11 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 18:00:11 18:00:11 18:00:11 ---> nproc: 18:00:11 2 18:00:11 18:00:11 18:00:11 ---> df -h: 18:00:11 Filesystem Size Used Avail Use% Mounted on 18:00:11 overlay 40G 7.7G 33G 20% / 18:00:11 tmpfs 64M 0 64M 0% /dev 18:00:11 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 18:00:11 shm 64M 0 64M 0% /dev/shm 18:00:11 /dev/vda1 40G 7.7G 33G 20% /facter-os 18:00:11 18:00:11 18:00:11 ---> sar -b -r -n DEV: 18:00:11 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/08/21 _x86_64_ (2 CPU) 18:00:11 18:00:11 17:49:09 LINUX RESTART (2 CPU) 18:00:11 18:00:11 17:50:02 tps rtps wtps bread/s bwrtn/s 18:00:11 17:51:01 3.96 0.10 3.86 3.25 118.06 18:00:11 17:52:01 0.47 0.00 0.47 0.00 8.33 18:00:11 17:53:01 0.18 0.00 0.18 0.00 2.17 18:00:11 17:54:01 0.23 0.00 0.23 0.00 3.20 18:00:11 17:55:01 0.23 0.00 0.23 0.00 2.77 18:00:11 17:56:01 0.33 0.00 0.33 0.00 4.28 18:00:11 17:57:01 0.18 0.00 0.18 0.00 2.97 18:00:11 17:58:01 0.20 0.00 0.20 0.00 2.30 18:00:11 17:59:02 0.27 0.00 0.27 0.00 3.20 18:00:11 18:00:01 5.45 0.15 5.30 14.49 236.86 18:00:11 Average: 1.14 0.03 1.11 1.75 37.96 18:00:11 18:00:11 17:50:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:00:11 17:51:01 5683200 0 623908 7.79 2620 1699212 1250636 13.81 567620 1523368 20 18:00:11 17:52:01 5692560 0 614544 7.67 2620 1699216 1181708 13.05 559716 1523448 20 18:00:11 17:53:01 5698556 0 608548 7.60 2620 1699216 1181720 13.05 553924 1523448 8 18:00:11 17:54:01 5702104 0 604992 7.55 2620 1699224 1154980 12.75 550484 1524064 8 18:00:11 17:55:01 5701296 0 605796 7.56 2620 1699228 1155088 12.75 551232 1524064 12 18:00:11 17:56:01 5701208 0 605880 7.57 2620 1699232 1155136 12.75 551308 1524192 20 18:00:11 17:57:01 5691028 0 616056 7.69 2620 1699236 1154980 12.75 561436 1524192 12 18:00:11 17:58:01 5690772 0 616300 7.70 2620 1699248 1154980 12.75 561748 1524308 8 18:00:11 17:59:02 5690736 0 616336 7.70 2620 1699248 1154980 12.75 563760 1522264 8 18:00:11 18:00:01 5057696 0 754120 9.42 2620 2194504 1526692 16.86 874236 1784460 494128 18:00:11 Average: 5630916 0 626648 7.82 2620 1748756 1207090 13.33 589546 1549781 49424 18:00:11 18:00:11 17:50:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:00:11 17:51:01 eth0 4.59 1.39 3.30 0.84 0.00 0.00 0.00 0.00 18:00:11 17:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 17:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 17:52:01 eth0 0.62 0.33 0.28 0.23 0.00 0.00 0.00 0.00 18:00:11 17:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 17:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 17:53:01 eth0 0.53 0.35 0.27 0.20 0.00 0.00 0.00 0.00 18:00:11 17:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 17:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 17:54:01 eth0 0.10 0.02 0.01 0.00 0.00 0.00 0.00 0.00 18:00:11 17:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 17:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 17:55:01 eth0 0.82 0.18 0.14 0.07 0.00 0.00 0.00 0.00 18:00:11 17:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 17:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 17:56:01 eth0 1.40 0.33 0.40 0.20 0.00 0.00 0.00 0.00 18:00:11 17:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 17:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 17:57:01 eth0 1.12 0.10 0.05 0.01 0.00 0.00 0.00 0.00 18:00:11 17:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 17:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 17:58:01 eth0 0.63 0.10 0.03 0.01 0.00 0.00 0.00 0.00 18:00:11 17:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 17:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 17:59:02 eth0 0.82 0.08 0.07 0.01 0.00 0.00 0.00 0.00 18:00:11 17:59:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 17:59:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 18:00:01 eth0 104.89 65.07 2640.30 10.89 0.00 0.00 0.00 0.00 18:00:11 18:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 18:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 Average: eth0 11.41 6.71 261.06 1.23 0.00 0.00 0.00 0.00 18:00:11 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:00:11 18:00:11 18:00:11 ---> sar -P ALL: 18:00:11 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/08/21 _x86_64_ (2 CPU) 18:00:11 18:00:11 17:49:09 LINUX RESTART (2 CPU) 18:00:11 18:00:11 17:50:02 CPU %user %nice %system %iowait %steal %idle 18:00:11 17:51:01 all 0.35 0.00 0.08 0.00 0.03 99.55 18:00:11 17:51:01 0 0.22 0.00 0.05 0.00 0.02 99.71 18:00:11 17:51:01 1 0.48 0.00 0.10 0.00 0.03 99.39 18:00:11 17:52:01 all 0.24 0.00 0.08 0.00 0.03 99.65 18:00:11 17:52:01 0 0.08 0.00 0.10 0.00 0.03 99.78 18:00:11 17:52:01 1 0.40 0.00 0.07 0.00 0.02 99.52 18:00:11 17:53:01 all 0.20 0.00 0.07 0.00 0.02 99.72 18:00:11 17:53:01 0 0.08 0.00 0.08 0.00 0.03 99.80 18:00:11 17:53:01 1 0.32 0.00 0.05 0.00 0.00 99.63 18:00:11 17:54:01 all 0.18 0.00 0.05 0.00 0.03 99.74 18:00:11 17:54:01 0 0.07 0.00 0.03 0.00 0.03 99.87 18:00:11 17:54:01 1 0.30 0.00 0.07 0.00 0.02 99.62 18:00:11 17:55:01 all 0.20 0.00 0.04 0.00 0.02 99.74 18:00:11 17:55:01 0 0.08 0.00 0.05 0.00 0.03 99.83 18:00:11 17:55:01 1 0.32 0.00 0.03 0.00 0.00 99.65 18:00:11 17:56:01 all 0.28 0.00 0.06 0.00 0.01 99.66 18:00:11 17:56:01 0 0.10 0.00 0.08 0.00 0.02 99.80 18:00:11 17:56:01 1 0.45 0.00 0.03 0.00 0.00 99.52 18:00:11 17:57:01 all 0.27 0.00 0.08 0.00 0.02 99.64 18:00:11 17:57:01 0 0.08 0.00 0.07 0.00 0.02 99.83 18:00:11 17:57:01 1 0.45 0.00 0.08 0.00 0.02 99.45 18:00:11 17:58:01 all 0.24 0.00 0.06 0.00 0.02 99.68 18:00:11 17:58:01 0 0.08 0.00 0.08 0.00 0.03 99.80 18:00:11 17:58:01 1 0.40 0.00 0.03 0.00 0.00 99.57 18:00:11 17:59:02 all 0.18 0.00 0.05 0.00 0.02 99.75 18:00:11 17:59:02 0 0.08 0.00 0.07 0.00 0.02 99.83 18:00:11 17:59:02 1 0.28 0.00 0.03 0.00 0.02 99.67 18:00:11 18:00:01 all 7.22 0.00 2.44 0.03 0.03 90.28 18:00:11 18:00:01 0 6.27 0.00 2.51 0.03 0.05 91.14 18:00:11 18:00:01 1 8.17 0.00 2.37 0.02 0.02 89.42 18:00:11 Average: all 0.92 0.00 0.29 0.00 0.02 98.76 18:00:11 Average: 0 0.70 0.00 0.31 0.00 0.03 98.96 18:00:11 Average: 1 1.14 0.00 0.28 0.00 0.01 98.57 18:00:11 18:00:11 18:00:11