Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5144215608663499918.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3986698841099373616.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4888110776613282672.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6687027299229826761.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh390129194313009565.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-485 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_master@tmp/jenkins-gitclient-ssh7481799071471894695.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 # timeout=10 Commit message: "Merge pull request #970 from hahattan/issue-969" > git rev-list --no-walk 00edbbce35bff277d2f3a20c52fc7796f34887df # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:07:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:07:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:07:56 ========================================================= 07:07:56 EdgeX Global Pipelines Version Info 07:07:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:07:57 ------------------- 07:07:57 stable info: 07:07:57 ------------------- 07:07:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:07:57 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 07:07:57 Message: update stable to v1.0.195 07:07:58 ------------------- 07:07:58 experimental info: 07:07:58 ------------------- 07:07:58 Commited By: **** collab-it+edgex@linuxfoundation.org 07:07:58 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 07:07:58 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:07:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:07:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 07:07:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 07:07:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 07:07:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 [Pipeline] echo 07:07:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 88bc928 [Pipeline] echo 07:07:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:07:59 provisioning config files... 07:07:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5416660463340944520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:07:59 ---> docker-login.sh 07:07:59 nexus3.edgexfoundry.org:10001 07:08:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:00 Configure a credential helper to remove this warning. See 07:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:00 07:08:00 Login Succeeded 07:08:00 nexus3.edgexfoundry.org:10002 07:08:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:00 Configure a credential helper to remove this warning. See 07:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:00 07:08:00 Login Succeeded 07:08:00 nexus3.edgexfoundry.org:10003 07:08:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:00 Configure a credential helper to remove this warning. See 07:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:00 07:08:00 Login Succeeded 07:08:00 nexus3.edgexfoundry.org:10004 07:08:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:00 Configure a credential helper to remove this warning. See 07:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:00 07:08:00 Login Succeeded 07:08:00 docker.io 07:08:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:01 Configure a credential helper to remove this warning. See 07:08:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:01 07:08:01 Login Succeeded 07:08:01 ---> docker-login.sh ends [Pipeline] } 07:08:01 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 07:08:01 + git log --format=format:%s -1 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 [Pipeline] echo 07:08:01 GIT_COMMIT: 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2, Commit Message: Merge pull request #970 from hahattan/issue-969 [Pipeline] echo 07:08:01 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:08:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:08:02 07:08:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:08:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:08:03 latest: Pulling from edgex-devops/git-semver 07:08:03 31603596830f: Pulling fs layer 07:08:03 54011a49482f: Pulling fs layer 07:08:03 a6820b24f6d8: Pulling fs layer 07:08:03 f581987b2513: Pulling fs layer 07:08:03 f581987b2513: Waiting 07:08:03 54011a49482f: Verifying Checksum 07:08:03 54011a49482f: Download complete 07:08:03 31603596830f: Verifying Checksum 07:08:03 31603596830f: Download complete 07:08:03 f581987b2513: Verifying Checksum 07:08:03 f581987b2513: Download complete 07:08:03 a6820b24f6d8: Verifying Checksum 07:08:03 a6820b24f6d8: Download complete 07:08:03 31603596830f: Pull complete 07:08:03 54011a49482f: Pull complete 07:08:04 a6820b24f6d8: Pull complete 07:08:04 f581987b2513: Pull complete 07:08:04 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 07:08:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:08:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:08:04 prd-centos7-docker-4c-2g-485 does not seem to be running inside a container 07:08:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:08:05 $ docker top d37006cab2dd94871b5343a4564ea44a06309b9164eb8b7f07a4afbcda64adaf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:08:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:08:06 [ssh-agent] Looking for ssh-agent implementation... 07:08:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:08:06 $ docker exec d37006cab2dd94871b5343a4564ea44a06309b9164eb8b7f07a4afbcda64adaf ssh-agent 07:08:06 SSH_AUTH_SOCK=/tmp/ssh-JaTY1PeO6hpb/agent.14 07:08:06 SSH_AGENT_PID=20 07:08:06 Running ssh-add (command line suppressed) 07:08:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2265114953229990796.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2265114953229990796.key) 07:08:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:08:06 + git tag --points-at HEAD [Pipeline] } 07:08:06 $ docker exec --env ******** --env ******** d37006cab2dd94871b5343a4564ea44a06309b9164eb8b7f07a4afbcda64adaf ssh-agent -k 07:08:06 unset SSH_AUTH_SOCK; 07:08:06 unset SSH_AGENT_PID; 07:08:06 echo Agent pid 20 killed; 07:08:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:08:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:08:06 [ssh-agent] Looking for ssh-agent implementation... 07:08:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:08:07 $ docker exec d37006cab2dd94871b5343a4564ea44a06309b9164eb8b7f07a4afbcda64adaf ssh-agent 07:08:07 SSH_AUTH_SOCK=/tmp/ssh-f0d6r3A4Y52P/agent.56 07:08:07 SSH_AGENT_PID=63 07:08:07 Running ssh-add (command line suppressed) 07:08:07 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8867731843943995511.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8867731843943995511.key) 07:08:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:08:07 + git semver init 07:08:07 # -> Open(): unable to determine branch for HEAD 07:08:07 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:08:07 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:08:07 # $SEMVER_REMOTE_NAME = origin 07:08:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:08:07 # $SEMVER_USER_NAME = edgex-jenkins 07:08:07 # $SEMVER_BRANCH = master 07:08:07 # $SEMVER_TEMP = /tmp/semver-122867271 07:08:07 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:08:08 # '/tmp/semver-122867271' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 07:08:08 # -> Force: false 07:08:08 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 07:08:08 $ docker exec --env ******** --env ******** d37006cab2dd94871b5343a4564ea44a06309b9164eb8b7f07a4afbcda64adaf ssh-agent -k 07:08:08 unset SSH_AUTH_SOCK; 07:08:08 unset SSH_AGENT_PID; 07:08:08 echo Agent pid 63 killed; 07:08:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:08:08 + git semver [Pipeline] } 07:08:08 $ docker stop --time=1 d37006cab2dd94871b5343a4564ea44a06309b9164eb8b7f07a4afbcda64adaf 07:08:10 $ docker rm -f d37006cab2dd94871b5343a4564ea44a06309b9164eb8b7f07a4afbcda64adaf [Pipeline] // withDockerContainer [Pipeline] sh 07:08:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:08:10 Stashed 1 file(s) [Pipeline] echo 07:08:10 [edgeXSemver]: initialized semver on version 2.0.0-dev.78 [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 07:08:26 Still waiting to schedule task 07:08:26 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-485’ 07:08:26 Still waiting to schedule task 07:08:26 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:10:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-486 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 07:10:27 Running in /w/workspace/device-sdk-go/186 [Pipeline] { [Pipeline] checkout 07:10:27 Selected Git installation does not exist. Using Default 07:10:27 The recommended git tool is: NONE 07:10:32 using credential edgex-jenkins-ssh 07:10:32 Cloning the remote Git repository 07:10:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:10:32 > git init /w/workspace/device-sdk-go/186 # timeout=10 07:10:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:10:32 > git --version # timeout=10 07:10:33 > git --version # 'git version 2.17.1' 07:10:33 using GIT_SSH to set credentials SSH Credentials for GitHub 07:10:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:10:34 Avoid second fetch 07:10:34 Checking out Revision 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 (master) 07:10:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:10:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:10:34 > git config core.sparsecheckout # timeout=10 07:10:34 > git checkout -f 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 # timeout=10 07:10:38 Commit message: "Merge pull request #970 from hahattan/issue-969" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:10:40 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:10:40 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:10:40 + sudo service docker restart 07:10:40 + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:11:03 provisioning config files... 07:11:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/186@tmp/config4131906234734287366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:03 Running on prd-centos7-docker-4c-2g-487 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 07:11:03 Running in /w/workspace/device-sdk-go/186 [Pipeline] { [Pipeline] checkout 07:11:03 ---> docker-login.sh 07:11:03 nexus3.edgexfoundry.org:10001 07:11:03 Selected Git installation does not exist. Using Default 07:11:03 The recommended git tool is: NONE 07:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:04 Configure a credential helper to remove this warning. See 07:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:04 07:11:04 Login Succeeded 07:11:04 nexus3.edgexfoundry.org:10002 07:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:05 Configure a credential helper to remove this warning. See 07:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:05 07:11:05 Login Succeeded 07:11:05 nexus3.edgexfoundry.org:10003 07:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:05 Configure a credential helper to remove this warning. See 07:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:05 07:11:05 Login Succeeded 07:11:05 nexus3.edgexfoundry.org:10004 07:11:05 using credential edgex-jenkins-ssh 07:11:05 Cloning the remote Git repository 07:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:06 Configure a credential helper to remove this warning. See 07:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:06 07:11:06 Login Succeeded 07:11:06 docker.io 07:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:11:05 > git init /w/workspace/device-sdk-go/186 # timeout=10 07:11:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:11:05 > git --version # timeout=10 07:11:05 > git --version # 'git version 2.24.4' 07:11:05 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:05 [INFO] Currently running in a labeled security context 07:11:05 [INFO] Currently SELinux is 'enforcing' on the host 07:11:05 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/186@tmp/jenkins-gitclient-ssh6827436981219199713.key 07:11:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:11:07 Avoid second fetch 07:11:07 Checking out Revision 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 (master) 07:11:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:07 Configure a credential helper to remove this warning. See 07:11:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:07 07:11:07 Login Succeeded 07:11:07 ---> docker-login.sh ends [Pipeline] } 07:11:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:11:07 ========================================================= 07:11:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 07:11:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:11:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:11:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:11:06 > git config core.sparsecheckout # timeout=10 07:11:06 > git checkout -f 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 # timeout=10 07:11:07 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 07:11:08 Sending build context to Docker daemon 2.663MB 07:11:08 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 07:11:08 Step 2/8 : FROM ${BASE} 07:11:08 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:11:08 595b0fe564bb: Pulling fs layer 07:11:08 3088b5b3c5c0: Pulling fs layer 07:11:08 5b7225fbf94c: Pulling fs layer 07:11:08 ba82ee9f976e: Pulling fs layer 07:11:08 506bd15cee9f: Pulling fs layer 07:11:08 75a0a4a0db45: Pulling fs layer 07:11:08 618dc40b7e24: Pulling fs layer 07:11:08 ba82ee9f976e: Waiting 07:11:08 75a0a4a0db45: Waiting 07:11:08 506bd15cee9f: Waiting 07:11:08 618dc40b7e24: Waiting 07:11:08 5b7225fbf94c: Verifying Checksum 07:11:08 5b7225fbf94c: Download complete 07:11:08 3088b5b3c5c0: Download complete 07:11:08 506bd15cee9f: Verifying Checksum 07:11:08 506bd15cee9f: Download complete 07:11:08 595b0fe564bb: Download complete 07:11:08 75a0a4a0db45: Verifying Checksum 07:11:08 75a0a4a0db45: Download complete 07:11:09 595b0fe564bb: Pull complete 07:11:10 3088b5b3c5c0: Pull complete 07:11:10 5b7225fbf94c: Pull complete 07:11:10 Commit message: "Merge pull request #970 from hahattan/issue-969" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:11:10 618dc40b7e24: Verifying Checksum 07:11:10 618dc40b7e24: Download complete 07:11:11 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:11:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:11:12 + sudo service docker restart 07:11:12 + true 07:11:12 Redirecting to /bin/systemctl restart docker.service 07:11:12 ba82ee9f976e: Verifying Checksum 07:11:12 ba82ee9f976e: Download complete 07:11:23 ba82ee9f976e: Pull complete 07:11:23 506bd15cee9f: Pull complete 07:11:23 75a0a4a0db45: Pull complete 07:11:27 618dc40b7e24: Pull complete 07:11:27 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 07:11:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 07:11:27 ---> a36622ca3599 07:11:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:11:29 ---> Running in 1bd641f1485b 07:11:30 Removing intermediate container 1bd641f1485b 07:11:30 ---> 504cadf2bab2 07:11:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:11:30 ---> Running in c3dceddb0eb8 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:11:30 provisioning config files... 07:11:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/186@tmp/config20049656371025033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:30 ---> docker-login.sh 07:11:30 nexus3.edgexfoundry.org:10001 07:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:30 Configure a credential helper to remove this warning. See 07:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:30 07:11:30 Login Succeeded 07:11:30 nexus3.edgexfoundry.org:10002 07:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:30 Configure a credential helper to remove this warning. See 07:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:30 07:11:30 Login Succeeded 07:11:30 nexus3.edgexfoundry.org:10003 07:11:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:31 Configure a credential helper to remove this warning. See 07:11:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:31 07:11:31 Login Succeeded 07:11:31 nexus3.edgexfoundry.org:10004 07:11:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:31 Configure a credential helper to remove this warning. See 07:11:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:31 07:11:31 Login Succeeded 07:11:31 docker.io 07:11:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:31 Configure a credential helper to remove this warning. See 07:11:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:31 07:11:31 Login Succeeded 07:11:31 ---> docker-login.sh ends [Pipeline] } 07:11:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:11:31 ========================================================= 07:11:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 07:11:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:11:32 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 07:11:32 Sending build context to Docker daemon 2.664MB 07:11:32 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 07:11:32 Step 2/8 : FROM ${BASE} 07:11:32 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 07:11:32 540db60ca938: Pulling fs layer 07:11:32 adcc1eea9eea: Pulling fs layer 07:11:32 4c4ab2625f07: Pulling fs layer 07:11:32 0510c868ecb4: Pulling fs layer 07:11:32 afea3b2eda06: Pulling fs layer 07:11:32 7809a108b3ef: Pulling fs layer 07:11:32 f706445af74f: Pulling fs layer 07:11:32 0510c868ecb4: Waiting 07:11:32 afea3b2eda06: Waiting 07:11:32 7809a108b3ef: Waiting 07:11:32 f706445af74f: Waiting 07:11:32 4c4ab2625f07: Verifying Checksum 07:11:32 4c4ab2625f07: Download complete 07:11:32 adcc1eea9eea: Verifying Checksum 07:11:32 adcc1eea9eea: Download complete 07:11:32 afea3b2eda06: Verifying Checksum 07:11:32 afea3b2eda06: Download complete 07:11:32 7809a108b3ef: Verifying Checksum 07:11:32 7809a108b3ef: Download complete 07:11:32 540db60ca938: Verifying Checksum 07:11:32 540db60ca938: Download complete 07:11:32 Removing intermediate container c3dceddb0eb8 07:11:32 ---> 3825eeadf65c 07:11:32 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 07:11:32 ---> Running in 368eb326fe0a 07:11:32 540db60ca938: Pull complete 07:11:32 adcc1eea9eea: Pull complete 07:11:32 4c4ab2625f07: Pull complete 07:11:33 f706445af74f: Verifying Checksum 07:11:33 f706445af74f: Download complete 07:11:34 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 07:11:34 0510c868ecb4: Verifying Checksum 07:11:34 0510c868ecb4: Download complete 07:11:34 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 07:11:35 (1/6) Installing libc-dev (0.7.2-r3) 07:11:35 (2/6) Installing libsodium (1.0.18-r0) 07:11:35 (3/6) Installing pkgconf (1.7.3-r0) 07:11:35 (4/6) Installing libsodium-dev (1.0.18-r0) 07:11:35 (5/6) Installing libzmq (4.3.3-r1) 07:11:36 (6/6) Installing zeromq-dev (4.3.3-r1) 07:11:36 Executing busybox-1.32.1-r6.trigger 07:11:36 OK: 139 MiB in 46 packages 07:11:37 0510c868ecb4: Pull complete 07:11:37 Removing intermediate container 368eb326fe0a 07:11:37 ---> edba2e96d7bd 07:11:37 Step 6/8 : WORKDIR /device-sdk-go 07:11:37 ---> Running in 493bb265f64a 07:11:37 afea3b2eda06: Pull complete 07:11:37 7809a108b3ef: Pull complete 07:11:38 Removing intermediate container 493bb265f64a 07:11:38 ---> 3dfd39cdb972 07:11:38 Step 7/8 : COPY . . 07:11:39 f706445af74f: Pull complete 07:11:39 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 07:11:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 07:11:39 ---> b068be0155e3 07:11:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:11:39 ---> e8174d263ea2 07:11:39 Step 8/8 : RUN go mod download 07:11:39 ---> Running in 99c3cca962dc 07:11:42 ---> Running in 324297f0ffa3 07:11:42 Removing intermediate container 324297f0ffa3 07:11:42 ---> 94bbd239aed3 07:11:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:11:42 ---> Running in f0c291b83d07 07:11:43 Removing intermediate container f0c291b83d07 07:11:43 ---> 34c76a06ae7c 07:11:43 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 07:11:43 ---> Running in 8bebf3c9c030 07:11:43 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 07:11:44 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 07:11:45 (1/6) Installing libc-dev (0.7.2-r3) 07:11:45 (2/6) Installing libsodium (1.0.18-r0) 07:11:45 (3/6) Installing pkgconf (1.7.3-r0) 07:11:45 (4/6) Installing libsodium-dev (1.0.18-r0) 07:11:46 (5/6) Installing libzmq (4.3.3-r1) 07:11:46 (6/6) Installing zeromq-dev (4.3.3-r1) 07:11:46 Executing busybox-1.32.1-r6.trigger 07:11:46 OK: 150 MiB in 46 packages 07:11:46 Removing intermediate container 8bebf3c9c030 07:11:46 ---> d12aef6e3954 07:11:46 Step 6/8 : WORKDIR /device-sdk-go 07:11:46 ---> Running in 63f941af5172 07:11:46 Removing intermediate container 63f941af5172 07:11:46 ---> cdbd9bf9db8a 07:11:46 Step 7/8 : COPY . . 07:11:47 ---> 8e844da9f99f 07:11:47 Step 8/8 : RUN go mod download 07:11:47 ---> Running in ba5a823064c1 07:11:57 Removing intermediate container ba5a823064c1 07:11:57 ---> 43f7bea859fb 07:11:57 Successfully built 43f7bea859fb 07:11:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:11:57 + docker inspect -f . ci-base-image-x86_64 07:11:57 . [Pipeline] withDockerContainer 07:11:57 prd-centos7-docker-4c-2g-487 does not seem to be running inside a container 07:11:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/186 -v /w/workspace/device-sdk-go/186:/w/workspace/device-sdk-go/186:rw,z -v /w/workspace/device-sdk-go/186@tmp:/w/workspace/device-sdk-go/186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:11:58 $ docker top ee8bd5c846c60806c091c35552ad2ff2422a7407b5905f41c2c93b8672e64d41 -eo pid,comm [Pipeline] { [Pipeline] sh 07:11:58 + go version 07:11:58 go version go1.16.3 linux/amd64 [Pipeline] } 07:11:58 $ docker stop --time=1 ee8bd5c846c60806c091c35552ad2ff2422a7407b5905f41c2c93b8672e64d41 07:11:59 $ docker rm -f ee8bd5c846c60806c091c35552ad2ff2422a7407b5905f41c2c93b8672e64d41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:12:00 + docker inspect -f . ci-base-image-x86_64 07:12:00 . [Pipeline] withDockerContainer 07:12:00 prd-centos7-docker-4c-2g-487 does not seem to be running inside a container 07:12:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/186 -v /w/workspace/device-sdk-go/186:/w/workspace/device-sdk-go/186:rw,z -v /w/workspace/device-sdk-go/186@tmp:/w/workspace/device-sdk-go/186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:12:00 $ docker top 768eb77653a7d6025b09b261047c43a75dc16d6c045dd9a91d3925bba432ec40 -eo pid,comm [Pipeline] { [Pipeline] sh 07:12:01 + go mod tidy [Pipeline] sh 07:12:01 + make test 07:12:01 go mod tidy 07:12:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:12:06 Removing intermediate container 99c3cca962dc 07:12:06 ---> 52a99c794f18 07:12:06 Successfully built 52a99c794f18 07:12:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:12:06 + docker inspect -f . ci-base-image-arm64 07:12:06 . [Pipeline] withDockerContainer 07:12:07 prd-ubuntu18.04-docker-arm64-4c-16g-486 does not seem to be running inside a container 07:12:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/186 -v /w/workspace/device-sdk-go/186:/w/workspace/device-sdk-go/186:rw,z -v /w/workspace/device-sdk-go/186@tmp:/w/workspace/device-sdk-go/186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:12:07 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:12:09 $ docker top 16dd0910bc06c32a2ebd115ad6dfeea1429f538a32b7abe30f890091bdbedb63 -eo pid,comm [Pipeline] { [Pipeline] sh 07:12:10 + go version 07:12:10 go version go1.16.5 linux/arm64 [Pipeline] } 07:12:10 $ docker stop --time=1 16dd0910bc06c32a2ebd115ad6dfeea1429f538a32b7abe30f890091bdbedb63 07:12:12 $ docker rm -f 16dd0910bc06c32a2ebd115ad6dfeea1429f538a32b7abe30f890091bdbedb63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:12:12 + docker inspect -f . ci-base-image-arm64 07:12:12 . [Pipeline] withDockerContainer 07:12:13 prd-ubuntu18.04-docker-arm64-4c-16g-486 does not seem to be running inside a container 07:12:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/186 -v /w/workspace/device-sdk-go/186:/w/workspace/device-sdk-go/186:rw,z -v /w/workspace/device-sdk-go/186@tmp:/w/workspace/device-sdk-go/186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:12:14 $ docker top f89ce8a77568d8ab247a7f07ca61cf7f04cf467db3bbe205b4ba75da982a6435 -eo pid,comm [Pipeline] { [Pipeline] sh 07:12:15 + go mod tidy [Pipeline] sh 07:12:17 + make test 07:12:17 go mod tidy 07:12:17 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:12:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:12:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:12:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:12:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.067s coverage: 25.4% of statements 07:12:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:12:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.049s coverage: 28.1% of statements 07:12:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements 07:12:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.038s coverage: 9.0% of statements 07:12:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:12:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:12:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:12:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.056s coverage: 29.2% of statements 07:12:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:12:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.051s coverage: 83.3% of statements 07:12:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:12:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:12:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 58.0% of statements 07:12:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.818s coverage: 89.2% of statements 07:12:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 07:12:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.042s coverage: 5.0% of statements 07:12:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:12:34 GO111MODULE=on go vet ./... 07:12:39 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:12:53 gofmt -l . 07:12:53 [ "`gofmt -l .`" = "" ] 07:12:53 ./bin/test-attribution-txt.sh 07:12:53 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:12:53 $ docker stop --time=1 768eb77653a7d6025b09b261047c43a75dc16d6c045dd9a91d3925bba432ec40 07:12:54 $ docker rm -f 768eb77653a7d6025b09b261047c43a75dc16d6c045dd9a91d3925bba432ec40 [Pipeline] // withDockerContainer [Pipeline] sh 07:12:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:12:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:12:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:12:58 + ls -al . 07:12:58 total 208 07:12:58 drwxrwxr-x. 10 jenkins jenkins 4096 Jun 11 07:12 . 07:12:58 drwxrwxr-x. 4 jenkins jenkins 32 Jun 11 07:11 .. 07:12:58 drwxrwxr-x. 2 jenkins jenkins 64 Jun 11 07:11 bin 07:12:58 -rw-r--r--. 1 jenkins jenkins 126073 Jun 11 07:12 coverage.out 07:12:58 -rw-rw-r--. 1 jenkins jenkins 987 Jun 11 07:11 Dockerfile.build 07:12:58 -rw-rw-r--. 1 jenkins jenkins 140 Jun 11 07:11 .dockerignore 07:12:58 drwxrwxr-x. 5 jenkins jenkins 62 Jun 11 07:11 example 07:12:58 drwxrwxr-x. 8 jenkins jenkins 162 Jun 11 07:11 .git 07:12:58 drwxrwxr-x. 2 jenkins jenkins 103 Jun 11 07:11 .github 07:12:58 -rw-rw-r--. 1 jenkins jenkins 138 Jun 11 07:11 .gitignore 07:12:58 -rw-r--r--. 1 jenkins jenkins 576 Jun 11 07:12 go.mod 07:12:58 -rw-r--r--. 1 jenkins jenkins 20403 Jun 11 07:12 go.sum 07:12:58 drwxrwxr-x. 15 jenkins jenkins 224 Jun 11 07:11 internal 07:12:58 -rw-rw-r--. 1 jenkins jenkins 894 Jun 11 07:11 Jenkinsfile 07:12:58 -rw-rw-r--. 1 jenkins jenkins 11341 Jun 11 07:11 LICENSE 07:12:58 -rw-rw-r--. 1 jenkins jenkins 1026 Jun 11 07:11 Makefile 07:12:58 drwxrwxr-x. 4 jenkins jenkins 26 Jun 11 07:11 openapi 07:12:58 drwxrwxr-x. 5 jenkins jenkins 50 Jun 11 07:11 pkg 07:12:58 -rw-rw-r--. 1 jenkins jenkins 7652 Jun 11 07:11 README.md 07:12:58 -rw-rw-r--. 1 jenkins jenkins 6616 Jun 11 07:11 RELEASE-NOTES.txt 07:12:58 drwxrwxr-x. 4 jenkins jenkins 54 Jun 11 07:11 snap 07:12:58 -rw-rw-r--. 1 jenkins jenkins 12 Jun 11 07:08 VERSION 07:12:58 -rw-rw-r--. 1 jenkins jenkins 222 Jun 11 07:11 version.go [Pipeline] isUnix [Pipeline] sh 07:12:58 + 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=88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 --label arch=amd64 --label version=2.0.0-dev.78 . 07:12:58 Sending build context to Docker daemon 2.791MB 07:12:58 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 07:12:58 Step 2/23 : FROM ${BASE} AS builder 07:12:58 ---> 43f7bea859fb 07:12:58 Step 3/23 : WORKDIR /device-sdk-go 07:12:58 ---> Running in 6e458de5fae4 07:12:58 Removing intermediate container 6e458de5fae4 07:12:58 ---> b6ebb78d35f5 07:12:58 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:12:58 ---> Running in 05de869585a8 07:12:58 Removing intermediate container 05de869585a8 07:12:58 ---> fd6e8e4a726f 07:12:58 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:12:58 ---> Running in 26248d84c411 07:12:59 Removing intermediate container 26248d84c411 07:12:59 ---> 919d49c9fcb3 07:12:59 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:12:59 ---> Running in 0d379119032d 07:12:59 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 07:13:00 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 07:13:00 OK: 150 MiB in 46 packages 07:13:01 Removing intermediate container 0d379119032d 07:13:01 ---> e62997207bd0 07:13:01 Step 7/23 : COPY . . 07:13:01 ---> 4e84619d56a5 07:13:01 Step 8/23 : RUN go mod download 07:13:01 ---> Running in 1926f4836340 07:13:02 Removing intermediate container 1926f4836340 07:13:02 ---> e386a36aca03 07:13:02 Step 9/23 : RUN make build 07:13:02 ---> Running in 1cb1d8a52e8f 07:13:02 go mod tidy 07:13:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.78" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:13:12 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:13:13 Removing intermediate container 1cb1d8a52e8f 07:13:13 ---> cd3741b0412b 07:13:13 Step 10/23 : FROM alpine:3.12 07:13:14 3.12: Pulling from library/alpine 07:13:14 339de151aab4: Pulling fs layer 07:13:14 339de151aab4: Verifying Checksum 07:13:14 339de151aab4: Download complete 07:13:14 339de151aab4: Pull complete 07:13:14 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 07:13:14 Status: Downloaded newer image for alpine:3.12 07:13:14 ---> 13621d1b12d4 07:13:14 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:13:14 ---> Running in 573a75235efa 07:13:14 Removing intermediate container 573a75235efa 07:13:14 ---> a79f4ca34d24 07:13:14 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:13:15 ---> Running in 041e60adb110 07:13:15 Removing intermediate container 041e60adb110 07:13:15 ---> d1047bce1e47 07:13:15 Step 13/23 : RUN apk add --update --no-cache zeromq 07:13:15 ---> Running in 5a190a89a8d8 07:13:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:13:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:13:16 (1/5) Installing libgcc (9.3.0-r2) 07:13:16 (2/5) Installing libsodium (1.0.18-r0) 07:13:16 (3/5) Installing libstdc++ (9.3.0-r2) 07:13:17 (4/5) Installing libzmq (4.3.3-r0) 07:13:17 (5/5) Installing zeromq (4.3.3-r0) 07:13:17 Executing busybox-1.31.1-r20.trigger 07:13:17 OK: 8 MiB in 19 packages 07:13:18 Removing intermediate container 5a190a89a8d8 07:13:18 ---> 4001b87b573b 07:13:18 Step 14/23 : WORKDIR / 07:13:18 ---> Running in 4fdd266062bd 07:13:18 Removing intermediate container 4fdd266062bd 07:13:18 ---> 6f448c37ba91 07:13:18 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:13:18 ---> 748945122d74 07:13:18 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:13:18 ---> 154fc9f0712e 07:13:18 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:13:18 ---> 8ee80e4130ee 07:13:18 Step 18/23 : EXPOSE 59999 07:13:19 ---> Running in 62c6aef3c8f7 07:13:19 Removing intermediate container 62c6aef3c8f7 07:13:19 ---> 2fce28a2ec4f 07:13:19 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:13:19 ---> Running in 5bb5c7636e42 07:13:19 Removing intermediate container 5bb5c7636e42 07:13:19 ---> b55ecaec501f 07:13:19 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:13:19 ---> Running in b86bbcdd3cb2 07:13:19 Removing intermediate container b86bbcdd3cb2 07:13:19 ---> 65a48f0ac367 07:13:19 Step 21/23 : LABEL arch=amd64 07:13:19 ---> Running in aef0b06dd47d 07:13:19 Removing intermediate container aef0b06dd47d 07:13:19 ---> 6003fba35d95 07:13:19 Step 22/23 : LABEL git_sha=88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 07:13:19 ---> Running in 610faf535a06 07:13:19 Removing intermediate container 610faf535a06 07:13:19 ---> d839f39289c5 07:13:19 Step 23/23 : LABEL version=2.0.0-dev.78 07:13:19 ---> Running in 2a541dca647d 07:13:19 Removing intermediate container 2a541dca647d 07:13:19 ---> cb6346898eac 07:13:19 [Warning] One or more build-args [MAKE ARCH] were not consumed 07:13:19 Successfully built cb6346898eac 07:13:19 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 07:13:20 ---> job-cost.sh 07:13:20 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FDbp 07:13:30 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:13:42 lf-activate-venv(): INFO: Adding /tmp/venv-FDbp/bin to PATH 07:13:42 INFO: No Stack... 07:13:42 INFO: Retrieving Pricing Info for: v3-standard-2 07:13:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:13:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:13:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:13:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.305s coverage: 25.4% of statements 07:13:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:13:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.254s coverage: 28.1% of statements 07:13:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.278s coverage: 78.9% of statements 07:13:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.176s coverage: 9.0% of statements 07:13:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:13:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:13:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:13:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.302s coverage: 29.2% of statements 07:13:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:13:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.290s coverage: 83.3% of statements 07:13:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:13:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:13:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.340s coverage: 58.0% of statements 07:14:01 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.035s coverage: 89.2% of statements 07:14:01 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 07:14:01 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.181s coverage: 5.0% of statements 07:14:01 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:14:01 GO111MODULE=on go vet ./... 07:14:57 gofmt -l . 07:14:57 [ "`gofmt -l .`" = "" ] 07:14:57 ./bin/test-attribution-txt.sh 07:14:57 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:14:57 $ docker stop --time=1 f89ce8a77568d8ab247a7f07ca61cf7f04cf467db3bbe205b4ba75da982a6435 07:15:00 $ docker rm -f f89ce8a77568d8ab247a7f07ca61cf7f04cf467db3bbe205b4ba75da982a6435 [Pipeline] // withDockerContainer [Pipeline] sh 07:15:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:15:01 Warning: overwriting stash ‘coverage-report’ 07:15:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:15:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:15:02 + ls -al . 07:15:02 total 244 07:15:02 drwxrwxr-x 10 jenkins jenkins 4096 Jun 11 07:14 . 07:15:02 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 07:10 .. 07:15:02 -rw-rw-r-- 1 jenkins jenkins 140 Jun 11 07:10 .dockerignore 07:15:02 drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 07:10 .git 07:15:02 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 07:10 .github 07:15:02 -rw-rw-r-- 1 jenkins jenkins 138 Jun 11 07:10 .gitignore 07:15:02 -rw-rw-r-- 1 jenkins jenkins 987 Jun 11 07:10 Dockerfile.build 07:15:02 -rw-rw-r-- 1 jenkins jenkins 894 Jun 11 07:10 Jenkinsfile 07:15:02 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 11 07:10 LICENSE 07:15:02 -rw-rw-r-- 1 jenkins jenkins 1026 Jun 11 07:10 Makefile 07:15:02 -rw-rw-r-- 1 jenkins jenkins 7652 Jun 11 07:10 README.md 07:15:02 -rw-rw-r-- 1 jenkins jenkins 6616 Jun 11 07:10 RELEASE-NOTES.txt 07:15:02 -rw-rw-r-- 1 jenkins jenkins 12 Jun 11 07:08 VERSION 07:15:02 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 07:10 bin 07:15:02 -rw-r--r-- 1 jenkins jenkins 126073 Jun 11 07:14 coverage.out 07:15:02 drwxrwxr-x 5 jenkins jenkins 4096 Jun 11 07:10 example 07:15:02 -rw-r--r-- 1 jenkins jenkins 576 Jun 11 07:14 go.mod 07:15:02 -rw-r--r-- 1 jenkins jenkins 20403 Jun 11 07:12 go.sum 07:15:02 drwxrwxr-x 15 jenkins jenkins 4096 Jun 11 07:10 internal 07:15:02 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 07:10 openapi 07:15:02 drwxrwxr-x 5 jenkins jenkins 4096 Jun 11 07:10 pkg 07:15:02 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 07:10 snap 07:15:02 -rw-rw-r-- 1 jenkins jenkins 222 Jun 11 07:10 version.go [Pipeline] isUnix [Pipeline] sh 07:15:02 + 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=88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 --label arch=arm64 --label version=2.0.0-dev.78 . 07:15:03 Sending build context to Docker daemon 2.79MB 07:15:03 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 07:15:03 Step 2/23 : FROM ${BASE} AS builder 07:15:03 ---> 52a99c794f18 07:15:03 Step 3/23 : WORKDIR /device-sdk-go 07:15:03 ---> Running in 31c295a159d0 07:15:04 Removing intermediate container 31c295a159d0 07:15:04 ---> 35080b9c8f03 07:15:04 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:15:04 ---> Running in fc3e8ae68d7c 07:15:04 Removing intermediate container fc3e8ae68d7c 07:15:04 ---> 48fe8e5f2f92 07:15:04 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:15:04 ---> Running in 1ec18a6b760b 07:15:06 Removing intermediate container 1ec18a6b760b 07:15:06 ---> 81256d02f813 07:15:06 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:15:07 ---> Running in 6fce3324d8d0 07:15:08 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 07:15:09 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 07:15:10 OK: 139 MiB in 46 packages 07:15:11 Removing intermediate container 6fce3324d8d0 07:15:11 ---> 357b0fb7dba1 07:15:11 Step 7/23 : COPY . . 07:15:12 ---> c4447b6157a7 07:15:12 Step 8/23 : RUN go mod download 07:15:12 ---> Running in b4e1896fdc6f 07:15:15 Removing intermediate container b4e1896fdc6f 07:15:15 ---> d2f320f06836 07:15:15 Step 9/23 : RUN make build 07:15:15 ---> Running in 8fe3d8b4b5df 07:15:16 go mod tidy 07:15:17 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.78" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:15:49 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:15:50 Removing intermediate container 8fe3d8b4b5df 07:15:50 ---> 29930e4697be 07:15:50 Step 10/23 : FROM alpine:3.12 07:15:51 3.12: Pulling from library/alpine 07:15:51 d2f70382dc9a: Pulling fs layer 07:15:51 d2f70382dc9a: Download complete 07:15:52 d2f70382dc9a: Pull complete 07:15:52 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 07:15:52 Status: Downloaded newer image for alpine:3.12 07:15:52 ---> 9852663dfa18 07:15:52 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:15:52 ---> Running in 05aeef6f72d2 07:15:53 Removing intermediate container 05aeef6f72d2 07:15:53 ---> 17f625943f63 07:15:53 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:15:53 ---> Running in 66a538926c91 07:15:55 Removing intermediate container 66a538926c91 07:15:55 ---> 0feb9e571d8d 07:15:55 Step 13/23 : RUN apk add --update --no-cache zeromq 07:15:55 ---> Running in 7ffb1eecbff3 07:15:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:15:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:15:58 (1/5) Installing libgcc (9.3.0-r2) 07:15:58 (2/5) Installing libsodium (1.0.18-r0) 07:15:58 (3/5) Installing libstdc++ (9.3.0-r2) 07:15:58 (4/5) Installing libzmq (4.3.3-r0) 07:15:58 (5/5) Installing zeromq (4.3.3-r0) 07:15:58 Executing busybox-1.31.1-r20.trigger 07:15:58 OK: 8 MiB in 19 packages 07:15:59 Removing intermediate container 7ffb1eecbff3 07:15:59 ---> d2c718553080 07:15:59 Step 14/23 : WORKDIR / 07:16:00 ---> Running in 4f7213e6d5e5 07:16:00 Removing intermediate container 4f7213e6d5e5 07:16:00 ---> 9fca414862d6 07:16:00 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:16:01 ---> 260773e8484b 07:16:01 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:16:02 ---> 6c0bd19c6b87 07:16:02 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:16:03 ---> e50d273caff6 07:16:03 Step 18/23 : EXPOSE 59999 07:16:03 ---> Running in 16f03ec90db0 07:16:04 Removing intermediate container 16f03ec90db0 07:16:04 ---> 920b820ebd8d 07:16:04 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:16:04 ---> Running in 7b52dca3ad53 Error when executing always post condition: hudson.AbortException: script returned exit code 7 at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:659) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:605) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:549) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:16:04 Failed in branch amd64 07:16:05 Removing intermediate container 7b52dca3ad53 07:16:05 ---> e03348ae6f83 07:16:05 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:16:05 ---> Running in eec4ffa4627a 07:16:05 Removing intermediate container eec4ffa4627a 07:16:05 ---> a15379ba44a4 07:16:05 Step 21/23 : LABEL arch=arm64 07:16:05 ---> Running in 0f38568991b6 07:16:06 Removing intermediate container 0f38568991b6 07:16:06 ---> 227f072b06fb 07:16:06 Step 22/23 : LABEL git_sha=88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 07:16:06 ---> Running in 05f7b151ce0b 07:16:06 Removing intermediate container 05f7b151ce0b 07:16:06 ---> d6ebbc838c44 07:16:06 Step 23/23 : LABEL version=2.0.0-dev.78 07:16:07 ---> Running in adbeb48633ab 07:16:07 Removing intermediate container adbeb48633ab 07:16:07 ---> ba1b861b0879 07:16:07 [Warning] One or more build-args [MAKE ARCH] were not consumed 07:16:07 Successfully built ba1b861b0879 07:16:07 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 07:16:08 ---> job-cost.sh 07:16:08 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kiJf 07:16:47 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:18:24 lf-activate-venv(): INFO: Adding /tmp/venv-kiJf/bin to PATH 07:18:24 INFO: No Stack... 07:18:24 INFO: Retrieving Pricing Info for: v2-standard-4 07:18:24 INFO: Archiving Costs [Pipeline] sh 07:18:24 + cat /w/workspace/device-sdk-go/186/archives/cost.csv 07:18:24 + cut -d, -f6 [Pipeline] lock 07:18:24 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-186-stack-cost] 07:18:24 Resource [jenkins-edgexfoundry-device-sdk-go-master-186-stack-cost] did not exist. Created. 07:18:24 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-186-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:18:24 + echo total: 0.18000000715255737 [Pipeline] stash 07:18:25 Stashed 1 file(s) [Pipeline] } 07:18:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-186-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 07:18:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:18:28 ---> package-listing.sh 07:18:28 ++ facter osfamily 07:18:28 ++ tr '[:upper:]' '[:lower:]' 07:18:28 + OS_FAMILY=redhat 07:18:28 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 07:18:28 + START_PACKAGES=/tmp/packages_start.txt 07:18:28 + END_PACKAGES=/tmp/packages_end.txt 07:18:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:18:28 + PACKAGES=/tmp/packages_start.txt 07:18:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 07:18:28 + PACKAGES=/tmp/packages_end.txt 07:18:28 + case "${OS_FAMILY}" in 07:18:28 + rpm -qa 07:18:28 + sort 07:18:29 + '[' -f /tmp/packages_start.txt ']' 07:18:29 + '[' -f /tmp/packages_end.txt ']' 07:18:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:18:29 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 07:18:29 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 07:18:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 07:18:29 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:18:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:18:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:18:29 07:18:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:18:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:18:30 alpine: Pulling from edgex-lftools-log-publisher 07:18:30 df20fa9351a1: Pulling fs layer 07:18:30 36b3adc4ff6f: Pulling fs layer 07:18:30 8ad3a11d3b57: Pulling fs layer 07:18:30 46f8f816bc3b: Pulling fs layer 07:18:30 93b61091891f: Pulling fs layer 07:18:30 93b9cdb0e59b: Pulling fs layer 07:18:30 5e14af77c1be: Pulling fs layer 07:18:30 01666e4c0597: Pulling fs layer 07:18:30 aa168da1d23b: Pulling fs layer 07:18:30 46f8f816bc3b: Waiting 07:18:30 93b61091891f: Waiting 07:18:30 93b9cdb0e59b: Waiting 07:18:30 5e14af77c1be: Waiting 07:18:30 01666e4c0597: Waiting 07:18:30 aa168da1d23b: Waiting 07:18:30 36b3adc4ff6f: Verifying Checksum 07:18:30 36b3adc4ff6f: Download complete 07:18:30 46f8f816bc3b: Verifying Checksum 07:18:30 46f8f816bc3b: Download complete 07:18:30 df20fa9351a1: Verifying Checksum 07:18:30 df20fa9351a1: Download complete 07:18:30 93b9cdb0e59b: Verifying Checksum 07:18:30 93b9cdb0e59b: Download complete 07:18:30 93b61091891f: Verifying Checksum 07:18:30 93b61091891f: Download complete 07:18:30 5e14af77c1be: Verifying Checksum 07:18:30 5e14af77c1be: Download complete 07:18:30 01666e4c0597: Verifying Checksum 07:18:30 01666e4c0597: Download complete 07:18:30 8ad3a11d3b57: Verifying Checksum 07:18:30 8ad3a11d3b57: Download complete 07:18:30 df20fa9351a1: Pull complete 07:18:31 36b3adc4ff6f: Pull complete 07:18:31 8ad3a11d3b57: Pull complete 07:18:31 46f8f816bc3b: Pull complete 07:18:31 93b61091891f: Pull complete 07:18:31 93b9cdb0e59b: Pull complete 07:18:31 5e14af77c1be: Pull complete 07:18:32 01666e4c0597: Pull complete 07:18:32 aa168da1d23b: Verifying Checksum 07:18:32 aa168da1d23b: Download complete 07:18:37 aa168da1d23b: Pull complete 07:18:37 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:18:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:18:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:18:37 prd-centos7-docker-4c-2g-485 does not seem to be running inside a container 07:18:37 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:18:39 $ docker top 89fb6b5ecb5645c3bb265a7ca27845cc131da0692e517249ccbeba4dd300226e -eo pid,comm [Pipeline] { [Pipeline] sh 07:18:39 + touch /tmp/pre-build-complete [Pipeline] sh 07:18:40 + mkdir -p /var/log/sa [Pipeline] sh 07:18:40 + ls /var/log/sa-host 07:18:40 + sadf -c /var/log/sa-host/sa05 07:18:40 file_magic: OK 07:18:40 HZ: Using current value: 100 07:18:40 file_header: OK 07:18:40 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 07:18:40 Statistics: 07:18:40 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:18:40 File successfully converted to sysstat format version 12.2.1 07:18:40 + sadf -c /var/log/sa-host/sa11 07:18:40 file_magic: OK 07:18:40 HZ: Using current value: 100 07:18:40 file_header: OK 07:18:40 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 07:18:40 Statistics: 07:18:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:18:40 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:18:41 provisioning config files... 07:18:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config9116328005609164257tmp [Pipeline] { [Pipeline] echo 07:18:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:18:41 ---> create-netrc.sh [Pipeline] } 07:18:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:18:42 ---> python-tools-install.sh [Pipeline] echo 07:18:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:18:42 ---> sudo-logs.sh 07:18:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:18:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:18:42 ---> job-cost.sh 07:18:42 lf-activate-venv: SKIPPING 07:18:42 DEBUG: total: 0.18000000715255737 07:18:42 INFO: Retrieving Stack Cost... 07:18:44 INFO: Retrieving Pricing Info for: v3-standard-2 07:18:44 INFO: Archiving Costs [Pipeline] echo 07:18:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:18:45 ---> logs-deploy.sh 07:18:45 lf-activate-venv: SKIPPING 07:18:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/186 07:18:45 INFO: archiving workspace using pattern(s): 07:18:45 Archives upload complete. 07:18:45 INFO: archiving logs to Nexus 07:18:46 ---> uname -a: 07:18:46 Linux prd-centos7-docker-4c-2g-485.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 07:18:46 07:18:46 07:18:46 ---> lscpu: 07:18:46 Architecture: x86_64 07:18:46 CPU op-mode(s): 32-bit, 64-bit 07:18:46 Byte Order: Little Endian 07:18:46 Address sizes: 40 bits physical, 48 bits virtual 07:18:46 CPU(s): 2 07:18:46 On-line CPU(s) list: 0,1 07:18:46 Thread(s) per core: 1 07:18:46 Core(s) per socket: 1 07:18:46 Socket(s): 2 07:18:46 NUMA node(s): 1 07:18:46 Vendor ID: AuthenticAMD 07:18:46 CPU family: 23 07:18:46 Model: 49 07:18:46 Model name: AMD EPYC-Rome Processor 07:18:46 Stepping: 0 07:18:46 CPU MHz: 2800.000 07:18:46 BogoMIPS: 5600.00 07:18:46 Virtualization: AMD-V 07:18:46 Hypervisor vendor: KVM 07:18:46 Virtualization type: full 07:18:46 L1d cache: 64 KiB 07:18:46 L1i cache: 64 KiB 07:18:46 L2 cache: 1 MiB 07:18:46 L3 cache: 32 MiB 07:18:46 NUMA node0 CPU(s): 0,1 07:18:46 Vulnerability Itlb multihit: Not affected 07:18:46 Vulnerability L1tf: Not affected 07:18:46 Vulnerability Mds: Not affected 07:18:46 Vulnerability Meltdown: Not affected 07:18:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:18:46 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:18:46 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:18:46 Vulnerability Srbds: Not affected 07:18:46 Vulnerability Tsx async abort: Not affected 07:18:46 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 07:18:46 07:18:46 07:18:46 ---> nproc: 07:18:46 2 07:18:46 07:18:46 07:18:46 ---> df -h: 07:18:46 Filesystem Size Used Available Use% Mounted on 07:18:46 overlay 40.0G 7.6G 32.4G 19% / 07:18:46 tmpfs 64.0M 0 64.0M 0% /dev 07:18:46 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 07:18:46 shm 64.0M 0 64.0M 0% /dev/shm 07:18:46 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 07:18:46 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 07:18:46 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 07:18:46 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 07:18:46 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 07:18:46 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_master 07:18:46 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_master@tmp 07:18:46 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 07:18:46 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 07:18:46 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 07:18:46 07:18:46 07:18:46 ---> free -m: 07:18:46 total used free shared buff/cache available 07:18:46 Mem: 7821 971 4751 0 2097 6671 07:18:46 Swap: 1023 0 1023 07:18:46 07:18:46 07:18:46 ---> ip addr: 07:18:46 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:18:46 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:18:46 inet 127.0.0.1/8 scope host lo 07:18:46 valid_lft forever preferred_lft forever 07:18:46 inet6 ::1/128 scope host 07:18:46 valid_lft forever preferred_lft forever 07:18:46 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 07:18:46 link/ether fa:16:3e:41:85:d2 brd ff:ff:ff:ff:ff:ff 07:18:46 inet 10.30.123.90/23 brd 10.30.123.255 scope global dynamic eth0 07:18:46 valid_lft 85719sec preferred_lft 85719sec 07:18:46 inet6 fe80::f816:3eff:fe41:85d2/64 scope link 07:18:46 valid_lft forever preferred_lft forever 07:18:46 3: docker0: mtu 1500 qdisc noqueue state DOWN 07:18:46 link/ether 02:42:4a:3b:70:d9 brd ff:ff:ff:ff:ff:ff 07:18:46 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:18:46 valid_lft forever preferred_lft forever 07:18:46 inet6 fe80::42:4aff:fe3b:70d9/64 scope link 07:18:46 valid_lft forever preferred_lft forever 07:18:46 07:18:46 07:18:46 ---> sar -b -r -n DEV: 07:18:46 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/11/21 _x86_64_ (2 CPU) 07:18:46 07:18:46 07:07:14 LINUX RESTART (2 CPU) 07:18:46 07:18:46 07:08:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:18:46 07:09:02 20.20 0.65 19.55 0.00 352.70 3118.55 0.00 07:18:46 07:10:01 0.53 0.00 0.53 0.00 0.00 8.66 0.00 07:18:46 07:11:01 0.25 0.00 0.25 0.00 0.00 3.18 0.00 07:18:46 07:12:01 0.20 0.00 0.20 0.00 0.00 2.83 0.00 07:18:46 07:13:01 0.18 0.00 0.18 0.00 0.00 2.22 0.00 07:18:46 07:14:01 0.35 0.00 0.35 0.00 0.00 4.55 0.00 07:18:46 07:15:01 0.20 0.00 0.20 0.00 0.00 2.83 0.00 07:18:46 07:16:01 0.27 0.00 0.27 0.00 0.00 3.75 0.00 07:18:46 07:17:01 0.28 0.00 0.28 0.00 0.00 2.75 0.00 07:18:46 07:18:01 0.17 0.00 0.17 0.00 0.00 2.15 0.00 07:18:46 Average: 2.27 0.07 2.20 0.00 35.33 315.70 0.00 07:18:46 07:18:46 07:08:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:18:46 07:09:02 5464980 0 800764 10.00 2620 1740576 1265256 13.97 565320 1579516 20 07:18:46 07:10:01 5470764 0 794972 9.93 2620 1740584 1203348 13.29 561128 1579480 16 07:18:46 07:11:01 5470208 0 795528 9.93 2620 1740584 1203612 13.29 563096 1578960 8 07:18:46 07:12:01 5468664 0 797068 9.95 2620 1740588 1203648 13.29 564548 1578960 8 07:18:46 07:13:01 5467176 0 798548 9.97 2620 1740596 1203444 13.29 559888 1585288 16 07:18:46 07:14:01 5465784 0 799940 9.99 2620 1740596 1203348 13.29 560320 1585288 12 07:18:46 07:15:01 5465288 0 800428 9.99 2620 1740604 1203348 13.29 560708 1585448 16 07:18:46 07:16:01 5455588 0 810120 10.12 2620 1740612 1203492 13.29 570504 1585448 8 07:18:46 07:17:01 5455336 0 810368 10.12 2620 1740616 1203348 13.29 572448 1583696 16 07:18:46 07:18:01 5455076 0 810624 10.12 2620 1740620 1203444 13.29 572948 1583696 16 07:18:46 Average: 5463886 0 801836 10.01 2620 1740598 1209629 13.35 565091 1582578 14 07:18:46 07:18:46 07:08:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:18:46 07:09:02 eth0 73.77 64.22 360.02 13.82 0.00 0.00 0.00 0.00 07:18:46 07:09:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:09:02 docker0 15.21 10.74 2.21 28.40 0.00 0.00 0.00 0.00 07:18:46 07:10:01 eth0 0.66 0.07 0.06 0.01 0.00 0.00 0.00 0.00 07:18:46 07:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:11:01 eth0 0.98 0.43 0.32 0.21 0.00 0.00 0.00 0.00 07:18:46 07:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:12:01 eth0 3.17 1.65 3.23 0.29 0.00 0.00 0.00 0.00 07:18:46 07:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:13:01 eth0 0.33 0.25 0.14 0.08 0.00 0.00 0.00 0.00 07:18:46 07:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:14:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 07:18:46 07:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:15:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 07:18:46 07:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:16:01 eth0 0.50 0.32 0.27 0.17 0.00 0.00 0.00 0.00 07:18:46 07:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:17:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 0.00 07:18:46 07:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:18:01 eth0 0.23 0.20 0.08 0.07 0.00 0.00 0.00 0.00 07:18:46 07:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 07:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 Average: eth0 8.01 6.75 36.48 1.47 0.00 0.00 0.00 0.00 07:18:46 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:46 Average: docker0 1.52 1.08 0.22 2.84 0.00 0.00 0.00 0.00 07:18:46 07:18:46 07:18:46 ---> sar -P ALL: 07:18:46 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/11/21 _x86_64_ (2 CPU) 07:18:46 07:18:46 07:07:14 LINUX RESTART (2 CPU) 07:18:46 07:18:46 07:08:01 CPU %user %nice %system %iowait %steal %idle 07:18:46 07:09:02 all 2.71 0.00 1.21 0.86 0.04 95.18 07:18:46 07:09:02 0 2.65 0.00 1.06 0.67 0.05 95.57 07:18:46 07:09:02 1 2.77 0.00 1.37 1.05 0.03 94.78 07:18:46 07:10:01 all 0.08 0.00 0.03 0.01 0.03 99.84 07:18:46 07:10:01 0 0.02 0.00 0.05 0.00 0.03 99.90 07:18:46 07:10:01 1 0.15 0.00 0.02 0.02 0.03 99.78 07:18:46 07:11:01 all 0.11 0.00 0.03 0.00 0.03 99.84 07:18:46 07:11:01 0 0.03 0.00 0.03 0.00 0.02 99.92 07:18:46 07:11:01 1 0.18 0.00 0.02 0.00 0.03 99.77 07:18:46 07:12:01 all 0.08 0.00 0.03 0.00 0.03 99.87 07:18:46 07:12:01 0 0.05 0.00 0.03 0.00 0.02 99.90 07:18:46 07:12:01 1 0.10 0.00 0.03 0.00 0.03 99.83 07:18:46 07:13:01 all 0.09 0.00 0.14 0.00 0.03 99.74 07:18:46 07:13:01 0 0.07 0.00 0.13 0.00 0.02 99.78 07:18:46 07:13:01 1 0.12 0.00 0.15 0.00 0.03 99.70 07:18:46 07:14:01 all 0.06 0.00 0.02 0.00 0.03 99.90 07:18:46 07:14:01 0 0.02 0.00 0.02 0.00 0.02 99.95 07:18:46 07:14:01 1 0.10 0.00 0.02 0.00 0.03 99.85 07:18:46 07:15:01 all 0.08 0.00 0.03 0.00 0.03 99.86 07:18:46 07:15:01 0 0.03 0.00 0.03 0.00 0.03 99.90 07:18:46 07:15:01 1 0.13 0.00 0.02 0.00 0.03 99.82 07:18:46 07:16:01 all 0.06 0.00 0.03 0.00 0.03 99.89 07:18:46 07:16:01 0 0.02 0.00 0.02 0.00 0.02 99.95 07:18:46 07:16:01 1 0.10 0.00 0.03 0.00 0.03 99.83 07:18:46 07:17:01 all 0.08 0.00 0.02 0.00 0.03 99.87 07:18:46 07:17:01 0 0.03 0.00 0.03 0.00 0.02 99.92 07:18:46 07:17:01 1 0.13 0.00 0.00 0.00 0.03 99.83 07:18:46 07:18:01 all 0.03 0.00 0.02 0.00 0.03 99.92 07:18:46 07:18:01 0 0.03 0.00 0.02 0.00 0.02 99.93 07:18:46 07:18:01 1 0.03 0.00 0.02 0.00 0.05 99.90 07:18:46 Average: all 0.34 0.00 0.15 0.09 0.03 99.39 07:18:46 Average: 0 0.29 0.00 0.14 0.07 0.02 99.47 07:18:46 Average: 1 0.38 0.00 0.17 0.11 0.04 99.31 07:18:46 07:18:46 07:18:46