Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 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-ssh6746975271502327112.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 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-ssh5395665294015043044.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 b96307f5267f6fa8c29f8dc04d3d152726fc6340 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/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/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6668052758606124617.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b96307f5267f6fa8c29f8dc04d3d152726fc6340 # timeout=10 Commit message: "Merge pull request #356 from ernestojeda/disable-go-proxy" > 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-ssh8718851717372357963.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-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/device-rest-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3577699740102751887.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [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 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_BUILD_IMAGE_TARGET: builder 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-2406 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-rest-go_main@tmp/jenkins-gitclient-ssh8073905820523483344.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 Commit message: "Merge pull request #137 from hahattan/issue-136" > git rev-list --no-walk c2b56409ff7876491f1b0abf22052cd5d8a556b9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:47:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:47:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:47:22 ========================================================= 14:47:22 EdgeX Global Pipelines Version Info 14:47:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:47:23 ------------------- 14:47:23 stable info: 14:47:23 ------------------- 14:47:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:47:23 Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 14:47:23 Message: update stable to v1.0.207 14:47:24 ------------------- 14:47:24 experimental info: 14:47:24 ------------------- 14:47:24 Commited By: **** collab-it+edgex@linuxfoundation.org 14:47:24 Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 14:47:24 Message: update experimental to v1.0.207 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [Pipeline] echo 14:47:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dfe1eec [Pipeline] echo 14:47:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:47:25 provisioning config files... 14:47:25 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2755620704143428860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:47:25 ---> docker-login.sh 14:47:25 nexus3.edgexfoundry.org:10001 14:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:47:32 Configure a credential helper to remove this warning. See 14:47:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:47:32 14:47:32 Login Succeeded 14:47:32 nexus3.edgexfoundry.org:10002 14:47:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:47:32 Configure a credential helper to remove this warning. See 14:47:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:47:32 14:47:32 Login Succeeded 14:47:32 nexus3.edgexfoundry.org:10003 14:47:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:47:32 Configure a credential helper to remove this warning. See 14:47:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:47:32 14:47:32 Login Succeeded 14:47:32 nexus3.edgexfoundry.org:10004 14:47:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:47:32 Configure a credential helper to remove this warning. See 14:47:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:47:32 14:47:32 Login Succeeded 14:47:32 docker.io 14:47:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:47:32 Configure a credential helper to remove this warning. See 14:47:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:47:32 14:47:32 Login Succeeded 14:47:32 ---> docker-login.sh ends [Pipeline] } 14:47:32 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 14:47:33 + git log --format=format:%s -1 dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [Pipeline] echo 14:47:33 GIT_COMMIT: dfe1eecf97bbb3fc78e576d46b1f52bb386bd406, Commit Message: Merge pull request #137 from hahattan/issue-136 [Pipeline] echo 14:47:33 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 14:47:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:47:34 14:47:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:47:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:47:34 latest: Pulling from edgex-devops/git-semver 14:47:34 31603596830f: Pulling fs layer 14:47:34 04fac38145f0: Pulling fs layer 14:47:34 701f6daf10bf: Pulling fs layer 14:47:34 24f72da36158: Pulling fs layer 14:47:34 24f72da36158: Waiting 14:47:34 04fac38145f0: Verifying Checksum 14:47:34 04fac38145f0: Download complete 14:47:34 31603596830f: Verifying Checksum 14:47:34 31603596830f: Download complete 14:47:34 24f72da36158: Verifying Checksum 14:47:34 24f72da36158: Download complete 14:47:34 701f6daf10bf: Verifying Checksum 14:47:34 701f6daf10bf: Download complete 14:47:35 31603596830f: Pull complete 14:47:35 04fac38145f0: Pull complete 14:47:35 701f6daf10bf: Pull complete 14:47:35 24f72da36158: Pull complete 14:47:35 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 14:47:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:47:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:47:35 prd-centos7-docker-4c-2g-2406 does not seem to be running inside a container 14:47:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:47:36 $ docker top 87c35820ffa85f4948ff090d76fc1568ab21e00fa031ebab4c601e0da8bdad60 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:47:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:47:36 [ssh-agent] Looking for ssh-agent implementation... 14:47:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:47:36 $ docker exec 87c35820ffa85f4948ff090d76fc1568ab21e00fa031ebab4c601e0da8bdad60 ssh-agent 14:47:36 SSH_AUTH_SOCK=/tmp/ssh-c1ac1tgjgo8P/agent.14 14:47:36 SSH_AGENT_PID=21 14:47:36 Running ssh-add (command line suppressed) 14:47:37 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7763548898777101831.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7763548898777101831.key) 14:47:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:47:37 + git tag --points-at HEAD [Pipeline] } 14:47:37 $ docker exec --env ******** --env ******** 87c35820ffa85f4948ff090d76fc1568ab21e00fa031ebab4c601e0da8bdad60 ssh-agent -k 14:47:37 unset SSH_AUTH_SOCK; 14:47:37 unset SSH_AGENT_PID; 14:47:37 echo Agent pid 21 killed; 14:47:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:47:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:47:37 [ssh-agent] Looking for ssh-agent implementation... 14:47:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:47:37 $ docker exec 87c35820ffa85f4948ff090d76fc1568ab21e00fa031ebab4c601e0da8bdad60 ssh-agent 14:47:37 SSH_AUTH_SOCK=/tmp/ssh-fM2TLahKIhEB/agent.54 14:47:37 SSH_AGENT_PID=60 14:47:37 Running ssh-add (command line suppressed) 14:47:37 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1625336145245823648.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1625336145245823648.key) 14:47:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:47:38 + git semver init 14:47:38 # -> Open(): unable to determine branch for HEAD 14:47:38 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 14:47:38 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 14:47:38 # $SEMVER_REMOTE_NAME = origin 14:47:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:47:38 # $SEMVER_USER_NAME = edgex-jenkins 14:47:38 # $SEMVER_BRANCH = main 14:47:38 # $SEMVER_TEMP = /tmp/semver-012969182 14:47:38 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 14:47:39 # '/tmp/semver-012969182' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 14:47:39 # -> Force: false 14:47:39 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 14:47:39 $ docker exec --env ******** --env ******** 87c35820ffa85f4948ff090d76fc1568ab21e00fa031ebab4c601e0da8bdad60 ssh-agent -k 14:47:39 unset SSH_AUTH_SOCK; 14:47:39 unset SSH_AGENT_PID; 14:47:39 echo Agent pid 60 killed; 14:47:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:47:39 + git semver [Pipeline] } 14:47:39 $ docker stop --time=1 87c35820ffa85f4948ff090d76fc1568ab21e00fa031ebab4c601e0da8bdad60 14:47:41 $ docker rm -f 87c35820ffa85f4948ff090d76fc1568ab21e00fa031ebab4c601e0da8bdad60 [Pipeline] // withDockerContainer [Pipeline] sh 14:47:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:47:41 Stashed 1 file(s) [Pipeline] echo 14:47:41 [edgeXSemver]: initialized semver on version 2.0.1-dev.9 [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 14:47:57 Still waiting to schedule task 14:47:57 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:47:57 Still waiting to schedule task 14:47:57 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2405’ 14:52:34 Running on prd-centos7-docker-4c-2g-2410 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 14:52:34 Running in /w/workspace/device-rest-go/11 [Pipeline] { [Pipeline] checkout 14:52:34 The recommended git tool is: git 14:52:37 using credential edgex-jenkins-ssh 14:52:37 Cloning the remote Git repository 14:52:37 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:52:37 > git init /w/workspace/device-rest-go/11 # timeout=10 14:52:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:52:37 > git --version # timeout=10 14:52:37 > git --version # 'git version 2.24.4' 14:52:37 using GIT_SSH to set credentials SSH Credentials for GitHub 14:52:37 [INFO] Currently running in a labeled security context 14:52:37 [INFO] Currently SELinux is 'enforcing' on the host 14:52:37 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/11@tmp/jenkins-gitclient-ssh3787738864470843618.key 14:52:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:52:38 Avoid second fetch 14:52:38 Checking out Revision dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 (main) 14:52:38 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:52:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:52:38 > git config core.sparsecheckout # timeout=10 14:52:38 > git checkout -f dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 14:52:42 Commit message: "Merge pull request #137 from hahattan/issue-136" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:52:43 provisioning config files... 14:52:43 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/11@tmp/config5329419443612599714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:52:43 ---> docker-login.sh 14:52:43 nexus3.edgexfoundry.org:10001 14:52:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:43 Configure a credential helper to remove this warning. See 14:52:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:43 14:52:43 Login Succeeded 14:52:43 nexus3.edgexfoundry.org:10002 14:52:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:43 Configure a credential helper to remove this warning. See 14:52:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:43 14:52:43 Login Succeeded 14:52:43 nexus3.edgexfoundry.org:10003 14:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:44 Configure a credential helper to remove this warning. See 14:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:44 14:52:44 Login Succeeded 14:52:44 nexus3.edgexfoundry.org:10004 14:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:44 Configure a credential helper to remove this warning. See 14:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:44 14:52:44 Login Succeeded 14:52:44 docker.io 14:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:44 Configure a credential helper to remove this warning. See 14:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:44 14:52:44 Login Succeeded 14:52:44 ---> docker-login.sh ends [Pipeline] } 14:52:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:52:44 ========================================================= 14:52:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 14:52:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:52:45 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 14:52:45 Sending build context to Docker daemon 118.8kB 14:52:45 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 14:52:45 Step 2/11 : FROM ${BASE} AS builder 14:52:55 Get "https://nexus3.edgexfoundry.org:10003/v2/": net/http: TLS handshake timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:52:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:52:56 14:52:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:52:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:53:06 Error response from daemon: Get "https://nexus3.edgexfoundry.org:10003/v2/": net/http: TLS handshake timeout [Pipeline] } [Pipeline] // script Error when executing always post condition: hudson.AbortException: script returned exit code 1 at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:659) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:605) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:549) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:53:07 Failed in branch amd64 14:53:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2409 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 14:53:11 Running in /w/workspace/device-rest-go/11 [Pipeline] { [Pipeline] checkout 14:53:11 The recommended git tool is: git 14:53:20 using credential edgex-jenkins-ssh 14:53:20 Cloning the remote Git repository 14:53:20 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:53:20 > git init /w/workspace/device-rest-go/11 # timeout=10 14:53:20 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:53:20 > git --version # timeout=10 14:53:20 > git --version # 'git version 2.17.1' 14:53:20 using GIT_SSH to set credentials SSH Credentials for GitHub 14:53:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:53:22 Avoid second fetch 14:53:22 Checking out Revision dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 (main) 14:53:22 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:53:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:53:23 > git config core.sparsecheckout # timeout=10 14:53:23 > git checkout -f dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 14:53:27 Commit message: "Merge pull request #137 from hahattan/issue-136" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:53:28 provisioning config files... 14:53:28 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/11@tmp/config3056962547416779845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:53:28 ---> docker-login.sh 14:53:28 nexus3.edgexfoundry.org:10001 14:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:41 Error response from daemon: Get https://nexus3.edgexfoundry.org:10001/v2/: net/http: TLS handshake timeout [Pipeline] } 14:53:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "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 14:53:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:53:42 14:53:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:53:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:53:49 arm64: Pulling from edgex-lftools-log-publisher 14:53:49 448f6bf000e3: Pulling fs layer 14:53:49 f757da607395: Pulling fs layer 14:53:49 05883995daec: Pulling fs layer 14:53:49 8603b9c90790: Pulling fs layer 14:53:49 1560dd03e051: Pulling fs layer 14:53:49 27f5ce0e4adf: Pulling fs layer 14:53:49 c2d8d7efcc4b: Pulling fs layer 14:53:49 1560dd03e051: Waiting 14:53:49 27f5ce0e4adf: Waiting 14:53:49 c2d8d7efcc4b: Waiting 14:53:49 8603b9c90790: Waiting 14:53:49 f757da607395: Verifying Checksum 14:53:49 f757da607395: Download complete 14:53:49 8603b9c90790: Download complete 14:53:50 1560dd03e051: Verifying Checksum 14:53:50 1560dd03e051: Download complete 14:53:50 27f5ce0e4adf: Verifying Checksum 14:53:50 27f5ce0e4adf: Download complete 14:53:50 05883995daec: Verifying Checksum 14:53:50 05883995daec: Download complete 14:53:54 448f6bf000e3: Download complete 14:53:57 c2d8d7efcc4b: Verifying Checksum 14:53:57 c2d8d7efcc4b: Download complete 14:53:57 448f6bf000e3: Pull complete 14:53:58 f757da607395: Pull complete 14:53:59 05883995daec: Pull complete 14:53:59 8603b9c90790: Pull complete 14:54:01 1560dd03e051: Pull complete 14:54:01 27f5ce0e4adf: Pull complete 14:54:16 c2d8d7efcc4b: Pull complete 14:54:16 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 14:54:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:54:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:54:16 prd-ubuntu18.04-docker-arm64-4c-16g-2409 does not seem to be running inside a container 14:54:16 $ 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/device-rest-go/11 -v /w/workspace/device-rest-go/11:/w/workspace/device-rest-go/11:rw,z -v /w/workspace/device-rest-go/11@tmp:/w/workspace/device-rest-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:54:22 $ docker top 8d27af8c7e3592368c196aea902e0a78fc2e8b9479252895f916ea091ff71d40 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:54:23 ---> job-cost.sh 14:54:23 lf-activate-venv: SKIPPING 14:54:23 INFO: No Stack... 14:54:24 INFO: Retrieving Pricing Info for: v3-standard-4 14:54:24 INFO: Archiving Costs [Pipeline] sh 14:54:25 + cat /w/workspace/device-rest-go/11/archives/cost.csv 14:54:25 + cut -d, -f6 [Pipeline] lock 14:54:25 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-11-stack-cost] 14:54:25 Resource [jenkins-edgexfoundry-device-rest-go-main-11-stack-cost] did not exist. Created. 14:54:25 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:54:26 + echo total: 0.10999999940395355 [Pipeline] stash 14:54:27 Stashed 1 file(s) [Pipeline] } 14:54:27 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-11-stack-cost] [Pipeline] // lock [Pipeline] } 14:54:27 $ docker stop --time=1 8d27af8c7e3592368c196aea902e0a78fc2e8b9479252895f916ea091ff71d40 14:54:29 $ docker rm -f 8d27af8c7e3592368c196aea902e0a78fc2e8b9479252895f916ea091ff71d40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:54:29 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] } [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] sh 14:54:31 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 14:54:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:54:32 ---> package-listing.sh 14:54:32 ++ facter osfamily 14:54:32 ++ tr '[:upper:]' '[:lower:]' 14:54:32 + OS_FAMILY=redhat 14:54:32 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 14:54:32 + START_PACKAGES=/tmp/packages_start.txt 14:54:32 + END_PACKAGES=/tmp/packages_end.txt 14:54:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:54:32 + PACKAGES=/tmp/packages_start.txt 14:54:32 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 14:54:32 + PACKAGES=/tmp/packages_end.txt 14:54:32 + case "${OS_FAMILY}" in 14:54:32 + rpm -qa 14:54:32 + sort 14:54:33 + '[' -f /tmp/packages_start.txt ']' 14:54:33 + '[' -f /tmp/packages_end.txt ']' 14:54:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:54:33 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 14:54:33 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 14:54:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 14:54:33 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:54:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:54:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:54:34 14:54:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:54:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:54:34 latest: Pulling from edgex-lftools-log-publisher 14:54:34 b4d181a07f80: Pulling fs layer 14:54:34 a1111a8f2ec3: Pulling fs layer 14:54:34 ed53099fbce6: Pulling fs layer 14:54:34 dc539afda2c1: Pulling fs layer 14:54:34 77bc0d833cb6: Pulling fs layer 14:54:34 9065ff56babe: Pulling fs layer 14:54:34 d287ab97295c: Pulling fs layer 14:54:34 dc539afda2c1: Waiting 14:54:34 77bc0d833cb6: Waiting 14:54:34 9065ff56babe: Waiting 14:54:34 d287ab97295c: Waiting 14:54:34 a1111a8f2ec3: Verifying Checksum 14:54:34 a1111a8f2ec3: Download complete 14:54:35 dc539afda2c1: Verifying Checksum 14:54:35 dc539afda2c1: Download complete 14:54:35 ed53099fbce6: Verifying Checksum 14:54:35 ed53099fbce6: Download complete 14:54:35 9065ff56babe: Verifying Checksum 14:54:35 9065ff56babe: Download complete 14:54:35 77bc0d833cb6: Verifying Checksum 14:54:35 77bc0d833cb6: Download complete 14:54:35 b4d181a07f80: Verifying Checksum 14:54:35 b4d181a07f80: Download complete 14:54:36 d287ab97295c: Verifying Checksum 14:54:36 d287ab97295c: Download complete 14:54:36 b4d181a07f80: Pull complete 14:54:36 a1111a8f2ec3: Pull complete 14:54:37 ed53099fbce6: Pull complete 14:54:37 dc539afda2c1: Pull complete 14:54:37 77bc0d833cb6: Pull complete 14:54:37 9065ff56babe: Pull complete 14:54:43 d287ab97295c: Pull complete 14:54:43 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:54:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:54:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:54:43 prd-centos7-docker-4c-2g-2406 does not seem to be running inside a container 14:54:43 $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:54:45 $ docker top 9fad7eaa90ea7a53537625a7b31f9651aca18c9123ef6fd95fbbe9896428d310 -eo pid,comm [Pipeline] { [Pipeline] sh 14:54:45 + touch /tmp/pre-build-complete [Pipeline] sh 14:54:46 + mkdir -p /var/log/sysstat [Pipeline] sh 14:54:46 + ls /var/log/sa-host 14:54:46 + sadf -c /var/log/sa-host/sa07 14:54:46 file_magic: OK 14:54:46 HZ: Using current value: 100 14:54:46 file_header: OK 14:54:46 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 14:54:46 Statistics: 14:54:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:54:46 File successfully converted to sysstat format version 12.0.3 14:54:46 + sadf -c /var/log/sa-host/sa30 14:54:46 file_magic: OK 14:54:46 HZ: Using current value: 100 14:54:46 file_header: OK 14:54:46 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 14:54:46 Statistics: 14:54:46 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:54:46 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:54:46 provisioning config files... 14:54:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2080701236327460628tmp [Pipeline] { [Pipeline] echo 14:54:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:54:47 ---> create-netrc.sh [Pipeline] } 14:54:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:54:47 ---> python-tools-install.sh [Pipeline] echo 14:54:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:54:47 ---> sudo-logs.sh 14:54:47 Archiving 'sudo' log.. 14:54:47 sudo: unable to resolve host prd-centos7-docker-4c-2g-2406.novalocal: Name or service not known 14:54:47 sudo: unable to resolve host prd-centos7-docker-4c-2g-2406.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 14:54:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:54:48 ---> job-cost.sh 14:54:48 lf-activate-venv: SKIPPING 14:54:48 DEBUG: total: 0.10999999940395355 14:54:48 INFO: Retrieving Stack Cost... 14:54:48 INFO: Retrieving Pricing Info for: v3-standard-2 14:54:49 INFO: Archiving Costs [Pipeline] echo 14:54:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:54:49 ---> logs-deploy.sh 14:54:49 lf-activate-venv: SKIPPING 14:54:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/11 14:54:49 INFO: archiving workspace using pattern(s): 14:54:49 Archives upload complete. 14:54:50 INFO: archiving logs to Nexus