Pull request #3567 opened 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 ernestojeda for edgexfoundry/edgex-go Obtained Jenkinsfile from d5a1bd95a912fd4c3ea2ab884484a0ece4c3246d+e3fe4ea6dc2b0363ea17cb6a495f96496b33254f (af5c4a5da67ddf41d986b5eeef51f932afe1d923) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@experimental Attempting to resolve experimental from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7925208288635136398.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8198773182989983231.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/experimental^{commit} # timeout=10 Resolved tag experimental revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3567/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3567/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6031423966063050807.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3567/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1055202979805111051.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6286058357213560821.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3567/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3567/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9087640175966913692.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 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:echo test, buildScript:echo build, buildImage:false, arch:[amd64], publishSwaggerDocs:false, swaggerApiFolders:[openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: echo test BUILD_SCRIPT: echo build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1315 in /w/workspace/edgexfoundry_edgex-go_PR-3567 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh1583582410971253114.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh2240190182761737735.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3567/head:refs/remotes/origin/PR-3567 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e3fe4ea6dc2b0363ea17cb6a495f96496b33254f into PR head commit d5a1bd95a912fd4c3ea2ab884484a0ece4c3246d Merge succeeded, producing c7b5dd91c6ad8044adf95a0103a8fe87a053b81d Checking out Revision c7b5dd91c6ad8044adf95a0103a8fe87a053b81d (PR-3567) > git config core.sparsecheckout # timeout=10 > git checkout -f d5a1bd95a912fd4c3ea2ab884484a0ece4c3246d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh606340925138499881.key > git merge e3fe4ea6dc2b0363ea17cb6a495f96496b33254f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7b5dd91c6ad8044adf95a0103a8fe87a053b81d # timeout=10 Commit message: "Merge commit 'e3fe4ea6dc2b0363ea17cb6a495f96496b33254f' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-14T18:25:03.109Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-14T18:25:03.316Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-14T18:25:03.444Z] ========================================================= [2021-06-14T18:25:03.445Z] EdgeX Global Pipelines Version Info [2021-06-14T18:25:03.445Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-14T18:25:04.906Z] ------------------- [2021-06-14T18:25:04.906Z] stable info: [2021-06-14T18:25:04.906Z] ------------------- [2021-06-14T18:25:04.906Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-14T18:25:04.906Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-14T18:25:04.906Z] Message: update stable to v1.0.194 [2021-06-14T18:25:05.489Z] ------------------- [2021-06-14T18:25:05.489Z] experimental info: [2021-06-14T18:25:05.489Z] ------------------- [2021-06-14T18:25:05.489Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-14T18:25:05.489Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-14T18:25:05.489Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-14T18:25:05.743Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-06-14T18:25:05.799Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-06-14T18:25:05.859Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-14T18:25:05.919Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = echo test [Pipeline] echo [2021-06-14T18:25:05.976Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = echo build [Pipeline] echo [2021-06-14T18:25:06.033Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-14T18:25:06.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-14T18:25:06.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-06-14T18:25:06.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-06-14T18:25:06.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-06-14T18:25:06.341Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-14T18:25:06.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-14T18:25:06.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-14T18:25:06.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-14T18:25:06.586Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-06-14T18:25:06.644Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-14T18:25:06.701Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-14T18:25:06.757Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-14T18:25:06.812Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-14T18:25:06.873Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-06-14T18:25:06.928Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-06-14T18:25:06.987Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-14T18:25:07.051Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3567 [Pipeline] echo [2021-06-14T18:25:07.123Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3567 [Pipeline] echo [2021-06-14T18:25:07.178Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3567 [Pipeline] echo [2021-06-14T18:25:07.240Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c7b5dd91c6ad8044adf95a0103a8fe87a053b81d [Pipeline] echo [2021-06-14T18:25:07.300Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c7b5dd9 [Pipeline] echo [2021-06-14T18:25:07.362Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] sh [2021-06-14T18:25:07.716Z] ++ 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 [2021-06-14T18:25:07.716Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-14T18:25:07.716Z] ++ cut -d/ -f2 [2021-06-14T18:25:07.716Z] ++ dirname cmd/core-command/Dockerfile [2021-06-14T18:25:07.716Z] + echo core-command,cmd/core-command/Dockerfile [2021-06-14T18:25:07.716Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-14T18:25:07.716Z] ++ dirname cmd/core-data/Dockerfile [2021-06-14T18:25:07.716Z] ++ cut -d/ -f2 [2021-06-14T18:25:07.716Z] + echo core-data,cmd/core-data/Dockerfile [2021-06-14T18:25:07.716Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-14T18:25:07.716Z] ++ dirname cmd/core-metadata/Dockerfile [2021-06-14T18:25:07.716Z] ++ cut -d/ -f2 [2021-06-14T18:25:07.716Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-06-14T18:25:07.716Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-14T18:25:07.716Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-06-14T18:25:07.716Z] ++ cut -d/ -f2 [2021-06-14T18:25:07.716Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-06-14T18:25:07.716Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-14T18:25:07.716Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-06-14T18:25:07.716Z] ++ cut -d/ -f2 [2021-06-14T18:25:07.716Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-06-14T18:25:07.716Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-14T18:25:07.716Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-06-14T18:25:07.716Z] ++ cut -d/ -f2 [2021-06-14T18:25:07.716Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-06-14T18:25:07.716Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-14T18:25:07.716Z] ++ dirname cmd/support-notifications/Dockerfile [2021-06-14T18:25:07.716Z] ++ cut -d/ -f2 [2021-06-14T18:25:07.716Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-06-14T18:25:07.716Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-14T18:25:07.716Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-06-14T18:25:07.716Z] ++ cut -d/ -f2 [2021-06-14T18:25:07.716Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-06-14T18:25:07.716Z] + for file in '`ls cmd/**/Dockerfile`' [2021-06-14T18:25:07.716Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-06-14T18:25:07.716Z] ++ cut -d/ -f2 [2021-06-14T18:25:07.716Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-06-14T18:25:07.778Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-06-14T18:25:08.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-14T18:25:08.706Z] [2021-06-14T18:25:08.706Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-14T18:25:09.067Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-14T18:25:09.067Z] latest: Pulling from edgex-devops/git-semver [2021-06-14T18:25:09.067Z] 31603596830f: Pulling fs layer [2021-06-14T18:25:09.067Z] 54011a49482f: Pulling fs layer [2021-06-14T18:25:09.067Z] a6820b24f6d8: Pulling fs layer [2021-06-14T18:25:09.067Z] f581987b2513: Pulling fs layer [2021-06-14T18:25:09.067Z] f581987b2513: Waiting [2021-06-14T18:25:09.067Z] 54011a49482f: Verifying Checksum [2021-06-14T18:25:09.067Z] 54011a49482f: Download complete [2021-06-14T18:25:09.332Z] 31603596830f: Verifying Checksum [2021-06-14T18:25:09.332Z] 31603596830f: Download complete [2021-06-14T18:25:09.332Z] f581987b2513: Verifying Checksum [2021-06-14T18:25:09.332Z] f581987b2513: Download complete [2021-06-14T18:25:09.332Z] 31603596830f: Pull complete [2021-06-14T18:25:09.602Z] a6820b24f6d8: Verifying Checksum [2021-06-14T18:25:09.602Z] a6820b24f6d8: Download complete [2021-06-14T18:25:09.602Z] 54011a49482f: Pull complete [2021-06-14T18:25:10.177Z] a6820b24f6d8: Pull complete [2021-06-14T18:25:10.440Z] f581987b2513: Pull complete [2021-06-14T18:25:10.440Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-14T18:25:10.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-14T18:25:10.440Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-14T18:25:10.551Z] prd-centos7-docker-4c-2g-1315 does not seem to be running inside a container [2021-06-14T18:25:10.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-14T18:25:11.642Z] $ docker top b1e17a17197b27fca5d87dabeffd7fcd9d6daf2cb1dcfe616e7ca1d66e3d9e0b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-14T18:25:11.854Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-14T18:25:11.854Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-14T18:25:11.961Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-14T18:25:11.960Z] $ docker exec b1e17a17197b27fca5d87dabeffd7fcd9d6daf2cb1dcfe616e7ca1d66e3d9e0b ssh-agent [2021-06-14T18:25:12.080Z] SSH_AUTH_SOCK=/tmp/ssh-3JWPzkLd1BIm/agent.13 [2021-06-14T18:25:12.080Z] SSH_AGENT_PID=20 [2021-06-14T18:25:12.087Z] Running ssh-add (command line suppressed) [2021-06-14T18:25:12.181Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_7524805685726458765.key (/w/workspace/edgex-go/1@tmp/private_key_7524805685726458765.key) [2021-06-14T18:25:12.200Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-14T18:25:12.551Z] + git tag --points-at HEAD [Pipeline] } [2021-06-14T18:25:12.570Z] $ docker exec --env ******** --env ******** b1e17a17197b27fca5d87dabeffd7fcd9d6daf2cb1dcfe616e7ca1d66e3d9e0b ssh-agent -k [2021-06-14T18:25:12.660Z] unset SSH_AUTH_SOCK; [2021-06-14T18:25:12.663Z] unset SSH_AGENT_PID; [2021-06-14T18:25:12.663Z] echo Agent pid 20 killed; [2021-06-14T18:25:12.677Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-14T18:25:12.785Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-14T18:25:12.786Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-14T18:25:12.892Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-14T18:25:12.890Z] $ docker exec b1e17a17197b27fca5d87dabeffd7fcd9d6daf2cb1dcfe616e7ca1d66e3d9e0b ssh-agent [2021-06-14T18:25:12.998Z] SSH_AUTH_SOCK=/tmp/ssh-lQnSHXos45oR/agent.52 [2021-06-14T18:25:12.998Z] SSH_AGENT_PID=59 [2021-06-14T18:25:13.004Z] Running ssh-add (command line suppressed) [2021-06-14T18:25:13.100Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_8743443720980980107.key (/w/workspace/edgex-go/1@tmp/private_key_8743443720980980107.key) [2021-06-14T18:25:13.118Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-14T18:25:13.478Z] + git semver init [2021-06-14T18:25:13.478Z] # -> Open(): unable to determine branch for HEAD [2021-06-14T18:25:13.478Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-06-14T18:25:13.478Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-06-14T18:25:13.478Z] # $SEMVER_REMOTE_NAME = origin [2021-06-14T18:25:13.478Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-14T18:25:13.478Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-14T18:25:13.478Z] # $SEMVER_BRANCH = PR-3567 [2021-06-14T18:25:13.478Z] # $SEMVER_TEMP = /tmp/semver-798244230 [2021-06-14T18:25:13.478Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-06-14T18:25:31.672Z] # '/tmp/semver-798244230' -> '/w/workspace/edgex-go/1/.semver' [2021-06-14T18:25:31.672Z] # -> Force: false [2021-06-14T18:25:31.672Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-06-14T18:25:31.716Z] $ docker exec --env ******** --env ******** b1e17a17197b27fca5d87dabeffd7fcd9d6daf2cb1dcfe616e7ca1d66e3d9e0b ssh-agent -k [2021-06-14T18:25:31.805Z] unset SSH_AUTH_SOCK; [2021-06-14T18:25:31.806Z] unset SSH_AGENT_PID; [2021-06-14T18:25:31.806Z] echo Agent pid 59 killed; [2021-06-14T18:25:31.822Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-14T18:25:32.244Z] + git semver [Pipeline] } [2021-06-14T18:25:32.274Z] $ docker stop --time=1 b1e17a17197b27fca5d87dabeffd7fcd9d6daf2cb1dcfe616e7ca1d66e3d9e0b [2021-06-14T18:25:34.211Z] $ docker rm -f b1e17a17197b27fca5d87dabeffd7fcd9d6daf2cb1dcfe616e7ca1d66e3d9e0b [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-14T18:25:34.676Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-14T18:25:34.991Z] Stashed 1 file(s) [Pipeline] echo [2021-06-14T18:25:35.016Z] [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) Stage "arm64" skipped due to when conditional [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] // stage [Pipeline] } [2021-06-14T18:25:36.611Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-14T18:25:36.940Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-14T18:25:37.272Z] + sudo service docker restart [2021-06-14T18:25:37.272Z] + true [2021-06-14T18:25:37.272Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-06-14T18:25:55.453Z] ========================================================= [2021-06-14T18:25:55.453Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-14T18:25:55.453Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-14T18:25:55.803Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-14T18:25:57.207Z] Sending build context to Docker daemon 329.4MB [2021-06-14T18:25:57.207Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-06-14T18:25:57.207Z] Step 2/6 : FROM ${BASE} [2021-06-14T18:25:57.207Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-14T18:25:57.207Z] 540db60ca938: Pulling fs layer [2021-06-14T18:25:57.207Z] adcc1eea9eea: Pulling fs layer [2021-06-14T18:25:57.207Z] 4c4ab2625f07: Pulling fs layer [2021-06-14T18:25:57.207Z] 0510c868ecb4: Pulling fs layer [2021-06-14T18:25:57.207Z] afea3b2eda06: Pulling fs layer [2021-06-14T18:25:57.207Z] 7809a108b3ef: Pulling fs layer [2021-06-14T18:25:57.207Z] f706445af74f: Pulling fs layer [2021-06-14T18:25:57.207Z] 0510c868ecb4: Waiting [2021-06-14T18:25:57.207Z] f706445af74f: Waiting [2021-06-14T18:25:57.207Z] afea3b2eda06: Waiting [2021-06-14T18:25:57.207Z] 7809a108b3ef: Waiting [2021-06-14T18:25:57.207Z] 4c4ab2625f07: Verifying Checksum [2021-06-14T18:25:57.207Z] 4c4ab2625f07: Download complete [2021-06-14T18:25:57.207Z] adcc1eea9eea: Verifying Checksum [2021-06-14T18:25:57.207Z] adcc1eea9eea: Download complete [2021-06-14T18:25:57.207Z] afea3b2eda06: Verifying Checksum [2021-06-14T18:25:57.207Z] afea3b2eda06: Download complete [2021-06-14T18:25:57.207Z] 7809a108b3ef: Verifying Checksum [2021-06-14T18:25:57.207Z] 7809a108b3ef: Download complete [2021-06-14T18:25:57.207Z] 540db60ca938: Verifying Checksum [2021-06-14T18:25:57.207Z] 540db60ca938: Download complete [2021-06-14T18:25:57.474Z] 540db60ca938: Pull complete [2021-06-14T18:25:57.474Z] adcc1eea9eea: Pull complete [2021-06-14T18:25:57.474Z] 4c4ab2625f07: Pull complete [2021-06-14T18:25:58.860Z] f706445af74f: Verifying Checksum [2021-06-14T18:25:58.860Z] f706445af74f: Download complete [2021-06-14T18:25:59.124Z] 0510c868ecb4: Verifying Checksum [2021-06-14T18:25:59.124Z] 0510c868ecb4: Download complete [2021-06-14T18:26:02.468Z] 0510c868ecb4: Pull complete [2021-06-14T18:26:02.468Z] afea3b2eda06: Pull complete [2021-06-14T18:26:02.468Z] 7809a108b3ef: Pull complete [2021-06-14T18:26:03.868Z] f706445af74f: Pull complete [2021-06-14T18:26:03.868Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-14T18:26:03.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-14T18:26:03.868Z] ---> b068be0155e3 [2021-06-14T18:26:03.868Z] 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 [2021-06-14T18:26:05.781Z] ---> Running in 3bf8a3162bfe [2021-06-14T18:26:05.782Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-14T18:26:06.725Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-14T18:26:06.986Z] (1/12) Installing libmagic (5.39-r0) [2021-06-14T18:26:07.929Z] (2/12) Installing file (5.39-r0) [2021-06-14T18:26:07.929Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-06-14T18:26:07.929Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-06-14T18:26:12.133Z] (5/12) Installing fortify-headers (1.1-r0) [2021-06-14T18:26:12.133Z] (6/12) Installing patch (2.7.6-r6) [2021-06-14T18:26:12.133Z] (7/12) Installing build-base (0.5-r2) [2021-06-14T18:26:12.133Z] (8/12) Installing libsodium (1.0.18-r0) [2021-06-14T18:26:12.133Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-06-14T18:26:12.133Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-06-14T18:26:12.133Z] (11/12) Installing libzmq (4.3.3-r1) [2021-06-14T18:26:12.133Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-06-14T18:26:12.133Z] Executing busybox-1.32.1-r6.trigger [2021-06-14T18:26:12.133Z] OK: 219 MiB in 52 packages [2021-06-14T18:26:13.525Z] Removing intermediate container 3bf8a3162bfe [2021-06-14T18:26:13.525Z] ---> c7fb3a8aec7f [2021-06-14T18:26:13.525Z] Step 4/6 : WORKDIR /edgex-go [2021-06-14T18:26:13.525Z] ---> Running in ac7827215db6 [2021-06-14T18:26:13.525Z] Removing intermediate container ac7827215db6 [2021-06-14T18:26:13.525Z] ---> c195c7488878 [2021-06-14T18:26:13.526Z] Step 5/6 : COPY go.mod . [2021-06-14T18:26:13.526Z] ---> 627d6da4e8a7 [2021-06-14T18:26:13.526Z] Step 6/6 : RUN go mod download [2021-06-14T18:26:13.526Z] ---> Running in 1b0744337e2a [2021-06-14T18:26:25.784Z] Removing intermediate container 1b0744337e2a [2021-06-14T18:26:25.784Z] ---> f22417e1fe59 [2021-06-14T18:26:25.784Z] Successfully built f22417e1fe59 [2021-06-14T18:26:25.784Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-14T18:26:26.132Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-14T18:26:26.132Z] . [Pipeline] withDockerContainer [2021-06-14T18:26:26.232Z] prd-centos7-docker-4c-2g-1315 does not seem to be running inside a container [2021-06-14T18:26:26.269Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-14T18:26:26.624Z] $ docker top 5525b49825afe0af6edcaaeca52f8a2eea50fed4c1fccfc069e14416e6e95568 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-14T18:26:27.058Z] + go version [2021-06-14T18:26:27.058Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-14T18:26:27.083Z] $ docker stop --time=1 5525b49825afe0af6edcaaeca52f8a2eea50fed4c1fccfc069e14416e6e95568 [2021-06-14T18:26:28.281Z] $ docker rm -f 5525b49825afe0af6edcaaeca52f8a2eea50fed4c1fccfc069e14416e6e95568 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-14T18:26:29.123Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-14T18:26:29.123Z] . [Pipeline] withDockerContainer [2021-06-14T18:26:29.268Z] prd-centos7-docker-4c-2g-1315 does not seem to be running inside a container [2021-06-14T18:26:29.305Z] $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-14T18:26:29.683Z] $ docker top 112f2aaed613946260eb7072f98a92a5c3033592e04e76ff9a145f02fb8d4426 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-14T18:26:29.831Z] ========================================================= [2021-06-14T18:26:29.831Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-06-14T18:26:29.831Z] ========================================================= [Pipeline] sh [2021-06-14T18:26:30.145Z] + go mod tidy [Pipeline] sh [2021-06-14T18:26:30.756Z] + echo test [2021-06-14T18:26:30.756Z] test [Pipeline] sh [2021-06-14T18:26:31.079Z] + ls -al . [2021-06-14T18:26:31.079Z] total 124 [2021-06-14T18:26:31.079Z] drwxrwxr-x 10 1001 1001 4096 Jun 14 18:26 . [2021-06-14T18:26:31.079Z] drwxr-xr-x 4 root root 28 Jun 14 18:26 .. [2021-06-14T18:26:31.079Z] -rw-rw-r-- 1 1001 1001 11 Jun 14 18:24 .dockerignore [2021-06-14T18:26:31.079Z] drwxrwxr-x 8 1001 1001 179 Jun 14 18:25 .git [2021-06-14T18:26:31.079Z] drwxrwxr-x 3 1001 1001 125 Jun 14 18:24 .github [2021-06-14T18:26:31.079Z] -rw-rw-r-- 1 1001 1001 818 Jun 14 18:24 .gitignore [2021-06-14T18:26:31.079Z] drwx------ 3 1001 1001 60 Jun 14 18:25 .semver [2021-06-14T18:26:31.079Z] -rw-rw-r-- 1 1001 1001 166 Jun 14 18:24 .sonarcloud.properties [2021-06-14T18:26:31.079Z] -rw-rw-r-- 1 1001 1001 8609 Jun 14 18:24 Attribution.txt [2021-06-14T18:26:31.079Z] -rw-rw-r-- 1 1001 1001 3804 Jun 14 18:24 CONTRIBUTING.md [2021-06-14T18:26:31.079Z] -rw-rw-r-- 1 1001 1001 931 Jun 14 18:24 Dockerfile.build [2021-06-14T18:26:31.079Z] -rw-rw-r-- 1 1001 1001 945 Jun 14 18:24 Jenkinsfile [2021-06-14T18:26:31.079Z] -rw-rw-r-- 1 1001 1001 10775 Jun 14 18:24 LICENSE [2021-06-14T18:26:31.079Z] -rw-rw-r-- 1 1001 1001 5605 Jun 14 18:24 Makefile [2021-06-14T18:26:31.079Z] -rw-rw-r-- 1 1001 1001 7978 Jun 14 18:24 README.md [2021-06-14T18:26:31.079Z] -rw-rw-r-- 1 1001 1001 7071 Jun 14 18:24 SECURITY.md [2021-06-14T18:26:31.079Z] -rw-rw-r-- 1 1001 1001 5 Jun 14 18:25 VERSION [2021-06-14T18:26:31.079Z] -rw-rw-r-- 1 1001 1001 4131 Jun 14 18:24 ZMQWindows.md [2021-06-14T18:26:31.079Z] drwxrwxr-x 2 1001 1001 37 Jun 14 18:24 bin [2021-06-14T18:26:31.079Z] drwxrwxr-x 14 1001 1001 4096 Jun 14 18:24 cmd [2021-06-14T18:26:31.079Z] -rw-rw-r-- 1 1001 1001 841 Jun 14 18:24 go.mod [2021-06-14T18:26:31.079Z] -rw-r--r-- 1 root root 20952 Jun 14 18:26 go.sum [2021-06-14T18:26:31.079Z] drwxrwxr-x 7 1001 1001 114 Jun 14 18:24 internal [2021-06-14T18:26:31.079Z] drwxrwxr-x 3 1001 1001 16 Jun 14 18:24 openapi [2021-06-14T18:26:31.079Z] drwxrwxr-x 4 1001 1001 71 Jun 14 18:24 snap [2021-06-14T18:26:31.079Z] -rw-rw-r-- 1 1001 1001 168 Jun 14 18:24 version.go [Pipeline] sh [2021-06-14T18:26:31.402Z] + '[' -e coverage.out ] [Pipeline] } [2021-06-14T18:26:31.444Z] $ docker stop --time=1 112f2aaed613946260eb7072f98a92a5c3033592e04e76ff9a145f02fb8d4426 [2021-06-14T18:26:32.630Z] $ docker rm -f 112f2aaed613946260eb7072f98a92a5c3033592e04e76ff9a145f02fb8d4426 [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] } [2021-06-14T18:26:33.965Z] Failed in branch amd64 [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] { (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 [2021-06-14T18:26:36.181Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T18:26:36.828Z] ---> package-listing.sh [2021-06-14T18:26:36.828Z] ++ facter osfamily [2021-06-14T18:26:36.828Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-14T18:26:36.828Z] + OS_FAMILY=redhat [2021-06-14T18:26:36.828Z] + workspace=/w/workspace/edgex-go/1 [2021-06-14T18:26:36.828Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-14T18:26:36.828Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-14T18:26:36.828Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-14T18:26:36.828Z] + PACKAGES=/tmp/packages_start.txt [2021-06-14T18:26:36.828Z] + '[' /w/workspace/edgex-go/1 ']' [2021-06-14T18:26:36.828Z] + PACKAGES=/tmp/packages_end.txt [2021-06-14T18:26:36.828Z] + case "${OS_FAMILY}" in [2021-06-14T18:26:36.828Z] + rpm -qa [2021-06-14T18:26:37.094Z] + sort [2021-06-14T18:26:37.669Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-14T18:26:37.669Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-14T18:26:37.669Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-14T18:26:37.669Z] + '[' /w/workspace/edgex-go/1 ']' [2021-06-14T18:26:37.669Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-06-14T18:26:37.669Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-06-14T18:26:37.736Z] 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/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-14T18:26:38.142Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-14T18:26:38.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-14T18:26:38.556Z] [2021-06-14T18:26:38.556Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-14T18:26:38.936Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-14T18:26:38.936Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-14T18:26:38.936Z] df20fa9351a1: Pulling fs layer [2021-06-14T18:26:38.936Z] 36b3adc4ff6f: Pulling fs layer [2021-06-14T18:26:38.936Z] 8ad3a11d3b57: Pulling fs layer [2021-06-14T18:26:38.936Z] 46f8f816bc3b: Pulling fs layer [2021-06-14T18:26:38.936Z] 93b61091891f: Pulling fs layer [2021-06-14T18:26:38.936Z] 93b9cdb0e59b: Pulling fs layer [2021-06-14T18:26:38.936Z] 5e14af77c1be: Pulling fs layer [2021-06-14T18:26:38.936Z] 01666e4c0597: Pulling fs layer [2021-06-14T18:26:38.936Z] aa168da1d23b: Pulling fs layer [2021-06-14T18:26:38.936Z] 46f8f816bc3b: Waiting [2021-06-14T18:26:38.936Z] 93b61091891f: Waiting [2021-06-14T18:26:38.936Z] 93b9cdb0e59b: Waiting [2021-06-14T18:26:38.936Z] 5e14af77c1be: Waiting [2021-06-14T18:26:38.936Z] 01666e4c0597: Waiting [2021-06-14T18:26:38.936Z] aa168da1d23b: Waiting [2021-06-14T18:26:38.936Z] 36b3adc4ff6f: Verifying Checksum [2021-06-14T18:26:38.936Z] 36b3adc4ff6f: Download complete [2021-06-14T18:26:38.936Z] 46f8f816bc3b: Verifying Checksum [2021-06-14T18:26:38.936Z] 46f8f816bc3b: Download complete [2021-06-14T18:26:38.936Z] df20fa9351a1: Verifying Checksum [2021-06-14T18:26:38.936Z] df20fa9351a1: Download complete [2021-06-14T18:26:38.936Z] 93b9cdb0e59b: Verifying Checksum [2021-06-14T18:26:38.936Z] 93b9cdb0e59b: Download complete [2021-06-14T18:26:38.936Z] 5e14af77c1be: Verifying Checksum [2021-06-14T18:26:38.936Z] 5e14af77c1be: Download complete [2021-06-14T18:26:38.936Z] 93b61091891f: Verifying Checksum [2021-06-14T18:26:38.936Z] 93b61091891f: Download complete [2021-06-14T18:26:39.229Z] 01666e4c0597: Verifying Checksum [2021-06-14T18:26:39.229Z] 01666e4c0597: Download complete [2021-06-14T18:26:39.229Z] 8ad3a11d3b57: Verifying Checksum [2021-06-14T18:26:39.229Z] 8ad3a11d3b57: Download complete [2021-06-14T18:26:39.229Z] df20fa9351a1: Pull complete [2021-06-14T18:26:39.229Z] 36b3adc4ff6f: Pull complete [2021-06-14T18:26:39.811Z] 8ad3a11d3b57: Pull complete [2021-06-14T18:26:39.811Z] 46f8f816bc3b: Pull complete [2021-06-14T18:26:40.158Z] 93b61091891f: Pull complete [2021-06-14T18:26:40.158Z] 93b9cdb0e59b: Pull complete [2021-06-14T18:26:40.158Z] 5e14af77c1be: Pull complete [2021-06-14T18:26:40.420Z] 01666e4c0597: Pull complete [2021-06-14T18:26:40.681Z] aa168da1d23b: Verifying Checksum [2021-06-14T18:26:40.681Z] aa168da1d23b: Download complete [2021-06-14T18:26:44.911Z] aa168da1d23b: Pull complete [2021-06-14T18:26:44.911Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-14T18:26:44.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-14T18:26:44.911Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-14T18:26:45.014Z] prd-centos7-docker-4c-2g-1315 does not seem to be running inside a container [2021-06-14T18:26:45.057Z] $ 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/1/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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-14T18:26:46.648Z] $ docker top 3a140bff4497ddb1fb8d970edd4ddfe9ca2335725e5b825d420a75ed78f5b901 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-14T18:26:47.068Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-14T18:26:47.390Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-14T18:26:47.710Z] + ls /var/log/sa-host [2021-06-14T18:26:47.710Z] + sadf -c /var/log/sa-host/sa05 [2021-06-14T18:26:47.710Z] file_magic: OK [2021-06-14T18:26:47.710Z] HZ: Using current value: 100 [2021-06-14T18:26:47.710Z] file_header: OK [2021-06-14T18:26:47.710Z] 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 [2021-06-14T18:26:47.710Z] Statistics: [2021-06-14T18:26:47.710Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-14T18:26:47.710Z] File successfully converted to sysstat format version 12.2.1 [2021-06-14T18:26:47.710Z] + sadf -c /var/log/sa-host/sa14 [2021-06-14T18:26:47.710Z] file_magic: OK [2021-06-14T18:26:47.710Z] HZ: Using current value: 100 [2021-06-14T18:26:47.710Z] file_header: OK [2021-06-14T18:26:47.710Z] 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 [2021-06-14T18:26:47.710Z] Statistics: [2021-06-14T18:26:47.710Z] HRHnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-14T18:26:47.710Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-14T18:26:48.112Z] provisioning config files... [2021-06-14T18:26:48.127Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config4146449969590165421tmp [Pipeline] { [Pipeline] echo [2021-06-14T18:26:48.185Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T18:26:48.551Z] ---> create-netrc.sh [Pipeline] } [2021-06-14T18:26:48.576Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-14T18:26:49.039Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-14T18:26:49.083Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T18:26:49.421Z] ---> sudo-logs.sh [2021-06-14T18:26:49.421Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-14T18:26:49.510Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T18:26:49.843Z] ---> job-cost.sh [2021-06-14T18:26:49.843Z] lf-activate-venv: SKIPPING [2021-06-14T18:26:49.843Z] INFO: No Stack... [2021-06-14T18:26:50.788Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-14T18:26:51.359Z] INFO: Archiving Costs [Pipeline] echo [2021-06-14T18:26:51.398Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T18:26:51.744Z] ---> logs-deploy.sh [2021-06-14T18:26:51.745Z] lf-activate-venv: SKIPPING [2021-06-14T18:26:51.745Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3567/1 [2021-06-14T18:26:51.745Z] INFO: archiving workspace using pattern(s): [2021-06-14T18:26:52.743Z] Archives upload complete. [2021-06-14T18:26:52.743Z] INFO: archiving logs to Nexus