Branch indexing 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 lenny-intel for edgexfoundry/edgex-go Obtained Jenkinsfile from 288a7a6233985f708a10c4868c8a0ccda36b4bb7+0dc7fb43dfbc61ec4b325044d074184b8b9e402a (8238f7c0d917595742acf8df6b0066e7b4e535a6) 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-ssh7913004926866966742.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh1556537394180323776.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-3879/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-3879/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17037314413829638211.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh17173708858822685230.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-3879/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-3879/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16639665939726972876.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.17 USE_ALPINE: true 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-4686 in /w/workspace/edgexfoundry_edgex-go_PR-3879 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/3 [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/3 # 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/3@tmp/jenkins-gitclient-ssh5673909148088137967.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/3@tmp/jenkins-gitclient-ssh5981002577284267152.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3879/head:refs/remotes/origin/PR-3879 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0dc7fb43dfbc61ec4b325044d074184b8b9e402a into PR head commit 288a7a6233985f708a10c4868c8a0ccda36b4bb7 Merge succeeded, producing fffbf131c9981467704f326e8a8fbc52d92d10cd Checking out Revision fffbf131c9981467704f326e8a8fbc52d92d10cd (PR-3879) > git config core.sparsecheckout # timeout=10 > git checkout -f 288a7a6233985f708a10c4868c8a0ccda36b4bb7 # 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/3@tmp/jenkins-gitclient-ssh6651962723383953176.key > git merge 0dc7fb43dfbc61ec4b325044d074184b8b9e402a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fffbf131c9981467704f326e8a8fbc52d92d10cd # timeout=10 Commit message: "Merge commit '0dc7fb43dfbc61ec4b325044d074184b8b9e402a' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 21b62b3d9f0e4b7244e8e5f84206e067d93e9a5d # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:29:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:29:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:29:14 ========================================================= 20:29:14 EdgeX Global Pipelines Version Info 20:29:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:29:15 ------------------- 20:29:15 stable info: 20:29:15 ------------------- 20:29:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:29:15 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 20:29:15 Message: update stable to v1.0.220 20:29:16 ------------------- 20:29:16 experimental info: 20:29:16 ------------------- 20:29:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:29:16 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 20:29:16 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3879 [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3879 [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3879 [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fffbf131c9981467704f326e8a8fbc52d92d10cd [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fffbf13 [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:29:16 provisioning config files... 20:29:16 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/3@tmp/config4256382313199440684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:17 ---> docker-login.sh 20:29:17 nexus3.edgexfoundry.org:10001 20:29:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:17 Configure a credential helper to remove this warning. See 20:29:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:17 20:29:17 Login Succeeded 20:29:17 nexus3.edgexfoundry.org:10002 20:29:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:17 Configure a credential helper to remove this warning. See 20:29:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:17 20:29:17 Login Succeeded 20:29:17 nexus3.edgexfoundry.org:10003 20:29:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:17 Configure a credential helper to remove this warning. See 20:29:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:17 20:29:17 Login Succeeded 20:29:17 nexus3.edgexfoundry.org:10004 20:29:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:17 Configure a credential helper to remove this warning. See 20:29:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:17 20:29:17 Login Succeeded 20:29:17 docker.io 20:29:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:18 Configure a credential helper to remove this warning. See 20:29:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:18 20:29:18 Login Succeeded 20:29:18 ---> docker-login.sh ends [Pipeline] } 20:29:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:29:18 ++ 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 20:29:18 + for file in '`ls cmd/**/Dockerfile`' 20:29:18 ++ dirname cmd/core-command/Dockerfile 20:29:18 ++ cut -d/ -f2 20:29:18 + echo core-command,cmd/core-command/Dockerfile 20:29:18 + for file in '`ls cmd/**/Dockerfile`' 20:29:18 ++ dirname cmd/core-data/Dockerfile 20:29:18 ++ cut -d/ -f2 20:29:18 + echo core-data,cmd/core-data/Dockerfile 20:29:18 + for file in '`ls cmd/**/Dockerfile`' 20:29:18 ++ dirname cmd/core-metadata/Dockerfile 20:29:18 ++ cut -d/ -f2 20:29:18 + echo core-metadata,cmd/core-metadata/Dockerfile 20:29:18 + for file in '`ls cmd/**/Dockerfile`' 20:29:18 ++ dirname cmd/security-bootstrapper/Dockerfile 20:29:18 ++ cut -d/ -f2 20:29:18 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 20:29:18 + for file in '`ls cmd/**/Dockerfile`' 20:29:18 ++ dirname cmd/security-proxy-setup/Dockerfile 20:29:18 ++ cut -d/ -f2 20:29:18 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 20:29:18 + for file in '`ls cmd/**/Dockerfile`' 20:29:18 ++ dirname cmd/security-secretstore-setup/Dockerfile 20:29:18 ++ cut -d/ -f2 20:29:18 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 20:29:18 + for file in '`ls cmd/**/Dockerfile`' 20:29:18 ++ dirname cmd/support-notifications/Dockerfile 20:29:18 ++ cut -d/ -f2 20:29:18 + echo support-notifications,cmd/support-notifications/Dockerfile 20:29:18 + for file in '`ls cmd/**/Dockerfile`' 20:29:18 ++ dirname cmd/support-scheduler/Dockerfile 20:29:18 ++ cut -d/ -f2 20:29:18 + echo support-scheduler,cmd/support-scheduler/Dockerfile 20:29:18 + for file in '`ls cmd/**/Dockerfile`' 20:29:18 ++ dirname cmd/sys-mgmt-agent/Dockerfile 20:29:18 ++ cut -d/ -f2 20:29:18 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 20:29:18 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] { (Build Check) [Pipeline] sh 20:29:18 + git rev-list -1 --merges fffbf131c9981467704f326e8a8fbc52d92d10cd~1..fffbf131c9981467704f326e8a8fbc52d92d10cd [Pipeline] echo 20:29:18 -----------> git rev-list -1 --merges fffbf131c9981467704f326e8a8fbc52d92d10cd~1..fffbf131c9981467704f326e8a8fbc52d92d10cd fffbf131c9981467704f326e8a8fbc52d92d10cd 20:29:18 fffbf131c9981467704f326e8a8fbc52d92d10cd [false] [Pipeline] sh 20:29:19 + git log --format=format:%s -1 fffbf131c9981467704f326e8a8fbc52d92d10cd [Pipeline] echo 20:29:19 ========================================================= 20:29:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:29:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 20:29:19 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:29:19 + grep -v github /etc/ssh/ssh_known_hosts 20:29:19 + '[' -e /tmp/ssh_known_hosts ']' 20:29:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:29:19 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 20:29:19 + sudo tee -a /etc/ssh/ssh_known_hosts 20:29:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:29:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:29:20 20:29:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:29:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:29:20 latest: Pulling from edgex-devops/git-semver 20:29:20 a0d0a0d46f8b: Pulling fs layer 20:29:20 3e5f54012d9b: Pulling fs layer 20:29:20 4c7163046ea9: Pulling fs layer 20:29:20 0c2d73faf560: Pulling fs layer 20:29:20 0c2d73faf560: Waiting 20:29:20 3e5f54012d9b: Verifying Checksum 20:29:20 3e5f54012d9b: Download complete 20:29:20 a0d0a0d46f8b: Verifying Checksum 20:29:20 a0d0a0d46f8b: Download complete 20:29:20 0c2d73faf560: Verifying Checksum 20:29:20 0c2d73faf560: Download complete 20:29:20 4c7163046ea9: Verifying Checksum 20:29:20 4c7163046ea9: Download complete 20:29:20 a0d0a0d46f8b: Pull complete 20:29:20 3e5f54012d9b: Pull complete 20:29:21 4c7163046ea9: Pull complete 20:29:21 0c2d73faf560: Pull complete 20:29:21 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:29:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:29:21 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:29:21 prd-centos7-docker-4c-2g-4686 does not seem to be running inside a container 20:29:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@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:10004/edgex-devops/git-semver:latest cat 20:29:22 $ docker top 59c1df20534325a2190836c63b2303f6892b2c52d7bc5deae4136c82e145efe3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:29:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:22 [ssh-agent] Looking for ssh-agent implementation... 20:29:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:22 $ docker exec 59c1df20534325a2190836c63b2303f6892b2c52d7bc5deae4136c82e145efe3 ssh-agent 20:29:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcelJDe/agent.13 20:29:22 SSH_AGENT_PID=19 20:29:22 Running ssh-add (command line suppressed) 20:29:22 Identity added: /w/workspace/edgex-go/3@tmp/private_key_6474268406139560380.key (/w/workspace/edgex-go/3@tmp/private_key_6474268406139560380.key) 20:29:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:22 + git tag --points-at HEAD [Pipeline] } 20:29:22 $ docker exec --env ******** --env ******** 59c1df20534325a2190836c63b2303f6892b2c52d7bc5deae4136c82e145efe3 ssh-agent -k 20:29:23 unset SSH_AUTH_SOCK; 20:29:23 unset SSH_AGENT_PID; 20:29:23 echo Agent pid 19 killed; 20:29:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:29:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:23 [ssh-agent] Looking for ssh-agent implementation... 20:29:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:23 $ docker exec 59c1df20534325a2190836c63b2303f6892b2c52d7bc5deae4136c82e145efe3 ssh-agent 20:29:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoBMibK/agent.53 20:29:23 SSH_AGENT_PID=59 20:29:23 Running ssh-add (command line suppressed) 20:29:23 Identity added: /w/workspace/edgex-go/3@tmp/private_key_8882812589855999236.key (/w/workspace/edgex-go/3@tmp/private_key_8882812589855999236.key) 20:29:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:23 + git semver init 20:29:23 # -> Open(): unable to determine branch for HEAD 20:29:23 # $GIT_DIR = /w/workspace/edgex-go/3/.git 20:29:23 # $GIT_WORK_TREE = /w/workspace/edgex-go/3 20:29:23 # $SEMVER_REMOTE_NAME = origin 20:29:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:29:23 # $SEMVER_USER_NAME = edgex-jenkins 20:29:23 # $SEMVER_BRANCH = PR-3879 20:29:23 # $SEMVER_TEMP = /tmp/semver-047739399 20:29:23 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 20:29:38 # '/tmp/semver-047739399' -> '/w/workspace/edgex-go/3/.semver' 20:29:38 # -> Force: false 20:29:38 # $SEMVER_DIR = /w/workspace/edgex-go/3/.semver [Pipeline] } 20:29:38 $ docker exec --env ******** --env ******** 59c1df20534325a2190836c63b2303f6892b2c52d7bc5deae4136c82e145efe3 ssh-agent -k 20:29:38 unset SSH_AUTH_SOCK; 20:29:38 unset SSH_AGENT_PID; 20:29:38 echo Agent pid 59 killed; 20:29:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:29:39 + git semver [Pipeline] } 20:29:39 $ docker stop --time=1 59c1df20534325a2190836c63b2303f6892b2c52d7bc5deae4136c82e145efe3 20:29:41 $ docker rm -f 59c1df20534325a2190836c63b2303f6892b2c52d7bc5deae4136c82e145efe3 [Pipeline] // withDockerContainer [Pipeline] sh 20:29:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:29:41 Stashed 1 file(s) [Pipeline] echo 20:29:41 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] echo 20:29:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:29:42 ========================================================= 20:29:42 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:29:42 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:29:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:29:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:29:42 59bf1c3509f3: Pulling fs layer 20:29:42 666ba61612fd: Pulling fs layer 20:29:42 8ed8ca486205: Pulling fs layer 20:29:42 4fe6c5a15a65: Pulling fs layer 20:29:42 22a0e8bec74d: Pulling fs layer 20:29:42 640e595b4fbd: Pulling fs layer 20:29:42 763cafe07f6e: Pulling fs layer 20:29:42 0c0b528cf693: Pulling fs layer 20:29:42 10935f4eaf8b: Pulling fs layer 20:29:42 640e595b4fbd: Waiting 20:29:42 763cafe07f6e: Waiting 20:29:42 0c0b528cf693: Waiting 20:29:42 10935f4eaf8b: Waiting 20:29:42 4fe6c5a15a65: Waiting 20:29:42 22a0e8bec74d: Waiting 20:29:42 8ed8ca486205: Verifying Checksum 20:29:42 8ed8ca486205: Download complete 20:29:42 666ba61612fd: Download complete 20:29:42 22a0e8bec74d: Verifying Checksum 20:29:42 22a0e8bec74d: Download complete 20:29:42 640e595b4fbd: Verifying Checksum 20:29:42 640e595b4fbd: Download complete 20:29:42 763cafe07f6e: Download complete 20:29:42 59bf1c3509f3: Verifying Checksum 20:29:42 59bf1c3509f3: Download complete 20:29:42 0c0b528cf693: Verifying Checksum 20:29:42 0c0b528cf693: Download complete 20:29:42 59bf1c3509f3: Pull complete 20:29:42 4fe6c5a15a65: Verifying Checksum 20:29:42 4fe6c5a15a65: Download complete 20:29:42 10935f4eaf8b: Verifying Checksum 20:29:42 10935f4eaf8b: Download complete 20:29:43 666ba61612fd: Pull complete 20:29:43 8ed8ca486205: Pull complete 20:29:47 4fe6c5a15a65: Pull complete 20:29:47 22a0e8bec74d: Pull complete 20:29:47 640e595b4fbd: Pull complete 20:29:47 763cafe07f6e: Pull complete 20:29:47 0c0b528cf693: Pull complete 20:29:50 10935f4eaf8b: Pull complete 20:29:50 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 20:29:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:29:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh 20:29:50 + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:29:50 WORKDIR /edgex 20:29:50 COPY go.mod . 20:29:50 RUN go mod download' 20:29:50 + docker build -t ci-base-image-x86_64 -f - . 20:29:52 Sending build context to Docker daemon 334.1MB 20:29:52 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:29:52 ---> 99d49a6021b9 20:29:52 Step 2/4 : WORKDIR /edgex 20:29:53 ---> Running in cfa476a99362 20:29:54 Removing intermediate container cfa476a99362 20:29:54 ---> 607931ca3bc3 20:29:54 Step 3/4 : COPY go.mod . 20:29:54 ---> 90352b302529 20:29:54 Step 4/4 : RUN go mod download 20:29:54 ---> Running in b461fec06c85 20:29:57 Still waiting to schedule task 20:29:57 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:30:16 go mod download: github.com/edgexfoundry/go-mod-bootstrap/v2@v2.1.0 (replaced by ../MODS/go-mod-bootstrap): reading /MODS/go-mod-bootstrap/go.mod: open /MODS/go-mod-bootstrap/go.mod: no such file or directory 20:30:20 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] } 20:30:20 Failed in branch amd64 20:31:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4688 in /w/workspace/edgexfoundry_edgex-go_PR-3879 [Pipeline] { [Pipeline] ws 20:31:28 Running in /w/workspace/edgex-go/3 [Pipeline] { [Pipeline] checkout 20:31:28 The recommended git tool is: git 20:31:33 using credential edgex-jenkins-ssh 20:31:33 Cloning the remote Git repository 20:31:33 Cloning repository git@github.com:edgexfoundry/edgex-go.git 20:31:33 > git init /w/workspace/edgex-go/3 # timeout=10 20:31:33 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:31:33 > git --version # timeout=10 20:31:33 > git --version # 'git version 2.17.1' 20:31:33 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:31:50 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:31:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:31:50 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:31:51 Merging remotes/origin/main commit 0dc7fb43dfbc61ec4b325044d074184b8b9e402a into PR head commit 288a7a6233985f708a10c4868c8a0ccda36b4bb7 20:31:52 Merge succeeded, producing 781173a1e27685d2ca6610ee16c60ef048ba1a0f 20:31:52 Checking out Revision 781173a1e27685d2ca6610ee16c60ef048ba1a0f (PR-3879) 20:31:50 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:31:50 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3879/head:refs/remotes/origin/PR-3879 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:31:51 > git config core.sparsecheckout # timeout=10 20:31:51 > git checkout -f 288a7a6233985f708a10c4868c8a0ccda36b4bb7 # timeout=10 20:31:52 > git remote # timeout=10 20:31:52 > git config --get remote.origin.url # timeout=10 20:31:52 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:52 > git merge 0dc7fb43dfbc61ec4b325044d074184b8b9e402a # timeout=10 20:31:52 > git rev-parse HEAD^{commit} # timeout=10 20:31:52 > git config core.sparsecheckout # timeout=10 20:31:52 > git checkout -f 781173a1e27685d2ca6610ee16c60ef048ba1a0f # timeout=10 20:31:56 Commit message: "Merge commit '0dc7fb43dfbc61ec4b325044d074184b8b9e402a' into HEAD" 20:31:56 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:31:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:31:57 % Total % Received % Xferd Average Speed Time Time Time Current 20:31:57 Dload Upload Total Spent Left Speed 20:31:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 88 11843 88 10501 0 0 74475 0 --:--:-- --:--:-- --:--:-- 73950 100 11843 100 11843 0 0 83401 0 --:--:-- --:--:-- --:--:-- 82818 20:31:56 > git rev-list --no-walk 21b62b3d9f0e4b7244e8e5f84206e067d93e9a5d # timeout=10 [Pipeline] sh 20:31:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:31:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:31:58 + sudo tee /etc/docker/daemon.new 20:31:58 { 20:31:58 "registry-mirrors": [ 20:31:58 "https://nexus3.edgexfoundry.org:10001" 20:31:58 ], 20:31:58 "bip": "10.250.0.254/24", 20:31:58 "hosts": [ 20:31:58 "tcp://0.0.0.0:5555", 20:31:58 "unix:///var/run/docker.sock" 20:31:58 ], 20:31:58 "mtu": 1458, 20:31:58 "selinux-enabled": true, 20:31:58 "seccomp-profile": "/etc/docker/seccomp.json" 20:31:58 } [Pipeline] sh 20:31:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:31:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:32:17 provisioning config files... 20:32:17 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/3@tmp/config1780444484688746059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:32:17 ---> docker-login.sh 20:32:17 nexus3.edgexfoundry.org:10001 20:32:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:18 Configure a credential helper to remove this warning. See 20:32:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:18 20:32:18 Login Succeeded 20:32:18 nexus3.edgexfoundry.org:10002 20:32:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:19 Configure a credential helper to remove this warning. See 20:32:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:19 20:32:19 Login Succeeded 20:32:19 nexus3.edgexfoundry.org:10003 20:32:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:19 Configure a credential helper to remove this warning. See 20:32:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:19 20:32:19 Login Succeeded 20:32:19 nexus3.edgexfoundry.org:10004 20:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:20 Configure a credential helper to remove this warning. See 20:32:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:20 20:32:20 Login Succeeded 20:32:20 docker.io 20:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:20 Configure a credential helper to remove this warning. See 20:32:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:20 20:32:20 Login Succeeded 20:32:20 ---> docker-login.sh ends [Pipeline] } 20:32:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:32:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:32:21 ========================================================= 20:32:21 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:32:21 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:32:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:32:22 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:32:22 9b3977197b4f: Pulling fs layer 20:32:22 1a89e8eeedd5: Pulling fs layer 20:32:22 94645a83ff95: Pulling fs layer 20:32:22 3f3a8bcf1eab: Pulling fs layer 20:32:22 0c92f367c5e7: Pulling fs layer 20:32:22 f7c0051592d6: Pulling fs layer 20:32:22 a227ed2f7395: Pulling fs layer 20:32:22 7b1c46037f91: Pulling fs layer 20:32:22 0c92f367c5e7: Waiting 20:32:22 f7c0051592d6: Waiting 20:32:22 a227ed2f7395: Waiting 20:32:22 7b1c46037f91: Waiting 20:32:22 3f3a8bcf1eab: Waiting 20:32:22 94645a83ff95: Download complete 20:32:22 1a89e8eeedd5: Download complete 20:32:22 0c92f367c5e7: Verifying Checksum 20:32:22 0c92f367c5e7: Download complete 20:32:22 f7c0051592d6: Verifying Checksum 20:32:22 f7c0051592d6: Download complete 20:32:22 9b3977197b4f: Verifying Checksum 20:32:22 9b3977197b4f: Download complete 20:32:22 a227ed2f7395: Verifying Checksum 20:32:22 a227ed2f7395: Download complete 20:32:23 9b3977197b4f: Pull complete 20:32:23 1a89e8eeedd5: Pull complete 20:32:23 94645a83ff95: Pull complete 20:32:24 7b1c46037f91: Verifying Checksum 20:32:24 7b1c46037f91: Download complete 20:32:24 3f3a8bcf1eab: Verifying Checksum 20:32:24 3f3a8bcf1eab: Download complete 20:32:36 3f3a8bcf1eab: Pull complete 20:32:36 0c92f367c5e7: Pull complete 20:32:36 f7c0051592d6: Pull complete 20:32:36 a227ed2f7395: Pull complete 20:32:43 7b1c46037f91: Pull complete 20:32:43 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 20:32:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:32:43 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh 20:32:43 + docker build -t ci-base-image-arm64 -f - . 20:32:43 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:32:43 WORKDIR /edgex 20:32:43 COPY go.mod . 20:32:43 RUN go mod download 20:32:46 Sending build context to Docker daemon 168.8MB 20:32:46 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:32:46 ---> f79e39bc4007 20:32:46 Step 2/4 : WORKDIR /edgex 20:32:48 ---> Running in 8b057e7d07bb 20:32:48 Removing intermediate container 8b057e7d07bb 20:32:48 ---> 7ebbb7c62e63 20:32:48 Step 3/4 : COPY go.mod . 20:32:49 ---> d7d5a6f30440 20:32:49 Step 4/4 : RUN go mod download 20:32:49 ---> Running in b66b115a2de7 20:33:11 go mod download: github.com/edgexfoundry/go-mod-bootstrap/v2@v2.1.0 (replaced by ../MODS/go-mod-bootstrap): reading /MODS/go-mod-bootstrap/go.mod: open /MODS/go-mod-bootstrap/go.mod: no such file or directory 20:33:14 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 20:33:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:33:14 20:33:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:33:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:33:15 arm64: Pulling from edgex-lftools-log-publisher 20:33:15 448f6bf000e3: Pulling fs layer 20:33:15 f757da607395: Pulling fs layer 20:33:15 05883995daec: Pulling fs layer 20:33:15 8603b9c90790: Pulling fs layer 20:33:15 1560dd03e051: Pulling fs layer 20:33:15 27f5ce0e4adf: Pulling fs layer 20:33:15 c2d8d7efcc4b: Pulling fs layer 20:33:15 8603b9c90790: Waiting 20:33:15 1560dd03e051: Waiting 20:33:15 27f5ce0e4adf: Waiting 20:33:15 c2d8d7efcc4b: Waiting 20:33:15 f757da607395: Verifying Checksum 20:33:15 f757da607395: Download complete 20:33:15 8603b9c90790: Verifying Checksum 20:33:15 8603b9c90790: Download complete 20:33:15 1560dd03e051: Verifying Checksum 20:33:15 1560dd03e051: Download complete 20:33:15 05883995daec: Verifying Checksum 20:33:15 27f5ce0e4adf: Verifying Checksum 20:33:15 27f5ce0e4adf: Download complete 20:33:15 448f6bf000e3: Verifying Checksum 20:33:15 448f6bf000e3: Download complete 20:33:18 c2d8d7efcc4b: Verifying Checksum 20:33:18 c2d8d7efcc4b: Download complete 20:33:19 448f6bf000e3: Pull complete 20:33:20 f757da607395: Pull complete 20:33:21 05883995daec: Pull complete 20:33:21 8603b9c90790: Pull complete 20:33:22 1560dd03e051: Pull complete 20:33:22 27f5ce0e4adf: Pull complete 20:33:37 c2d8d7efcc4b: Pull complete 20:33:37 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:33:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:33:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:33:38 prd-ubuntu18.04-docker-arm64-4c-16g-4688 does not seem to be running inside a container 20:33:38 $ 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/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:33:40 $ docker top 3b73df793156bf9237cb7ace7e5b0de4614163bfbc4b00698a6f853c6ff43e24 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:33:41 ---> job-cost.sh 20:33:41 lf-activate-venv: SKIPPING 20:33:41 INFO: No Stack... 20:33:42 INFO: Retrieving Pricing Info for: v3-standard-4 20:33:42 INFO: Archiving Costs [Pipeline] sh 20:33:43 + cat /w/workspace/edgex-go/3/archives/cost.csv 20:33:43 + cut -d, -f6 [Pipeline] lock 20:33:43 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3879-3-stack-cost] 20:33:43 Resource [jenkins-edgexfoundry-edgex-go-PR-3879-3-stack-cost] did not exist. Created. 20:33:43 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3879-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:33:43 + echo total: 0.10999999940395355 [Pipeline] stash 20:33:44 Stashed 1 file(s) [Pipeline] } 20:33:44 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3879-3-stack-cost] [Pipeline] // lock [Pipeline] } 20:33:44 $ docker stop --time=1 3b73df793156bf9237cb7ace7e5b0de4614163bfbc4b00698a6f853c6ff43e24 20:33:45 $ docker rm -f 3b73df793156bf9237cb7ace7e5b0de4614163bfbc4b00698a6f853c6ff43e24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:33:46 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:33:46 + '[' -d /w/workspace/edgex-go/3/archives ']' [Pipeline] libraryResource [Pipeline] sh 20:33:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:33:47 ---> package-listing.sh 20:33:47 ++ facter osfamily 20:33:47 ++ tr '[:upper:]' '[:lower:]' 20:33:47 + OS_FAMILY=redhat 20:33:47 + workspace=/w/workspace/edgex-go/3 20:33:47 + START_PACKAGES=/tmp/packages_start.txt 20:33:47 + END_PACKAGES=/tmp/packages_end.txt 20:33:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:33:47 + PACKAGES=/tmp/packages_start.txt 20:33:47 + '[' /w/workspace/edgex-go/3 ']' 20:33:47 + PACKAGES=/tmp/packages_end.txt 20:33:47 + case "${OS_FAMILY}" in 20:33:47 + rpm -qa 20:33:47 + sort 20:33:48 + '[' -f /tmp/packages_start.txt ']' 20:33:48 + '[' -f /tmp/packages_end.txt ']' 20:33:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:33:48 + '[' /w/workspace/edgex-go/3 ']' 20:33:48 + mkdir -p /w/workspace/edgex-go/3/archives/ 20:33:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/3/archives/ [Pipeline] echo 20:33:48 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/3/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:33:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:33:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:33:49 20:33:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:33:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:33:49 latest: Pulling from edgex-lftools-log-publisher 20:33:49 b4d181a07f80: Pulling fs layer 20:33:49 a1111a8f2ec3: Pulling fs layer 20:33:49 ed53099fbce6: Pulling fs layer 20:33:49 dc539afda2c1: Pulling fs layer 20:33:49 77bc0d833cb6: Pulling fs layer 20:33:49 9065ff56babe: Pulling fs layer 20:33:49 d287ab97295c: Pulling fs layer 20:33:49 77bc0d833cb6: Waiting 20:33:49 9065ff56babe: Waiting 20:33:49 d287ab97295c: Waiting 20:33:49 dc539afda2c1: Waiting 20:33:49 a1111a8f2ec3: Verifying Checksum 20:33:49 a1111a8f2ec3: Download complete 20:33:49 dc539afda2c1: Download complete 20:33:49 ed53099fbce6: Verifying Checksum 20:33:49 ed53099fbce6: Download complete 20:33:49 9065ff56babe: Verifying Checksum 20:33:49 9065ff56babe: Download complete 20:33:49 77bc0d833cb6: Verifying Checksum 20:33:49 77bc0d833cb6: Download complete 20:33:50 b4d181a07f80: Verifying Checksum 20:33:50 b4d181a07f80: Download complete 20:33:50 d287ab97295c: Verifying Checksum 20:33:50 d287ab97295c: Download complete 20:33:51 b4d181a07f80: Pull complete 20:33:51 a1111a8f2ec3: Pull complete 20:33:52 ed53099fbce6: Pull complete 20:33:52 dc539afda2c1: Pull complete 20:33:52 77bc0d833cb6: Pull complete 20:33:52 9065ff56babe: Pull complete 20:33:57 d287ab97295c: Pull complete 20:33:57 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:33:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:33:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:33:57 prd-centos7-docker-4c-2g-4686 does not seem to be running inside a container 20:33:57 $ 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/3/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/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@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:latest cat 20:34:00 $ docker top 849cfe525c6a6b65af8ca89f7ace2d82864bdd7dda63fdf02880524ab3d9a073 -eo pid,comm [Pipeline] { [Pipeline] sh 20:34:00 + touch /tmp/pre-build-complete [Pipeline] sh 20:34:00 + mkdir -p /var/log/sysstat [Pipeline] sh 20:34:00 + ls /var/log/sa-host 20:34:00 + sadf -c /var/log/sa-host/sa05 20:34:00 file_magic: OK 20:34:00 HZ: Using current value: 100 20:34:00 file_header: OK 20:34:00 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 20:34:00 Statistics: 20:34:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:34:00 File successfully converted to sysstat format version 12.0.3 20:34:00 + sadf -c /var/log/sa-host/sa17 20:34:00 file_magic: OK 20:34:00 HZ: Using current value: 100 20:34:00 file_header: OK 20:34:00 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 20:34:00 Statistics: 20:34:00 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:34:00 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:34:01 provisioning config files... 20:34:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/3@tmp/config6645906542537501066tmp [Pipeline] { [Pipeline] echo 20:34:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:34:01 ---> create-netrc.sh [Pipeline] } 20:34:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:34:01 ---> python-tools-install.sh [Pipeline] echo 20:34:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:34:02 ---> sudo-logs.sh 20:34:02 Archiving 'sudo' log.. 20:34:02 sudo: unable to resolve host prd-centos7-docker-4c-2g-4686.novalocal: Name or service not known 20:34:02 sudo: unable to resolve host prd-centos7-docker-4c-2g-4686.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 20:34:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:34:02 ---> job-cost.sh 20:34:02 lf-activate-venv: SKIPPING 20:34:02 DEBUG: total: 0.10999999940395355 20:34:02 INFO: Retrieving Stack Cost... 20:34:02 INFO: Retrieving Pricing Info for: v3-standard-2 20:34:03 INFO: Archiving Costs [Pipeline] echo 20:34:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:34:03 ---> logs-deploy.sh 20:34:03 lf-activate-venv: SKIPPING 20:34:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3879/3 20:34:03 INFO: archiving workspace using pattern(s): 20:34:03 Archives upload complete. 20:34:04 INFO: archiving logs to Nexus