Pull request #763 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (79d1bc25d1c21b2da18e4f09c04ddaad42ebea4f) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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:docker-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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23861 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-763 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca Merge succeeded, producing 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca Checking out Revision 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca (PR-763) > git config core.sparsecheckout # timeout=10 > git checkout -f 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca # timeout=10 Commit message: "refactor: leverage go-mod-core-contracts constants" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:04:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:04:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:04:51 ========================================================= 01:04:51 EdgeX Global Pipelines Version Info 01:04:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 959b1dec2bdc5855b867e6815730988ac415055a # timeout=10 01:04:53 ------------------- 01:04:53 stable info: 01:04:53 ------------------- 01:04:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:04:53 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 01:04:53 Message: update stable to v1.0.179 01:04:54 ------------------- 01:04:54 experimental info: 01:04:54 ------------------- 01:04:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:04:54 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 01:04:54 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:04:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:04:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:04:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:04:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:04:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:04:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 01:04:55 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:04:55 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 01:04:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:04:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:04:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:04:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 01:04:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:04:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:04:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:04:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:04:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:04:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:04:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:04:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:04:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:04:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 01:04:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:04:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:04:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:04:57 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 01:04:57 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 01:04:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-763 [Pipeline] echo 01:04:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-763 [Pipeline] echo 01:04:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-763 [Pipeline] echo 01:04:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca [Pipeline] echo 01:04:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6314f6a [Pipeline] echo 01:04:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:04:58 provisioning config files... 01:04:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config3887072142212479709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:59 ---> docker-login.sh 01:04:59 nexus3.edgexfoundry.org:10001 01:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:00 Configure a credential helper to remove this warning. See 01:05:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:00 01:05:00 Login Succeeded 01:05:00 nexus3.edgexfoundry.org:10002 01:05:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:01 Configure a credential helper to remove this warning. See 01:05:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:01 01:05:01 Login Succeeded 01:05:01 nexus3.edgexfoundry.org:10003 01:05:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:01 Configure a credential helper to remove this warning. See 01:05:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:01 01:05:01 Login Succeeded 01:05:01 nexus3.edgexfoundry.org:10004 01:05:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:02 Configure a credential helper to remove this warning. See 01:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:02 01:05:02 Login Succeeded 01:05:02 docker.io 01:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:02 Configure a credential helper to remove this warning. See 01:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:02 01:05:02 Login Succeeded 01:05:02 ---> docker-login.sh ends [Pipeline] } 01:05:02 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:05:03 + git log --format=format:%s -1 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca [Pipeline] echo 01:05:03 GIT_COMMIT: 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca, Commit Message: refactor: leverage go-mod-core-contracts constants [Pipeline] echo 01:05:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:05:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:05:05 01:05:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:05:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:05:05 latest: Pulling from edgex-devops/git-semver 01:05:05 31603596830f: Pulling fs layer 01:05:05 2a8b12db71e7: Pulling fs layer 01:05:05 6ca5941a6612: Pulling fs layer 01:05:05 ecc8261a40a4: Pulling fs layer 01:05:05 ecc8261a40a4: Waiting 01:05:05 2a8b12db71e7: Verifying Checksum 01:05:05 2a8b12db71e7: Download complete 01:05:05 31603596830f: Verifying Checksum 01:05:05 31603596830f: Download complete 01:05:05 ecc8261a40a4: Verifying Checksum 01:05:05 ecc8261a40a4: Download complete 01:05:06 6ca5941a6612: Verifying Checksum 01:05:06 6ca5941a6612: Download complete 01:05:06 31603596830f: Pull complete 01:05:06 2a8b12db71e7: Pull complete 01:05:07 6ca5941a6612: Pull complete 01:05:08 ecc8261a40a4: Pull complete 01:05:08 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 01:05:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:05:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:05:08 prd-centos7-docker-4c-2g-23861 does not seem to be running inside a container 01:05:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@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:10004/edgex-devops/git-semver:latest cat 01:05:11 $ docker top 96b4af824e53e1cd11362d20a359877f8a9f0a50ec476c4174372f276bfd2df2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:05:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:05:12 [ssh-agent] Looking for ssh-agent implementation... 01:05:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:05:12 $ docker exec 96b4af824e53e1cd11362d20a359877f8a9f0a50ec476c4174372f276bfd2df2 ssh-agent 01:05:13 SSH_AUTH_SOCK=/tmp/ssh-FcFwKJt9DWOc/agent.11 01:05:13 SSH_AGENT_PID=16 01:05:13 Running ssh-add (command line suppressed) 01:05:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_4918941289146743067.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_4918941289146743067.key) 01:05:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:05:14 + git tag --points-at HEAD [Pipeline] } 01:05:14 $ docker exec --env ******** --env ******** 96b4af824e53e1cd11362d20a359877f8a9f0a50ec476c4174372f276bfd2df2 ssh-agent -k 01:05:15 unset SSH_AUTH_SOCK; 01:05:15 unset SSH_AGENT_PID; 01:05:15 echo Agent pid 16 killed; 01:05:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:05:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:05:15 [ssh-agent] Looking for ssh-agent implementation... 01:05:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:05:16 $ docker exec 96b4af824e53e1cd11362d20a359877f8a9f0a50ec476c4174372f276bfd2df2 ssh-agent 01:05:16 SSH_AUTH_SOCK=/tmp/ssh-nlheP4nO5YLq/agent.44 01:05:16 SSH_AGENT_PID=50 01:05:16 Running ssh-add (command line suppressed) 01:05:16 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_117776094929385825.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_117776094929385825.key) 01:05:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:05:17 + git semver init 01:05:17 # -> Open(): unable to determine branch for HEAD 01:05:17 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.git 01:05:17 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-763 01:05:17 # $SEMVER_REMOTE_NAME = origin 01:05:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:05:17 # $SEMVER_USER_NAME = edgex-jenkins 01:05:17 # $SEMVER_BRANCH = PR-763 01:05:17 # $SEMVER_TEMP = /tmp/semver-443952314 01:05:17 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 01:05:18 # '/tmp/semver-443952314' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver' 01:05:18 # -> Force: false 01:05:18 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver [Pipeline] } 01:05:18 $ docker exec --env ******** --env ******** 96b4af824e53e1cd11362d20a359877f8a9f0a50ec476c4174372f276bfd2df2 ssh-agent -k 01:05:19 unset SSH_AUTH_SOCK; 01:05:19 unset SSH_AGENT_PID; 01:05:19 echo Agent pid 50 killed; 01:05:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:05:19 + git semver [Pipeline] } 01:05:19 $ docker stop --time=1 96b4af824e53e1cd11362d20a359877f8a9f0a50ec476c4174372f276bfd2df2 01:05:21 $ docker rm -f 96b4af824e53e1cd11362d20a359877f8a9f0a50ec476c4174372f276bfd2df2 [Pipeline] // withDockerContainer [Pipeline] sh 01:05:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:05:24 Stashed 1 file(s) [Pipeline] echo 01:05:24 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 01:05:39 Still waiting to schedule task 01:05:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:05:39 Still waiting to schedule task 01:05:39 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 01:08:48 Running on prd-centos7-docker-4c-2g-23863 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws 01:08:48 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 01:08:58 using credential edgex-jenkins-ssh 01:08:58 Cloning the remote Git repository 01:08:58 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:08:58 > git init /w/workspace/device-sdk-go/7 # timeout=10 01:08:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:08:58 > git --version # timeout=10 01:08:58 > git --version # 'git version 2.24.3' 01:08:58 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:08:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:09:00 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca 01:09:01 Merge succeeded, producing 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca 01:09:01 Checking out Revision 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca (PR-763) 01:08:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:09:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:09:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:09:00 using GIT_SSH to set credentials SSH Credentials for GitHub 01:09:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:09:00 > git config core.sparsecheckout # timeout=10 01:09:00 > git checkout -f 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca # timeout=10 01:09:00 > git remote # timeout=10 01:09:00 > git config --get remote.origin.url # timeout=10 01:09:00 using GIT_SSH to set credentials SSH Credentials for GitHub 01:09:00 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 01:09:01 > git rev-parse HEAD^{commit} # timeout=10 01:09:01 > git config core.sparsecheckout # timeout=10 01:09:01 > git checkout -f 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca # timeout=10 01:09:02 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23864 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws 01:09:02 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 01:09:05 Commit message: "refactor: leverage go-mod-core-contracts constants" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:09:07 using credential edgex-jenkins-ssh 01:09:07 Cloning the remote Git repository 01:09:07 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 01:09:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:09:07 > git init /w/workspace/device-sdk-go/7 # timeout=10 01:09:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:09:07 > git --version # timeout=10 01:09:07 > git --version # 'git version 2.17.1' 01:09:07 using GIT_SSH to set credentials SSH Credentials for GitHub 01:09:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:09:08 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 01:09:09 + sudo service docker restart 01:09:09 + true 01:09:09 Redirecting to /bin/systemctl restart docker.service 01:09:09 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca 01:09:09 Merge succeeded, producing 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca 01:09:09 Checking out Revision 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca (PR-763) 01:09:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:09:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:09:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:09:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:09:08 using GIT_SSH to set credentials SSH Credentials for GitHub 01:09:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:09:09 > git config core.sparsecheckout # timeout=10 01:09:09 > git checkout -f 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca # timeout=10 01:09:09 > git remote # timeout=10 01:09:09 > git config --get remote.origin.url # timeout=10 01:09:09 using GIT_SSH to set credentials SSH Credentials for GitHub 01:09:09 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 01:09:09 > git rev-parse HEAD^{commit} # timeout=10 01:09:09 > git config core.sparsecheckout # timeout=10 01:09:09 > git checkout -f 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:09:11 provisioning config files... 01:09:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config8045033457975422330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:12 ---> docker-login.sh 01:09:12 nexus3.edgexfoundry.org:10001 01:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:13 Configure a credential helper to remove this warning. See 01:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:13 01:09:13 Login Succeeded 01:09:13 nexus3.edgexfoundry.org:10002 01:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:13 Configure a credential helper to remove this warning. See 01:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:13 01:09:13 Login Succeeded 01:09:13 nexus3.edgexfoundry.org:10003 01:09:14 Commit message: "refactor: leverage go-mod-core-contracts constants" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 01:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:14 Configure a credential helper to remove this warning. See 01:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:14 01:09:14 Login Succeeded 01:09:14 nexus3.edgexfoundry.org:10004 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:15 Configure a credential helper to remove this warning. See 01:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:15 01:09:15 Login Succeeded 01:09:15 docker.io 01:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:15 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 01:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:15 Configure a credential helper to remove this warning. See 01:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:15 01:09:15 Login Succeeded 01:09:15 ---> docker-login.sh ends [Pipeline] } 01:09:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv 01:09:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] unstash [Pipeline] sh 01:09:16 + + true 01:09:16 sudo service docker restart [Pipeline] echo 01:09:16 ========================================================= 01:09:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 01:09:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:09:16 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 01:09:17 Sending build context to Docker daemon 2.562MB 01:09:17 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 01:09:17 Step 2/8 : FROM ${BASE} 01:09:17 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 01:09:17 188c0c94c7c5: Pulling fs layer 01:09:17 0ef7d3d256c8: Pulling fs layer 01:09:17 de9db76c5a1d: Pulling fs layer 01:09:17 bca2f99d35d6: Pulling fs layer 01:09:17 93359f2a8cfa: Pulling fs layer 01:09:17 7c6f9722023f: Pulling fs layer 01:09:17 a35cf1a2eb13: Pulling fs layer 01:09:17 bca2f99d35d6: Waiting 01:09:17 93359f2a8cfa: Waiting 01:09:17 7c6f9722023f: Waiting 01:09:17 a35cf1a2eb13: Waiting 01:09:17 de9db76c5a1d: Verifying Checksum 01:09:17 de9db76c5a1d: Download complete 01:09:17 0ef7d3d256c8: Verifying Checksum 01:09:17 0ef7d3d256c8: Download complete 01:09:17 93359f2a8cfa: Verifying Checksum 01:09:17 93359f2a8cfa: Download complete 01:09:19 7c6f9722023f: Verifying Checksum 01:09:19 7c6f9722023f: Download complete 01:09:19 188c0c94c7c5: Verifying Checksum 01:09:19 188c0c94c7c5: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:09:19 provisioning config files... 01:09:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config4369707422317504920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:19 ---> docker-login.sh 01:09:19 nexus3.edgexfoundry.org:10001 01:09:20 188c0c94c7c5: Pull complete 01:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:20 Configure a credential helper to remove this warning. See 01:09:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:20 01:09:20 Login Succeeded 01:09:20 nexus3.edgexfoundry.org:10002 01:09:20 0ef7d3d256c8: Pull complete 01:09:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:21 de9db76c5a1d: Pull complete 01:09:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:21 Configure a credential helper to remove this warning. See 01:09:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:21 01:09:21 Login Succeeded 01:09:21 nexus3.edgexfoundry.org:10003 01:09:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:21 Configure a credential helper to remove this warning. See 01:09:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:21 01:09:21 Login Succeeded 01:09:21 nexus3.edgexfoundry.org:10004 01:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:22 Configure a credential helper to remove this warning. See 01:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:22 01:09:22 Login Succeeded 01:09:22 docker.io 01:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:23 Configure a credential helper to remove this warning. See 01:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:23 01:09:23 Login Succeeded 01:09:23 ---> docker-login.sh ends [Pipeline] } 01:09:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:09:23 ========================================================= 01:09:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 01:09:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:09:24 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 01:09:24 Sending build context to Docker daemon 2.561MB 01:09:24 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 01:09:24 Step 2/8 : FROM ${BASE} 01:09:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:09:24 5f621e34cdf4: Pulling fs layer 01:09:24 a4357932f1b6: Pulling fs layer 01:09:24 18c013af1878: Pulling fs layer 01:09:24 00ac8860ef70: Pulling fs layer 01:09:24 63d7cb157983: Pulling fs layer 01:09:24 b116817d02f9: Pulling fs layer 01:09:24 745a02a5169b: Pulling fs layer 01:09:24 00ac8860ef70: Waiting 01:09:24 b116817d02f9: Waiting 01:09:24 63d7cb157983: Waiting 01:09:24 745a02a5169b: Waiting 01:09:24 18c013af1878: Verifying Checksum 01:09:24 18c013af1878: Download complete 01:09:24 a4357932f1b6: Verifying Checksum 01:09:24 a4357932f1b6: Download complete 01:09:24 63d7cb157983: Verifying Checksum 01:09:24 63d7cb157983: Download complete 01:09:25 b116817d02f9: Verifying Checksum 01:09:25 b116817d02f9: Download complete 01:09:25 5f621e34cdf4: Verifying Checksum 01:09:25 5f621e34cdf4: Download complete 01:09:26 5f621e34cdf4: Pull complete 01:09:26 a35cf1a2eb13: Verifying Checksum 01:09:26 a35cf1a2eb13: Download complete 01:09:27 a4357932f1b6: Pull complete 01:09:27 18c013af1878: Pull complete 01:09:28 745a02a5169b: Verifying Checksum 01:09:28 745a02a5169b: Download complete 01:09:28 bca2f99d35d6: Verifying Checksum 01:09:28 bca2f99d35d6: Download complete 01:09:29 00ac8860ef70: Verifying Checksum 01:09:29 00ac8860ef70: Download complete 01:09:39 00ac8860ef70: Pull complete 01:09:39 63d7cb157983: Pull complete 01:09:40 b116817d02f9: Pull complete 01:09:41 bca2f99d35d6: Pull complete 01:09:41 93359f2a8cfa: Pull complete 01:09:41 7c6f9722023f: Pull complete 01:09:43 745a02a5169b: Pull complete 01:09:44 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 01:09:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 01:09:44 ---> b7e6874047d6 01:09:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:09:46 ---> Running in e7bb001d6451 01:09:47 Removing intermediate container e7bb001d6451 01:09:47 ---> aa3b1511fb2a 01:09:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:09:47 ---> Running in 2caab1678774 01:09:48 a35cf1a2eb13: Pull complete 01:09:48 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 01:09:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 01:09:48 ---> a62c8e92a672 01:09:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:09:48 ---> Running in 78f635b80054 01:09:48 Removing intermediate container 78f635b80054 01:09:48 ---> 017043c5a7d5 01:09:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:09:48 ---> Running in ebea22e5b28f 01:09:49 Removing intermediate container ebea22e5b28f 01:09:49 ---> a0a0b4f8b5e9 01:09:49 Step 5/8 : RUN apk add --update --no-cache make git 01:09:49 ---> Running in 86ee4b11ec93 01:09:50 Removing intermediate container 2caab1678774 01:09:50 ---> 4100297d77e6 01:09:50 Step 5/8 : RUN apk add --update --no-cache make git 01:09:50 ---> Running in 5892116700d6 01:09:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:09:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:09:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:09:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:09:52 OK: 142 MiB in 39 packages 01:09:52 OK: 166 MiB in 39 packages 01:09:53 Removing intermediate container 86ee4b11ec93 01:09:53 ---> 072500e9ee66 01:09:53 Step 6/8 : WORKDIR /device-sdk-go 01:09:53 ---> Running in 29e2e981f9e9 01:09:53 Removing intermediate container 5892116700d6 01:09:53 ---> ff3640a304b5 01:09:53 Step 6/8 : WORKDIR /device-sdk-go 01:09:53 ---> Running in 3eba1bda37df 01:09:53 Removing intermediate container 29e2e981f9e9 01:09:53 ---> 22b9c088dfb8 01:09:53 Step 7/8 : COPY . . 01:09:54 Removing intermediate container 3eba1bda37df 01:09:54 ---> 96397376e1e8 01:09:54 Step 7/8 : COPY . . 01:09:55 ---> 9185818de1f3 01:09:55 Step 8/8 : RUN go mod download 01:09:55 ---> Running in a63cbbe11acb 01:09:55 ---> b5247c2a0991 01:09:55 Step 8/8 : RUN go mod download 01:09:55 ---> Running in 4956c3ec7bdf 01:10:17 Removing intermediate container a63cbbe11acb 01:10:17 ---> 67532b059f0b 01:10:17 Successfully built 67532b059f0b 01:10:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:10:18 + docker inspect -f . ci-base-image-arm64 01:10:18 . [Pipeline] withDockerContainer 01:10:18 prd-ubuntu18.04-docker-arm64-4c-16g-23864 does not seem to be running inside a container 01:10:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:10:20 $ docker top 42093076b4c25a7a428f0eaf0227755c31218bc7c15a2e68a95d65f38403a47e -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:21 + go version 01:10:21 go version go1.15.5 linux/arm64 [Pipeline] } 01:10:21 $ docker stop --time=1 42093076b4c25a7a428f0eaf0227755c31218bc7c15a2e68a95d65f38403a47e 01:10:23 $ docker rm -f 42093076b4c25a7a428f0eaf0227755c31218bc7c15a2e68a95d65f38403a47e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:10:24 + docker inspect -f . ci-base-image-arm64 01:10:24 . [Pipeline] withDockerContainer 01:10:24 prd-ubuntu18.04-docker-arm64-4c-16g-23864 does not seem to be running inside a container 01:10:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:10:26 $ docker top 9e68e89654d1c99f1fb92b11f15f70cc3dfcf0715540c5627b1006d033aa62e0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:27 + make test 01:10:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:10:28 Removing intermediate container 4956c3ec7bdf 01:10:28 ---> e4f2c3ba3dc0 01:10:28 Successfully built e4f2c3ba3dc0 01:10:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:10:29 + docker inspect -f . ci-base-image-x86_64 01:10:29 . [Pipeline] withDockerContainer 01:10:30 prd-centos7-docker-4c-2g-23863 does not seem to be running inside a container 01:10:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:10:32 $ docker top 3a04a2a71902cba8e39746c1258d1884b02b2ae70b32222811a4c6b5bb469520 -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:33 + go version 01:10:33 go version go1.15.5 linux/amd64 [Pipeline] } 01:10:33 $ docker stop --time=1 3a04a2a71902cba8e39746c1258d1884b02b2ae70b32222811a4c6b5bb469520 01:10:34 $ docker rm -f 3a04a2a71902cba8e39746c1258d1884b02b2ae70b32222811a4c6b5bb469520 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:10:35 + docker inspect -f . ci-base-image-x86_64 01:10:35 . [Pipeline] withDockerContainer 01:10:36 prd-centos7-docker-4c-2g-23863 does not seem to be running inside a container 01:10:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:10:37 $ docker top 4ae815751e84ab56f4ef2ee00387ff2a1d2a175500ce840af1a47df7a72638a3 -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:37 + make test 01:10:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:10:49 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:10:53 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:11:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:11:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:11:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:11:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.256s coverage: 19.4% of statements 01:11:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:11:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:11:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:11:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.143s coverage: 19.4% of statements 01:11:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.697s coverage: 97.1% of statements 01:11:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.159s coverage: 97.1% of statements 01:12:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.139s coverage: 9.4% of statements 01:12:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.135s coverage: 21.7% of statements 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:12:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.617s coverage: 43.6% of statements 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 01:12:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.773s coverage: 68.9% of statements 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:12:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.190s coverage: 53.8% of statements 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 01:12:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.176s coverage: 25.2% of statements 01:12:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.753s coverage: 83.5% of statements 01:12:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 4.2% of statements 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:12:03 GO111MODULE=on go vet ./... 01:12:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.118s coverage: 9.4% of statements 01:12:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.155s coverage: 21.7% of statements 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:12:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.552s coverage: 43.6% of statements 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 01:12:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.570s coverage: 68.9% of statements 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:12:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.346s coverage: 53.8% of statements 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 01:12:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.264s coverage: 25.2% of statements 01:12:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.609s coverage: 83.5% of statements 01:12:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.097s coverage: 4.2% of statements 01:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:12:03 GO111MODULE=on go vet ./... 01:12:22 gofmt -l . 01:12:22 internal/v2/application/callback.go 01:12:22 [ "`gofmt -l .`" = "" ] 01:12:22 make: *** [Makefile:35: test] Error 1 [Pipeline] } 01:12:22 $ docker stop --time=1 4ae815751e84ab56f4ef2ee00387ff2a1d2a175500ce840af1a47df7a72638a3 01:12:25 $ docker rm -f 4ae815751e84ab56f4ef2ee00387ff2a1d2a175500ce840af1a47df7a72638a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:12:27 Failed in branch amd64 01:12:42 gofmt -l . 01:12:42 internal/v2/application/callback.go 01:12:42 [ "`gofmt -l .`" = "" ] 01:12:42 make: *** [Makefile:35: test] Error 1 [Pipeline] } 01:12:42 $ docker stop --time=1 9e68e89654d1c99f1fb92b11f15f70cc3dfcf0715540c5627b1006d033aa62e0 01:12:44 $ docker rm -f 9e68e89654d1c99f1fb92b11f15f70cc3dfcf0715540c5627b1006d033aa62e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:12:46 Failed in branch arm64 [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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 01:12:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:12:49 ---> package-listing.sh 01:12:49 ++ tr '[:upper:]' '[:lower:]' 01:12:49 ++ facter osfamily 01:12:50 + OS_FAMILY=redhat 01:12:50 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-763 01:12:50 + START_PACKAGES=/tmp/packages_start.txt 01:12:50 + END_PACKAGES=/tmp/packages_end.txt 01:12:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:12:50 + PACKAGES=/tmp/packages_start.txt 01:12:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' 01:12:50 + PACKAGES=/tmp/packages_end.txt 01:12:50 + case "${OS_FAMILY}" in 01:12:50 + rpm -qa 01:12:50 + sort 01:12:55 + '[' -f /tmp/packages_start.txt ']' 01:12:55 + '[' -f /tmp/packages_end.txt ']' 01:12:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:12:55 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' 01:12:55 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ 01:12:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ [Pipeline] echo 01:12:55 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-763/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:12:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:12:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:12:56 01:12:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:12:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:12:57 alpine: Pulling from edgex-lftools-log-publisher 01:12:57 df20fa9351a1: Pulling fs layer 01:12:57 36b3adc4ff6f: Pulling fs layer 01:12:57 8ad3a11d3b57: Pulling fs layer 01:12:57 46f8f816bc3b: Pulling fs layer 01:12:57 93b61091891f: Pulling fs layer 01:12:57 93b9cdb0e59b: Pulling fs layer 01:12:57 5e14af77c1be: Pulling fs layer 01:12:57 01666e4c0597: Pulling fs layer 01:12:57 aa168da1d23b: Pulling fs layer 01:12:57 93b9cdb0e59b: Waiting 01:12:57 46f8f816bc3b: Waiting 01:12:57 5e14af77c1be: Waiting 01:12:57 93b61091891f: Waiting 01:12:57 01666e4c0597: Waiting 01:12:57 aa168da1d23b: Waiting 01:12:57 36b3adc4ff6f: Verifying Checksum 01:12:57 36b3adc4ff6f: Download complete 01:12:57 46f8f816bc3b: Verifying Checksum 01:12:57 46f8f816bc3b: Download complete 01:12:57 df20fa9351a1: Verifying Checksum 01:12:57 df20fa9351a1: Download complete 01:12:57 93b9cdb0e59b: Verifying Checksum 01:12:57 93b9cdb0e59b: Download complete 01:12:57 5e14af77c1be: Verifying Checksum 01:12:57 5e14af77c1be: Download complete 01:12:57 01666e4c0597: Verifying Checksum 01:12:57 01666e4c0597: Download complete 01:12:58 8ad3a11d3b57: Verifying Checksum 01:12:58 8ad3a11d3b57: Download complete 01:12:58 df20fa9351a1: Pull complete 01:12:58 36b3adc4ff6f: Pull complete 01:13:00 8ad3a11d3b57: Pull complete 01:13:00 46f8f816bc3b: Pull complete 01:13:01 93b61091891f: Pull complete 01:13:01 93b9cdb0e59b: Pull complete 01:13:01 5e14af77c1be: Pull complete 01:13:02 01666e4c0597: Pull complete 01:13:02 aa168da1d23b: Verifying Checksum 01:13:02 aa168da1d23b: Download complete 01:13:15 aa168da1d23b: Pull complete 01:13:15 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 01:13:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:13:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:13:15 prd-centos7-docker-4c-2g-23861 does not seem to be running inside a container 01:13:15 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-763/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:13:19 $ docker top b902bb9ca61e950f77d090b4b5a253e92b88348de51c50b0408354402795f329 -eo pid,comm [Pipeline] { [Pipeline] sh 01:13:19 + touch /tmp/pre-build-complete [Pipeline] sh 01:13:19 + mkdir -p /var/log/sa [Pipeline] sh 01:13:20 + ls /var/log/sa-host 01:13:20 + sadf -c /var/log/sa-host/sa23 01:13:20 file_magic: OK 01:13:20 HZ: Using current value: 100 01:13:20 file_header: OK 01:13:20 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 01:13:20 Statistics: 01:13:20 Hnuu...uuuununununu... 01:13:20 File successfully converted to sysstat format version 12.2.1 01:13:20 + sadf -c /var/log/sa-host/sa29 01:13:20 file_magic: OK 01:13:20 HZ: Using current value: 100 01:13:20 file_header: OK 01:13:20 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 01:13:20 Statistics: 01:13:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:13:20 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:13:21 provisioning config files... 01:13:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config3041942891963778110tmp [Pipeline] { [Pipeline] echo 01:13:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:13:22 ---> create-netrc.sh [Pipeline] } 01:13:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:13:22 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:13:22 ---> python-tools-install.sh [Pipeline] echo 01:13:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:13:23 ---> sudo-logs.sh 01:13:23 Archiving 'sudo' log.. [Pipeline] echo 01:13:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:13:24 ---> job-cost.sh 01:13:24 lf-activate-venv: SKIPPING 01:13:24 INFO: No Stack... 01:13:25 INFO: Retrieving Pricing Info for: v1-standard-2 01:13:25 INFO: Archiving Costs [Pipeline] echo 01:13:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:13:25 ---> logs-deploy.sh 01:13:25 lf-activate-venv: SKIPPING 01:13:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-763/7 01:13:25 INFO: archiving workspace using pattern(s): 01:13:29 Archives upload complete. 01:13:29 INFO: archiving logs to Nexus 01:13:30 ---> uname -a: 01:13:30 Linux prd-centos7-docker-4c-2g-23861.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 01:13:30 01:13:30 01:13:30 ---> lscpu: 01:13:30 Architecture: x86_64 01:13:30 CPU op-mode(s): 32-bit, 64-bit 01:13:30 Byte Order: Little Endian 01:13:30 Address sizes: 40 bits physical, 48 bits virtual 01:13:30 CPU(s): 4 01:13:30 On-line CPU(s) list: 0-3 01:13:30 Thread(s) per core: 1 01:13:30 Core(s) per socket: 1 01:13:30 Socket(s): 4 01:13:30 NUMA node(s): 1 01:13:30 Vendor ID: GenuineIntel 01:13:30 CPU family: 6 01:13:30 Model: 44 01:13:30 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 01:13:30 Stepping: 1 01:13:30 CPU MHz: 2933.438 01:13:30 BogoMIPS: 5866.87 01:13:30 Virtualization: VT-x 01:13:30 Hypervisor vendor: KVM 01:13:30 Virtualization type: full 01:13:30 L1d cache: 128 KiB 01:13:30 L1i cache: 128 KiB 01:13:30 L2 cache: 16 MiB 01:13:30 L3 cache: 64 MiB 01:13:30 NUMA node0 CPU(s): 0-3 01:13:30 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 01:13:30 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 01:13:30 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 01:13:30 Vulnerability Meltdown: Mitigation; PTI 01:13:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:13:30 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:13:30 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:13:30 Vulnerability Srbds: Not affected 01:13:30 Vulnerability Tsx async abort: Not affected 01:13:30 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 01:13:30 01:13:30 01:13:30 ---> nproc: 01:13:30 4 01:13:30 01:13:30 01:13:30 ---> df -h: 01:13:30 Filesystem Size Used Available Use% Mounted on 01:13:30 overlay 50.0G 7.3G 42.7G 15% / 01:13:30 tmpfs 64.0M 0 64.0M 0% /dev 01:13:30 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 01:13:30 shm 64.0M 0 64.0M 0% /dev/shm 01:13:30 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 01:13:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 01:13:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 01:13:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 01:13:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 01:13:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 01:13:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 01:13:30 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 01:13:30 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-763 01:13:30 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp 01:13:30 01:13:30 01:13:30 ---> free -m: 01:13:30 total used free shared buff/cache available 01:13:30 Mem: 1837 697 97 0 1042 1035 01:13:30 Swap: 1023 1 1022 01:13:30 01:13:30 01:13:30 ---> ip addr: 01:13:30 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 01:13:30 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 01:13:30 inet 127.0.0.1/8 scope host lo 01:13:30 valid_lft forever preferred_lft forever 01:13:30 inet6 ::1/128 scope host 01:13:30 valid_lft forever preferred_lft forever 01:13:30 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 01:13:30 link/ether fa:16:3e:2c:55:8b brd ff:ff:ff:ff:ff:ff 01:13:30 inet 10.30.122.240/23 brd 10.30.123.255 scope global dynamic eth0 01:13:30 valid_lft 85818sec preferred_lft 85818sec 01:13:30 inet6 fe80::f816:3eff:fe2c:558b/64 scope link 01:13:30 valid_lft forever preferred_lft forever 01:13:30 3: docker0: mtu 1500 qdisc noqueue state DOWN 01:13:30 link/ether 02:42:f9:0e:cd:9c brd ff:ff:ff:ff:ff:ff 01:13:30 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 01:13:30 valid_lft forever preferred_lft forever 01:13:30 inet6 fe80::42:f9ff:fe0e:cd9c/64 scope link 01:13:30 valid_lft forever preferred_lft forever 01:13:30 01:13:30 01:13:30 ---> sar -b -r -n DEV: 01:13:30 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/29/21 _x86_64_ (4 CPU) 01:13:30 01:13:30 01:03:35 LINUX RESTART (4 CPU) 01:13:30 01:13:30 01:04:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:13:30 01:05:02 171.33 95.19 76.14 0.00 8451.10 37021.77 0.00 01:13:30 01:06:01 22.86 5.45 17.42 0.00 1601.08 2275.53 0.00 01:13:30 01:07:01 1.30 0.00 1.30 0.00 0.00 20.77 0.00 01:13:30 01:08:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 01:13:30 01:09:01 0.23 0.00 0.23 0.00 0.00 2.43 0.00 01:13:30 01:10:01 0.35 0.00 0.35 0.00 0.00 4.78 0.00 01:13:30 01:11:01 0.28 0.00 0.28 0.00 0.00 2.85 0.00 01:13:30 01:12:01 0.18 0.00 0.18 0.00 0.00 1.50 0.00 01:13:30 01:13:01 51.83 44.30 7.53 0.00 4223.01 3294.18 0.00 01:13:30 Average: 27.68 16.15 11.53 0.00 1588.34 4749.27 0.00 01:13:30 01:13:30 01:04:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:13:30 01:05:02 77432 0 576864 30.66 2620 1224628 1273784 43.47 385388 1222660 11616 01:13:30 01:06:01 151436 0 589044 31.31 2620 1138444 1157900 39.52 370128 1159500 20 01:13:30 01:07:01 161504 0 578972 30.77 2620 1138448 1080940 36.89 378736 1142656 8 01:13:30 01:08:01 159992 0 580480 30.85 2620 1138452 1080940 36.89 374792 1147632 8 01:13:30 01:09:01 159592 0 580876 30.87 2620 1138456 1081180 36.90 386440 1137536 8 01:13:30 01:10:01 158572 0 581888 30.93 2620 1138464 1081340 36.90 385092 1139400 12 01:13:30 01:11:01 160276 0 580184 30.84 2620 1138464 1081004 36.89 383264 1139392 8 01:13:30 01:12:01 160516 0 579940 30.82 2620 1138468 1081004 36.89 383268 1139392 8 01:13:30 01:13:01 74888 0 647536 34.42 2620 1156500 1456556 49.71 457028 1141272 53948 01:13:30 Average: 140468 0 588420 31.27 2620 1150036 1152739 39.34 389348 1152160 7293 01:13:30 01:13:30 01:04:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:13:30 01:05:02 eth0 182.95 133.29 719.35 58.01 0.00 0.00 0.00 0.00 01:13:30 01:05:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 01:05:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 01:06:01 eth0 69.47 59.78 364.82 39.98 0.00 0.00 0.00 0.00 01:13:30 01:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 01:06:01 docker0 9.30 7.42 1.38 21.98 0.00 0.00 0.00 0.00 01:13:30 01:07:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:13:30 01:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 01:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 01:08:01 eth0 1.07 0.08 0.09 0.01 0.00 0.00 0.00 0.00 01:13:30 01:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 01:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 01:09:01 eth0 0.88 0.42 0.31 0.20 0.00 0.00 0.00 0.00 01:13:30 01:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 01:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 01:10:01 eth0 0.55 0.43 0.39 0.27 0.00 0.00 0.00 0.00 01:13:30 01:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 01:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 01:11:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 01:13:30 01:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 01:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 01:12:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:13:30 01:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 01:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 01:13:01 eth0 165.94 138.26 1934.53 14.21 0.00 0.00 0.00 0.00 01:13:30 01:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 01:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 Average: eth0 46.81 36.95 335.78 12.49 0.00 0.00 0.00 0.00 01:13:30 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:13:30 Average: docker0 1.02 0.81 0.15 2.41 0.00 0.00 0.00 0.00 01:13:30 01:13:30 01:13:30 ---> sar -P ALL: 01:13:30 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/29/21 _x86_64_ (4 CPU) 01:13:30 01:13:30 01:03:35 LINUX RESTART (4 CPU) 01:13:30 01:13:30 01:04:01 CPU %user %nice %system %iowait %steal %idle 01:13:30 01:05:02 all 14.40 0.00 8.41 8.39 22.81 45.99 01:13:30 01:05:02 0 13.57 0.00 12.99 6.79 23.33 43.31 01:13:30 01:05:02 1 16.14 0.00 7.29 8.85 22.89 44.83 01:13:30 01:05:02 2 14.86 0.00 6.53 6.88 21.80 49.94 01:13:30 01:05:02 3 13.05 0.00 6.89 11.00 23.22 45.84 01:13:30 01:06:01 all 2.86 0.00 2.10 0.54 6.82 87.68 01:13:30 01:06:01 0 3.00 0.00 2.18 1.28 6.91 86.63 01:13:30 01:06:01 1 3.73 0.00 2.34 0.27 7.12 86.54 01:13:30 01:06:01 2 2.62 0.00 1.55 0.42 6.92 88.50 01:13:30 01:06:01 3 2.09 0.00 2.34 0.20 6.33 89.05 01:13:30 01:07:01 all 0.08 0.00 0.07 0.00 0.42 99.43 01:13:30 01:07:01 0 0.00 0.00 0.07 0.00 0.12 99.82 01:13:30 01:07:01 1 0.03 0.00 0.10 0.00 0.48 99.39 01:13:30 01:07:01 2 0.28 0.00 0.07 0.00 0.80 98.85 01:13:30 01:07:01 3 0.02 0.00 0.05 0.00 0.28 99.65 01:13:30 01:08:01 all 0.10 0.00 0.17 0.00 1.01 98.72 01:13:30 01:08:01 0 0.03 0.00 0.18 0.00 0.43 99.35 01:13:30 01:08:01 1 0.17 0.00 0.25 0.00 1.11 98.48 01:13:30 01:08:01 2 0.15 0.00 0.15 0.00 1.70 98.01 01:13:30 01:08:01 3 0.05 0.00 0.12 0.00 0.79 99.04 01:13:30 01:09:01 all 0.06 0.00 0.05 0.00 0.93 98.95 01:13:30 01:09:01 0 0.02 0.00 0.02 0.00 0.35 99.62 01:13:30 01:09:01 1 0.03 0.00 0.10 0.00 0.56 99.30 01:13:30 01:09:01 2 0.07 0.00 0.07 0.00 2.14 97.73 01:13:30 01:09:01 3 0.13 0.00 0.03 0.00 0.65 99.19 01:13:30 01:10:01 all 0.08 0.00 0.09 0.00 1.48 98.35 01:13:30 01:10:01 0 0.05 0.00 0.03 0.00 1.84 98.08 01:13:30 01:10:01 1 0.05 0.00 0.23 0.00 1.41 98.31 01:13:30 01:10:01 2 0.08 0.00 0.05 0.00 1.55 98.32 01:13:30 01:10:01 3 0.15 0.00 0.05 0.00 1.12 98.68 01:13:30 01:11:01 all 0.06 0.00 0.03 0.00 0.92 99.00 01:13:30 01:11:01 0 0.02 0.00 0.03 0.00 1.12 98.83 01:13:30 01:11:01 1 0.03 0.00 0.03 0.00 1.02 98.91 01:13:30 01:11:01 2 0.03 0.00 0.03 0.00 0.68 99.25 01:13:30 01:11:01 3 0.15 0.00 0.02 0.00 0.85 98.99 01:13:30 01:12:01 all 0.06 0.00 0.04 0.00 0.89 99.01 01:13:30 01:12:01 0 0.00 0.00 0.03 0.00 1.22 98.75 01:13:30 01:12:01 1 0.03 0.00 0.03 0.00 0.81 99.12 01:13:30 01:12:01 2 0.05 0.00 0.05 0.00 0.91 98.99 01:13:30 01:12:01 3 0.15 0.00 0.03 0.00 0.63 99.19 01:13:30 01:13:01 all 1.97 0.00 1.22 1.41 2.96 92.44 01:13:30 01:13:01 0 1.54 0.00 1.27 1.54 3.05 92.59 01:13:30 01:13:01 1 2.94 0.00 1.26 2.23 2.58 90.99 01:13:30 01:13:01 2 1.43 0.00 1.08 1.61 3.25 92.63 01:13:30 01:13:01 3 1.98 0.00 1.28 0.27 2.95 93.52 01:13:30 Average: all 2.24 0.00 1.38 1.18 4.33 90.87 01:13:30 Average: 0 2.06 0.00 1.90 1.09 4.32 90.63 01:13:30 Average: 1 2.62 0.00 1.31 1.29 4.29 90.49 01:13:30 Average: 2 2.23 0.00 1.09 1.02 4.49 91.17 01:13:30 Average: 3 2.04 0.00 1.23 1.33 4.20 91.20 01:13:30 01:13:30 01:13:30