Branch indexing 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 weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch master at df7eaa583f48bd0cefe0e9af00d8477318667731 rather than aa067040c4374cf7e87dc25ae55a84cfb11b831c Obtained Jenkinsfile from df7eaa583f48bd0cefe0e9af00d8477318667731 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 ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [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 ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: 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-23837 in /w/workspace/edgexfoundry_edgex-go_PR-3022 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/5 [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/edgex-go.git > git init /w/workspace/edgex-go/5 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-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/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit df7eaa583f48bd0cefe0e9af00d8477318667731 into PR head commit aa067040c4374cf7e87dc25ae55a84cfb11b831c Merge succeeded, producing 30b865eca32920bcbafc0788b5b9bf8963456df1 Checking out Revision 30b865eca32920bcbafc0788b5b9bf8963456df1 (PR-3022) > git config remote.origin.url git@github.com:edgexfoundry/edgex-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/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3022/head:refs/remotes/origin/PR-3022 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aa067040c4374cf7e87dc25ae55a84cfb11b831c # 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 df7eaa583f48bd0cefe0e9af00d8477318667731 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 30b865eca32920bcbafc0788b5b9bf8963456df1 # timeout=10 Commit message: "Merge commit 'df7eaa583f48bd0cefe0e9af00d8477318667731' into HEAD" > git rev-list --no-walk aa067040c4374cf7e87dc25ae55a84cfb11b831c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:32:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:32:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:32:32 ========================================================= 00:32:32 EdgeX Global Pipelines Version Info 00:32:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:32:35 ------------------- 00:32:35 stable info: 00:32:35 ------------------- 00:32:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:32:35 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:32:35 Message: update stable to v1.0.179 00:32:36 ------------------- 00:32:36 experimental info: 00:32:36 ------------------- 00:32:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:32:36 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:32:36 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:32:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 00:32:36 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 00:32:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:32:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:32:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:32:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 00:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 00:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 00:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:32:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:32:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:32:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:32:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:32:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:32:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 00:32:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:32:38 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:32:38 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:32:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3022 [Pipeline] echo 00:32:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3022 [Pipeline] echo 00:32:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3022 [Pipeline] echo 00:32:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 30b865eca32920bcbafc0788b5b9bf8963456df1 [Pipeline] echo 00:32:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 30b865e [Pipeline] echo 00:32:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:32:39 provisioning config files... 00:32:39 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/5@tmp/config7983607169011248283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:32:39 ---> docker-login.sh 00:32:39 nexus3.edgexfoundry.org:10001 00:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:40 Configure a credential helper to remove this warning. See 00:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:40 00:32:40 Login Succeeded 00:32:40 nexus3.edgexfoundry.org:10002 00:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:40 Configure a credential helper to remove this warning. See 00:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:40 00:32:40 Login Succeeded 00:32:40 nexus3.edgexfoundry.org:10003 00:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:41 Configure a credential helper to remove this warning. See 00:32:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:41 00:32:41 Login Succeeded 00:32:41 nexus3.edgexfoundry.org:10004 00:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:41 Configure a credential helper to remove this warning. See 00:32:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:41 00:32:41 Login Succeeded 00:32:41 docker.io 00:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:42 Configure a credential helper to remove this warning. See 00:32:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:42 00:32:42 Login Succeeded 00:32:42 ---> docker-login.sh ends [Pipeline] } 00:32:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:32:42 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 00:32:42 + for file in '`ls cmd/**/Dockerfile`' 00:32:42 ++ dirname cmd/core-command/Dockerfile 00:32:42 ++ cut -d/ -f2 00:32:42 + echo core-command,cmd/core-command/Dockerfile 00:32:42 + for file in '`ls cmd/**/Dockerfile`' 00:32:42 ++ dirname cmd/core-data/Dockerfile 00:32:42 ++ cut -d/ -f2 00:32:42 + echo core-data,cmd/core-data/Dockerfile 00:32:42 + for file in '`ls cmd/**/Dockerfile`' 00:32:42 ++ dirname cmd/core-metadata/Dockerfile 00:32:42 ++ cut -d/ -f2 00:32:42 + echo core-metadata,cmd/core-metadata/Dockerfile 00:32:42 + for file in '`ls cmd/**/Dockerfile`' 00:32:42 ++ dirname cmd/security-bootstrapper/Dockerfile 00:32:42 ++ cut -d/ -f2 00:32:42 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 00:32:42 + for file in '`ls cmd/**/Dockerfile`' 00:32:42 ++ dirname cmd/security-proxy-setup/Dockerfile 00:32:42 ++ cut -d/ -f2 00:32:42 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 00:32:42 + for file in '`ls cmd/**/Dockerfile`' 00:32:42 ++ dirname cmd/security-secretstore-setup/Dockerfile 00:32:42 ++ cut -d/ -f2 00:32:42 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 00:32:42 + for file in '`ls cmd/**/Dockerfile`' 00:32:42 ++ dirname cmd/support-notifications/Dockerfile 00:32:42 ++ cut -d/ -f2 00:32:42 + echo support-notifications,cmd/support-notifications/Dockerfile 00:32:42 + for file in '`ls cmd/**/Dockerfile`' 00:32:42 ++ dirname cmd/support-scheduler/Dockerfile 00:32:42 ++ cut -d/ -f2 00:32:42 + echo support-scheduler,cmd/support-scheduler/Dockerfile 00:32:42 + for file in '`ls cmd/**/Dockerfile`' 00:32:42 ++ dirname cmd/sys-mgmt-agent/Dockerfile 00:32:42 ++ cut -d/ -f2 00:32:42 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 00:32:42 Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrapper-go, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 00:32:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:32:43 00:32:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:32:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:32:44 latest: Pulling from edgex-devops/git-semver 00:32:44 31603596830f: Pulling fs layer 00:32:44 2a8b12db71e7: Pulling fs layer 00:32:44 6ca5941a6612: Pulling fs layer 00:32:44 ecc8261a40a4: Pulling fs layer 00:32:44 ecc8261a40a4: Waiting 00:32:44 2a8b12db71e7: Verifying Checksum 00:32:44 2a8b12db71e7: Download complete 00:32:44 31603596830f: Verifying Checksum 00:32:44 31603596830f: Download complete 00:32:45 ecc8261a40a4: Verifying Checksum 00:32:45 ecc8261a40a4: Download complete 00:32:45 6ca5941a6612: Verifying Checksum 00:32:45 6ca5941a6612: Download complete 00:32:45 31603596830f: Pull complete 00:32:45 2a8b12db71e7: Pull complete 00:32:47 6ca5941a6612: Pull complete 00:32:47 ecc8261a40a4: Pull complete 00:32:47 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:32:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:32:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:32:47 prd-centos7-docker-4c-2g-23837 does not seem to be running inside a container 00:32:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:32:51 $ docker top cbe9c3e3dff2ba39d6925594e34bee0212e2cf61f2cf98321010eebd0076fc2c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:32:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:32:52 [ssh-agent] Looking for ssh-agent implementation... 00:32:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:32:52 $ docker exec cbe9c3e3dff2ba39d6925594e34bee0212e2cf61f2cf98321010eebd0076fc2c ssh-agent 00:32:52 SSH_AUTH_SOCK=/tmp/ssh-bSeVa6c5T0S1/agent.13 00:32:52 SSH_AGENT_PID=18 00:32:52 Running ssh-add (command line suppressed) 00:32:53 Identity added: /w/workspace/edgex-go/5@tmp/private_key_5840407758893368646.key (/w/workspace/edgex-go/5@tmp/private_key_5840407758893368646.key) 00:32:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:32:53 + git tag --points-at HEAD [Pipeline] } 00:32:53 $ docker exec --env ******** --env ******** cbe9c3e3dff2ba39d6925594e34bee0212e2cf61f2cf98321010eebd0076fc2c ssh-agent -k 00:32:54 unset SSH_AUTH_SOCK; 00:32:54 unset SSH_AGENT_PID; 00:32:54 echo Agent pid 18 killed; 00:32:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:32:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:32:54 [ssh-agent] Looking for ssh-agent implementation... 00:32:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:32:54 $ docker exec cbe9c3e3dff2ba39d6925594e34bee0212e2cf61f2cf98321010eebd0076fc2c ssh-agent 00:32:55 SSH_AUTH_SOCK=/tmp/ssh-UJQz6Zg5jpow/agent.47 00:32:55 SSH_AGENT_PID=52 00:32:55 Running ssh-add (command line suppressed) 00:32:55 Identity added: /w/workspace/edgex-go/5@tmp/private_key_5924568827855479636.key (/w/workspace/edgex-go/5@tmp/private_key_5924568827855479636.key) 00:32:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:32:55 + git semver init 00:32:55 # -> Open(): unable to determine branch for HEAD 00:32:55 # $GIT_DIR = /w/workspace/edgex-go/5/.git 00:32:55 # $GIT_WORK_TREE = /w/workspace/edgex-go/5 00:32:55 # $SEMVER_REMOTE_NAME = origin 00:32:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:32:55 # $SEMVER_USER_NAME = edgex-jenkins 00:32:55 # $SEMVER_BRANCH = PR-3022 00:32:55 # $SEMVER_TEMP = /tmp/semver-221716829 00:32:55 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 00:33:35 # '/tmp/semver-221716829' -> '/w/workspace/edgex-go/5/.semver' 00:33:36 # -> Force: false 00:33:36 # $SEMVER_DIR = /w/workspace/edgex-go/5/.semver [Pipeline] } 00:33:36 $ docker exec --env ******** --env ******** cbe9c3e3dff2ba39d6925594e34bee0212e2cf61f2cf98321010eebd0076fc2c ssh-agent -k 00:33:37 unset SSH_AUTH_SOCK; 00:33:37 unset SSH_AGENT_PID; 00:33:37 echo Agent pid 52 killed; 00:33:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:33:37 + git semver [Pipeline] } 00:33:37 $ docker stop --time=1 cbe9c3e3dff2ba39d6925594e34bee0212e2cf61f2cf98321010eebd0076fc2c 00:33:39 $ docker rm -f cbe9c3e3dff2ba39d6925594e34bee0212e2cf61f2cf98321010eebd0076fc2c [Pipeline] // withDockerContainer [Pipeline] sh 00:33:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:33:41 Stashed 1 file(s) [Pipeline] echo 00:33:41 [edgeXSemver]: initialized semver on version 0.0.0 [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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:33:42 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:33:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:33:43 + sudo service docker restart 00:33:43 + true 00:33:43 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 00:33:44 ========================================================= 00:33:44 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:33:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:33:44 + 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 . 00:33:51 Sending build context to Docker daemon 327.3MB 00:33:51 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 00:33:51 Step 2/6 : FROM ${BASE} 00:33:51 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:33:51 188c0c94c7c5: Pulling fs layer 00:33:51 0ef7d3d256c8: Pulling fs layer 00:33:51 de9db76c5a1d: Pulling fs layer 00:33:51 bca2f99d35d6: Pulling fs layer 00:33:51 93359f2a8cfa: Pulling fs layer 00:33:51 7c6f9722023f: Pulling fs layer 00:33:51 a35cf1a2eb13: Pulling fs layer 00:33:51 93359f2a8cfa: Waiting 00:33:51 7c6f9722023f: Waiting 00:33:51 a35cf1a2eb13: Waiting 00:33:51 bca2f99d35d6: Waiting 00:33:51 de9db76c5a1d: Verifying Checksum 00:33:51 de9db76c5a1d: Download complete 00:33:51 0ef7d3d256c8: Verifying Checksum 00:33:51 0ef7d3d256c8: Download complete 00:33:51 93359f2a8cfa: Verifying Checksum 00:33:51 93359f2a8cfa: Download complete 00:33:51 7c6f9722023f: Verifying Checksum 00:33:51 7c6f9722023f: Download complete 00:33:51 188c0c94c7c5: Verifying Checksum 00:33:51 188c0c94c7c5: Download complete 00:33:51 188c0c94c7c5: Pull complete 00:33:51 0ef7d3d256c8: Pull complete 00:33:52 de9db76c5a1d: Pull complete 00:33:55 a35cf1a2eb13: Verifying Checksum 00:33:55 a35cf1a2eb13: Download complete 00:33:56 bca2f99d35d6: Verifying Checksum 00:33:56 bca2f99d35d6: Download complete 00:33:56 Still waiting to schedule task 00:33:56 ‘prd-centos7-docker-4c-2g-23839’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-23840’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23841’ is offline 00:34:09 bca2f99d35d6: Pull complete 00:34:09 93359f2a8cfa: Pull complete 00:34:09 7c6f9722023f: Pull complete 00:34:17 a35cf1a2eb13: Pull complete 00:34:17 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:34:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:34:17 ---> a62c8e92a672 00:34:17 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 00:34:17 ---> Running in e4ca88fa4c98 00:34:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:34:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:34:19 (1/12) Installing libmagic (5.38-r0) 00:34:19 (2/12) Installing file (5.38-r0) 00:34:19 (3/12) Installing libc-dev (0.7.2-r3) 00:34:19 (4/12) Installing g++ (9.3.0-r2) 00:34:29 (5/12) Installing fortify-headers (1.1-r0) 00:34:29 (6/12) Installing patch (2.7.6-r6) 00:34:29 (7/12) Installing build-base (0.5-r2) 00:34:29 (8/12) Installing libsodium (1.0.18-r0) 00:34:29 (9/12) Installing pkgconf (1.7.2-r0) 00:34:29 (10/12) Installing libsodium-dev (1.0.18-r0) 00:34:29 (11/12) Installing libzmq (4.3.3-r0) 00:34:29 (12/12) Installing zeromq-dev (4.3.3-r0) 00:34:29 Executing busybox-1.31.1-r19.trigger 00:34:29 OK: 233 MiB in 51 packages 00:34:32 Removing intermediate container e4ca88fa4c98 00:34:32 ---> 39d434ff9079 00:34:32 Step 4/6 : WORKDIR /edgex-go 00:34:33 ---> Running in eeda8d9039c1 00:34:33 Removing intermediate container eeda8d9039c1 00:34:33 ---> 824755b51701 00:34:33 Step 5/6 : COPY go.mod . 00:34:33 ---> 2624361c9a53 00:34:33 Step 6/6 : RUN go mod download 00:34:34 ---> Running in 243002d4c104 00:35:01 Removing intermediate container 243002d4c104 00:35:01 ---> ef71e740a415 00:35:01 Successfully built ef71e740a415 00:35:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:35:01 + docker inspect -f . ci-base-image-x86_64 00:35:01 . [Pipeline] withDockerContainer 00:35:01 prd-centos7-docker-4c-2g-23837 does not seem to be running inside a container 00:35:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:35:04 $ docker top fdf45369f9a14401e851156e43c93e695db1d7e4f786287aa8f18af146329cd5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:35:05 + go version 00:35:05 go version go1.15.5 linux/amd64 [Pipeline] } 00:35:05 $ docker stop --time=1 fdf45369f9a14401e851156e43c93e695db1d7e4f786287aa8f18af146329cd5 00:35:07 $ docker rm -f fdf45369f9a14401e851156e43c93e695db1d7e4f786287aa8f18af146329cd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:35:08 + docker inspect -f . ci-base-image-x86_64 00:35:08 . [Pipeline] withDockerContainer 00:35:09 prd-centos7-docker-4c-2g-23837 does not seem to be running inside a container 00:35:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:35:10 $ docker top e4bd3ea280d6d3475f64cd2692e745a1dbaf64c9cef3bbd529357e28c107e22d -eo pid,comm [Pipeline] { [Pipeline] echo 00:35:11 ========================================================= 00:35:11 [edgeXBuildGoParallel] Running Tests and Build... 00:35:11 ========================================================= [Pipeline] sh 00:35:11 + make test 00:35:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:35:13 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2 00:35:13 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 00:35:13 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 00:35:13 go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/di 00:35:13 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/clients 00:35:14 go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/container 00:35:14 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 00:35:14 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:35:14 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.72 00:35:14 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/clients/logger 00:35:14 go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/config 00:35:14 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/errors 00:35:16 go: found github.com/edgexfoundry/go-mod-core-contracts/errors in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:35:16 go: found github.com/edgexfoundry/go-mod-core-contracts/v2 in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:35:16 go: found github.com/edgexfoundry/go-mod-bootstrap/di in github.com/edgexfoundry/go-mod-bootstrap v0.0.72 00:35:16 go: found github.com/edgexfoundry/go-mod-bootstrap/bootstrap/container in github.com/edgexfoundry/go-mod-bootstrap v0.0.72 00:35:16 go: found github.com/edgexfoundry/go-mod-core-contracts/clients in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:35:16 go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:35:16 go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:35:16 go: found github.com/edgexfoundry/go-mod-bootstrap/config in github.com/edgexfoundry/go-mod-bootstrap v0.0.72 00:35:16 go: found github.com/edgexfoundry/go-mod-core-contracts/clients/logger in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:35:16 go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:35:16 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.32 00:35:16 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 00:35:16 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.27 00:35:17 /go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts/v2@v2.0.0-dev.10/clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: 00:35:17 github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/clients/interfaces) 00:35:17 github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0-dev.10 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts/v2@v2.0.0-dev.10/clients/interfaces) 00:35:17 /go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts/v2@v2.0.0-dev.10/clients/metadata/addressable.go:25:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: 00:35:17 github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/models) 00:35:17 github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0-dev.10 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts/v2@v2.0.0-dev.10/models) 00:35:18 make: *** [Makefile:98: test] Error 1 [Pipeline] } 00:35:18 $ docker stop --time=1 e4bd3ea280d6d3475f64cd2692e745a1dbaf64c9cef3bbd529357e28c107e22d 00:35:20 $ docker rm -f e4bd3ea280d6d3475f64cd2692e745a1dbaf64c9cef3bbd529357e28c107e22d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker 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] // stage [Pipeline] } 00:35:22 Failed in branch amd64 00:36:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23846 in /w/workspace/edgexfoundry_edgex-go_PR-3022 [Pipeline] { [Pipeline] ws 00:36:38 Running in /w/workspace/edgex-go/5 [Pipeline] { [Pipeline] checkout 00:36:44 using credential edgex-jenkins-ssh 00:36:44 Cloning the remote Git repository 00:36:44 Cloning repository git@github.com:edgexfoundry/edgex-go.git 00:36:44 > git init /w/workspace/edgex-go/5 # timeout=10 00:36:44 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:36:44 > git --version # timeout=10 00:36:44 > git --version # 'git version 2.17.1' 00:36:44 using GIT_SSH to set credentials SSH Credentials for GitHub 00:36:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:37:03 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:37:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:37:04 Merging remotes/origin/master commit df7eaa583f48bd0cefe0e9af00d8477318667731 into PR head commit aa067040c4374cf7e87dc25ae55a84cfb11b831c 00:37:04 Merge succeeded, producing 73a48e18752a94340ed1f4edaf27c155f2dbeb81 00:37:04 Checking out Revision 73a48e18752a94340ed1f4edaf27c155f2dbeb81 (PR-3022) 00:37:03 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:37:03 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:37:03 using GIT_SSH to set credentials SSH Credentials for GitHub 00:37:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3022/head:refs/remotes/origin/PR-3022 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:37:04 > git config core.sparsecheckout # timeout=10 00:37:04 > git checkout -f aa067040c4374cf7e87dc25ae55a84cfb11b831c # timeout=10 00:37:04 > git remote # timeout=10 00:37:04 > git config --get remote.origin.url # timeout=10 00:37:04 using GIT_SSH to set credentials SSH Credentials for GitHub 00:37:04 > git merge df7eaa583f48bd0cefe0e9af00d8477318667731 # timeout=10 00:37:04 > git rev-parse HEAD^{commit} # timeout=10 00:37:04 > git config core.sparsecheckout # timeout=10 00:37:04 > git checkout -f 73a48e18752a94340ed1f4edaf27c155f2dbeb81 # timeout=10 00:37:09 Commit message: "Merge commit 'df7eaa583f48bd0cefe0e9af00d8477318667731' into HEAD" 00:37:09 > git rev-list --no-walk aa067040c4374cf7e87dc25ae55a84cfb11b831c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:37:10 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:37:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:37:11 + true 00:37:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:37:13 provisioning config files... 00:37:13 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/5@tmp/config8374983087167669243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:37:14 ---> docker-login.sh 00:37:14 nexus3.edgexfoundry.org:10001 00:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:15 Configure a credential helper to remove this warning. See 00:37:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:15 00:37:15 Login Succeeded 00:37:15 nexus3.edgexfoundry.org:10002 00:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:16 Configure a credential helper to remove this warning. See 00:37:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:16 00:37:16 Login Succeeded 00:37:16 nexus3.edgexfoundry.org:10003 00:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:16 Configure a credential helper to remove this warning. See 00:37:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:16 00:37:16 Login Succeeded 00:37:16 nexus3.edgexfoundry.org:10004 00:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:17 Configure a credential helper to remove this warning. See 00:37:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:17 00:37:17 Login Succeeded 00:37:17 docker.io 00:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:17 Configure a credential helper to remove this warning. See 00:37:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:17 00:37:17 Login Succeeded 00:37:17 ---> docker-login.sh ends [Pipeline] } 00:37:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:37:18 ========================================================= 00:37:18 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:37:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:37:18 + 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 . 00:37:21 Sending build context to Docker daemon 166MB 00:37:21 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 00:37:21 Step 2/6 : FROM ${BASE} 00:37:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:37:21 5f621e34cdf4: Pulling fs layer 00:37:21 a4357932f1b6: Pulling fs layer 00:37:21 18c013af1878: Pulling fs layer 00:37:21 00ac8860ef70: Pulling fs layer 00:37:21 63d7cb157983: Pulling fs layer 00:37:21 b116817d02f9: Pulling fs layer 00:37:21 745a02a5169b: Pulling fs layer 00:37:21 63d7cb157983: Waiting 00:37:21 b116817d02f9: Waiting 00:37:21 745a02a5169b: Waiting 00:37:21 00ac8860ef70: Waiting 00:37:21 18c013af1878: Verifying Checksum 00:37:21 18c013af1878: Download complete 00:37:21 a4357932f1b6: Download complete 00:37:21 63d7cb157983: Download complete 00:37:21 b116817d02f9: Verifying Checksum 00:37:21 b116817d02f9: Download complete 00:37:21 5f621e34cdf4: Verifying Checksum 00:37:21 5f621e34cdf4: Download complete 00:37:21 5f621e34cdf4: Pull complete 00:37:22 a4357932f1b6: Pull complete 00:37:22 18c013af1878: Pull complete 00:37:23 745a02a5169b: Download complete 00:37:25 00ac8860ef70: Verifying Checksum 00:37:25 00ac8860ef70: Download complete 00:37:36 00ac8860ef70: Pull complete 00:37:36 63d7cb157983: Pull complete 00:37:36 b116817d02f9: Pull complete 00:37:39 745a02a5169b: Pull complete 00:37:39 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:37:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:37:39 ---> b7e6874047d6 00:37:39 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 00:37:42 ---> Running in 1c1668daba65 00:37:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:37:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:37:45 (1/12) Installing libmagic (5.38-r0) 00:37:45 (2/12) Installing file (5.38-r0) 00:37:46 (3/12) Installing libc-dev (0.7.2-r3) 00:37:46 (4/12) Installing g++ (9.3.0-r2) 00:37:52 (5/12) Installing fortify-headers (1.1-r0) 00:37:52 (6/12) Installing patch (2.7.6-r6) 00:37:52 (7/12) Installing build-base (0.5-r2) 00:37:52 (8/12) Installing libsodium (1.0.18-r0) 00:37:52 (9/12) Installing pkgconf (1.7.2-r0) 00:37:52 (10/12) Installing libsodium-dev (1.0.18-r0) 00:37:52 (11/12) Installing libzmq (4.3.3-r0) 00:37:52 (12/12) Installing zeromq-dev (4.3.3-r0) 00:37:52 Executing busybox-1.31.1-r19.trigger 00:37:52 OK: 217 MiB in 51 packages 00:37:57 Removing intermediate container 1c1668daba65 00:37:57 ---> 9cafc431a13a 00:37:57 Step 4/6 : WORKDIR /edgex-go 00:37:57 ---> Running in f3423b223435 00:37:57 Removing intermediate container f3423b223435 00:37:57 ---> 4f854fd108ed 00:37:57 Step 5/6 : COPY go.mod . 00:37:57 ---> 5658c7e7d669 00:37:57 Step 6/6 : RUN go mod download 00:37:58 ---> Running in 98bedb1b735b 00:38:25 Removing intermediate container 98bedb1b735b 00:38:25 ---> cae912123c87 00:38:25 Successfully built cae912123c87 00:38:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:38:25 + docker inspect -f . ci-base-image-arm64 00:38:25 . [Pipeline] withDockerContainer 00:38:25 prd-ubuntu18.04-docker-arm64-4c-16g-23846 does not seem to be running inside a container 00:38:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:38:28 $ docker top 26f270f3e5512a5e52a1cbc6cb3df9fa17dd9d175ec8ac07b2d4b276127be3e0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:38:29 + go version 00:38:29 go version go1.15.5 linux/arm64 [Pipeline] } 00:38:29 $ docker stop --time=1 26f270f3e5512a5e52a1cbc6cb3df9fa17dd9d175ec8ac07b2d4b276127be3e0 00:38:31 $ docker rm -f 26f270f3e5512a5e52a1cbc6cb3df9fa17dd9d175ec8ac07b2d4b276127be3e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:38:32 + docker inspect -f . ci-base-image-arm64 00:38:32 . [Pipeline] withDockerContainer 00:38:32 prd-ubuntu18.04-docker-arm64-4c-16g-23846 does not seem to be running inside a container 00:38:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:38:34 $ docker top 68da57cc0ed1a98391e3a6d12df4a85f07c1245db271fd3d40072959a8db9ca1 -eo pid,comm [Pipeline] { [Pipeline] echo 00:38:34 ========================================================= 00:38:34 [edgeXBuildGoParallel] Running Tests and Build... 00:38:34 ========================================================= [Pipeline] sh 00:38:35 + make test 00:38:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:38:35 go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/di 00:38:35 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/clients 00:38:35 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 00:38:35 go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/container 00:38:35 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 00:38:35 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/errors 00:38:35 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2 00:38:35 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/clients/logger 00:38:35 go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/config 00:38:35 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 00:38:36 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:38:36 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.72 00:38:36 go: found github.com/edgexfoundry/go-mod-core-contracts/errors in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:38:36 go: found github.com/edgexfoundry/go-mod-core-contracts/v2 in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:38:36 go: found github.com/edgexfoundry/go-mod-bootstrap/di in github.com/edgexfoundry/go-mod-bootstrap v0.0.72 00:38:36 go: found github.com/edgexfoundry/go-mod-bootstrap/bootstrap/container in github.com/edgexfoundry/go-mod-bootstrap v0.0.72 00:38:36 go: found github.com/edgexfoundry/go-mod-core-contracts/clients in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:38:36 go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:38:36 go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:38:36 go: found github.com/edgexfoundry/go-mod-bootstrap/config in github.com/edgexfoundry/go-mod-bootstrap v0.0.72 00:38:36 go: found github.com/edgexfoundry/go-mod-core-contracts/clients/logger in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:38:36 go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:38:37 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.32 00:38:37 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 00:38:37 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.27 00:38:38 /go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts/v2@v2.0.0-dev.10/clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: 00:38:38 github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/clients/interfaces) 00:38:38 github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0-dev.10 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts/v2@v2.0.0-dev.10/clients/interfaces) 00:38:38 /go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts/v2@v2.0.0-dev.10/clients/metadata/addressable.go:25:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: 00:38:38 github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/models) 00:38:38 github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0-dev.10 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts/v2@v2.0.0-dev.10/models) 00:38:38 make: *** [Makefile:98: test] Error 1 [Pipeline] } 00:38:38 $ docker stop --time=1 68da57cc0ed1a98391e3a6d12df4a85f07c1245db271fd3d40072959a8db9ca1 00:38:40 $ docker rm -f 68da57cc0ed1a98391e3a6d12df4a85f07c1245db271fd3d40072959a8db9ca1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker 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] } 00:38:42 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 Scan) Stage "Snyk 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] { (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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 00:38:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:38:45 ---> package-listing.sh 00:38:45 ++ tr '[:upper:]' '[:lower:]' 00:38:45 ++ facter osfamily 00:38:45 + OS_FAMILY=redhat 00:38:45 + workspace=/w/workspace/edgex-go/5 00:38:45 + START_PACKAGES=/tmp/packages_start.txt 00:38:45 + END_PACKAGES=/tmp/packages_end.txt 00:38:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:45 + PACKAGES=/tmp/packages_start.txt 00:38:45 + '[' /w/workspace/edgex-go/5 ']' 00:38:45 + PACKAGES=/tmp/packages_end.txt 00:38:45 + case "${OS_FAMILY}" in 00:38:45 + sort 00:38:45 + rpm -qa 00:38:52 + '[' -f /tmp/packages_start.txt ']' 00:38:52 + '[' -f /tmp/packages_end.txt ']' 00:38:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:52 + '[' /w/workspace/edgex-go/5 ']' 00:38:52 + mkdir -p /w/workspace/edgex-go/5/archives/ 00:38:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/5/archives/ [Pipeline] echo 00:38:52 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/edgex-go/5/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:38:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:38:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:38:53 00:38:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:38:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:38:54 alpine: Pulling from edgex-lftools-log-publisher 00:38:54 df20fa9351a1: Pulling fs layer 00:38:54 36b3adc4ff6f: Pulling fs layer 00:38:54 8ad3a11d3b57: Pulling fs layer 00:38:54 46f8f816bc3b: Pulling fs layer 00:38:54 93b61091891f: Pulling fs layer 00:38:54 93b9cdb0e59b: Pulling fs layer 00:38:54 5e14af77c1be: Pulling fs layer 00:38:54 01666e4c0597: Pulling fs layer 00:38:54 aa168da1d23b: Pulling fs layer 00:38:54 93b9cdb0e59b: Waiting 00:38:54 5e14af77c1be: Waiting 00:38:54 46f8f816bc3b: Waiting 00:38:54 01666e4c0597: Waiting 00:38:54 93b61091891f: Waiting 00:38:54 aa168da1d23b: Waiting 00:38:54 36b3adc4ff6f: Verifying Checksum 00:38:54 36b3adc4ff6f: Download complete 00:38:54 46f8f816bc3b: Verifying Checksum 00:38:54 46f8f816bc3b: Download complete 00:38:54 df20fa9351a1: Verifying Checksum 00:38:54 df20fa9351a1: Download complete 00:38:54 93b9cdb0e59b: Download complete 00:38:54 5e14af77c1be: Verifying Checksum 00:38:54 5e14af77c1be: Download complete 00:38:54 01666e4c0597: Verifying Checksum 00:38:54 01666e4c0597: Download complete 00:38:54 93b61091891f: Download complete 00:38:55 df20fa9351a1: Pull complete 00:38:55 36b3adc4ff6f: Pull complete 00:38:55 8ad3a11d3b57: Download complete 00:38:56 8ad3a11d3b57: Pull complete 00:38:57 46f8f816bc3b: Pull complete 00:38:58 93b61091891f: Pull complete 00:38:58 93b9cdb0e59b: Pull complete 00:38:59 5e14af77c1be: Pull complete 00:39:00 01666e4c0597: Pull complete 00:39:00 aa168da1d23b: Verifying Checksum 00:39:00 aa168da1d23b: Download complete 00:39:15 aa168da1d23b: Pull complete 00:39:15 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:39:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:39:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:39:15 prd-centos7-docker-4c-2g-23837 does not seem to be running inside a container 00:39: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/edgex-go/5/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:39:19 $ docker top 7b1ea8e0da51c6b53214d76f165ed638482649a4183ebffbb08feda328b190e9 -eo pid,comm [Pipeline] { [Pipeline] sh 00:39:20 + touch /tmp/pre-build-complete [Pipeline] sh 00:39:20 + mkdir -p /var/log/sa [Pipeline] sh 00:39:20 + ls /var/log/sa-host 00:39:20 + sadf -c /var/log/sa-host/sa23 00:39:20 file_magic: OK 00:39:20 HZ: Using current value: 100 00:39:20 file_header: OK 00:39: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 00:39:20 Statistics: 00:39:20 Hnuu...uuuununununu... 00:39:20 File successfully converted to sysstat format version 12.2.1 00:39:20 + sadf -c /var/log/sa-host/sa29 00:39:20 file_magic: OK 00:39:20 HZ: Using current value: 100 00:39:20 file_header: OK 00:39: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 00:39:20 Statistics: 00:39:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:39:20 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:39:21 provisioning config files... 00:39:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/5@tmp/config6814401028563118254tmp [Pipeline] { [Pipeline] echo 00:39:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:39:21 ---> create-netrc.sh [Pipeline] } 00:39:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:39:21 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:39:22 ---> python-tools-install.sh [Pipeline] echo 00:39:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:39:23 ---> sudo-logs.sh 00:39:23 Archiving 'sudo' log.. [Pipeline] echo 00:39:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:39:23 ---> job-cost.sh 00:39:24 lf-activate-venv: SKIPPING 00:39:24 INFO: No Stack... 00:39:25 INFO: Retrieving Pricing Info for: v1-standard-2 00:39:25 INFO: Archiving Costs [Pipeline] echo 00:39:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:39:26 ---> logs-deploy.sh 00:39:26 lf-activate-venv: SKIPPING 00:39:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3022/5 00:39:26 INFO: archiving workspace using pattern(s): 00:39:27 Archives upload complete. 00:39:28 INFO: archiving logs to Nexus 00:39:30 ---> uname -a: 00:39:30 Linux prd-centos7-docker-4c-2g-23837.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 00:39:30 00:39:30 00:39:30 ---> lscpu: 00:39:30 Architecture: x86_64 00:39:30 CPU op-mode(s): 32-bit, 64-bit 00:39:30 Byte Order: Little Endian 00:39:30 Address sizes: 40 bits physical, 48 bits virtual 00:39:30 CPU(s): 4 00:39:30 On-line CPU(s) list: 0-3 00:39:30 Thread(s) per core: 1 00:39:30 Core(s) per socket: 1 00:39:30 Socket(s): 4 00:39:30 NUMA node(s): 1 00:39:30 Vendor ID: GenuineIntel 00:39:30 CPU family: 6 00:39:30 Model: 44 00:39:30 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 00:39:30 Stepping: 1 00:39:30 CPU MHz: 2933.438 00:39:30 BogoMIPS: 5866.87 00:39:30 Virtualization: VT-x 00:39:30 Hypervisor vendor: KVM 00:39:30 Virtualization type: full 00:39:30 L1d cache: 128 KiB 00:39:30 L1i cache: 128 KiB 00:39:30 L2 cache: 16 MiB 00:39:30 L3 cache: 64 MiB 00:39:30 NUMA node0 CPU(s): 0-3 00:39:30 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 00:39:30 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 00:39:30 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 00:39:30 Vulnerability Meltdown: Mitigation; PTI 00:39:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:39:30 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 00:39:30 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 00:39:30 Vulnerability Srbds: Not affected 00:39:30 Vulnerability Tsx async abort: Not affected 00:39: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 00:39:30 00:39:30 00:39:30 ---> nproc: 00:39:30 4 00:39:30 00:39:30 00:39:30 ---> df -h: 00:39:30 Filesystem Size Used Available Use% Mounted on 00:39:30 overlay 50.0G 8.2G 41.7G 16% / 00:39:30 tmpfs 64.0M 0 64.0M 0% /dev 00:39:30 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 00:39:30 shm 64.0M 0 64.0M 0% /dev/shm 00:39:30 /dev/vda1 50.0G 8.2G 41.7G 16% /facter-os 00:39:30 /dev/vda1 50.0G 8.2G 41.7G 16% /etc/resolv.conf 00:39:30 /dev/vda1 50.0G 8.2G 41.7G 16% /etc/hostname 00:39:30 /dev/vda1 50.0G 8.2G 41.7G 16% /etc/hosts 00:39:30 /dev/vda1 50.0G 8.2G 41.7G 16% /var/log/sa-host 00:39:30 /dev/vda1 50.0G 8.2G 41.7G 16% /var/log/secure 00:39:30 /dev/vda1 50.0G 8.2G 41.7G 16% /var/log/auth.log 00:39:30 /dev/vda1 50.0G 8.2G 41.7G 16% /run/cloud-init/result.json 00:39:30 /dev/vda1 50.0G 8.2G 41.7G 16% /w/workspace/edgex-go/5 00:39:30 /dev/vda1 50.0G 8.2G 41.7G 16% /w/workspace/edgex-go/5@tmp 00:39:30 00:39:30 00:39:30 ---> free -m: 00:39:30 total used free shared buff/cache available 00:39:30 Mem: 1837 753 133 0 949 992 00:39:30 Swap: 1023 3 1020 00:39:30 00:39:30 00:39:30 ---> ip addr: 00:39:30 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 00:39:30 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:39:30 inet 127.0.0.1/8 scope host lo 00:39:30 valid_lft forever preferred_lft forever 00:39:30 inet6 ::1/128 scope host 00:39:30 valid_lft forever preferred_lft forever 00:39:30 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 00:39:30 link/ether fa:16:3e:d5:02:8f brd ff:ff:ff:ff:ff:ff 00:39:30 inet 10.30.122.32/23 brd 10.30.123.255 scope global dynamic eth0 00:39:30 valid_lft 85892sec preferred_lft 85892sec 00:39:30 inet6 fe80::f816:3eff:fed5:28f/64 scope link 00:39:30 valid_lft forever preferred_lft forever 00:39:30 3: docker0: mtu 1500 qdisc noqueue state DOWN 00:39:30 link/ether 02:42:46:87:71:dc brd ff:ff:ff:ff:ff:ff 00:39:30 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 00:39:30 valid_lft forever preferred_lft forever 00:39:30 inet6 fe80::42:46ff:fe87:71dc/64 scope link 00:39:30 valid_lft forever preferred_lft forever 00:39:30 00:39:30 00:39:30 ---> sar -b -r -n DEV: 00:39: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) 00:39:30 00:39:30 00:30:48 LINUX RESTART (4 CPU) 00:39:30 00:39:30 00:32:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:39:30 00:33:01 57.74 12.94 44.80 0.00 4747.62 8050.12 0.00 00:39:30 00:34:01 134.10 70.25 63.85 0.00 5527.59 32889.47 0.00 00:39:30 00:35:01 230.45 62.62 167.83 0.00 3123.08 29326.65 0.00 00:39:30 00:36:01 64.25 46.71 17.54 0.00 1019.89 494.25 0.00 00:39:30 00:37:01 3.38 1.18 2.20 0.00 67.50 49.21 0.00 00:39:30 00:38:01 0.23 0.00 0.23 0.00 0.00 3.41 0.00 00:39:30 00:39:02 72.45 49.70 22.75 0.00 3954.54 5525.57 0.00 00:39:30 Average: 80.31 34.72 45.59 0.00 2629.65 10867.95 0.00 00:39:30 00:39:30 00:32:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:39:30 00:33:01 71468 0 694964 36.94 2620 1112492 1344564 45.89 543124 1061968 45848 00:39:30 00:34:01 79624 0 690528 36.70 2428 1108964 1544424 52.71 708252 882772 10688 00:39:30 00:35:01 308928 0 724348 38.50 1492 846776 1293932 44.16 449600 841088 32 00:39:30 00:36:01 317684 0 685684 36.44 1492 876684 1156608 39.47 459028 840148 8 00:39:30 00:37:01 326868 0 674476 35.85 1492 878708 1099688 37.53 453604 839840 16 00:39:30 00:38:01 326948 0 674388 35.84 1492 878716 1099700 37.53 452360 841088 8 00:39:30 00:39:02 74072 0 739852 39.32 1464 1066156 1502664 51.28 546680 992576 45648 00:39:30 Average: 215085 0 697749 37.08 1783 966928 1291654 44.08 516093 899926 14607 00:39:30 00:39:30 00:32:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:39:30 00:33:01 veth4763836 298.92 205.83 29.20 785.16 0.00 0.00 0.00 0.00 00:39:30 00:33:01 eth0 787.89 777.90 3486.91 104.16 0.00 0.00 0.00 0.00 00:39:30 00:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:30 00:33:01 docker0 298.92 205.70 25.12 785.15 0.00 0.00 0.00 0.00 00:39:30 00:34:01 eth0 780.87 962.51 4780.12 88.69 0.00 0.00 0.00 0.00 00:39:30 00:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:30 00:34:01 docker0 722.08 489.25 53.32 1907.10 0.00 0.00 0.00 0.00 00:39:30 00:35:01 eth0 191.61 140.92 850.84 19.11 0.00 0.00 0.00 0.00 00:39:30 00:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:30 00:35:01 docker0 126.17 168.55 9.01 833.71 0.00 0.00 0.00 0.00 00:39:30 00:36:01 eth0 36.88 31.79 35.65 61.06 0.00 0.00 0.00 0.00 00:39:30 00:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:30 00:36:01 docker0 7.15 5.99 0.68 11.96 0.00 0.00 0.00 0.00 00:39:30 00:37:01 eth0 1.38 0.65 0.70 0.46 0.00 0.00 0.00 0.00 00:39:30 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:30 00:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:30 00:38:01 eth0 0.57 0.37 0.27 0.20 0.00 0.00 0.00 0.00 00:39:30 00:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:30 00:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:30 00:39:02 eth0 203.56 156.08 2164.71 16.45 0.00 0.00 0.00 0.00 00:39:30 00:39:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:30 00:39:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:30 Average: eth0 285.23 294.52 1611.33 41.37 0.00 0.00 0.00 0.00 00:39:30 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:30 Average: docker0 163.85 123.54 12.51 502.85 0.00 0.00 0.00 0.00 00:39:30 00:39:30 00:39:30 ---> sar -P ALL: 00:39: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) 00:39:30 00:39:30 00:30:48 LINUX RESTART (4 CPU) 00:39:30 00:39:30 00:32:01 CPU %user %nice %system %iowait %steal %idle 00:39:30 00:33:01 all 5.82 0.00 3.79 1.45 9.58 79.35 00:39:30 00:33:01 0 5.52 0.00 4.27 0.67 9.84 79.71 00:39:30 00:33:01 1 5.92 0.00 4.03 2.73 9.78 77.54 00:39:30 00:33:01 2 6.81 0.00 3.30 0.61 9.41 79.88 00:39:30 00:33:01 3 5.06 0.00 3.59 1.79 9.30 80.27 00:39:30 00:34:01 all 8.52 0.00 4.90 1.18 14.11 71.29 00:39:30 00:34:01 0 9.31 0.00 5.36 1.52 14.73 69.07 00:39:30 00:34:01 1 9.53 0.00 5.42 1.34 13.86 69.85 00:39:30 00:34:01 2 8.20 0.00 4.34 1.38 13.81 72.27 00:39:30 00:34:01 3 7.07 0.00 4.50 0.48 14.06 73.89 00:39:30 00:35:01 all 5.78 0.00 6.04 3.76 17.32 67.10 00:39:30 00:35:01 0 5.39 0.00 5.90 4.00 17.53 67.18 00:39:30 00:35:01 1 5.44 0.00 5.65 4.20 17.50 67.21 00:39:30 00:35:01 2 6.36 0.00 5.85 4.42 17.49 65.89 00:39:30 00:35:01 3 5.91 0.00 6.80 2.38 16.75 68.15 00:39:30 00:36:01 all 1.56 0.00 1.91 2.82 6.70 87.01 00:39:30 00:36:01 0 1.39 0.00 2.01 1.99 6.87 87.75 00:39:30 00:36:01 1 1.32 0.00 1.85 2.98 6.86 86.99 00:39:30 00:36:01 2 2.32 0.00 1.88 3.34 6.96 85.51 00:39:30 00:36:01 3 1.22 0.00 1.92 2.97 6.13 87.76 00:39:30 00:37:01 all 0.13 0.00 0.10 0.00 0.44 99.32 00:39:30 00:37:01 0 0.08 0.00 0.10 0.00 0.81 99.00 00:39:30 00:37:01 1 0.20 0.00 0.12 0.00 0.30 99.38 00:39:30 00:37:01 2 0.20 0.00 0.08 0.02 0.40 99.30 00:39:30 00:37:01 3 0.05 0.00 0.08 0.00 0.27 99.60 00:39:30 00:38:01 all 0.10 0.00 0.23 0.00 0.88 98.78 00:39:30 00:38:01 0 0.03 0.00 0.31 0.00 0.93 98.72 00:39:30 00:38:01 1 0.15 0.00 0.25 0.00 1.01 98.59 00:39:30 00:38:01 2 0.20 0.00 0.33 0.00 0.63 98.84 00:39:30 00:38:01 3 0.03 0.00 0.03 0.00 0.96 98.98 00:39:30 00:39:02 all 2.20 0.00 1.70 1.35 4.84 89.92 00:39:30 00:39:02 0 2.12 0.00 1.44 0.10 4.38 91.96 00:39:30 00:39:02 1 2.96 0.00 2.21 4.12 4.70 86.00 00:39:30 00:39:02 2 2.00 0.00 1.61 1.03 4.82 90.55 00:39:30 00:39:02 3 1.72 0.00 1.54 0.18 5.43 91.13 00:39:30 Average: all 3.41 0.00 2.66 1.52 7.67 84.74 00:39:30 Average: 0 3.34 0.00 2.75 1.19 7.82 84.90 00:39:30 Average: 1 3.60 0.00 2.78 2.21 7.72 83.69 00:39:30 Average: 2 3.70 0.00 2.48 1.56 7.63 84.63 00:39:30 Average: 3 2.98 0.00 2.63 1.12 7.53 85.74 00:39:30 00:39:30 00:39:30