Pull request #3644 opened 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 ernestojeda for edgexfoundry/edgex-go Obtained Jenkinsfile from f22617e52b2d4581a41eea58218e7c8ff5bf6719+1c9af10f427590f3fed47012b244cbba5cfcd3da (65c03f567b6ff8f8cf19e222dbc53ab49a2a904f) Running in Durability level: MAX_SURVIVABILITY 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-ssh7454534203367726748.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 40653689060fff6bf1399e6de9b6d29a57191201 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-ssh8902378601051665308.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 40653689060fff6bf1399e6de9b6d29a57191201 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3644/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3644/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh816287883491204288.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3644/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1944922188559581881.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 40653689060fff6bf1399e6de9b6d29a57191201 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 40653689060fff6bf1399e6de9b6d29a57191201 # timeout=10 Commit message: "Merge pull request #348 from ernestojeda/upatate-dockerfile-build-fix" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh731693661036988328.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3644/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3644/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh434496464962849395.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 40653689060fff6bf1399e6de9b6d29a57191201 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1705 in /w/workspace/edgexfoundry_edgex-go_PR-3644 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh3391042365473528913.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 1c9af10f427590f3fed47012b244cbba5cfcd3da into PR head commit f22617e52b2d4581a41eea58218e7c8ff5bf6719 Merge succeeded, producing f22617e52b2d4581a41eea58218e7c8ff5bf6719 Checking out Revision f22617e52b2d4581a41eea58218e7c8ff5bf6719 (PR-3644) > 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/1@tmp/jenkins-gitclient-ssh8357416332653671818.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3644/head:refs/remotes/origin/PR-3644 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f22617e52b2d4581a41eea58218e7c8ff5bf6719 # 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/1@tmp/jenkins-gitclient-ssh1049123879409510300.key > git merge 1c9af10f427590f3fed47012b244cbba5cfcd3da # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f22617e52b2d4581a41eea58218e7c8ff5bf6719 # timeout=10 Commit message: "ci: remove the need for a ci specific Dockerfile" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 40653689060fff6bf1399e6de9b6d29a57191201 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:45:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:45:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:45:47 ========================================================= 17:45:47 EdgeX Global Pipelines Version Info 17:45:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:45:48 ------------------- 17:45:48 stable info: 17:45:48 ------------------- 17:45:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:45:48 Commit SHA: 40653689060fff6bf1399e6de9b6d29a57191201 17:45:48 Message: update stable to v1.0.200 17:45:48 ------------------- 17:45:48 experimental info: 17:45:48 ------------------- 17:45:48 Commited By: **** collab-it+edgex@linuxfoundation.org 17:45:48 Commit SHA: 40653689060fff6bf1399e6de9b6d29a57191201 17:45:48 Message: update experimental to v1.0.200 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:45:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 17:45:49 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 17:45:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:45:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:45:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:45:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 17:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 17:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 17:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:45:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:45:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:45:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:45:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:45:50 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:45:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:45:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:45:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 17:45:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:45:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3644 [Pipeline] echo 17:45:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3644 [Pipeline] echo 17:45:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3644 [Pipeline] echo 17:45:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f22617e52b2d4581a41eea58218e7c8ff5bf6719 [Pipeline] echo 17:45:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f22617e [Pipeline] echo 17:45:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:45:51 provisioning config files... 17:45:51 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config4676506449599145903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:45:51 ---> docker-login.sh 17:45:51 nexus3.edgexfoundry.org:10001 17:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:51 Configure a credential helper to remove this warning. See 17:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:51 17:45:51 Login Succeeded 17:45:51 nexus3.edgexfoundry.org:10002 17:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:51 Configure a credential helper to remove this warning. See 17:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:51 17:45:51 Login Succeeded 17:45:51 nexus3.edgexfoundry.org:10003 17:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:52 Configure a credential helper to remove this warning. See 17:45:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:52 17:45:52 Login Succeeded 17:45:52 nexus3.edgexfoundry.org:10004 17:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:52 Configure a credential helper to remove this warning. See 17:45:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:52 17:45:52 Login Succeeded 17:45:52 docker.io 17:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:52 Configure a credential helper to remove this warning. See 17:45:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:52 17:45:52 Login Succeeded 17:45:52 ---> docker-login.sh ends [Pipeline] } 17:45:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:45:53 ++ 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 17:45:53 + for file in '`ls cmd/**/Dockerfile`' 17:45:53 ++ dirname cmd/core-command/Dockerfile 17:45:53 ++ cut -d/ -f2 17:45:53 + echo core-command,cmd/core-command/Dockerfile 17:45:53 + for file in '`ls cmd/**/Dockerfile`' 17:45:53 ++ dirname cmd/core-data/Dockerfile 17:45:53 ++ cut -d/ -f2 17:45:53 + echo core-data,cmd/core-data/Dockerfile 17:45:53 + for file in '`ls cmd/**/Dockerfile`' 17:45:53 ++ dirname cmd/core-metadata/Dockerfile 17:45:53 ++ cut -d/ -f2 17:45:53 + echo core-metadata,cmd/core-metadata/Dockerfile 17:45:53 + for file in '`ls cmd/**/Dockerfile`' 17:45:53 ++ dirname cmd/security-bootstrapper/Dockerfile 17:45:53 ++ cut -d/ -f2 17:45:53 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 17:45:53 + for file in '`ls cmd/**/Dockerfile`' 17:45:53 ++ dirname cmd/security-proxy-setup/Dockerfile 17:45:53 ++ cut -d/ -f2 17:45:53 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 17:45:53 + for file in '`ls cmd/**/Dockerfile`' 17:45:53 ++ dirname cmd/security-secretstore-setup/Dockerfile 17:45:53 ++ cut -d/ -f2 17:45:53 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 17:45:53 + for file in '`ls cmd/**/Dockerfile`' 17:45:53 ++ dirname cmd/support-notifications/Dockerfile 17:45:53 ++ cut -d/ -f2 17:45:53 + echo support-notifications,cmd/support-notifications/Dockerfile 17:45:53 + for file in '`ls cmd/**/Dockerfile`' 17:45:53 ++ dirname cmd/support-scheduler/Dockerfile 17:45:53 ++ cut -d/ -f2 17:45:53 + echo support-scheduler,cmd/support-scheduler/Dockerfile 17:45:53 + for file in '`ls cmd/**/Dockerfile`' 17:45:53 ++ dirname cmd/sys-mgmt-agent/Dockerfile 17:45:53 ++ cut -d/ -f2 17:45:53 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 17:45:53 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 17:45:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:45:54 17:45:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:45:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:45:54 latest: Pulling from edgex-devops/git-semver 17:45:54 31603596830f: Pulling fs layer 17:45:54 d4622e32a9a9: Pulling fs layer 17:45:54 1030fce36090: Pulling fs layer 17:45:54 6c6cb7e1b49b: Pulling fs layer 17:45:54 6c6cb7e1b49b: Waiting 17:45:59 d4622e32a9a9: Download complete 17:45:59 31603596830f: Verifying Checksum 17:45:59 31603596830f: Download complete 17:45:59 6c6cb7e1b49b: Verifying Checksum 17:45:59 6c6cb7e1b49b: Download complete 17:45:59 31603596830f: Pull complete 17:46:00 d4622e32a9a9: Pull complete 17:46:00 1030fce36090: Verifying Checksum 17:46:00 1030fce36090: Download complete 17:46:00 1030fce36090: Pull complete 17:46:00 6c6cb7e1b49b: Pull complete 17:46:00 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 17:46:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:46:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:46:00 prd-centos7-docker-4c-2g-1705 does not seem to be running inside a container 17:46:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:46:01 $ docker top 3345a015180d78f12db7fd2933825ef5dbd5c94cee1e9532a32d9299b428011b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:46:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:46:01 [ssh-agent] Looking for ssh-agent implementation... 17:46:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:46:01 $ docker exec 3345a015180d78f12db7fd2933825ef5dbd5c94cee1e9532a32d9299b428011b ssh-agent 17:46:02 SSH_AUTH_SOCK=/tmp/ssh-DXWZnq2uug1O/agent.15 17:46:02 SSH_AGENT_PID=21 17:46:02 Running ssh-add (command line suppressed) 17:46:02 Identity added: /w/workspace/edgex-go/1@tmp/private_key_1277500717191982694.key (/w/workspace/edgex-go/1@tmp/private_key_1277500717191982694.key) 17:46:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:46:02 + git tag --points-at HEAD [Pipeline] } 17:46:02 $ docker exec --env ******** --env ******** 3345a015180d78f12db7fd2933825ef5dbd5c94cee1e9532a32d9299b428011b ssh-agent -k 17:46:02 unset SSH_AUTH_SOCK; 17:46:02 unset SSH_AGENT_PID; 17:46:02 echo Agent pid 21 killed; 17:46:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:46:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:46:02 [ssh-agent] Looking for ssh-agent implementation... 17:46:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:46:02 $ docker exec 3345a015180d78f12db7fd2933825ef5dbd5c94cee1e9532a32d9299b428011b ssh-agent 17:46:03 SSH_AUTH_SOCK=/tmp/ssh-mIGNropcPhdH/agent.55 17:46:03 SSH_AGENT_PID=62 17:46:03 Running ssh-add (command line suppressed) 17:46:03 Identity added: /w/workspace/edgex-go/1@tmp/private_key_2394807022411284570.key (/w/workspace/edgex-go/1@tmp/private_key_2394807022411284570.key) 17:46:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:46:03 + git semver init 17:46:03 # -> Open(): unable to determine branch for HEAD 17:46:03 # $GIT_DIR = /w/workspace/edgex-go/1/.git 17:46:03 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 17:46:03 # $SEMVER_REMOTE_NAME = origin 17:46:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:46:03 # $SEMVER_USER_NAME = edgex-jenkins 17:46:03 # $SEMVER_BRANCH = PR-3644 17:46:03 # $SEMVER_TEMP = /tmp/semver-729854146 17:46:03 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 17:46:21 # '/tmp/semver-729854146' -> '/w/workspace/edgex-go/1/.semver' 17:46:21 # -> Force: false 17:46:21 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 17:46:21 $ docker exec --env ******** --env ******** 3345a015180d78f12db7fd2933825ef5dbd5c94cee1e9532a32d9299b428011b ssh-agent -k 17:46:21 unset SSH_AUTH_SOCK; 17:46:21 unset SSH_AGENT_PID; 17:46:21 echo Agent pid 62 killed; 17:46:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:46:22 + git semver [Pipeline] } 17:46:22 $ docker stop --time=1 3345a015180d78f12db7fd2933825ef5dbd5c94cee1e9532a32d9299b428011b 17:46:24 $ docker rm -f 3345a015180d78f12db7fd2933825ef5dbd5c94cee1e9532a32d9299b428011b [Pipeline] // withDockerContainer [Pipeline] sh 17:46:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:46:25 Stashed 1 file(s) [Pipeline] echo 17:46:25 [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 17:46:25 ========================================================= 17:46:25 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 17:46:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 17:46:25 The fileExists step was called with a null or empty string, so the current directory will be checked instead. [Pipeline] isUnix [Pipeline] sh 17:46:26 + docker build -t ci-base-image-x86_64 -f null --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 17:46:26 unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /w/workspace/edgex-go/1/null: no such file or directory [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] } 17:46:27 Failed in branch amd64 17:46:40 Still waiting to schedule task 17:46:40 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1698’ is offline 17:48:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1706 in /w/workspace/edgexfoundry_edgex-go_PR-3644 [Pipeline] { [Pipeline] ws 17:48:40 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 17:48:40 The recommended git tool is: git 17:48:46 using credential edgex-jenkins-ssh 17:48:46 Cloning the remote Git repository 17:48:46 Cloning repository git@github.com:edgexfoundry/edgex-go.git 17:48:46 > git init /w/workspace/edgex-go/1 # timeout=10 17:48:46 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 17:48:46 > git --version # timeout=10 17:48:46 > git --version # 'git version 2.17.1' 17:48:46 using GIT_SSH to set credentials SSH Credentials for GitHub 17:48:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:49:01 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 17:49:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:49:01 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 17:49:01 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 17:49:01 using GIT_SSH to set credentials SSH Credentials for GitHub 17:49:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3644/head:refs/remotes/origin/PR-3644 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:49:02 Merging remotes/origin/main commit 1c9af10f427590f3fed47012b244cbba5cfcd3da into PR head commit f22617e52b2d4581a41eea58218e7c8ff5bf6719 17:49:03 Merge succeeded, producing f22617e52b2d4581a41eea58218e7c8ff5bf6719 17:49:03 Checking out Revision f22617e52b2d4581a41eea58218e7c8ff5bf6719 (PR-3644) 17:49:02 > git config core.sparsecheckout # timeout=10 17:49:02 > git checkout -f f22617e52b2d4581a41eea58218e7c8ff5bf6719 # timeout=10 17:49:03 > git remote # timeout=10 17:49:03 > git config --get remote.origin.url # timeout=10 17:49:03 using GIT_SSH to set credentials SSH Credentials for GitHub 17:49:03 > git merge 1c9af10f427590f3fed47012b244cbba5cfcd3da # timeout=10 17:49:03 > git rev-parse HEAD^{commit} # timeout=10 17:49:03 > git config core.sparsecheckout # timeout=10 17:49:03 > git checkout -f f22617e52b2d4581a41eea58218e7c8ff5bf6719 # timeout=10 17:49:07 Commit message: "ci: remove the need for a ci specific Dockerfile" 17:49:07 > git --version # timeout=10 17:49:07 > git --version # 'git version 2.17.1' 17:49:07 fatal: bad object 40653689060fff6bf1399e6de9b6d29a57191201 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:49:08 provisioning config files... 17:49:08 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config1608116621233787117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:49:09 ---> docker-login.sh 17:49:09 nexus3.edgexfoundry.org:10001 17:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:10 Configure a credential helper to remove this warning. See 17:49:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:10 17:49:10 Login Succeeded 17:49:10 nexus3.edgexfoundry.org:10002 17:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:11 Configure a credential helper to remove this warning. See 17:49:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:11 17:49:11 Login Succeeded 17:49:11 nexus3.edgexfoundry.org:10003 17:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:11 Configure a credential helper to remove this warning. See 17:49:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:11 17:49:11 Login Succeeded 17:49:11 nexus3.edgexfoundry.org:10004 17:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:12 Configure a credential helper to remove this warning. See 17:49:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:12 17:49:12 Login Succeeded 17:49:12 docker.io 17:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:13 Configure a credential helper to remove this warning. See 17:49:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:13 17:49:13 Login Succeeded 17:49:13 ---> docker-login.sh ends [Pipeline] } 17:49:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:49:14 ========================================================= 17:49:14 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 17:49:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 17:49:14 The fileExists step was called with a null or empty string, so the current directory will be checked instead. [Pipeline] isUnix [Pipeline] sh 17:49:14 + docker build -t ci-base-image-arm64 -f null --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 17:49:14 unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /w/workspace/edgex-go/1/null: no such file or directory [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 17:49:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:49:16 17:49:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:49:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:49:16 arm64: Pulling from edgex-lftools-log-publisher 17:49:16 448f6bf000e3: Pulling fs layer 17:49:16 f757da607395: Pulling fs layer 17:49:16 05883995daec: Pulling fs layer 17:49:16 8603b9c90790: Pulling fs layer 17:49:16 1560dd03e051: Pulling fs layer 17:49:16 27f5ce0e4adf: Pulling fs layer 17:49:16 c2d8d7efcc4b: Pulling fs layer 17:49:16 8603b9c90790: Waiting 17:49:16 27f5ce0e4adf: Waiting 17:49:16 c2d8d7efcc4b: Waiting 17:49:16 1560dd03e051: Waiting 17:49:17 f757da607395: Verifying Checksum 17:49:17 f757da607395: Download complete 17:49:17 8603b9c90790: Verifying Checksum 17:49:17 8603b9c90790: Download complete 17:49:17 1560dd03e051: Verifying Checksum 17:49:17 1560dd03e051: Download complete 17:49:17 27f5ce0e4adf: Download complete 17:49:17 05883995daec: Verifying Checksum 17:49:17 05883995daec: Download complete 17:49:18 448f6bf000e3: Verifying Checksum 17:49:18 448f6bf000e3: Download complete 17:49:21 c2d8d7efcc4b: Verifying Checksum 17:49:21 c2d8d7efcc4b: Download complete 17:49:22 448f6bf000e3: Pull complete 17:49:23 f757da607395: Pull complete 17:49:24 05883995daec: Pull complete 17:49:25 8603b9c90790: Pull complete 17:49:26 1560dd03e051: Pull complete 17:49:26 27f5ce0e4adf: Pull complete 17:49:41 c2d8d7efcc4b: Pull complete 17:49:41 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 17:49:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:49:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:49:41 prd-ubuntu18.04-docker-arm64-4c-16g-1706 does not seem to be running inside a container 17:49:41 $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:49:46 $ docker top 591bed9036a5133783ac23738976da26a116714aead567426aa38ac7ba95b48c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:49:47 ---> job-cost.sh 17:49:47 lf-activate-venv: SKIPPING 17:49:47 INFO: No Stack... 17:49:49 INFO: Retrieving Pricing Info for: v2-standard-4 17:49:49 INFO: Archiving Costs [Pipeline] sh 17:49:49 + cat /w/workspace/edgex-go/1/archives/cost.csv 17:49:49 + cut -d, -f6 [Pipeline] lock 17:49:50 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3644-1-stack-cost] 17:49:50 Resource [jenkins-edgexfoundry-edgex-go-PR-3644-1-stack-cost] did not exist. Created. 17:49:50 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3644-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:49:50 + echo total: 0.18000000715255737 [Pipeline] stash 17:49:51 Stashed 1 file(s) [Pipeline] } 17:49:51 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3644-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:49:51 $ docker stop --time=1 591bed9036a5133783ac23738976da26a116714aead567426aa38ac7ba95b48c 17:49:53 $ docker rm -f 591bed9036a5133783ac23738976da26a116714aead567426aa38ac7ba95b48c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:49:54 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] libraryResource [Pipeline] sh 17:49:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:49:57 ---> package-listing.sh 17:49:57 ++ facter osfamily 17:49:57 ++ tr '[:upper:]' '[:lower:]' 17:49:57 + OS_FAMILY=redhat 17:49:57 + workspace=/w/workspace/edgex-go/1 17:49:57 + START_PACKAGES=/tmp/packages_start.txt 17:49:57 + END_PACKAGES=/tmp/packages_end.txt 17:49:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:49:57 + PACKAGES=/tmp/packages_start.txt 17:49:57 + '[' /w/workspace/edgex-go/1 ']' 17:49:57 + PACKAGES=/tmp/packages_end.txt 17:49:57 + case "${OS_FAMILY}" in 17:49:57 + rpm -qa 17:49:57 + sort 17:49:58 + '[' -f /tmp/packages_start.txt ']' 17:49:58 + '[' -f /tmp/packages_end.txt ']' 17:49:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:49:58 + '[' /w/workspace/edgex-go/1 ']' 17:49:58 + mkdir -p /w/workspace/edgex-go/1/archives/ 17:49:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 17:49:58 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:49:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:49:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:49:59 17:49:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:49:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:49:59 latest: Pulling from edgex-lftools-log-publisher 17:49:59 b4d181a07f80: Pulling fs layer 17:49:59 a1111a8f2ec3: Pulling fs layer 17:49:59 ed53099fbce6: Pulling fs layer 17:49:59 dc539afda2c1: Pulling fs layer 17:49:59 77bc0d833cb6: Pulling fs layer 17:49:59 9065ff56babe: Pulling fs layer 17:49:59 d287ab97295c: Pulling fs layer 17:49:59 77bc0d833cb6: Waiting 17:49:59 9065ff56babe: Waiting 17:49:59 d287ab97295c: Waiting 17:49:59 dc539afda2c1: Waiting 17:49:59 a1111a8f2ec3: Verifying Checksum 17:49:59 a1111a8f2ec3: Download complete 17:49:59 dc539afda2c1: Verifying Checksum 17:49:59 dc539afda2c1: Download complete 17:50:00 77bc0d833cb6: Verifying Checksum 17:50:00 77bc0d833cb6: Download complete 17:50:00 9065ff56babe: Verifying Checksum 17:50:00 9065ff56babe: Download complete 17:50:00 ed53099fbce6: Verifying Checksum 17:50:00 ed53099fbce6: Download complete 17:50:01 b4d181a07f80: Verifying Checksum 17:50:01 b4d181a07f80: Download complete 17:50:02 b4d181a07f80: Pull complete 17:50:02 a1111a8f2ec3: Pull complete 17:50:03 ed53099fbce6: Pull complete 17:50:03 dc539afda2c1: Pull complete 17:50:03 77bc0d833cb6: Pull complete 17:50:03 9065ff56babe: Pull complete 17:50:05 d287ab97295c: Verifying Checksum 17:50:05 d287ab97295c: Download complete 17:50:09 d287ab97295c: Pull complete 17:50:09 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:50:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:50:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:50:09 prd-centos7-docker-4c-2g-1705 does not seem to be running inside a container 17:50:09 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:50:12 $ docker top acaa40b94a5b20852183a24745dcc9603a04a2854a9217885f31176516be606a -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:12 + touch /tmp/pre-build-complete [Pipeline] sh 17:50:13 + mkdir -p /var/log/sysstat [Pipeline] sh 17:50:13 + ls /var/log/sa-host 17:50:13 + sadf -c /var/log/sa-host/sa02 17:50:13 file_magic: OK 17:50:13 HZ: Using current value: 100 17:50:13 file_header: OK 17:50:13 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 17:50:13 Statistics: 17:50:13 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:50:13 File successfully converted to sysstat format version 12.0.3 17:50:13 + sadf -c /var/log/sa-host/sa05 17:50:13 file_magic: OK 17:50:13 HZ: Using current value: 100 17:50:13 file_header: OK 17:50:13 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 17:50:13 Statistics: 17:50:13 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:50:13 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:50:13 provisioning config files... 17:50:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config8638874142942254980tmp [Pipeline] { [Pipeline] echo 17:50:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:50:14 ---> create-netrc.sh [Pipeline] } 17:50:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:50:14 ---> python-tools-install.sh [Pipeline] echo 17:50:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:50:14 ---> sudo-logs.sh 17:50:14 Archiving 'sudo' log.. 17:50:14 sudo: unable to resolve host prd-centos7-docker-4c-2g-1705.vexxhost.local: Name or service not known 17:50:14 sudo: unable to resolve host prd-centos7-docker-4c-2g-1705.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 17:50:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:50:15 ---> job-cost.sh 17:50:15 lf-activate-venv: SKIPPING 17:50:15 DEBUG: total: 0.18000000715255737 17:50:15 INFO: Retrieving Stack Cost... 17:50:16 INFO: Retrieving Pricing Info for: v3-standard-2 17:50:16 INFO: Archiving Costs [Pipeline] echo 17:50:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:50:17 ---> logs-deploy.sh 17:50:17 lf-activate-venv: SKIPPING 17:50:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3644/1 17:50:17 INFO: archiving workspace using pattern(s): 17:50:17 Archives upload complete. 17:50:18 INFO: archiving logs to Nexus 17:50:18 ---> uname -a: 17:50:18 Linux prd-centos7-docker-4c-2g-1705.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 17:50:18 17:50:18 17:50:18 ---> lscpu: 17:50:18 Architecture: x86_64 17:50:18 CPU op-mode(s): 32-bit, 64-bit 17:50:18 Byte Order: Little Endian 17:50:18 Address sizes: 40 bits physical, 48 bits virtual 17:50:18 CPU(s): 2 17:50:18 On-line CPU(s) list: 0,1 17:50:18 Thread(s) per core: 1 17:50:18 Core(s) per socket: 1 17:50:18 Socket(s): 2 17:50:18 NUMA node(s): 1 17:50:18 Vendor ID: AuthenticAMD 17:50:18 CPU family: 23 17:50:18 Model: 49 17:50:18 Model name: AMD EPYC-Rome Processor 17:50:18 Stepping: 0 17:50:18 CPU MHz: 2799.998 17:50:18 BogoMIPS: 5599.99 17:50:18 Virtualization: AMD-V 17:50:18 Hypervisor vendor: KVM 17:50:18 Virtualization type: full 17:50:18 L1d cache: 32K 17:50:18 L1i cache: 32K 17:50:18 L2 cache: 512K 17:50:18 L3 cache: 16384K 17:50:18 NUMA node0 CPU(s): 0,1 17:50:18 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 17:50:18 17:50:18 17:50:18 ---> nproc: 17:50:18 2 17:50:18 17:50:18 17:50:18 ---> df -h: 17:50:18 Filesystem Size Used Avail Use% Mounted on 17:50:18 overlay 40G 8.0G 33G 20% / 17:50:18 tmpfs 64M 0 64M 0% /dev 17:50:18 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 17:50:18 shm 64M 0 64M 0% /dev/shm 17:50:18 /dev/vda1 40G 8.0G 33G 20% /facter-os 17:50:18 17:50:18 17:50:18 ---> sar -b -r -n DEV: 17:50:18 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/02/21 _x86_64_ (2 CPU) 17:50:18 17:50:18 17:44:48 LINUX RESTART (2 CPU) 17:50:18 17:50:18 17:46:01 tps rtps wtps bread/s bwrtn/s 17:50:18 17:47:01 15.08 0.15 14.93 22.11 10716.18 17:50:18 17:48:01 1.73 0.00 1.73 0.00 33.03 17:50:18 17:49:01 0.25 0.00 0.25 0.00 2.70 17:50:18 17:50:01 1.43 0.10 1.33 9.99 49.83 17:50:18 Average: 4.62 0.06 4.56 8.03 2701.10 17:50:18 17:50:18 17:46:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:50:18 17:47:01 5133612 0 819320 10.23 2620 2053388 1244812 13.74 744072 1722508 20 17:50:18 17:48:01 5133736 0 819188 10.23 2620 2053396 1239784 13.69 746904 1719512 8 17:50:18 17:49:01 5136864 0 816060 10.19 2620 2053396 1202656 13.28 742852 1721424 12 17:50:18 17:50:01 4880104 0 911360 11.38 2620 2214856 1609872 17.77 977076 1725308 161164 17:50:18 Average: 5071079 0 841482 10.51 2620 2093759 1324281 14.62 802726 1722188 40301 17:50:18 17:50:18 17:46:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:50:18 17:47:01 eth0 709.39 568.47 2705.84 70.49 0.00 0.00 0.00 0.00 17:50:18 17:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:50:18 17:47:01 docker0 552.69 679.44 54.64 2681.96 0.00 0.00 0.00 0.00 17:50:18 17:48:01 eth0 2.95 1.15 2.89 0.10 0.00 0.00 0.00 0.00 17:50:18 17:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:50:18 17:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:50:18 17:49:01 eth0 0.62 0.37 0.28 0.20 0.00 0.00 0.00 0.00 17:50:18 17:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:50:18 17:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:50:18 17:50:01 eth0 228.02 148.80 1516.00 13.37 0.00 0.00 0.00 0.00 17:50:18 17:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:50:18 17:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:50:18 Average: eth0 235.29 179.74 1056.45 21.05 0.00 0.00 0.00 0.00 17:50:18 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:50:18 Average: docker0 138.21 169.90 13.66 670.66 0.00 0.00 0.00 0.00 17:50:18 17:50:18 17:50:18 ---> sar -P ALL: 17:50:18 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/02/21 _x86_64_ (2 CPU) 17:50:18 17:50:18 17:44:48 LINUX RESTART (2 CPU) 17:50:18 17:50:18 17:46:01 CPU %user %nice %system %iowait %steal %idle 17:50:18 17:47:01 all 11.85 0.00 2.33 0.44 0.04 85.34 17:50:18 17:47:01 0 9.78 0.00 2.49 0.09 0.05 87.60 17:50:18 17:47:01 1 13.92 0.00 2.17 0.79 0.03 83.09 17:50:18 17:48:01 all 0.28 0.00 0.08 0.00 0.02 99.63 17:50:18 17:48:01 0 0.47 0.00 0.08 0.00 0.02 99.43 17:50:18 17:48:01 1 0.08 0.00 0.07 0.00 0.02 99.83 17:50:18 17:49:01 all 0.23 0.00 0.08 0.00 0.03 99.67 17:50:18 17:49:01 0 0.35 0.00 0.07 0.00 0.02 99.57 17:50:18 17:49:01 1 0.12 0.00 0.08 0.00 0.03 99.77 17:50:18 17:50:01 all 2.64 0.00 0.83 0.01 0.03 96.49 17:50:18 17:50:01 0 3.56 0.00 0.89 0.02 0.03 95.50 17:50:18 17:50:01 1 1.73 0.00 0.77 0.00 0.02 97.49 17:50:18 Average: all 3.70 0.00 0.82 0.11 0.03 95.34 17:50:18 Average: 0 3.50 0.00 0.87 0.03 0.03 95.57 17:50:18 Average: 1 3.90 0.00 0.76 0.19 0.03 95.12 17:50:18 17:50:18 17:50:18