Pull request #126 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-rest-go Loading trusted files from base branch master at a5b1cbb034473201950a75ebfecc42600a46d68c rather than 2b1dc3df824c525c24fdc53b40715100dcf110c7 Obtained Jenkinsfile from a5b1cbb034473201950a75ebfecc42600a46d68c 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6786040827710429052.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5296162966587713123.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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-126/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-126/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8768198840061815907.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2139225092621853456.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-126/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-126/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5767915822722504952.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [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 ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: 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-632 in /w/workspace/gexfoundry_device-rest-go_PR-126 [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/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-126 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-126@tmp/jenkins-gitclient-ssh8373317103923756588.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit a5b1cbb034473201950a75ebfecc42600a46d68c into PR head commit 2b1dc3df824c525c24fdc53b40715100dcf110c7 Merge succeeded, producing 2b1dc3df824c525c24fdc53b40715100dcf110c7 Checking out Revision 2b1dc3df824c525c24fdc53b40715100dcf110c7 (PR-126) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-126@tmp/jenkins-gitclient-ssh5554961414889127460.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/126/head:refs/remotes/origin/PR-126 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b1dc3df824c525c24fdc53b40715100dcf110c7 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-126@tmp/jenkins-gitclient-ssh1791020817210071687.key > git merge a5b1cbb034473201950a75ebfecc42600a46d68c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b1dc3df824c525c24fdc53b40715100dcf110c7 # timeout=10 Commit message: "build: Update SDK and core-contracts lib" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:13:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:13:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:13:45 ========================================================= 02:13:45 EdgeX Global Pipelines Version Info 02:13:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk eda518e7a1b50e80d820649674e31759b477b718 # timeout=10 02:13:47 ------------------- 02:13:47 stable info: 02:13:47 ------------------- 02:13:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:13:47 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 02:13:47 Message: update stable to v1.0.195 02:13:47 ------------------- 02:13:47 experimental info: 02:13:47 ------------------- 02:13:47 Commited By: **** collab-it+edgex@linuxfoundation.org 02:13:47 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 02:13:47 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-126 [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-126 [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-126 [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b1dc3df824c525c24fdc53b40715100dcf110c7 [Pipeline] echo 02:13:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b1dc3d [Pipeline] echo 02:13:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:13:49 provisioning config files... 02:13:49 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-126@tmp/config1775816530835150310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:49 ---> docker-login.sh 02:13:49 nexus3.edgexfoundry.org:10001 02:13:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:49 Configure a credential helper to remove this warning. See 02:13:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:49 02:13:49 Login Succeeded 02:13:49 nexus3.edgexfoundry.org:10002 02:13:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:49 Configure a credential helper to remove this warning. See 02:13:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:49 02:13:49 Login Succeeded 02:13:49 nexus3.edgexfoundry.org:10003 02:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:50 Configure a credential helper to remove this warning. See 02:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:50 02:13:50 Login Succeeded 02:13:50 nexus3.edgexfoundry.org:10004 02:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:50 Configure a credential helper to remove this warning. See 02:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:50 02:13:50 Login Succeeded 02:13:50 docker.io 02:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:50 Configure a credential helper to remove this warning. See 02:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:50 02:13:50 Login Succeeded 02:13:50 ---> docker-login.sh ends [Pipeline] } 02:13:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:13:51 + git log --format=format:%s -1 2b1dc3df824c525c24fdc53b40715100dcf110c7 [Pipeline] echo 02:13:51 GIT_COMMIT: 2b1dc3df824c525c24fdc53b40715100dcf110c7, Commit Message: build: Update SDK and core-contracts lib [Pipeline] echo 02:13:51 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:13:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:13:52 02:13:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:13:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:13:52 latest: Pulling from edgex-devops/git-semver 02:13:52 31603596830f: Pulling fs layer 02:13:52 54011a49482f: Pulling fs layer 02:13:52 a6820b24f6d8: Pulling fs layer 02:13:52 f581987b2513: Pulling fs layer 02:13:52 f581987b2513: Waiting 02:13:52 54011a49482f: Download complete 02:13:52 31603596830f: Verifying Checksum 02:13:52 31603596830f: Download complete 02:13:52 f581987b2513: Verifying Checksum 02:13:52 f581987b2513: Download complete 02:13:52 a6820b24f6d8: Verifying Checksum 02:13:52 a6820b24f6d8: Download complete 02:13:53 31603596830f: Pull complete 02:13:53 54011a49482f: Pull complete 02:13:54 a6820b24f6d8: Pull complete 02:13:54 f581987b2513: Pull complete 02:13:54 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 02:13:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:13:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:13:54 prd-centos7-docker-4c-2g-632 does not seem to be running inside a container 02:13:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-126 -v /w/workspace/gexfoundry_device-rest-go_PR-126:/w/workspace/gexfoundry_device-rest-go_PR-126:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-126@tmp:/w/workspace/gexfoundry_device-rest-go_PR-126@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:10004/edgex-devops/git-semver:latest cat 02:13:56 $ docker top 512de38d4228cfe8e1c6dd9e563db6d2844c40afbd52f1d81c2576ac9b2ca3da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:13:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:13:57 [ssh-agent] Looking for ssh-agent implementation... 02:13:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:13:57 $ docker exec 512de38d4228cfe8e1c6dd9e563db6d2844c40afbd52f1d81c2576ac9b2ca3da ssh-agent 02:13:57 SSH_AUTH_SOCK=/tmp/ssh-vmPvrvhm1kUH/agent.13 02:13:57 SSH_AGENT_PID=19 02:13:57 Running ssh-add (command line suppressed) 02:13:57 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-126@tmp/private_key_8744607005885095163.key (/w/workspace/gexfoundry_device-rest-go_PR-126@tmp/private_key_8744607005885095163.key) 02:13:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:13:57 + git tag --points-at HEAD [Pipeline] } 02:13:57 $ docker exec --env ******** --env ******** 512de38d4228cfe8e1c6dd9e563db6d2844c40afbd52f1d81c2576ac9b2ca3da ssh-agent -k 02:13:57 unset SSH_AUTH_SOCK; 02:13:57 unset SSH_AGENT_PID; 02:13:57 echo Agent pid 19 killed; 02:13:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:13:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:13:57 [ssh-agent] Looking for ssh-agent implementation... 02:13:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:13:58 $ docker exec 512de38d4228cfe8e1c6dd9e563db6d2844c40afbd52f1d81c2576ac9b2ca3da ssh-agent 02:13:58 SSH_AUTH_SOCK=/tmp/ssh-nR18NOxrLPXf/agent.53 02:13:58 SSH_AGENT_PID=59 02:13:58 Running ssh-add (command line suppressed) 02:13:58 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-126@tmp/private_key_6473489162334952988.key (/w/workspace/gexfoundry_device-rest-go_PR-126@tmp/private_key_6473489162334952988.key) 02:13:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:13:58 + git semver init 02:13:58 # -> Open(): unable to determine branch for HEAD 02:13:58 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-126/.git 02:13:58 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-126 02:13:58 # $SEMVER_REMOTE_NAME = origin 02:13:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:13:58 # $SEMVER_USER_NAME = edgex-jenkins 02:13:58 # $SEMVER_BRANCH = PR-126 02:13:58 # $SEMVER_TEMP = /tmp/semver-871622914 02:13:58 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 02:13:59 # '/tmp/semver-871622914' -> '/w/workspace/gexfoundry_device-rest-go_PR-126/.semver' 02:13:59 # -> Force: false 02:13:59 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-126/.semver [Pipeline] } 02:13:59 $ docker exec --env ******** --env ******** 512de38d4228cfe8e1c6dd9e563db6d2844c40afbd52f1d81c2576ac9b2ca3da ssh-agent -k 02:13:59 unset SSH_AUTH_SOCK; 02:13:59 unset SSH_AGENT_PID; 02:13:59 echo Agent pid 59 killed; 02:13:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:14:00 + git semver [Pipeline] } 02:14:00 $ docker stop --time=1 512de38d4228cfe8e1c6dd9e563db6d2844c40afbd52f1d81c2576ac9b2ca3da 02:14:02 $ docker rm -f 512de38d4228cfe8e1c6dd9e563db6d2844c40afbd52f1d81c2576ac9b2ca3da [Pipeline] // withDockerContainer [Pipeline] sh 02:14:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:14:02 Stashed 1 file(s) [Pipeline] echo 02:14:02 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [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] node 02:14:18 Still waiting to schedule task 02:14:18 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:14:18 Still waiting to schedule task 02:14:18 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:16:05 Running on prd-centos7-docker-4c-2g-634 in /w/workspace/gexfoundry_device-rest-go_PR-126 [Pipeline] { [Pipeline] ws 02:16:05 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 02:16:05 The recommended git tool is: git 02:16:07 using credential edgex-jenkins-ssh 02:16:07 Cloning the remote Git repository 02:16:07 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 02:16:07 > git init /w/workspace/device-rest-go/2 # timeout=10 02:16:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:16:07 > git --version # timeout=10 02:16:07 > git --version # 'git version 2.24.4' 02:16:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:16:07 [INFO] Currently running in a labeled security context 02:16:07 [INFO] Currently SELinux is 'enforcing' on the host 02:16:07 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh6574035730793512921.key 02:16:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:16:09 Merging remotes/origin/master commit a5b1cbb034473201950a75ebfecc42600a46d68c into PR head commit 2b1dc3df824c525c24fdc53b40715100dcf110c7 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:16:09 Failed in branch amd64 02:16:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:16:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:16:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:16:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:16:08 using GIT_SSH to set credentials SSH Credentials for GitHub 02:16:08 [INFO] Currently running in a labeled security context 02:16:08 [INFO] Currently SELinux is 'enforcing' on the host 02:16:08 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh272485011396491452.key 02:16:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/126/head:refs/remotes/origin/PR-126 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:16:09 > git config core.sparsecheckout # timeout=10 02:16:09 > git checkout -f 2b1dc3df824c525c24fdc53b40715100dcf110c7 # timeout=10 02:17:25 Running on prd-ubuntu18.04-docker-arm64-4c-16g-636 in /w/workspace/gexfoundry_device-rest-go_PR-126 [Pipeline] { [Pipeline] ws 02:17:25 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 02:17:26 The recommended git tool is: git 02:17:31 using credential edgex-jenkins-ssh 02:17:31 Cloning the remote Git repository 02:17:31 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 02:17:31 > git init /w/workspace/device-rest-go/2 # timeout=10 02:17:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:17:31 > git --version # timeout=10 02:17:31 > git --version # 'git version 2.17.1' 02:17:31 using GIT_SSH to set credentials SSH Credentials for GitHub 02:17:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:17:33 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:17:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:17:33 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:17:33 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:17:33 using GIT_SSH to set credentials SSH Credentials for GitHub 02:17:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/126/head:refs/remotes/origin/PR-126 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:17:33 Merging remotes/origin/master commit a5b1cbb034473201950a75ebfecc42600a46d68c into PR head commit 2b1dc3df824c525c24fdc53b40715100dcf110c7 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:17:34 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 Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" 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] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } 02:17:34 > git config core.sparsecheckout # timeout=10 02:17:34 > git checkout -f 2b1dc3df824c525c24fdc53b40715100dcf110c7 # timeout=10 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) 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 02:17:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:17:36 ---> package-listing.sh 02:17:36 ++ facter osfamily 02:17:36 ++ tr '[:upper:]' '[:lower:]' 02:17:36 + OS_FAMILY=redhat 02:17:36 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-126 02:17:36 + START_PACKAGES=/tmp/packages_start.txt 02:17:36 + END_PACKAGES=/tmp/packages_end.txt 02:17:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:17:36 + PACKAGES=/tmp/packages_start.txt 02:17:36 + '[' /w/workspace/gexfoundry_device-rest-go_PR-126 ']' 02:17:36 + PACKAGES=/tmp/packages_end.txt 02:17:36 + case "${OS_FAMILY}" in 02:17:36 + rpm -qa 02:17:36 + sort 02:17:37 + '[' -f /tmp/packages_start.txt ']' 02:17:37 + '[' -f /tmp/packages_end.txt ']' 02:17:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:17:37 + '[' /w/workspace/gexfoundry_device-rest-go_PR-126 ']' 02:17:37 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-126/archives/ 02:17:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-126/archives/ [Pipeline] echo 02:17:37 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/gexfoundry_device-rest-go_PR-126/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:17:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:17:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:17:38 02:17:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:17:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:17:38 alpine: Pulling from edgex-lftools-log-publisher 02:17:38 df20fa9351a1: Pulling fs layer 02:17:38 36b3adc4ff6f: Pulling fs layer 02:17:38 8ad3a11d3b57: Pulling fs layer 02:17:38 46f8f816bc3b: Pulling fs layer 02:17:38 93b61091891f: Pulling fs layer 02:17:38 93b9cdb0e59b: Pulling fs layer 02:17:38 5e14af77c1be: Pulling fs layer 02:17:38 01666e4c0597: Pulling fs layer 02:17:38 aa168da1d23b: Pulling fs layer 02:17:38 93b9cdb0e59b: Waiting 02:17:38 5e14af77c1be: Waiting 02:17:38 01666e4c0597: Waiting 02:17:38 aa168da1d23b: Waiting 02:17:38 46f8f816bc3b: Waiting 02:17:38 93b61091891f: Waiting 02:17:38 36b3adc4ff6f: Download complete 02:17:38 46f8f816bc3b: Verifying Checksum 02:17:38 46f8f816bc3b: Download complete 02:17:38 df20fa9351a1: Verifying Checksum 02:17:38 df20fa9351a1: Download complete 02:17:38 93b9cdb0e59b: Verifying Checksum 02:17:38 93b9cdb0e59b: Download complete 02:17:38 93b61091891f: Verifying Checksum 02:17:38 93b61091891f: Download complete 02:17:38 5e14af77c1be: Verifying Checksum 02:17:38 5e14af77c1be: Download complete 02:17:38 01666e4c0597: Verifying Checksum 02:17:38 01666e4c0597: Download complete 02:17:38 8ad3a11d3b57: Verifying Checksum 02:17:38 8ad3a11d3b57: Download complete 02:17:38 df20fa9351a1: Pull complete 02:17:38 36b3adc4ff6f: Pull complete 02:17:39 8ad3a11d3b57: Pull complete 02:17:39 46f8f816bc3b: Pull complete 02:17:40 93b61091891f: Pull complete 02:17:40 93b9cdb0e59b: Pull complete 02:17:40 5e14af77c1be: Pull complete 02:17:40 01666e4c0597: Pull complete 02:17:40 aa168da1d23b: Verifying Checksum 02:17:40 aa168da1d23b: Download complete 02:17:45 aa168da1d23b: Pull complete 02:17:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:17:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:17:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:17:45 prd-centos7-docker-4c-2g-632 does not seem to be running inside a container 02:17:45 $ 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/gexfoundry_device-rest-go_PR-126/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-126 -v /w/workspace/gexfoundry_device-rest-go_PR-126:/w/workspace/gexfoundry_device-rest-go_PR-126:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-126@tmp:/w/workspace/gexfoundry_device-rest-go_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:17:56 $ docker top 45585236fe492d4b5b69912ec55957b9c006b1053f752203fc38946cc5c8da83 -eo pid,comm [Pipeline] { [Pipeline] sh 02:17:56 + touch /tmp/pre-build-complete [Pipeline] sh 02:17:56 + mkdir -p /var/log/sa [Pipeline] sh 02:17:57 + ls /var/log/sa-host 02:17:57 + sadf -c /var/log/sa-host/sa05 02:17:57 file_magic: OK 02:17:57 HZ: Using current value: 100 02:17:57 file_header: OK 02:17:57 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 02:17:57 Statistics: 02:17:57 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:17:57 File successfully converted to sysstat format version 12.2.1 02:17:57 + sadf -c /var/log/sa-host/sa29 02:17:57 file_magic: OK 02:17:57 HZ: Using current value: 100 02:17:57 file_header: OK 02:17:57 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 02:17:57 Statistics: 02:17:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:17:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:17:57 provisioning config files... 02:17:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-126@tmp/config536783892500681195tmp [Pipeline] { [Pipeline] echo 02:17:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:17:57 ---> create-netrc.sh [Pipeline] } 02:17:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:17:58 ---> python-tools-install.sh [Pipeline] echo 02:17:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:17:58 ---> sudo-logs.sh 02:17:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:17:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:17:58 ---> job-cost.sh 02:17:58 lf-activate-venv: SKIPPING 02:17:58 INFO: No Stack... 02:18:00 INFO: Retrieving Pricing Info for: v3-standard-2 02:18:00 INFO: Archiving Costs [Pipeline] echo 02:18:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:18:00 ---> logs-deploy.sh 02:18:00 lf-activate-venv: SKIPPING 02:18:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-126/2 02:18:00 INFO: archiving workspace using pattern(s): 02:18:01 Archives upload complete. 02:18:01 INFO: archiving logs to Nexus