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 87f2c2be9b48e3a80b6cf54bff75732d64d0560e+86411704c056e83a3fc2a54d4c214538f329b007 (f9f33c805f9c855e7f360081322614408169c310) 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-ssh4092601935826050190.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-ssh6462182198318128050.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-ssh3723494674154596253.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-ssh6533828408178271060.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-ssh1791410911903934633.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-568 in /w/workspace/edgexfoundry_edgex-go_PR-3758 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/4 [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/4 # 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/4@tmp/jenkins-gitclient-ssh7811637042988364640.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 86411704c056e83a3fc2a54d4c214538f329b007 into PR head commit 87f2c2be9b48e3a80b6cf54bff75732d64d0560e Merge succeeded, producing 87f2c2be9b48e3a80b6cf54bff75732d64d0560e Checking out Revision 87f2c2be9b48e3a80b6cf54bff75732d64d0560e (PR-3758) > 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/4@tmp/jenkins-gitclient-ssh7274557702751184326.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 > git config core.sparsecheckout # timeout=10 > git checkout -f 87f2c2be9b48e3a80b6cf54bff75732d64d0560e # 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/4@tmp/jenkins-gitclient-ssh3768374517914058524.key > git merge 86411704c056e83a3fc2a54d4c214538f329b007 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 87f2c2be9b48e3a80b6cf54bff75732d64d0560e # 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 16:14:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:14:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:14:39 ========================================================= 16:14:39 EdgeX Global Pipelines Version Info 16:14:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk fe1bb55c69ed294c0ce9f0390cee493fcb21e250 # timeout=10 16:14:41 ------------------- 16:14:41 stable info: 16:14:41 ------------------- 16:14:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:14:41 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 16:14:41 Message: update stable to v1.0.210 16:14:41 ------------------- 16:14:41 experimental info: 16:14:41 ------------------- 16:14:41 Commited By: **** collab-it+edgex@linuxfoundation.org 16:14:41 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 16:14:41 Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3758 [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3758 [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3758 [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 87f2c2be9b48e3a80b6cf54bff75732d64d0560e [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 87f2c2b [Pipeline] echo 16:14:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:14:41 provisioning config files... 16:14:42 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/4@tmp/config1703421234350362163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:14:42 ---> docker-login.sh 16:14:42 nexus3.edgexfoundry.org:10001 16:14:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:42 Configure a credential helper to remove this warning. See 16:14:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:42 16:14:42 Login Succeeded 16:14:42 nexus3.edgexfoundry.org:10002 16:14:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:42 Configure a credential helper to remove this warning. See 16:14:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:42 16:14:42 Login Succeeded 16:14:42 nexus3.edgexfoundry.org:10003 16:14:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:42 Configure a credential helper to remove this warning. See 16:14:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:42 16:14:42 Login Succeeded 16:14:42 nexus3.edgexfoundry.org:10004 16:14:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:43 Configure a credential helper to remove this warning. See 16:14:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:43 16:14:43 Login Succeeded 16:14:43 docker.io 16:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:43 Configure a credential helper to remove this warning. See 16:14:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:43 16:14:43 Login Succeeded 16:14:43 ---> docker-login.sh ends [Pipeline] } 16:14:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:14: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 16:14:43 + for file in '`ls cmd/**/Dockerfile`' 16:14:43 ++ dirname cmd/core-command/Dockerfile 16:14:43 ++ cut -d/ -f2 16:14:43 + echo core-command,cmd/core-command/Dockerfile 16:14:43 + for file in '`ls cmd/**/Dockerfile`' 16:14:43 ++ dirname cmd/core-data/Dockerfile 16:14:43 ++ cut -d/ -f2 16:14:43 + echo core-data,cmd/core-data/Dockerfile 16:14:43 + for file in '`ls cmd/**/Dockerfile`' 16:14:43 ++ dirname cmd/core-metadata/Dockerfile 16:14:43 ++ cut -d/ -f2 16:14:43 + echo core-metadata,cmd/core-metadata/Dockerfile 16:14:43 + for file in '`ls cmd/**/Dockerfile`' 16:14:43 ++ dirname cmd/security-bootstrapper/Dockerfile 16:14:43 ++ cut -d/ -f2 16:14:43 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 16:14:43 + for file in '`ls cmd/**/Dockerfile`' 16:14:43 ++ dirname cmd/security-proxy-setup/Dockerfile 16:14:43 ++ cut -d/ -f2 16:14:43 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 16:14:43 + for file in '`ls cmd/**/Dockerfile`' 16:14:43 ++ dirname cmd/security-secretstore-setup/Dockerfile 16:14:43 ++ cut -d/ -f2 16:14:43 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 16:14:43 + for file in '`ls cmd/**/Dockerfile`' 16:14:43 ++ dirname cmd/support-notifications/Dockerfile 16:14:43 ++ cut -d/ -f2 16:14:43 + echo support-notifications,cmd/support-notifications/Dockerfile 16:14:43 + for file in '`ls cmd/**/Dockerfile`' 16:14:43 ++ dirname cmd/support-scheduler/Dockerfile 16:14:43 ++ cut -d/ -f2 16:14:43 + echo support-scheduler,cmd/support-scheduler/Dockerfile 16:14:43 + for file in '`ls cmd/**/Dockerfile`' 16:14:43 ++ dirname cmd/sys-mgmt-agent/Dockerfile 16:14:43 ++ cut -d/ -f2 16:14:43 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 16:14: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 16:14:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:14:44 16:14:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:14:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:14:44 latest: Pulling from edgex-devops/git-semver 16:14:44 a0d0a0d46f8b: Pulling fs layer 16:14:44 3e5f54012d9b: Pulling fs layer 16:14:44 4c7163046ea9: Pulling fs layer 16:14:44 0c2d73faf560: Pulling fs layer 16:14:44 0c2d73faf560: Waiting 16:14:44 3e5f54012d9b: Verifying Checksum 16:14:44 3e5f54012d9b: Download complete 16:14:44 a0d0a0d46f8b: Verifying Checksum 16:14:44 a0d0a0d46f8b: Download complete 16:14:44 0c2d73faf560: Verifying Checksum 16:14:44 0c2d73faf560: Download complete 16:14:44 4c7163046ea9: Verifying Checksum 16:14:44 4c7163046ea9: Download complete 16:14:45 a0d0a0d46f8b: Pull complete 16:14:45 3e5f54012d9b: Pull complete 16:14:45 4c7163046ea9: Pull complete 16:14:45 0c2d73faf560: Pull complete 16:14:45 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:14:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:14:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:14:45 prd-centos7-docker-4c-2g-568 does not seem to be running inside a container 16:14:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@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:10004/edgex-devops/git-semver:latest cat 16:14:46 $ docker top 53f687fd707cac831ffd4304f41dbc1f83a2e338b4d6eba3837d0f3cf45ecba8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:14:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:14:46 [ssh-agent] Looking for ssh-agent implementation... 16:14:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:14:46 $ docker exec 53f687fd707cac831ffd4304f41dbc1f83a2e338b4d6eba3837d0f3cf45ecba8 ssh-agent 16:14:46 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXldHeII/agent.14 16:14:46 SSH_AGENT_PID=20 16:14:46 Running ssh-add (command line suppressed) 16:14:46 Identity added: /w/workspace/edgex-go/4@tmp/private_key_5756369420397097741.key (/w/workspace/edgex-go/4@tmp/private_key_5756369420397097741.key) 16:14:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:14:47 + git tag --points-at HEAD [Pipeline] } 16:14:47 $ docker exec --env ******** --env ******** 53f687fd707cac831ffd4304f41dbc1f83a2e338b4d6eba3837d0f3cf45ecba8 ssh-agent -k 16:14:47 unset SSH_AUTH_SOCK; 16:14:47 unset SSH_AGENT_PID; 16:14:47 echo Agent pid 20 killed; 16:14:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:14:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:14:47 [ssh-agent] Looking for ssh-agent implementation... 16:14:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:14:47 $ docker exec 53f687fd707cac831ffd4304f41dbc1f83a2e338b4d6eba3837d0f3cf45ecba8 ssh-agent 16:14:47 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfjnCIn/agent.53 16:14:47 SSH_AGENT_PID=60 16:14:47 Running ssh-add (command line suppressed) 16:14:47 Identity added: /w/workspace/edgex-go/4@tmp/private_key_4132634078439522042.key (/w/workspace/edgex-go/4@tmp/private_key_4132634078439522042.key) 16:14:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:14:47 + git semver init 16:14:47 # -> Open(): unable to determine branch for HEAD 16:14:47 # $GIT_DIR = /w/workspace/edgex-go/4/.git 16:14:47 # $GIT_WORK_TREE = /w/workspace/edgex-go/4 16:14:47 # $SEMVER_REMOTE_NAME = origin 16:14:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:14:47 # $SEMVER_USER_NAME = edgex-jenkins 16:14:47 # $SEMVER_BRANCH = PR-3758 16:14:47 # $SEMVER_TEMP = /tmp/semver-232946244 16:14:47 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 16:15:26 # '/tmp/semver-232946244' -> '/w/workspace/edgex-go/4/.semver' 16:15:26 # -> Force: false 16:15:26 # $SEMVER_DIR = /w/workspace/edgex-go/4/.semver [Pipeline] } 16:15:26 $ docker exec --env ******** --env ******** 53f687fd707cac831ffd4304f41dbc1f83a2e338b4d6eba3837d0f3cf45ecba8 ssh-agent -k 16:15:26 unset SSH_AUTH_SOCK; 16:15:26 unset SSH_AGENT_PID; 16:15:26 echo Agent pid 60 killed; 16:15:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:15:27 + git semver [Pipeline] } 16:15:27 $ docker stop --time=1 53f687fd707cac831ffd4304f41dbc1f83a2e338b4d6eba3837d0f3cf45ecba8 16:15:28 $ docker rm -f 53f687fd707cac831ffd4304f41dbc1f83a2e338b4d6eba3837d0f3cf45ecba8 [Pipeline] // withDockerContainer [Pipeline] sh 16:15:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:15:29 Stashed 1 file(s) [Pipeline] echo 16:15:29 [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 16:15:29 ========================================================= 16:15:29 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 16:15:29 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:15:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:15:30 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 16:15:30 a0d0a0d46f8b: Already exists 16:15:30 31adcdaf11c8: Pulling fs layer 16:15:30 b8b176561691: Pulling fs layer 16:15:30 4527c011a84f: Pulling fs layer 16:15:30 5d74067f8e1e: Pulling fs layer 16:15:30 e0aca202a116: Pulling fs layer 16:15:30 3a43be97a3b4: Pulling fs layer 16:15:30 34cad66bf833: Pulling fs layer 16:15:30 b4e3c513aaa6: Pulling fs layer 16:15:30 5d74067f8e1e: Waiting 16:15:30 e0aca202a116: Waiting 16:15:30 3a43be97a3b4: Waiting 16:15:30 34cad66bf833: Waiting 16:15:30 b4e3c513aaa6: Waiting 16:15:30 b8b176561691: Verifying Checksum 16:15:30 b8b176561691: Download complete 16:15:30 31adcdaf11c8: Verifying Checksum 16:15:30 31adcdaf11c8: Download complete 16:15:30 5d74067f8e1e: Verifying Checksum 16:15:30 5d74067f8e1e: Download complete 16:15:30 e0aca202a116: Verifying Checksum 16:15:30 e0aca202a116: Download complete 16:15:30 3a43be97a3b4: Verifying Checksum 16:15:30 3a43be97a3b4: Download complete 16:15:30 31adcdaf11c8: Pull complete 16:15:30 34cad66bf833: Verifying Checksum 16:15:30 34cad66bf833: Download complete 16:15:30 b8b176561691: Pull complete 16:15:30 4527c011a84f: Verifying Checksum 16:15:30 4527c011a84f: Download complete 16:15:30 b4e3c513aaa6: Verifying Checksum 16:15:30 b4e3c513aaa6: Download complete 16:15:35 4527c011a84f: Pull complete 16:15:35 5d74067f8e1e: Pull complete 16:15:35 e0aca202a116: Pull complete 16:15:35 3a43be97a3b4: Pull complete 16:15:35 34cad66bf833: Pull complete 16:15:37 b4e3c513aaa6: Pull complete 16:15:37 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 16:15:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:15:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] fileExists [Pipeline] sh 16:15:37 + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:15:37 WORKDIR /edgex 16:15:37 COPY go.mod . 16:15:37 RUN go mod download' 16:15:37 + docker build -t ci-base-image-x86_64 -f - . 16:15:40 Sending build context to Docker daemon 329.6MB 16:15:40 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:15:40 ---> 9f6097aaca64 16:15:40 Step 2/4 : WORKDIR /edgex 16:15:42 ---> Running in baea871f41cc 16:15:42 Removing intermediate container baea871f41cc 16:15:42 ---> b993d82fa846 16:15:42 Step 3/4 : COPY go.mod . 16:15:42 ---> 5b33ff4de150 16:15:42 Step 4/4 : RUN go mod download 16:15:42 ---> Running in 99c882955715 16:15:44 Still waiting to schedule task 16:15:44 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:15:45 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 16:15:46 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] } 16:15:46 Failed in branch amd64 16:18:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-570 in /w/workspace/edgexfoundry_edgex-go_PR-3758 [Pipeline] { [Pipeline] ws 16:18:45 Running in /w/workspace/edgex-go/4 [Pipeline] { [Pipeline] checkout 16:18:45 The recommended git tool is: git 16:18:52 using credential edgex-jenkins-ssh 16:18:52 Cloning the remote Git repository 16:18:52 Cloning repository git@github.com:edgexfoundry/edgex-go.git 16:18:52 > git init /w/workspace/edgex-go/4 # timeout=10 16:18:52 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:18:52 > git --version # timeout=10 16:18:52 > git --version # 'git version 2.17.1' 16:18:52 using GIT_SSH to set credentials SSH Credentials for GitHub 16:18:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:11 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:19:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:11 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:19:11 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:19:11 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:11 > 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 16:19:12 Merging remotes/origin/main commit 86411704c056e83a3fc2a54d4c214538f329b007 into PR head commit 87f2c2be9b48e3a80b6cf54bff75732d64d0560e 16:19:13 Merge succeeded, producing 87f2c2be9b48e3a80b6cf54bff75732d64d0560e 16:19:13 Checking out Revision 87f2c2be9b48e3a80b6cf54bff75732d64d0560e (PR-3758) 16:19:12 > git config core.sparsecheckout # timeout=10 16:19:12 > git checkout -f 87f2c2be9b48e3a80b6cf54bff75732d64d0560e # timeout=10 16:19:13 > git remote # timeout=10 16:19:13 > git config --get remote.origin.url # timeout=10 16:19:13 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:13 > git merge 86411704c056e83a3fc2a54d4c214538f329b007 # timeout=10 16:19:13 > git rev-parse HEAD^{commit} # timeout=10 16:19:13 > git config core.sparsecheckout # timeout=10 16:19:13 > git checkout -f 87f2c2be9b48e3a80b6cf54bff75732d64d0560e # timeout=10 16:19:18 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 16:19:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:19:19 % Total % Received % Xferd Average Speed Time Time Time Current 16:19:19 Dload Upload Total Spent Left Speed 16:19:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 85681 0 --:--:-- --:--:-- --:--:-- 85681 [Pipeline] sh 16:19:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:19:20 + sudo+ tee /etc/docker/daemon.new 16:19:20 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:19:20 { 16:19:20 "registry-mirrors": [ 16:19:20 "https://nexus3.edgexfoundry.org:10001" 16:19:20 ], 16:19:20 "bip": "10.250.0.254/24", 16:19:20 "hosts": [ 16:19:20 "tcp://0.0.0.0:5555", 16:19:20 "unix:///var/run/docker.sock" 16:19:20 ], 16:19:20 "mtu": 1458, 16:19:20 "selinux-enabled": true, 16:19:20 "seccomp-profile": "/etc/docker/seccomp.json" 16:19:20 } [Pipeline] sh 16:19:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:19:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:19:39 provisioning config files... 16:19:39 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/4@tmp/config3788328836697399378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:40 ---> docker-login.sh 16:19:40 nexus3.edgexfoundry.org:10001 16:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:43 Configure a credential helper to remove this warning. See 16:19:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:43 16:19:43 Login Succeeded 16:19:43 nexus3.edgexfoundry.org:10002 16:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:43 Configure a credential helper to remove this warning. See 16:19:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:43 16:19:43 Login Succeeded 16:19:43 nexus3.edgexfoundry.org:10003 16:19:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:44 Configure a credential helper to remove this warning. See 16:19:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:44 16:19:44 Login Succeeded 16:19:44 nexus3.edgexfoundry.org:10004 16:19:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:45 Configure a credential helper to remove this warning. See 16:19:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:45 16:19:45 Login Succeeded 16:19:45 docker.io 16:19:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:45 Configure a credential helper to remove this warning. See 16:19:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:45 16:19:45 Login Succeeded 16:19:46 ---> docker-login.sh ends [Pipeline] } 16:19:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:19:46 ========================================================= 16:19:46 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 16:19:46 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:19:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:19:47 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:19:47 552d1f2373af: Pulling fs layer 16:19:47 ea3f2d53f512: Pulling fs layer 16:19:47 9e70ebbbe112: Pulling fs layer 16:19:47 7a9cfe048b4a: Pulling fs layer 16:19:47 72dc09318566: Pulling fs layer 16:19:47 f4f7b4309257: Pulling fs layer 16:19:47 0ac9a79272e3: Pulling fs layer 16:19:47 b78e95d17946: Pulling fs layer 16:19:47 f4f7b4309257: Waiting 16:19:47 0ac9a79272e3: Waiting 16:19:47 b78e95d17946: Waiting 16:19:47 7a9cfe048b4a: Waiting 16:19:47 72dc09318566: Waiting 16:19:47 ea3f2d53f512: Verifying Checksum 16:19:47 ea3f2d53f512: Download complete 16:19:47 9e70ebbbe112: Download complete 16:19:47 72dc09318566: Verifying Checksum 16:19:47 72dc09318566: Download complete 16:19:47 f4f7b4309257: Verifying Checksum 16:19:47 f4f7b4309257: Download complete 16:19:48 0ac9a79272e3: Verifying Checksum 16:19:48 0ac9a79272e3: Download complete 16:19:48 552d1f2373af: Verifying Checksum 16:19:48 552d1f2373af: Download complete 16:19:49 552d1f2373af: Pull complete 16:19:49 ea3f2d53f512: Pull complete 16:19:50 9e70ebbbe112: Pull complete 16:19:50 b78e95d17946: Verifying Checksum 16:19:50 b78e95d17946: Download complete 16:19:50 7a9cfe048b4a: Verifying Checksum 16:19:50 7a9cfe048b4a: Download complete 16:20:00 7a9cfe048b4a: Pull complete 16:20:00 72dc09318566: Pull complete 16:20:00 f4f7b4309257: Pull complete 16:20:00 0ac9a79272e3: Pull complete 16:20:06 b78e95d17946: Pull complete 16:20:06 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 16:20:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:20:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] fileExists [Pipeline] sh 16:20:06 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:20:06 WORKDIR /edgex 16:20:06 COPY go.mod . 16:20:06 RUN go mod download 16:20:06 + docker build -t ci-base-image-arm64 -f - . 16:20:08 Sending build context to Docker daemon 166.4MB 16:20:08 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:20:08 ---> 8b459fc5aaf0 16:20:08 Step 2/4 : WORKDIR /edgex 16:20:15 ---> Running in 01aa333e09a5 16:20:16 Removing intermediate container 01aa333e09a5 16:20:16 ---> 2e4a57c84ea8 16:20:16 Step 3/4 : COPY go.mod . 16:20:17 ---> aa20e9eb345f 16:20:17 Step 4/4 : RUN go mod download 16:20:17 ---> Running in b6189560d3c3 16:20:22 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 16:20:23 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 16:20:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:20:24 16:20:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:20:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:20:24 arm64: Pulling from edgex-lftools-log-publisher 16:20:24 448f6bf000e3: Pulling fs layer 16:20:24 f757da607395: Pulling fs layer 16:20:24 05883995daec: Pulling fs layer 16:20:24 8603b9c90790: Pulling fs layer 16:20:24 1560dd03e051: Pulling fs layer 16:20:24 27f5ce0e4adf: Pulling fs layer 16:20:24 c2d8d7efcc4b: Pulling fs layer 16:20:24 8603b9c90790: Waiting 16:20:24 1560dd03e051: Waiting 16:20:24 27f5ce0e4adf: Waiting 16:20:24 c2d8d7efcc4b: Waiting 16:20:25 f757da607395: Verifying Checksum 16:20:25 f757da607395: Download complete 16:20:25 8603b9c90790: Verifying Checksum 16:20:25 8603b9c90790: Download complete 16:20:25 1560dd03e051: Verifying Checksum 16:20:25 1560dd03e051: Download complete 16:20:25 27f5ce0e4adf: Download complete 16:20:25 448f6bf000e3: Verifying Checksum 16:20:25 448f6bf000e3: Download complete 16:20:26 05883995daec: Verifying Checksum 16:20:26 05883995daec: Download complete 16:20:28 c2d8d7efcc4b: Verifying Checksum 16:20:28 c2d8d7efcc4b: Download complete 16:20:29 448f6bf000e3: Pull complete 16:20:30 f757da607395: Pull complete 16:20:31 05883995daec: Pull complete 16:20:32 8603b9c90790: Pull complete 16:20:33 1560dd03e051: Pull complete 16:20:33 27f5ce0e4adf: Pull complete 16:20:48 c2d8d7efcc4b: Pull complete 16:20:48 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 16:20:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:20:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:20:48 prd-ubuntu18.04-docker-arm64-4c-16g-570 does not seem to be running inside a container 16:20:49 $ 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/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@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 16:20:54 $ docker top 9098adbfaa695f3896b66c8b8c4c2f982873a94764e57b8d8909e017a88ca3ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:20:55 ---> job-cost.sh 16:20:55 lf-activate-venv: SKIPPING 16:20:55 INFO: No Stack... 16:21:17 INFO: Retrieving Pricing Info for: v3-standard-4 16:21:17 INFO: Archiving Costs [Pipeline] sh 16:21:18 + cat /w/workspace/edgex-go/4/archives/cost.csv 16:21:18 + cut -d, -f6 [Pipeline] lock 16:21:18 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3758-4-stack-cost] 16:21:18 Resource [jenkins-edgexfoundry-edgex-go-PR-3758-4-stack-cost] did not exist. Created. 16:21:18 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3758-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:21:19 + echo total: 0.10999999940395355 [Pipeline] stash 16:21:20 Stashed 1 file(s) [Pipeline] } 16:21:20 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3758-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:21:20 $ docker stop --time=1 9098adbfaa695f3896b66c8b8c4c2f982873a94764e57b8d8909e017a88ca3ca 16:21:21 $ docker rm -f 9098adbfaa695f3896b66c8b8c4c2f982873a94764e57b8d8909e017a88ca3ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:21:22 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 16:21:23 + '[' -d /w/workspace/edgex-go/4/archives ']' [Pipeline] libraryResource [Pipeline] sh 16:21:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:21:24 ---> package-listing.sh 16:21:24 ++ tr '[:upper:]' '[:lower:]' 16:21:24 ++ facter osfamily 16:21:24 + OS_FAMILY=redhat 16:21:24 + workspace=/w/workspace/edgex-go/4 16:21:24 + START_PACKAGES=/tmp/packages_start.txt 16:21:24 + END_PACKAGES=/tmp/packages_end.txt 16:21:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:21:24 + PACKAGES=/tmp/packages_start.txt 16:21:24 + '[' /w/workspace/edgex-go/4 ']' 16:21:24 + PACKAGES=/tmp/packages_end.txt 16:21:24 + case "${OS_FAMILY}" in 16:21:24 + sort 16:21:24 + rpm -qa 16:21:24 + '[' -f /tmp/packages_start.txt ']' 16:21:24 + '[' -f /tmp/packages_end.txt ']' 16:21:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:21:24 + '[' /w/workspace/edgex-go/4 ']' 16:21:24 + mkdir -p /w/workspace/edgex-go/4/archives/ 16:21:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/4/archives/ [Pipeline] echo 16:21:24 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/4/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:21:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:21:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:21:25 16:21:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:21:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:21:26 latest: Pulling from edgex-lftools-log-publisher 16:21:26 b4d181a07f80: Pulling fs layer 16:21:26 a1111a8f2ec3: Pulling fs layer 16:21:26 ed53099fbce6: Pulling fs layer 16:21:26 dc539afda2c1: Pulling fs layer 16:21:26 77bc0d833cb6: Pulling fs layer 16:21:26 9065ff56babe: Pulling fs layer 16:21:26 d287ab97295c: Pulling fs layer 16:21:26 dc539afda2c1: Waiting 16:21:26 77bc0d833cb6: Waiting 16:21:26 9065ff56babe: Waiting 16:21:26 d287ab97295c: Waiting 16:21:26 a1111a8f2ec3: Verifying Checksum 16:21:26 a1111a8f2ec3: Download complete 16:21:26 dc539afda2c1: Verifying Checksum 16:21:26 dc539afda2c1: Download complete 16:21:26 ed53099fbce6: Verifying Checksum 16:21:26 ed53099fbce6: Download complete 16:21:26 9065ff56babe: Verifying Checksum 16:21:26 9065ff56babe: Download complete 16:21:26 77bc0d833cb6: Verifying Checksum 16:21:26 77bc0d833cb6: Download complete 16:21:26 b4d181a07f80: Verifying Checksum 16:21:26 b4d181a07f80: Download complete 16:21:27 d287ab97295c: Verifying Checksum 16:21:27 d287ab97295c: Download complete 16:21:27 b4d181a07f80: Pull complete 16:21:27 a1111a8f2ec3: Pull complete 16:21:28 ed53099fbce6: Pull complete 16:21:28 dc539afda2c1: Pull complete 16:21:28 77bc0d833cb6: Pull complete 16:21:29 9065ff56babe: Pull complete 16:21:34 d287ab97295c: Pull complete 16:21:34 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:21:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:21:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:21:34 prd-centos7-docker-4c-2g-568 does not seem to be running inside a container 16:21:34 $ 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/4/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/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:21:37 $ docker top 2216b21157f843ccd50b27044516713456c593cb40c24f03a425e199aedb1a38 -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:37 + touch /tmp/pre-build-complete [Pipeline] sh 16:21:37 + mkdir -p /var/log/sysstat [Pipeline] sh 16:21:38 + ls /var/log/sa-host 16:21:38 + sadf -c /var/log/sa-host/sa20 16:21:38 file_magic: OK 16:21:38 HZ: Using current value: 100 16:21:38 file_header: OK 16:21:38 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 16:21:38 Statistics: 16:21:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:21:38 File successfully converted to sysstat format version 12.0.3 16:21:38 + sadf -c /var/log/sa-host/sa30 16:21:38 file_magic: OK 16:21:38 HZ: Using current value: 100 16:21:38 file_header: OK 16:21:38 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 16:21:38 Statistics: 16:21:38 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:21:38 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:21:38 provisioning config files... 16:21:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/4@tmp/config3632863148748297030tmp [Pipeline] { [Pipeline] echo 16:21:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:21:38 ---> create-netrc.sh [Pipeline] } 16:21:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:21:39 ---> python-tools-install.sh [Pipeline] echo 16:21:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:21:39 ---> sudo-logs.sh 16:21:39 Archiving 'sudo' log.. 16:21:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-568.novalocal: Name or service not known 16:21:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-568.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 16:21:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:21:39 ---> job-cost.sh 16:21:39 lf-activate-venv: SKIPPING 16:21:39 DEBUG: total: 0.10999999940395355 16:21:39 INFO: Retrieving Stack Cost... 16:21:40 INFO: Retrieving Pricing Info for: v3-standard-2 16:21:40 INFO: Archiving Costs [Pipeline] echo 16:21:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:21:40 ---> logs-deploy.sh 16:21:40 lf-activate-venv: SKIPPING 16:21:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3758/4 16:21:40 INFO: archiving workspace using pattern(s): 16:21:41 Archives upload complete. 16:21:41 INFO: archiving logs to Nexus