Started by user Bill Mahoney Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1c9af10f427590f3fed47012b244cbba5cfcd3da Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8475971099264906891.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-ssh8652518974603672822.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6348020768639276068.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 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-ssh1651171276601015364.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5820352734432152873.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-1704 in /w/workspace/edgexfoundry_edgex-go_main [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/20 [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/20 # 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/20@tmp/jenkins-gitclient-ssh5554576170381693516.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 1c9af10f427590f3fed47012b244cbba5cfcd3da (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 1c9af10f427590f3fed47012b244cbba5cfcd3da # timeout=10 Commit message: "Merge pull request #3643 from soda480/US1908" > git rev-list --no-walk 1c9af10f427590f3fed47012b244cbba5cfcd3da # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:43:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:43:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:43:22 ========================================================= 17:43:22 EdgeX Global Pipelines Version Info 17:43:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:43:23 ------------------- 17:43:23 stable info: 17:43:23 ------------------- 17:43:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:43:23 Commit SHA: 40653689060fff6bf1399e6de9b6d29a57191201 17:43:23 Message: update stable to v1.0.200 17:43:24 ------------------- 17:43:24 experimental info: 17:43:24 ------------------- 17:43:24 Commited By: **** collab-it+edgex@linuxfoundation.org 17:43:24 Commit SHA: 40653689060fff6bf1399e6de9b6d29a57191201 17:43:24 Message: update experimental to v1.0.200 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:43:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 17:43:24 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 17:43:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:43:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:43:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:43:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 17:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 17:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c9af10f427590f3fed47012b244cbba5cfcd3da [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c9af10 [Pipeline] echo 17:43:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:43:25 provisioning config files... 17:43:25 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/20@tmp/config7018644293945162491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:43:25 ---> docker-login.sh 17:43:25 nexus3.edgexfoundry.org:10001 17:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:26 Configure a credential helper to remove this warning. See 17:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:26 17:43:26 Login Succeeded 17:43:26 nexus3.edgexfoundry.org:10002 17:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:26 Configure a credential helper to remove this warning. See 17:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:26 17:43:26 Login Succeeded 17:43:26 nexus3.edgexfoundry.org:10003 17:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:26 Configure a credential helper to remove this warning. See 17:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:26 17:43:26 Login Succeeded 17:43:26 nexus3.edgexfoundry.org:10004 17:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:26 Configure a credential helper to remove this warning. See 17:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:26 17:43:26 Login Succeeded 17:43:26 docker.io 17:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:26 Configure a credential helper to remove this warning. See 17:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:26 17:43:26 Login Succeeded 17:43:26 ---> docker-login.sh ends [Pipeline] } 17:43:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:43:27 ++ 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:43:27 + for file in '`ls cmd/**/Dockerfile`' 17:43:27 ++ dirname cmd/core-command/Dockerfile 17:43:27 ++ cut -d/ -f2 17:43:27 + echo core-command,cmd/core-command/Dockerfile 17:43:27 + for file in '`ls cmd/**/Dockerfile`' 17:43:27 ++ dirname cmd/core-data/Dockerfile 17:43:27 ++ cut -d/ -f2 17:43:27 + echo core-data,cmd/core-data/Dockerfile 17:43:27 + for file in '`ls cmd/**/Dockerfile`' 17:43:27 ++ dirname cmd/core-metadata/Dockerfile 17:43:27 ++ cut -d/ -f2 17:43:27 + echo core-metadata,cmd/core-metadata/Dockerfile 17:43:27 + for file in '`ls cmd/**/Dockerfile`' 17:43:27 ++ dirname cmd/security-bootstrapper/Dockerfile 17:43:27 ++ cut -d/ -f2 17:43:27 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 17:43:27 + for file in '`ls cmd/**/Dockerfile`' 17:43:27 ++ dirname cmd/security-proxy-setup/Dockerfile 17:43:27 ++ cut -d/ -f2 17:43:27 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 17:43:27 + for file in '`ls cmd/**/Dockerfile`' 17:43:27 ++ dirname cmd/security-secretstore-setup/Dockerfile 17:43:27 ++ cut -d/ -f2 17:43:27 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 17:43:27 + for file in '`ls cmd/**/Dockerfile`' 17:43:27 ++ dirname cmd/support-notifications/Dockerfile 17:43:27 ++ cut -d/ -f2 17:43:27 + echo support-notifications,cmd/support-notifications/Dockerfile 17:43:27 + for file in '`ls cmd/**/Dockerfile`' 17:43:27 ++ dirname cmd/support-scheduler/Dockerfile 17:43:27 ++ cut -d/ -f2 17:43:27 + echo support-scheduler,cmd/support-scheduler/Dockerfile 17:43:27 + for file in '`ls cmd/**/Dockerfile`' 17:43:27 ++ dirname cmd/sys-mgmt-agent/Dockerfile 17:43:27 ++ cut -d/ -f2 17:43:27 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 17:43:27 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:43:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:43:28 17:43:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:43:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:43:28 latest: Pulling from edgex-devops/git-semver 17:43:28 31603596830f: Pulling fs layer 17:43:28 d4622e32a9a9: Pulling fs layer 17:43:28 1030fce36090: Pulling fs layer 17:43:28 6c6cb7e1b49b: Pulling fs layer 17:43:28 6c6cb7e1b49b: Waiting 17:43:28 d4622e32a9a9: Verifying Checksum 17:43:28 d4622e32a9a9: Download complete 17:43:29 31603596830f: Verifying Checksum 17:43:29 31603596830f: Download complete 17:43:29 31603596830f: Pull complete 17:43:29 d4622e32a9a9: Pull complete 17:43:29 6c6cb7e1b49b: Verifying Checksum 17:43:29 6c6cb7e1b49b: Download complete 17:43:29 1030fce36090: Verifying Checksum 17:43:29 1030fce36090: Download complete 17:43:29 1030fce36090: Pull complete 17:43:29 6c6cb7e1b49b: Pull complete 17:43:29 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 17:43:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:43:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:43:30 prd-centos7-docker-4c-2g-1704 does not seem to be running inside a container 17:43:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/20 -v /w/workspace/edgex-go/20:/w/workspace/edgex-go/20:rw,z -v /w/workspace/edgex-go/20@tmp:/w/workspace/edgex-go/20@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:43:30 $ docker top 40f4e6c363de888dbe4605f8039cb3851247d4f59320c57a092169dbfb7ea0d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:43:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:43:31 [ssh-agent] Looking for ssh-agent implementation... 17:43:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:43:31 $ docker exec 40f4e6c363de888dbe4605f8039cb3851247d4f59320c57a092169dbfb7ea0d2 ssh-agent 17:43:31 SSH_AUTH_SOCK=/tmp/ssh-4pbEsrGlBbwk/agent.13 17:43:31 SSH_AGENT_PID=19 17:43:31 Running ssh-add (command line suppressed) 17:43:31 Identity added: /w/workspace/edgex-go/20@tmp/private_key_5779052932409117479.key (/w/workspace/edgex-go/20@tmp/private_key_5779052932409117479.key) 17:43:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:43:31 + git tag --points-at HEAD [Pipeline] } 17:43:31 $ docker exec --env ******** --env ******** 40f4e6c363de888dbe4605f8039cb3851247d4f59320c57a092169dbfb7ea0d2 ssh-agent -k 17:43:31 unset SSH_AUTH_SOCK; 17:43:31 unset SSH_AGENT_PID; 17:43:31 echo Agent pid 19 killed; 17:43:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:43:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:43:31 [ssh-agent] Looking for ssh-agent implementation... 17:43:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:43:32 $ docker exec 40f4e6c363de888dbe4605f8039cb3851247d4f59320c57a092169dbfb7ea0d2 ssh-agent 17:43:32 SSH_AUTH_SOCK=/tmp/ssh-1Jh08CP12aMv/agent.53 17:43:32 SSH_AGENT_PID=59 17:43:32 Running ssh-add (command line suppressed) 17:43:32 Identity added: /w/workspace/edgex-go/20@tmp/private_key_2687425579527162446.key (/w/workspace/edgex-go/20@tmp/private_key_2687425579527162446.key) 17:43:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:43:32 + git semver init 17:43:32 # -> Open(): unable to determine branch for HEAD 17:43:32 # $GIT_DIR = /w/workspace/edgex-go/20/.git 17:43:32 # $GIT_WORK_TREE = /w/workspace/edgex-go/20 17:43:32 # $SEMVER_REMOTE_NAME = origin 17:43:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:43:32 # $SEMVER_USER_NAME = edgex-jenkins 17:43:32 # $SEMVER_BRANCH = main 17:43:32 # $SEMVER_TEMP = /tmp/semver-684997817 17:43:32 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 17:43:54 # '/tmp/semver-684997817' -> '/w/workspace/edgex-go/20/.semver' 17:43:54 # -> Force: false 17:43:54 # $SEMVER_DIR = /w/workspace/edgex-go/20/.semver [Pipeline] } 17:43:54 $ docker exec --env ******** --env ******** 40f4e6c363de888dbe4605f8039cb3851247d4f59320c57a092169dbfb7ea0d2 ssh-agent -k 17:43:54 unset SSH_AUTH_SOCK; 17:43:54 unset SSH_AGENT_PID; 17:43:54 echo Agent pid 59 killed; 17:43:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:43:55 + git semver [Pipeline] } 17:43:55 $ docker stop --time=1 40f4e6c363de888dbe4605f8039cb3851247d4f59320c57a092169dbfb7ea0d2 17:43:57 $ docker rm -f 40f4e6c363de888dbe4605f8039cb3851247d4f59320c57a092169dbfb7ea0d2 [Pipeline] // withDockerContainer [Pipeline] sh 17:43:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:43:57 Stashed 1 file(s) [Pipeline] echo 17:43:57 [edgeXSemver]: initialized semver on version 2.0.1-dev.19 [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:43:58 ========================================================= 17:43:58 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 17:43:58 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:43:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1698 in /w/workspace/edgexfoundry_edgex-go_main [Pipeline] { [Pipeline] ws 17:43:58 Running in /w/workspace/edgex-go/20 [Pipeline] { [Pipeline] checkout 17:43:58 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 17:43:58 The recommended git tool is: git 17:44:00 Sending build context to Docker daemon 328.5MB 17:44:00 Step 1/6 : ARG BASE=golang:1.16-alpine3.12 17:44:00 Step 2/6 : FROM ${BASE} 17:44:00 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 17:44:00 540db60ca938: Pulling fs layer 17:44:00 adcc1eea9eea: Pulling fs layer 17:44:00 4c4ab2625f07: Pulling fs layer 17:44:00 db62176df00c: Pulling fs layer 17:44:00 3b30891b0d05: Pulling fs layer 17:44:00 b7ad518a104e: Pulling fs layer 17:44:00 08fd3edbe45e: Pulling fs layer 17:44:00 1fdf6735664f: Pulling fs layer 17:44:00 34022d918946: Pulling fs layer 17:44:00 db62176df00c: Waiting 17:44:00 3b30891b0d05: Waiting 17:44:00 b7ad518a104e: Waiting 17:44:00 08fd3edbe45e: Waiting 17:44:00 1fdf6735664f: Waiting 17:44:00 34022d918946: Waiting 17:44:00 4c4ab2625f07: Verifying Checksum 17:44:00 4c4ab2625f07: Download complete 17:44:00 adcc1eea9eea: Verifying Checksum 17:44:00 adcc1eea9eea: Download complete 17:44:00 3b30891b0d05: Download complete 17:44:00 b7ad518a104e: Verifying Checksum 17:44:00 b7ad518a104e: Download complete 17:44:00 08fd3edbe45e: Verifying Checksum 17:44:00 08fd3edbe45e: Download complete 17:44:00 540db60ca938: Verifying Checksum 17:44:00 540db60ca938: Download complete 17:44:00 540db60ca938: Pull complete 17:44:00 adcc1eea9eea: Pull complete 17:44:00 4c4ab2625f07: Pull complete 17:44:00 1fdf6735664f: Verifying Checksum 17:44:00 1fdf6735664f: Download complete 17:44:03 using credential edgex-jenkins-ssh 17:44:03 Cloning the remote Git repository 17:44:03 34022d918946: Verifying Checksum 17:44:03 34022d918946: Download complete 17:44:04 db62176df00c: Verifying Checksum 17:44:04 db62176df00c: Download complete 17:44:03 Cloning repository git@github.com:edgexfoundry/edgex-go.git 17:44:03 > git init /w/workspace/edgex-go/20 # timeout=10 17:44:03 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 17:44:03 > git --version # timeout=10 17:44:03 > git --version # 'git version 2.17.1' 17:44:03 using GIT_SSH to set credentials SSH Credentials for GitHub 17:44:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:44:07 db62176df00c: Pull complete 17:44:07 3b30891b0d05: Pull complete 17:44:07 b7ad518a104e: Pull complete 17:44:07 08fd3edbe45e: Pull complete 17:44:07 1fdf6735664f: Pull complete 17:44:09 34022d918946: Pull complete 17:44:09 Digest: sha256:fad82c365f5974009bda50a7b905e736a7b220bc7ebb614e8289abce6180f09d 17:44:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:44:09 ---> edd7291af5ea 17:44:09 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 17:44:11 ---> Running in 40f0f7b0e882 17:44:11 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 17:44:12 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 17:44:13 OK: 219 MiB in 52 packages 17:44:13 ln: /usr/bin/touch: File exists 17:44:13 The command '/bin/sh -c apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch' 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] } 17:44:13 Failed in branch amd64 17:44:18 Avoid second fetch 17:44:18 Checking out Revision 1c9af10f427590f3fed47012b244cbba5cfcd3da (main) 17:44:18 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 17:44:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:44:18 > git config core.sparsecheckout # timeout=10 17:44:18 > git checkout -f 1c9af10f427590f3fed47012b244cbba5cfcd3da # timeout=10 17:44:23 Commit message: "Merge pull request #3643 from soda480/US1908" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:44:23 provisioning config files... 17:44:23 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/20@tmp/config5544603036425990996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:44:24 ---> docker-login.sh 17:44:24 nexus3.edgexfoundry.org:10001 17:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:25 Configure a credential helper to remove this warning. See 17:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:25 17:44:25 Login Succeeded 17:44:25 nexus3.edgexfoundry.org:10002 17:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:26 Configure a credential helper to remove this warning. See 17:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:26 17:44:26 Login Succeeded 17:44:26 nexus3.edgexfoundry.org:10003 17:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:26 Configure a credential helper to remove this warning. See 17:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:26 17:44:26 Login Succeeded 17:44:26 nexus3.edgexfoundry.org:10004 17:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:26 Configure a credential helper to remove this warning. See 17:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:26 17:44:26 Login Succeeded 17:44:26 docker.io 17:44:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:27 Configure a credential helper to remove this warning. See 17:44:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:27 17:44:27 Login Succeeded 17:44:27 ---> docker-login.sh ends [Pipeline] } 17:44:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:44:28 ========================================================= 17:44:28 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 17:44:28 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:44:28 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 17:44:31 Sending build context to Docker daemon 165.8MB 17:44:31 Step 1/6 : ARG BASE=golang:1.16-alpine3.12 17:44:31 Step 2/6 : FROM ${BASE} 17:44:31 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:44:31 595b0fe564bb: Pulling fs layer 17:44:31 24495759ef45: Pulling fs layer 17:44:31 d148012ef14d: Pulling fs layer 17:44:31 e90a11edd702: Pulling fs layer 17:44:31 d77568369979: Pulling fs layer 17:44:31 c70fe1637996: Pulling fs layer 17:44:31 56b9a3b27deb: Pulling fs layer 17:44:31 0c467a088ba4: Pulling fs layer 17:44:31 c70fe1637996: Waiting 17:44:31 56b9a3b27deb: Waiting 17:44:31 0c467a088ba4: Waiting 17:44:31 e90a11edd702: Waiting 17:44:31 d77568369979: Waiting 17:44:31 d148012ef14d: Verifying Checksum 17:44:31 d148012ef14d: Download complete 17:44:31 24495759ef45: Verifying Checksum 17:44:31 24495759ef45: Download complete 17:44:31 d77568369979: Download complete 17:44:31 595b0fe564bb: Verifying Checksum 17:44:31 595b0fe564bb: Download complete 17:44:31 c70fe1637996: Download complete 17:44:31 56b9a3b27deb: Verifying Checksum 17:44:31 56b9a3b27deb: Download complete 17:44:31 595b0fe564bb: Pull complete 17:44:32 24495759ef45: Pull complete 17:44:33 d148012ef14d: Pull complete 17:44:34 0c467a088ba4: Verifying Checksum 17:44:34 0c467a088ba4: Download complete 17:44:35 e90a11edd702: Verifying Checksum 17:44:35 e90a11edd702: Download complete 17:44:45 e90a11edd702: Pull complete 17:44:45 d77568369979: Pull complete 17:44:45 c70fe1637996: Pull complete 17:44:45 56b9a3b27deb: Pull complete 17:44:50 0c467a088ba4: Pull complete 17:44:50 Digest: sha256:fb27c914a9ebb91544b5ed834b192fc4c8f82265cfe9b1e607194c792a26e257 17:44:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:44:51 ---> 4f74392f9e0c 17:44:51 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 17:44:55 ---> Running in 7ae442fb9711 17:44:56 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 17:44:57 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 17:44:58 OK: 218 MiB in 52 packages 17:44:58 ln: /usr/bin/touch: File exists 17:44:58 The command '/bin/sh -c apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch' 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 17:45:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:45:00 17:45:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:45:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:45:00 arm64: Pulling from edgex-lftools-log-publisher 17:45:00 448f6bf000e3: Pulling fs layer 17:45:00 f757da607395: Pulling fs layer 17:45:00 05883995daec: Pulling fs layer 17:45:00 8603b9c90790: Pulling fs layer 17:45:00 1560dd03e051: Pulling fs layer 17:45:00 27f5ce0e4adf: Pulling fs layer 17:45:00 c2d8d7efcc4b: Pulling fs layer 17:45:00 8603b9c90790: Waiting 17:45:00 27f5ce0e4adf: Waiting 17:45:00 c2d8d7efcc4b: Waiting 17:45:00 1560dd03e051: Waiting 17:45:00 f757da607395: Download complete 17:45:01 8603b9c90790: Verifying Checksum 17:45:01 8603b9c90790: Download complete 17:45:01 1560dd03e051: Verifying Checksum 17:45:01 1560dd03e051: Download complete 17:45:01 27f5ce0e4adf: Verifying Checksum 17:45:01 27f5ce0e4adf: Download complete 17:45:01 05883995daec: Verifying Checksum 17:45:01 05883995daec: Download complete 17:45:02 448f6bf000e3: Verifying Checksum 17:45:02 448f6bf000e3: Download complete 17:45:05 c2d8d7efcc4b: Verifying Checksum 17:45:05 c2d8d7efcc4b: Download complete 17:45:05 448f6bf000e3: Pull complete 17:45:06 f757da607395: Pull complete 17:45:07 05883995daec: Pull complete 17:45:08 8603b9c90790: Pull complete 17:45:09 1560dd03e051: Pull complete 17:45:09 27f5ce0e4adf: Pull complete 17:45:24 c2d8d7efcc4b: Pull complete 17:45:24 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 17:45:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:45:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:45:25 prd-ubuntu18.04-docker-arm64-4c-16g-1698 does not seem to be running inside a container 17:45:25 $ 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/20 -v /w/workspace/edgex-go/20:/w/workspace/edgex-go/20:rw,z -v /w/workspace/edgex-go/20@tmp:/w/workspace/edgex-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:45:30 $ docker top 18861718c4f5360eee133e1318f832bb82483735ef19b2ca0b6c1359987a5121 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:45:31 ---> job-cost.sh 17:45:31 lf-activate-venv: SKIPPING 17:45:31 INFO: No Stack... 17:45:33 INFO: Retrieving Pricing Info for: v2-standard-4 17:45:33 INFO: Archiving Costs [Pipeline] sh 17:45:34 + cut -d, -f6 17:45:34 + cat /w/workspace/edgex-go/20/archives/cost.csv [Pipeline] lock 17:45:34 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-main-20-stack-cost] 17:45:34 Resource [jenkins-edgexfoundry-edgex-go-main-20-stack-cost] did not exist. Created. 17:45:34 Lock acquired on [jenkins-edgexfoundry-edgex-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:45:35 + echo total: 0.18000000715255737 [Pipeline] stash 17:45:35 Stashed 1 file(s) [Pipeline] } 17:45:35 Lock released on resource [jenkins-edgexfoundry-edgex-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } 17:45:35 $ docker stop --time=1 18861718c4f5360eee133e1318f832bb82483735ef19b2ca0b6c1359987a5121 17:45:37 $ docker rm -f 18861718c4f5360eee133e1318f832bb82483735ef19b2ca0b6c1359987a5121 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:45:37 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:45:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:45:39 ---> package-listing.sh 17:45:39 ++ facter osfamily 17:45:39 ++ tr '[:upper:]' '[:lower:]' 17:45:39 + OS_FAMILY=redhat 17:45:39 + workspace=/w/workspace/edgex-go/20 17:45:39 + START_PACKAGES=/tmp/packages_start.txt 17:45:39 + END_PACKAGES=/tmp/packages_end.txt 17:45:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:45:39 + PACKAGES=/tmp/packages_start.txt 17:45:39 + '[' /w/workspace/edgex-go/20 ']' 17:45:39 + PACKAGES=/tmp/packages_end.txt 17:45:39 + case "${OS_FAMILY}" in 17:45:39 + sort 17:45:39 + rpm -qa 17:45:40 + '[' -f /tmp/packages_start.txt ']' 17:45:40 + '[' -f /tmp/packages_end.txt ']' 17:45:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:45:40 + '[' /w/workspace/edgex-go/20 ']' 17:45:40 + mkdir -p /w/workspace/edgex-go/20/archives/ 17:45:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/20/archives/ [Pipeline] echo 17:45:40 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/20/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:45:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:45:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:45:41 17:45:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:45:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:45:41 latest: Pulling from edgex-lftools-log-publisher 17:45:41 b4d181a07f80: Pulling fs layer 17:45:41 a1111a8f2ec3: Pulling fs layer 17:45:41 ed53099fbce6: Pulling fs layer 17:45:41 dc539afda2c1: Pulling fs layer 17:45:41 77bc0d833cb6: Pulling fs layer 17:45:41 9065ff56babe: Pulling fs layer 17:45:41 d287ab97295c: Pulling fs layer 17:45:41 dc539afda2c1: Waiting 17:45:41 77bc0d833cb6: Waiting 17:45:41 9065ff56babe: Waiting 17:45:41 d287ab97295c: Waiting 17:45:42 a1111a8f2ec3: Verifying Checksum 17:45:42 a1111a8f2ec3: Download complete 17:45:42 dc539afda2c1: Verifying Checksum 17:45:42 dc539afda2c1: Download complete 17:45:42 77bc0d833cb6: Verifying Checksum 17:45:42 77bc0d833cb6: Download complete 17:45:42 9065ff56babe: Verifying Checksum 17:45:42 9065ff56babe: Download complete 17:45:42 ed53099fbce6: Verifying Checksum 17:45:42 ed53099fbce6: Download complete 17:45:43 b4d181a07f80: Verifying Checksum 17:45:43 b4d181a07f80: Download complete 17:45:44 b4d181a07f80: Pull complete 17:45:44 a1111a8f2ec3: Pull complete 17:45:44 ed53099fbce6: Pull complete 17:45:44 dc539afda2c1: Pull complete 17:45:45 77bc0d833cb6: Pull complete 17:45:45 9065ff56babe: Pull complete 17:45:47 d287ab97295c: Verifying Checksum 17:45:47 d287ab97295c: Download complete 17:45:51 d287ab97295c: Pull complete 17:45:51 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:45:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:45:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:45:51 prd-centos7-docker-4c-2g-1704 does not seem to be running inside a container 17:45:51 $ 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/20/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/20 -v /w/workspace/edgex-go/20:/w/workspace/edgex-go/20:rw,z -v /w/workspace/edgex-go/20@tmp:/w/workspace/edgex-go/20@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:45:53 $ docker top 6d5ec8cc9ef1a4fa6cb55b432d34632aa0760058dd73ed3db820edc9dc5fdfcc -eo pid,comm [Pipeline] { [Pipeline] sh 17:45:54 + touch /tmp/pre-build-complete [Pipeline] sh 17:45:54 + mkdir -p /var/log/sysstat [Pipeline] sh 17:45:54 + ls /var/log/sa-host 17:45:54 + sadf -c /var/log/sa-host/sa02 17:45:54 file_magic: OK 17:45:54 HZ: Using current value: 100 17:45:54 file_header: OK 17:45:54 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:45:54 Statistics: 17:45:54 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:45:54 File successfully converted to sysstat format version 12.0.3 17:45:54 + sadf -c /var/log/sa-host/sa05 17:45:54 file_magic: OK 17:45:54 HZ: Using current value: 100 17:45:54 file_header: OK 17:45:54 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:45:54 Statistics: 17:45:54 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:45:54 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:45:55 provisioning config files... 17:45:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/20@tmp/config7689733400623972287tmp [Pipeline] { [Pipeline] echo 17:45:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:45:55 ---> create-netrc.sh [Pipeline] } 17:45:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:45:55 ---> python-tools-install.sh [Pipeline] echo 17:45:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:45:56 ---> sudo-logs.sh 17:45:56 Archiving 'sudo' log.. 17:45:56 sudo: unable to resolve host prd-centos7-docker-4c-2g-1704.vexxhost.local: Name or service not known 17:45:56 sudo: unable to resolve host prd-centos7-docker-4c-2g-1704.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 17:45:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:45:56 ---> job-cost.sh 17:45:56 lf-activate-venv: SKIPPING 17:45:56 DEBUG: total: 0.18000000715255737 17:45:56 INFO: Retrieving Stack Cost... 17:45:57 INFO: Retrieving Pricing Info for: v3-standard-2 17:45:57 INFO: Archiving Costs [Pipeline] echo 17:45:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:45:58 ---> logs-deploy.sh 17:45:58 lf-activate-venv: SKIPPING 17:45:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/main/20 17:45:58 INFO: archiving workspace using pattern(s): 17:45:58 Archives upload complete. 17:45:58 INFO: archiving logs to Nexus 17:45:59 ---> uname -a: 17:45:59 Linux prd-centos7-docker-4c-2g-1704.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:45:59 17:45:59 17:45:59 ---> lscpu: 17:45:59 Architecture: x86_64 17:45:59 CPU op-mode(s): 32-bit, 64-bit 17:45:59 Byte Order: Little Endian 17:45:59 Address sizes: 40 bits physical, 48 bits virtual 17:45:59 CPU(s): 2 17:45:59 On-line CPU(s) list: 0,1 17:45:59 Thread(s) per core: 1 17:45:59 Core(s) per socket: 1 17:45:59 Socket(s): 2 17:45:59 NUMA node(s): 1 17:45:59 Vendor ID: AuthenticAMD 17:45:59 CPU family: 23 17:45:59 Model: 49 17:45:59 Model name: AMD EPYC-Rome Processor 17:45:59 Stepping: 0 17:45:59 CPU MHz: 2799.996 17:45:59 BogoMIPS: 5599.99 17:45:59 Virtualization: AMD-V 17:45:59 Hypervisor vendor: KVM 17:45:59 Virtualization type: full 17:45:59 L1d cache: 32K 17:45:59 L1i cache: 32K 17:45:59 L2 cache: 512K 17:45:59 L3 cache: 16384K 17:45:59 NUMA node0 CPU(s): 0,1 17:45:59 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:45:59 17:45:59 17:45:59 ---> nproc: 17:45:59 2 17:45:59 17:45:59 17:45:59 ---> df -h: 17:45:59 Filesystem Size Used Avail Use% Mounted on 17:45:59 overlay 40G 8.6G 32G 22% / 17:45:59 tmpfs 64M 0 64M 0% /dev 17:45:59 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 17:45:59 shm 64M 0 64M 0% /dev/shm 17:45:59 /dev/vda1 40G 8.6G 32G 22% /facter-os 17:45:59 17:45:59 17:45:59 ---> sar -b -r -n DEV: 17:45:59 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:45:59 17:45:59 17:42:35 LINUX RESTART (2 CPU) 17:45:59 17:45:59 17:43:01 tps rtps wtps bread/s bwrtn/s 17:45:59 17:44:01 123.35 14.27 109.08 4549.54 20095.99 17:45:59 17:45:01 70.39 0.00 70.39 0.00 35251.83 17:45:59 Average: 96.87 7.14 89.73 2274.96 27673.28 17:45:59 17:45:59 17:43:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:45:59 17:44:01 4703328 0 860340 10.74 2620 2442652 1467532 16.20 963648 1917048 389108 17:45:59 17:45:01 4500068 0 884124 11.04 2620 2622128 1229024 13.57 953556 2080424 16 17:45:59 Average: 4601698 0 872232 10.89 2620 2532390 1348278 14.89 958602 1998736 194562 17:45:59 17:45:59 17:43:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:45:59 17:44:01 eth0 1794.49 1245.06 7420.48 168.75 0.00 0.00 0.00 0.00 17:45:59 17:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:45:59 17:44:01 docker0 563.73 617.52 55.78 2679.71 0.00 0.00 0.00 0.00 17:45:59 17:45:01 eth0 307.38 211.31 2229.56 17.21 0.00 0.00 0.00 0.00 17:45:59 17:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:45:59 17:45:01 docker0 12.34 13.92 0.84 33.31 0.00 0.00 0.00 0.00 17:45:59 Average: eth0 1051.00 728.23 4825.24 92.98 0.00 0.00 0.00 0.00 17:45:59 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:45:59 Average: docker0 288.06 315.75 28.31 1356.62 0.00 0.00 0.00 0.00 17:45:59 17:45:59 17:45:59 ---> sar -P ALL: 17:45:59 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:45:59 17:45:59 17:42:35 LINUX RESTART (2 CPU) 17:45:59 17:45:59 17:43:01 CPU %user %nice %system %iowait %steal %idle 17:45:59 17:44:01 all 28.46 0.00 6.51 3.25 0.09 61.70 17:45:59 17:44:01 0 30.18 0.00 6.88 1.76 0.09 61.08 17:45:59 17:44:01 1 26.76 0.00 6.14 4.70 0.09 62.31 17:45:59 17:45:01 all 5.73 0.00 2.43 0.77 0.03 91.03 17:45:59 17:45:01 0 5.63 0.00 2.48 0.90 0.03 90.95 17:45:59 17:45:01 1 5.83 0.00 2.37 0.64 0.03 91.12 17:45:59 Average: all 16.82 0.00 4.42 1.98 0.06 76.72 17:45:59 Average: 0 17.57 0.00 4.62 1.32 0.06 76.43 17:45:59 Average: 1 16.07 0.00 4.22 2.63 0.06 77.02 17:45:59 17:45:59 17:45:59