Pull request #3758 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/edgex-go Obtained Jenkinsfile from 1fcb2821b56a221158c1bf069847ae85c11c0244+69f0044378c84a2584b9cc14c244d921f2d7705f (d5a6bd875a6cb42a5b89a41714e6287c293bbdd6) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7075622821911226495.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7872173115449021086.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3758/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3758/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8371094788558145157.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1577257770330703355.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3758/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3758/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4943832350307787000.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[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.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_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true 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-2143 in /w/workspace/edgexfoundry_edgex-go_PR-3758 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [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/2 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh1536816484907564039.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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh935116292374162943.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3758/head:refs/remotes/origin/PR-3758 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 69f0044378c84a2584b9cc14c244d921f2d7705f into PR head commit 1fcb2821b56a221158c1bf069847ae85c11c0244 Merge succeeded, producing 1fcb2821b56a221158c1bf069847ae85c11c0244 Checking out Revision 1fcb2821b56a221158c1bf069847ae85c11c0244 (PR-3758) > git config core.sparsecheckout # timeout=10 > git checkout -f 1fcb2821b56a221158c1bf069847ae85c11c0244 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh4581373948612588352.key > git merge 69f0044378c84a2584b9cc14c244d921f2d7705f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1fcb2821b56a221158c1bf069847ae85c11c0244 # timeout=10 Commit message: "feat(all): Enable CORS headers for all services" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:22:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:22:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:22:40 ========================================================= 09:22:40 EdgeX Global Pipelines Version Info 09:22:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 997063e8705c9dc5047e3526e4809156d4ad97c5 # timeout=10 09:22:41 ------------------- 09:22:41 stable info: 09:22:41 ------------------- 09:22:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:22:41 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 09:22:41 Message: update stable to v1.0.210 09:22:41 ------------------- 09:22:41 experimental info: 09:22:41 ------------------- 09:22:41 Commited By: **** collab-it+edgex@linuxfoundation.org 09:22:41 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 09:22:41 Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:22:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:22:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:22:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 09:22:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 09:22:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:22:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3758 [Pipeline] echo 09:22:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3758 [Pipeline] echo 09:22:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3758 [Pipeline] echo 09:22:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1fcb2821b56a221158c1bf069847ae85c11c0244 [Pipeline] echo 09:22:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1fcb282 [Pipeline] echo 09:22:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:22:42 provisioning config files... 09:22:42 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config7958094124146906209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:42 ---> docker-login.sh 09:22:42 nexus3.edgexfoundry.org:10001 09:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:42 Configure a credential helper to remove this warning. See 09:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:42 09:22:42 Login Succeeded 09:22:42 nexus3.edgexfoundry.org:10002 09:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:42 Configure a credential helper to remove this warning. See 09:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:42 09:22:42 Login Succeeded 09:22:42 nexus3.edgexfoundry.org:10003 09:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:42 Configure a credential helper to remove this warning. See 09:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:42 09:22:42 Login Succeeded 09:22:42 nexus3.edgexfoundry.org:10004 09:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:42 Configure a credential helper to remove this warning. See 09:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:42 09:22:42 Login Succeeded 09:22:42 docker.io 09:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:43 Configure a credential helper to remove this warning. See 09:22:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:43 09:22:43 Login Succeeded 09:22:43 ---> docker-login.sh ends [Pipeline] } 09:22:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:22:43 ++ 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 09:22:43 + for file in '`ls cmd/**/Dockerfile`' 09:22:43 ++ cut -d/ -f2 09:22:43 ++ dirname cmd/core-command/Dockerfile 09:22:43 + echo core-command,cmd/core-command/Dockerfile 09:22:43 + for file in '`ls cmd/**/Dockerfile`' 09:22:43 ++ cut -d/ -f2 09:22:43 ++ dirname cmd/core-data/Dockerfile 09:22:43 + echo core-data,cmd/core-data/Dockerfile 09:22:43 + for file in '`ls cmd/**/Dockerfile`' 09:22:43 ++ dirname cmd/core-metadata/Dockerfile 09:22:43 ++ cut -d/ -f2 09:22:43 + echo core-metadata,cmd/core-metadata/Dockerfile 09:22:43 + for file in '`ls cmd/**/Dockerfile`' 09:22:43 ++ dirname cmd/security-bootstrapper/Dockerfile 09:22:43 ++ cut -d/ -f2 09:22:43 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 09:22:43 + for file in '`ls cmd/**/Dockerfile`' 09:22:43 ++ dirname cmd/security-proxy-setup/Dockerfile 09:22:43 ++ cut -d/ -f2 09:22:43 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 09:22:43 + for file in '`ls cmd/**/Dockerfile`' 09:22:43 ++ dirname cmd/security-secretstore-setup/Dockerfile 09:22:43 ++ cut -d/ -f2 09:22:43 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 09:22:43 + for file in '`ls cmd/**/Dockerfile`' 09:22:43 ++ dirname cmd/support-notifications/Dockerfile 09:22:43 ++ cut -d/ -f2 09:22:43 + echo support-notifications,cmd/support-notifications/Dockerfile 09:22:43 + for file in '`ls cmd/**/Dockerfile`' 09:22:43 ++ dirname cmd/support-scheduler/Dockerfile 09:22:43 ++ cut -d/ -f2 09:22:43 + echo support-scheduler,cmd/support-scheduler/Dockerfile 09:22:43 + for file in '`ls cmd/**/Dockerfile`' 09:22:43 ++ dirname cmd/sys-mgmt-agent/Dockerfile 09:22:43 ++ cut -d/ -f2 09:22:43 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 09:22:43 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 09:22:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:22:45 09:22:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:22:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:22:45 latest: Pulling from edgex-devops/git-semver 09:22:45 a0d0a0d46f8b: Pulling fs layer 09:22:45 3e5f54012d9b: Pulling fs layer 09:22:45 4c7163046ea9: Pulling fs layer 09:22:45 0c2d73faf560: Pulling fs layer 09:22:45 0c2d73faf560: Waiting 09:22:45 a0d0a0d46f8b: Verifying Checksum 09:22:45 a0d0a0d46f8b: Download complete 09:22:45 4c7163046ea9: Verifying Checksum 09:22:45 4c7163046ea9: Download complete 09:22:45 0c2d73faf560: Verifying Checksum 09:22:45 0c2d73faf560: Download complete 09:22:46 a0d0a0d46f8b: Pull complete 09:22:46 3e5f54012d9b: Pull complete 09:22:46 4c7163046ea9: Pull complete 09:22:46 0c2d73faf560: Pull complete 09:22:46 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 09:22:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:22:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:22:46 prd-centos7-docker-4c-2g-2143 does not seem to be running inside a container 09:22:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 09:22:47 $ docker top 598e7b01156246920e85eeb6794771d1a3b43dc7d06ef2f4e84db2c3199b6a94 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:22:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:22:47 [ssh-agent] Looking for ssh-agent implementation... 09:22:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:22:47 $ docker exec 598e7b01156246920e85eeb6794771d1a3b43dc7d06ef2f4e84db2c3199b6a94 ssh-agent 09:22:47 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBdOlLh/agent.13 09:22:47 SSH_AGENT_PID=19 09:22:47 Running ssh-add (command line suppressed) 09:22:47 Identity added: /w/workspace/edgex-go/2@tmp/private_key_805105714785372312.key (/w/workspace/edgex-go/2@tmp/private_key_805105714785372312.key) 09:22:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:22:48 + git tag --points-at HEAD [Pipeline] } 09:22:48 $ docker exec --env ******** --env ******** 598e7b01156246920e85eeb6794771d1a3b43dc7d06ef2f4e84db2c3199b6a94 ssh-agent -k 09:22:48 unset SSH_AUTH_SOCK; 09:22:48 unset SSH_AGENT_PID; 09:22:48 echo Agent pid 19 killed; 09:22:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:22:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:22:48 [ssh-agent] Looking for ssh-agent implementation... 09:22:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:22:48 $ docker exec 598e7b01156246920e85eeb6794771d1a3b43dc7d06ef2f4e84db2c3199b6a94 ssh-agent 09:22:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbOIoIP/agent.55 09:22:48 SSH_AGENT_PID=61 09:22:48 Running ssh-add (command line suppressed) 09:22:48 Identity added: /w/workspace/edgex-go/2@tmp/private_key_2874156011713353684.key (/w/workspace/edgex-go/2@tmp/private_key_2874156011713353684.key) 09:22:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:22:48 + git semver init 09:22:48 # -> Open(): unable to determine branch for HEAD 09:22:48 # $GIT_DIR = /w/workspace/edgex-go/2/.git 09:22:48 # $GIT_WORK_TREE = /w/workspace/edgex-go/2 09:22:48 # $SEMVER_REMOTE_NAME = origin 09:22:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:22:48 # $SEMVER_USER_NAME = edgex-jenkins 09:22:48 # $SEMVER_BRANCH = PR-3758 09:22:48 # $SEMVER_TEMP = /tmp/semver-590602297 09:22:48 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 09:23:01 # '/tmp/semver-590602297' -> '/w/workspace/edgex-go/2/.semver' 09:23:01 # -> Force: false 09:23:01 # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } 09:23:01 $ docker exec --env ******** --env ******** 598e7b01156246920e85eeb6794771d1a3b43dc7d06ef2f4e84db2c3199b6a94 ssh-agent -k 09:23:01 unset SSH_AUTH_SOCK; 09:23:01 unset SSH_AGENT_PID; 09:23:01 echo Agent pid 61 killed; 09:23:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:23:01 + git semver [Pipeline] } 09:23:01 $ docker stop --time=1 598e7b01156246920e85eeb6794771d1a3b43dc7d06ef2f4e84db2c3199b6a94 09:23:03 $ docker rm -f 598e7b01156246920e85eeb6794771d1a3b43dc7d06ef2f4e84db2c3199b6a94 [Pipeline] // withDockerContainer [Pipeline] sh 09:23:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:23:03 Stashed 1 file(s) [Pipeline] echo 09:23:03 [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] echo 09:23:04 ========================================================= 09:23:04 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 09:23:04 ========================================================= [Pipeline] fileExists [Pipeline] sh 09:23:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 09:23:04 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 09:23:04 a0d0a0d46f8b: Already exists 09:23:04 31adcdaf11c8: Pulling fs layer 09:23:04 b8b176561691: Pulling fs layer 09:23:04 4527c011a84f: Pulling fs layer 09:23:04 5d74067f8e1e: Pulling fs layer 09:23:04 e0aca202a116: Pulling fs layer 09:23:04 3a43be97a3b4: Pulling fs layer 09:23:04 34cad66bf833: Pulling fs layer 09:23:04 b4e3c513aaa6: Pulling fs layer 09:23:04 5d74067f8e1e: Waiting 09:23:04 e0aca202a116: Waiting 09:23:04 3a43be97a3b4: Waiting 09:23:04 34cad66bf833: Waiting 09:23:04 b4e3c513aaa6: Waiting 09:23:04 b8b176561691: Verifying Checksum 09:23:04 b8b176561691: Download complete 09:23:04 31adcdaf11c8: Verifying Checksum 09:23:04 31adcdaf11c8: Download complete 09:23:04 5d74067f8e1e: Verifying Checksum 09:23:04 5d74067f8e1e: Download complete 09:23:04 e0aca202a116: Verifying Checksum 09:23:04 e0aca202a116: Download complete 09:23:04 3a43be97a3b4: Verifying Checksum 09:23:04 3a43be97a3b4: Download complete 09:23:04 31adcdaf11c8: Pull complete 09:23:04 34cad66bf833: Verifying Checksum 09:23:04 34cad66bf833: Download complete 09:23:04 b8b176561691: Pull complete 09:23:05 4527c011a84f: Verifying Checksum 09:23:05 4527c011a84f: Download complete 09:23:05 b4e3c513aaa6: Verifying Checksum 09:23:05 b4e3c513aaa6: Download complete 09:23:09 4527c011a84f: Pull complete 09:23:09 5d74067f8e1e: Pull complete 09:23:09 e0aca202a116: Pull complete 09:23:09 3a43be97a3b4: Pull complete 09:23:09 34cad66bf833: Pull complete 09:23:11 b4e3c513aaa6: Pull complete 09:23:11 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 09:23:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 09:23:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] fileExists [Pipeline] sh 09:23:11 + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 09:23:11 WORKDIR /edgex 09:23:11 COPY go.mod . 09:23:11 RUN go mod download' 09:23:11 + docker build -t ci-base-image-x86_64 -f - . 09:23:13 Sending build context to Docker daemon 329.4MB 09:23:13 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 09:23:13 ---> 9f6097aaca64 09:23:13 Step 2/4 : WORKDIR /edgex 09:23:14 ---> Running in 576208d50f8b 09:23:14 Removing intermediate container 576208d50f8b 09:23:14 ---> 7749ec95c574 09:23:14 Step 3/4 : COPY go.mod . 09:23:14 ---> f0442b02c120 09:23:14 Step 4/4 : RUN go mod download 09:23:14 ---> Running in 86164f7f9600 09:23:16 go: github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0 (replaced by ../go-mod-bootstrap): reading /go-mod-bootstrap/go.mod: open /go-mod-bootstrap/go.mod: no such file or directory 09:23:17 The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [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] } 09:23:18 Failed in branch amd64 09:23:19 Still waiting to schedule task 09:23:19 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 09:29:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2145 in /w/workspace/edgexfoundry_edgex-go_PR-3758 [Pipeline] { [Pipeline] ws 09:29:26 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 09:29:27 The recommended git tool is: git 09:29:34 using credential edgex-jenkins-ssh 09:29:34 Cloning the remote Git repository 09:29:34 Cloning repository git@github.com:edgexfoundry/edgex-go.git 09:29:34 > git init /w/workspace/edgex-go/2 # timeout=10 09:29:34 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 09:29:34 > git --version # timeout=10 09:29:34 > git --version # 'git version 2.17.1' 09:29:34 using GIT_SSH to set credentials SSH Credentials for GitHub 09:29:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:29:51 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 09:29:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:29:51 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 09:29:51 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 09:29:51 using GIT_SSH to set credentials SSH Credentials for GitHub 09:29:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3758/head:refs/remotes/origin/PR-3758 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:29:52 Merging remotes/origin/main commit 69f0044378c84a2584b9cc14c244d921f2d7705f into PR head commit 1fcb2821b56a221158c1bf069847ae85c11c0244 09:29:52 Merge succeeded, producing 1fcb2821b56a221158c1bf069847ae85c11c0244 09:29:52 Checking out Revision 1fcb2821b56a221158c1bf069847ae85c11c0244 (PR-3758) 09:29:52 > git config core.sparsecheckout # timeout=10 09:29:52 > git checkout -f 1fcb2821b56a221158c1bf069847ae85c11c0244 # timeout=10 09:29:52 > git remote # timeout=10 09:29:52 > git config --get remote.origin.url # timeout=10 09:29:52 using GIT_SSH to set credentials SSH Credentials for GitHub 09:29:52 > git merge 69f0044378c84a2584b9cc14c244d921f2d7705f # timeout=10 09:29:52 > git rev-parse HEAD^{commit} # timeout=10 09:29:52 > git config core.sparsecheckout # timeout=10 09:29:52 > git checkout -f 1fcb2821b56a221158c1bf069847ae85c11c0244 # timeout=10 09:29:56 Commit message: "feat(all): Enable CORS headers for all services" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:29:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:29:58 % Total % Received % Xferd Average Speed Time Time Time Current 09:29:58 Dload Upload Total Spent Left Speed 09:29:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 156k 0 --:--:-- --:--:-- --:--:-- 158k [Pipeline] sh 09:29:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:29:58 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:29:58 sudo tee /etc/docker/daemon.new 09:29:58 { 09:29:58 "registry-mirrors": [ 09:29:58 "https://nexus3.edgexfoundry.org:10001" 09:29:58 ], 09:29:58 "bip": "10.250.0.254/24", 09:29:58 "hosts": [ 09:29:58 "tcp://0.0.0.0:5555", 09:29:58 "unix:///var/run/docker.sock" 09:29:58 ], 09:29:58 "mtu": 1458, 09:29:58 "selinux-enabled": true, 09:29:58 "seccomp-profile": "/etc/docker/seccomp.json" 09:29:58 } [Pipeline] sh 09:29:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:29:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:30:18 provisioning config files... 09:30:18 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config2785090341150982248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:30:19 ---> docker-login.sh 09:30:19 nexus3.edgexfoundry.org:10001 09:30:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:21 Configure a credential helper to remove this warning. See 09:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:21 09:30:21 Login Succeeded 09:30:21 nexus3.edgexfoundry.org:10002 09:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:21 Configure a credential helper to remove this warning. See 09:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:21 09:30:21 Login Succeeded 09:30:21 nexus3.edgexfoundry.org:10003 09:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:22 Configure a credential helper to remove this warning. See 09:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:22 09:30:22 Login Succeeded 09:30:22 nexus3.edgexfoundry.org:10004 09:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:22 Configure a credential helper to remove this warning. See 09:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:22 09:30:22 Login Succeeded 09:30:22 docker.io 09:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:23 Configure a credential helper to remove this warning. See 09:30:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:23 09:30:23 Login Succeeded 09:30:23 ---> docker-login.sh ends [Pipeline] } 09:30:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:30:24 ========================================================= 09:30:24 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 09:30:24 ========================================================= [Pipeline] fileExists [Pipeline] sh 09:30:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 09:30:24 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:30:24 552d1f2373af: Pulling fs layer 09:30:24 ea3f2d53f512: Pulling fs layer 09:30:24 9e70ebbbe112: Pulling fs layer 09:30:24 7a9cfe048b4a: Pulling fs layer 09:30:24 72dc09318566: Pulling fs layer 09:30:24 f4f7b4309257: Pulling fs layer 09:30:24 0ac9a79272e3: Pulling fs layer 09:30:24 b78e95d17946: Pulling fs layer 09:30:24 72dc09318566: Waiting 09:30:24 f4f7b4309257: Waiting 09:30:24 0ac9a79272e3: Waiting 09:30:24 b78e95d17946: Waiting 09:30:24 7a9cfe048b4a: Waiting 09:30:24 9e70ebbbe112: Verifying Checksum 09:30:24 9e70ebbbe112: Download complete 09:30:24 ea3f2d53f512: Verifying Checksum 09:30:24 ea3f2d53f512: Download complete 09:30:24 72dc09318566: Verifying Checksum 09:30:24 72dc09318566: Download complete 09:30:24 f4f7b4309257: Verifying Checksum 09:30:24 f4f7b4309257: Download complete 09:30:25 552d1f2373af: Verifying Checksum 09:30:25 552d1f2373af: Download complete 09:30:25 0ac9a79272e3: Verifying Checksum 09:30:25 0ac9a79272e3: Download complete 09:30:25 552d1f2373af: Pull complete 09:30:26 ea3f2d53f512: Pull complete 09:30:26 9e70ebbbe112: Pull complete 09:30:27 b78e95d17946: Verifying Checksum 09:30:27 b78e95d17946: Download complete 09:30:27 7a9cfe048b4a: Verifying Checksum 09:30:27 7a9cfe048b4a: Download complete 09:30:37 7a9cfe048b4a: Pull complete 09:30:37 72dc09318566: Pull complete 09:30:37 f4f7b4309257: Pull complete 09:30:38 0ac9a79272e3: Pull complete 09:30:45 b78e95d17946: Pull complete 09:30:45 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 09:30:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 09:30:45 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] fileExists [Pipeline] sh 09:30:45 + + docker build -t ci-base-image-arm64echo -f - . 09:30:45 FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 09:30:45 WORKDIR /edgex 09:30:45 COPY go.mod . 09:30:45 RUN go mod download 09:30:47 Sending build context to Docker daemon 166.3MB 09:30:47 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 09:30:47 ---> 8b459fc5aaf0 09:30:47 Step 2/4 : WORKDIR /edgex 09:30:53 ---> Running in 77c54a759719 09:30:53 Removing intermediate container 77c54a759719 09:30:53 ---> 22e19c5bb2c0 09:30:53 Step 3/4 : COPY go.mod . 09:30:54 ---> 9198435a4732 09:30:54 Step 4/4 : RUN go mod download 09:30:54 ---> Running in 8aedf4048268 09:31:01 go: github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0 (replaced by ../go-mod-bootstrap): reading /go-mod-bootstrap/go.mod: open /go-mod-bootstrap/go.mod: no such file or directory 09:31:01 The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:31:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:02 09:31:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:31:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:02 arm64: Pulling from edgex-lftools-log-publisher 09:31:02 448f6bf000e3: Pulling fs layer 09:31:02 f757da607395: Pulling fs layer 09:31:02 05883995daec: Pulling fs layer 09:31:02 8603b9c90790: Pulling fs layer 09:31:02 1560dd03e051: Pulling fs layer 09:31:02 27f5ce0e4adf: Pulling fs layer 09:31:02 c2d8d7efcc4b: Pulling fs layer 09:31:02 1560dd03e051: Waiting 09:31:02 27f5ce0e4adf: Waiting 09:31:02 c2d8d7efcc4b: Waiting 09:31:02 8603b9c90790: Waiting 09:31:03 f757da607395: Verifying Checksum 09:31:03 f757da607395: Download complete 09:31:03 8603b9c90790: Verifying Checksum 09:31:03 8603b9c90790: Download complete 09:31:03 05883995daec: Verifying Checksum 09:31:03 05883995daec: Download complete 09:31:03 27f5ce0e4adf: Verifying Checksum 09:31:03 27f5ce0e4adf: Download complete 09:31:03 1560dd03e051: Verifying Checksum 09:31:03 1560dd03e051: Download complete 09:31:03 448f6bf000e3: Verifying Checksum 09:31:03 448f6bf000e3: Download complete 09:31:05 c2d8d7efcc4b: Verifying Checksum 09:31:05 c2d8d7efcc4b: Download complete 09:31:06 448f6bf000e3: Pull complete 09:31:07 f757da607395: Pull complete 09:31:08 05883995daec: Pull complete 09:31:08 8603b9c90790: Pull complete 09:31:09 1560dd03e051: Pull complete 09:31:10 27f5ce0e4adf: Pull complete 09:31:23 c2d8d7efcc4b: Pull complete 09:31:23 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 09:31:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:31:23 prd-ubuntu18.04-docker-arm64-4c-16g-2145 does not seem to be running inside a container 09:31:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:31:28 $ docker top cf56e1dc95d08f5a84702f7eca1edf7a3b864c3c16ca3b45d661f98dd508ce7f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:31:29 ---> job-cost.sh 09:31:29 lf-activate-venv: SKIPPING 09:31:29 INFO: No Stack... 09:31:44 INFO: Retrieving Pricing Info for: v3-standard-4 09:31:44 INFO: Archiving Costs [Pipeline] sh 09:31:45 + cat /w/workspace/edgex-go/2/archives/cost.csv 09:31:45 + cut -d, -f6 [Pipeline] lock 09:31:45 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3758-2-stack-cost] 09:31:45 Resource [jenkins-edgexfoundry-edgex-go-PR-3758-2-stack-cost] did not exist. Created. 09:31:45 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3758-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:31:46 + echo total: 0.10999999940395355 [Pipeline] stash 09:31:47 Stashed 1 file(s) [Pipeline] } 09:31:47 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3758-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:31:47 $ docker stop --time=1 cf56e1dc95d08f5a84702f7eca1edf7a3b864c3c16ca3b45d661f98dd508ce7f 09:31:48 $ docker rm -f cf56e1dc95d08f5a84702f7eca1edf7a3b864c3c16ca3b45d661f98dd508ce7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:31:49 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] { (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] sh 09:31:50 + '[' -d /w/workspace/edgex-go/2/archives ']' [Pipeline] libraryResource [Pipeline] sh 09:31:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:31:50 ---> package-listing.sh 09:31:50 ++ tr '[:upper:]' '[:lower:]' 09:31:50 ++ facter osfamily 09:31:51 + OS_FAMILY=redhat 09:31:51 + workspace=/w/workspace/edgex-go/2 09:31:51 + START_PACKAGES=/tmp/packages_start.txt 09:31:51 + END_PACKAGES=/tmp/packages_end.txt 09:31:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:31:51 + PACKAGES=/tmp/packages_start.txt 09:31:51 + '[' /w/workspace/edgex-go/2 ']' 09:31:51 + PACKAGES=/tmp/packages_end.txt 09:31:51 + case "${OS_FAMILY}" in 09:31:51 + rpm -qa 09:31:51 + sort 09:31:51 + '[' -f /tmp/packages_start.txt ']' 09:31:51 + '[' -f /tmp/packages_end.txt ']' 09:31:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:31:51 + '[' /w/workspace/edgex-go/2 ']' 09:31:51 + mkdir -p /w/workspace/edgex-go/2/archives/ 09:31:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 09:31:51 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/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:31:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:31:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:31:52 09:31:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:31:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:31:52 latest: Pulling from edgex-lftools-log-publisher 09:31:52 b4d181a07f80: Pulling fs layer 09:31:52 a1111a8f2ec3: Pulling fs layer 09:31:52 ed53099fbce6: Pulling fs layer 09:31:52 dc539afda2c1: Pulling fs layer 09:31:52 77bc0d833cb6: Pulling fs layer 09:31:52 9065ff56babe: Pulling fs layer 09:31:52 d287ab97295c: Pulling fs layer 09:31:52 dc539afda2c1: Waiting 09:31:52 77bc0d833cb6: Waiting 09:31:52 9065ff56babe: Waiting 09:31:52 d287ab97295c: Waiting 09:31:52 a1111a8f2ec3: Verifying Checksum 09:31:52 a1111a8f2ec3: Download complete 09:31:52 dc539afda2c1: Verifying Checksum 09:31:52 dc539afda2c1: Download complete 09:31:53 ed53099fbce6: Verifying Checksum 09:31:53 ed53099fbce6: Download complete 09:31:53 77bc0d833cb6: Verifying Checksum 09:31:53 77bc0d833cb6: Download complete 09:31:53 9065ff56babe: Verifying Checksum 09:31:53 9065ff56babe: Download complete 09:31:53 b4d181a07f80: Verifying Checksum 09:31:53 b4d181a07f80: Download complete 09:31:53 d287ab97295c: Verifying Checksum 09:31:53 d287ab97295c: Download complete 09:31:54 b4d181a07f80: Pull complete 09:31:55 a1111a8f2ec3: Pull complete 09:31:55 ed53099fbce6: Pull complete 09:31:55 dc539afda2c1: Pull complete 09:31:55 77bc0d833cb6: Pull complete 09:31:55 9065ff56babe: Pull complete 09:32:01 d287ab97295c: Pull complete 09:32:01 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 09:32:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:32:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:32:01 prd-centos7-docker-4c-2g-2143 does not seem to be running inside a container 09:32:01 $ 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/2/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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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:latest cat 09:32:03 $ docker top 87d1e29fade9d915e9c577a73c24341fef4dec79e44edc23c04f638565f6f134 -eo pid,comm [Pipeline] { [Pipeline] sh 09:32:03 + touch /tmp/pre-build-complete [Pipeline] sh 09:32:04 + mkdir -p /var/log/sysstat [Pipeline] sh 09:32:04 + ls /var/log/sa-host 09:32:04 + sadf -c /var/log/sa-host/sa18 09:32:04 file_magic: OK 09:32:04 HZ: Using current value: 100 09:32:04 file_header: OK 09:32:04 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 09:32:04 Statistics: 09:32:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:32:04 File successfully converted to sysstat format version 12.0.3 09:32:04 + sadf -c /var/log/sa-host/sa30 09:32:04 file_magic: OK 09:32:04 HZ: Using current value: 100 09:32:04 file_header: OK 09:32:04 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 09:32:04 Statistics: 09:32:04 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:32:04 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:32:05 provisioning config files... 09:32:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config4024498703876408431tmp [Pipeline] { [Pipeline] echo 09:32:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:32:05 ---> create-netrc.sh [Pipeline] } 09:32:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:32:06 ---> python-tools-install.sh [Pipeline] echo 09:32:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:32:06 ---> sudo-logs.sh 09:32:06 Archiving 'sudo' log.. 09:32:06 sudo: unable to resolve host prd-centos7-docker-4c-2g-2143.novalocal: Name or service not known 09:32:06 sudo: unable to resolve host prd-centos7-docker-4c-2g-2143.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 09:32:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:32:06 ---> job-cost.sh 09:32:06 lf-activate-venv: SKIPPING 09:32:06 DEBUG: total: 0.10999999940395355 09:32:06 INFO: Retrieving Stack Cost... 09:32:07 INFO: Retrieving Pricing Info for: v3-standard-2 09:32:07 INFO: Archiving Costs [Pipeline] echo 09:32:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:32:08 ---> logs-deploy.sh 09:32:08 lf-activate-venv: SKIPPING 09:32:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3758/2 09:32:08 INFO: archiving workspace using pattern(s): 09:32:08 Archives upload complete. 09:32:08 INFO: archiving logs to Nexus