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 [2021-10-07T14:47:22.232Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-07T14:47:22.326Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-07T14:47:22.354Z] ========================================================= [2021-10-07T14:47:22.354Z] EdgeX Global Pipelines Version Info [2021-10-07T14:47:22.354Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:47:23.578Z] ------------------- [2021-10-07T14:47:23.578Z] stable info: [2021-10-07T14:47:23.578Z] ------------------- [2021-10-07T14:47:23.578Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-07T14:47:23.578Z] Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 [2021-10-07T14:47:23.578Z] Message: update stable to v1.0.207 [2021-10-07T14:47:24.162Z] ------------------- [2021-10-07T14:47:24.162Z] experimental info: [2021-10-07T14:47:24.162Z] ------------------- [2021-10-07T14:47:24.162Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-07T14:47:24.162Z] Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 [2021-10-07T14:47:24.162Z] Message: update experimental to v1.0.207 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-07T14:47:24.295Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-10-07T14:47:24.318Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-10-07T14:47:24.340Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-07T14:47:24.363Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-07T14:47:24.385Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-07T14:47:24.408Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-07T14:47:24.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-07T14:47:24.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-07T14:47:24.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-07T14:47:24.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-07T14:47:24.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-07T14:47:24.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-10-07T14:47:24.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-07T14:47:24.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-07T14:47:24.611Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-07T14:47:24.635Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-07T14:47:24.657Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-07T14:47:24.680Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-07T14:47:24.702Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-07T14:47:24.725Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-07T14:47:24.747Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-07T14:47:24.770Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-07T14:47:24.792Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-07T14:47:24.817Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-07T14:47:24.840Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-07T14:47:24.864Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-07T14:47:24.887Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-07T14:47:24.911Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-07T14:47:24.936Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-07T14:47:24.959Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [Pipeline] echo [2021-10-07T14:47:24.983Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dfe1eec [Pipeline] echo [2021-10-07T14:47:25.006Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T14:47:25.097Z] provisioning config files... [2021-10-07T14:47:25.115Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2755620704143428860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:47:25.450Z] ---> docker-login.sh [2021-10-07T14:47:25.450Z] nexus3.edgexfoundry.org:10001 [2021-10-07T14:47:25.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T14:47:32.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T14:47:32.095Z] Configure a credential helper to remove this warning. See [2021-10-07T14:47:32.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T14:47:32.095Z] [2021-10-07T14:47:32.095Z] Login Succeeded [2021-10-07T14:47:32.095Z] nexus3.edgexfoundry.org:10002 [2021-10-07T14:47:32.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T14:47:32.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T14:47:32.095Z] Configure a credential helper to remove this warning. See [2021-10-07T14:47:32.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T14:47:32.095Z] [2021-10-07T14:47:32.095Z] Login Succeeded [2021-10-07T14:47:32.095Z] nexus3.edgexfoundry.org:10003 [2021-10-07T14:47:32.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T14:47:32.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T14:47:32.362Z] Configure a credential helper to remove this warning. See [2021-10-07T14:47:32.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T14:47:32.362Z] [2021-10-07T14:47:32.362Z] Login Succeeded [2021-10-07T14:47:32.362Z] nexus3.edgexfoundry.org:10004 [2021-10-07T14:47:32.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T14:47:32.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T14:47:32.362Z] Configure a credential helper to remove this warning. See [2021-10-07T14:47:32.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T14:47:32.362Z] [2021-10-07T14:47:32.362Z] Login Succeeded [2021-10-07T14:47:32.362Z] docker.io [2021-10-07T14:47:32.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T14:47:32.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T14:47:32.951Z] Configure a credential helper to remove this warning. See [2021-10-07T14:47:32.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T14:47:32.951Z] [2021-10-07T14:47:32.951Z] Login Succeeded [2021-10-07T14:47:32.951Z] ---> docker-login.sh ends [Pipeline] } [2021-10-07T14:47:32.965Z] 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 [2021-10-07T14:47:33.493Z] + git log --format=format:%s -1 dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [Pipeline] echo [2021-10-07T14:47:33.551Z] GIT_COMMIT: dfe1eecf97bbb3fc78e576d46b1f52bb386bd406, Commit Message: Merge pull request #137 from hahattan/issue-136 [Pipeline] echo [2021-10-07T14:47:33.565Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-07T14:47:34.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T14:47:34.284Z] [2021-10-07T14:47:34.284Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T14:47:34.610Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T14:47:34.610Z] latest: Pulling from edgex-devops/git-semver [2021-10-07T14:47:34.610Z] 31603596830f: Pulling fs layer [2021-10-07T14:47:34.610Z] 04fac38145f0: Pulling fs layer [2021-10-07T14:47:34.610Z] 701f6daf10bf: Pulling fs layer [2021-10-07T14:47:34.610Z] 24f72da36158: Pulling fs layer [2021-10-07T14:47:34.610Z] 24f72da36158: Waiting [2021-10-07T14:47:34.610Z] 04fac38145f0: Verifying Checksum [2021-10-07T14:47:34.610Z] 04fac38145f0: Download complete [2021-10-07T14:47:34.880Z] 31603596830f: Verifying Checksum [2021-10-07T14:47:34.880Z] 31603596830f: Download complete [2021-10-07T14:47:34.880Z] 24f72da36158: Verifying Checksum [2021-10-07T14:47:34.880Z] 24f72da36158: Download complete [2021-10-07T14:47:34.880Z] 701f6daf10bf: Verifying Checksum [2021-10-07T14:47:34.880Z] 701f6daf10bf: Download complete [2021-10-07T14:47:35.150Z] 31603596830f: Pull complete [2021-10-07T14:47:35.150Z] 04fac38145f0: Pull complete [2021-10-07T14:47:35.738Z] 701f6daf10bf: Pull complete [2021-10-07T14:47:35.738Z] 24f72da36158: Pull complete [2021-10-07T14:47:35.738Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-07T14:47:35.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T14:47:35.738Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-07T14:47:35.834Z] prd-centos7-docker-4c-2g-2406 does not seem to be running inside a container [2021-10-07T14:47:35.893Z] $ 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 [2021-10-07T14:47:36.556Z] $ docker top 87c35820ffa85f4948ff090d76fc1568ab21e00fa031ebab4c601e0da8bdad60 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-07T14:47:36.691Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-07T14:47:36.691Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-07T14:47:36.793Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-07T14:47:36.797Z] $ docker exec 87c35820ffa85f4948ff090d76fc1568ab21e00fa031ebab4c601e0da8bdad60 ssh-agent [2021-10-07T14:47:36.901Z] SSH_AUTH_SOCK=/tmp/ssh-c1ac1tgjgo8P/agent.14 [2021-10-07T14:47:36.901Z] SSH_AGENT_PID=21 [2021-10-07T14:47:36.914Z] Running ssh-add (command line suppressed) [2021-10-07T14:47:37.015Z] 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) [2021-10-07T14:47:37.031Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-07T14:47:37.344Z] + git tag --points-at HEAD [Pipeline] } [2021-10-07T14:47:37.367Z] $ docker exec --env ******** --env ******** 87c35820ffa85f4948ff090d76fc1568ab21e00fa031ebab4c601e0da8bdad60 ssh-agent -k [2021-10-07T14:47:37.461Z] unset SSH_AUTH_SOCK; [2021-10-07T14:47:37.461Z] unset SSH_AGENT_PID; [2021-10-07T14:47:37.461Z] echo Agent pid 21 killed; [2021-10-07T14:47:37.476Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-07T14:47:37.521Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-07T14:47:37.521Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-07T14:47:37.649Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-07T14:47:37.653Z] $ docker exec 87c35820ffa85f4948ff090d76fc1568ab21e00fa031ebab4c601e0da8bdad60 ssh-agent [2021-10-07T14:47:37.764Z] SSH_AUTH_SOCK=/tmp/ssh-fM2TLahKIhEB/agent.54 [2021-10-07T14:47:37.764Z] SSH_AGENT_PID=60 [2021-10-07T14:47:37.773Z] Running ssh-add (command line suppressed) [2021-10-07T14:47:37.866Z] 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) [2021-10-07T14:47:37.887Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-07T14:47:38.219Z] + git semver init [2021-10-07T14:47:38.219Z] # -> Open(): unable to determine branch for HEAD [2021-10-07T14:47:38.219Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-10-07T14:47:38.219Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-10-07T14:47:38.219Z] # $SEMVER_REMOTE_NAME = origin [2021-10-07T14:47:38.219Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-07T14:47:38.219Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-07T14:47:38.219Z] # $SEMVER_BRANCH = main [2021-10-07T14:47:38.219Z] # $SEMVER_TEMP = /tmp/semver-012969182 [2021-10-07T14:47:38.219Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-10-07T14:47:39.183Z] # '/tmp/semver-012969182' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2021-10-07T14:47:39.183Z] # -> Force: false [2021-10-07T14:47:39.183Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-10-07T14:47:39.200Z] $ docker exec --env ******** --env ******** 87c35820ffa85f4948ff090d76fc1568ab21e00fa031ebab4c601e0da8bdad60 ssh-agent -k [2021-10-07T14:47:39.286Z] unset SSH_AUTH_SOCK; [2021-10-07T14:47:39.287Z] unset SSH_AGENT_PID; [2021-10-07T14:47:39.287Z] echo Agent pid 60 killed; [2021-10-07T14:47:39.298Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-07T14:47:39.645Z] + git semver [Pipeline] } [2021-10-07T14:47:39.884Z] $ docker stop --time=1 87c35820ffa85f4948ff090d76fc1568ab21e00fa031ebab4c601e0da8bdad60 [2021-10-07T14:47:41.131Z] $ docker rm -f 87c35820ffa85f4948ff090d76fc1568ab21e00fa031ebab4c601e0da8bdad60 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-07T14:47:41.516Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-07T14:47:41.896Z] Stashed 1 file(s) [Pipeline] echo [2021-10-07T14:47:41.900Z] [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 [2021-10-07T14:47:57.134Z] Still waiting to schedule task [2021-10-07T14:47:57.134Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-07T14:47:57.137Z] Still waiting to schedule task [2021-10-07T14:47:57.137Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2405’ [2021-10-07T14:52:34.213Z] Running on prd-centos7-docker-4c-2g-2410 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-10-07T14:52:34.236Z] Running in /w/workspace/device-rest-go/11 [Pipeline] { [Pipeline] checkout [2021-10-07T14:52:34.354Z] The recommended git tool is: git [2021-10-07T14:52:37.484Z] using credential edgex-jenkins-ssh [2021-10-07T14:52:37.502Z] Cloning the remote Git repository [2021-10-07T14:52:37.383Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-07T14:52:37.471Z] > git init /w/workspace/device-rest-go/11 # timeout=10 [2021-10-07T14:52:37.510Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-07T14:52:37.511Z] > git --version # timeout=10 [2021-10-07T14:52:37.519Z] > git --version # 'git version 2.24.4' [2021-10-07T14:52:37.520Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-07T14:52:37.545Z] [INFO] Currently running in a labeled security context [2021-10-07T14:52:37.545Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-07T14:52:37.546Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/11@tmp/jenkins-gitclient-ssh3787738864470843618.key [2021-10-07T14:52:37.563Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T14:52:38.649Z] Avoid second fetch [2021-10-07T14:52:38.650Z] Checking out Revision dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 (main) [2021-10-07T14:52:38.545Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-07T14:52:38.558Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T14:52:38.579Z] > git config core.sparsecheckout # timeout=10 [2021-10-07T14:52:38.591Z] > git checkout -f dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 [2021-10-07T14:52:42.724Z] 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 [2021-10-07T14:52:43.119Z] provisioning config files... [2021-10-07T14:52:43.138Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/11@tmp/config5329419443612599714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:52:43.590Z] ---> docker-login.sh [2021-10-07T14:52:43.591Z] nexus3.edgexfoundry.org:10001 [2021-10-07T14:52:43.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T14:52:43.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T14:52:43.858Z] Configure a credential helper to remove this warning. See [2021-10-07T14:52:43.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T14:52:43.858Z] [2021-10-07T14:52:43.858Z] Login Succeeded [2021-10-07T14:52:43.858Z] nexus3.edgexfoundry.org:10002 [2021-10-07T14:52:43.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T14:52:43.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T14:52:43.858Z] Configure a credential helper to remove this warning. See [2021-10-07T14:52:43.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T14:52:43.858Z] [2021-10-07T14:52:43.858Z] Login Succeeded [2021-10-07T14:52:43.858Z] nexus3.edgexfoundry.org:10003 [2021-10-07T14:52:44.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T14:52:44.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T14:52:44.131Z] Configure a credential helper to remove this warning. See [2021-10-07T14:52:44.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T14:52:44.131Z] [2021-10-07T14:52:44.131Z] Login Succeeded [2021-10-07T14:52:44.131Z] nexus3.edgexfoundry.org:10004 [2021-10-07T14:52:44.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T14:52:44.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T14:52:44.131Z] Configure a credential helper to remove this warning. See [2021-10-07T14:52:44.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T14:52:44.131Z] [2021-10-07T14:52:44.131Z] Login Succeeded [2021-10-07T14:52:44.131Z] docker.io [2021-10-07T14:52:44.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T14:52:44.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T14:52:44.668Z] Configure a credential helper to remove this warning. See [2021-10-07T14:52:44.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T14:52:44.668Z] [2021-10-07T14:52:44.668Z] Login Succeeded [2021-10-07T14:52:44.668Z] ---> docker-login.sh ends [Pipeline] } [2021-10-07T14:52:44.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-07T14:52:44.911Z] ========================================================= [2021-10-07T14:52:44.911Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-07T14:52:44.911Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-07T14:52:45.315Z] + 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 . [2021-10-07T14:52:45.315Z] Sending build context to Docker daemon 118.8kB [2021-10-07T14:52:45.315Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-07T14:52:45.315Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-07T14:52:55.415Z] 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 [2021-10-07T14:52:56.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T14:52:56.371Z] [2021-10-07T14:52:56.371Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T14:52:56.699Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T14:53:06.798Z] 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] } [2021-10-07T14:53:07.098Z] Failed in branch amd64 [2021-10-07T14:53:10.986Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2409 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-10-07T14:53:11.003Z] Running in /w/workspace/device-rest-go/11 [Pipeline] { [Pipeline] checkout [2021-10-07T14:53:11.319Z] The recommended git tool is: git [2021-10-07T14:53:20.538Z] using credential edgex-jenkins-ssh [2021-10-07T14:53:20.559Z] Cloning the remote Git repository [2021-10-07T14:53:20.609Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-07T14:53:20.741Z] > git init /w/workspace/device-rest-go/11 # timeout=10 [2021-10-07T14:53:20.836Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-07T14:53:20.837Z] > git --version # timeout=10 [2021-10-07T14:53:20.855Z] > git --version # 'git version 2.17.1' [2021-10-07T14:53:20.857Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-07T14:53:20.939Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T14:53:22.982Z] Avoid second fetch [2021-10-07T14:53:22.982Z] Checking out Revision dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 (main) [2021-10-07T14:53:22.933Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-07T14:53:22.955Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T14:53:23.004Z] > git config core.sparsecheckout # timeout=10 [2021-10-07T14:53:23.021Z] > git checkout -f dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 [2021-10-07T14:53:27.793Z] 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 [2021-10-07T14:53:28.221Z] provisioning config files... [2021-10-07T14:53:28.273Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/11@tmp/config3056962547416779845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:53:28.973Z] ---> docker-login.sh [2021-10-07T14:53:28.973Z] nexus3.edgexfoundry.org:10001 [2021-10-07T14:53:30.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T14:53:41.038Z] Error response from daemon: Get https://nexus3.edgexfoundry.org:10001/v2/: net/http: TLS handshake timeout [Pipeline] } [2021-10-07T14:53:41.171Z] 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 [2021-10-07T14:53:42.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-07T14:53:42.271Z] [2021-10-07T14:53:42.271Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-07T14:53:42.722Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-07T14:53:49.624Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-07T14:53:49.624Z] 448f6bf000e3: Pulling fs layer [2021-10-07T14:53:49.624Z] f757da607395: Pulling fs layer [2021-10-07T14:53:49.624Z] 05883995daec: Pulling fs layer [2021-10-07T14:53:49.624Z] 8603b9c90790: Pulling fs layer [2021-10-07T14:53:49.624Z] 1560dd03e051: Pulling fs layer [2021-10-07T14:53:49.624Z] 27f5ce0e4adf: Pulling fs layer [2021-10-07T14:53:49.624Z] c2d8d7efcc4b: Pulling fs layer [2021-10-07T14:53:49.624Z] 1560dd03e051: Waiting [2021-10-07T14:53:49.624Z] 27f5ce0e4adf: Waiting [2021-10-07T14:53:49.624Z] c2d8d7efcc4b: Waiting [2021-10-07T14:53:49.624Z] 8603b9c90790: Waiting [2021-10-07T14:53:49.912Z] f757da607395: Verifying Checksum [2021-10-07T14:53:49.912Z] f757da607395: Download complete [2021-10-07T14:53:49.912Z] 8603b9c90790: Download complete [2021-10-07T14:53:50.199Z] 1560dd03e051: Verifying Checksum [2021-10-07T14:53:50.199Z] 1560dd03e051: Download complete [2021-10-07T14:53:50.199Z] 27f5ce0e4adf: Verifying Checksum [2021-10-07T14:53:50.199Z] 27f5ce0e4adf: Download complete [2021-10-07T14:53:50.487Z] 05883995daec: Verifying Checksum [2021-10-07T14:53:50.487Z] 05883995daec: Download complete [2021-10-07T14:53:54.016Z] 448f6bf000e3: Download complete [2021-10-07T14:53:57.543Z] c2d8d7efcc4b: Verifying Checksum [2021-10-07T14:53:57.543Z] c2d8d7efcc4b: Download complete [2021-10-07T14:53:57.543Z] 448f6bf000e3: Pull complete [2021-10-07T14:53:58.174Z] f757da607395: Pull complete [2021-10-07T14:53:59.670Z] 05883995daec: Pull complete [2021-10-07T14:53:59.670Z] 8603b9c90790: Pull complete [2021-10-07T14:54:01.147Z] 1560dd03e051: Pull complete [2021-10-07T14:54:01.147Z] 27f5ce0e4adf: Pull complete [2021-10-07T14:54:16.448Z] c2d8d7efcc4b: Pull complete [2021-10-07T14:54:16.448Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-07T14:54:16.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-07T14:54:16.448Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-07T14:54:16.806Z] prd-ubuntu18.04-docker-arm64-4c-16g-2409 does not seem to be running inside a container [2021-10-07T14:54:16.956Z] $ 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 [2021-10-07T14:54:22.495Z] $ docker top 8d27af8c7e3592368c196aea902e0a78fc2e8b9479252895f916ea091ff71d40 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:54:23.725Z] ---> job-cost.sh [2021-10-07T14:54:23.725Z] lf-activate-venv: SKIPPING [2021-10-07T14:54:23.725Z] INFO: No Stack... [2021-10-07T14:54:24.013Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-07T14:54:24.629Z] INFO: Archiving Costs [Pipeline] sh [2021-10-07T14:54:25.365Z] + cat /w/workspace/device-rest-go/11/archives/cost.csv [2021-10-07T14:54:25.365Z] + cut -d, -f6 [Pipeline] lock [2021-10-07T14:54:25.449Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-11-stack-cost] [2021-10-07T14:54:25.458Z] Resource [jenkins-edgexfoundry-device-rest-go-main-11-stack-cost] did not exist. Created. [2021-10-07T14:54:25.458Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-07T14:54:26.192Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-07T14:54:27.581Z] Stashed 1 file(s) [Pipeline] } [2021-10-07T14:54:27.591Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-11-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-07T14:54:27.638Z] $ docker stop --time=1 8d27af8c7e3592368c196aea902e0a78fc2e8b9479252895f916ea091ff71d40 [2021-10-07T14:54:29.354Z] $ 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] } [2021-10-07T14:54:29.985Z] 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 [2021-10-07T14:54:31.641Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:54:31.977Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:54:32.595Z] ---> package-listing.sh [2021-10-07T14:54:32.595Z] ++ facter osfamily [2021-10-07T14:54:32.595Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-07T14:54:32.595Z] + OS_FAMILY=redhat [2021-10-07T14:54:32.595Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2021-10-07T14:54:32.595Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-07T14:54:32.595Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-07T14:54:32.595Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-07T14:54:32.595Z] + PACKAGES=/tmp/packages_start.txt [2021-10-07T14:54:32.595Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-10-07T14:54:32.595Z] + PACKAGES=/tmp/packages_end.txt [2021-10-07T14:54:32.595Z] + case "${OS_FAMILY}" in [2021-10-07T14:54:32.595Z] + rpm -qa [2021-10-07T14:54:32.595Z] + sort [2021-10-07T14:54:33.562Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-07T14:54:33.562Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-07T14:54:33.562Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-07T14:54:33.562Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-10-07T14:54:33.562Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2021-10-07T14:54:33.562Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2021-10-07T14:54:33.591Z] 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 [2021-10-07T14:54:34.126Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-07T14:54:34.470Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T14:54:34.470Z] [2021-10-07T14:54:34.470Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T14:54:34.821Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T14:54:34.821Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-07T14:54:34.821Z] b4d181a07f80: Pulling fs layer [2021-10-07T14:54:34.821Z] a1111a8f2ec3: Pulling fs layer [2021-10-07T14:54:34.821Z] ed53099fbce6: Pulling fs layer [2021-10-07T14:54:34.821Z] dc539afda2c1: Pulling fs layer [2021-10-07T14:54:34.821Z] 77bc0d833cb6: Pulling fs layer [2021-10-07T14:54:34.821Z] 9065ff56babe: Pulling fs layer [2021-10-07T14:54:34.821Z] d287ab97295c: Pulling fs layer [2021-10-07T14:54:34.821Z] dc539afda2c1: Waiting [2021-10-07T14:54:34.821Z] 77bc0d833cb6: Waiting [2021-10-07T14:54:34.821Z] 9065ff56babe: Waiting [2021-10-07T14:54:34.821Z] d287ab97295c: Waiting [2021-10-07T14:54:34.821Z] a1111a8f2ec3: Verifying Checksum [2021-10-07T14:54:34.821Z] a1111a8f2ec3: Download complete [2021-10-07T14:54:35.092Z] dc539afda2c1: Verifying Checksum [2021-10-07T14:54:35.092Z] dc539afda2c1: Download complete [2021-10-07T14:54:35.092Z] ed53099fbce6: Verifying Checksum [2021-10-07T14:54:35.092Z] ed53099fbce6: Download complete [2021-10-07T14:54:35.092Z] 9065ff56babe: Verifying Checksum [2021-10-07T14:54:35.092Z] 9065ff56babe: Download complete [2021-10-07T14:54:35.092Z] 77bc0d833cb6: Verifying Checksum [2021-10-07T14:54:35.092Z] 77bc0d833cb6: Download complete [2021-10-07T14:54:35.092Z] b4d181a07f80: Verifying Checksum [2021-10-07T14:54:35.092Z] b4d181a07f80: Download complete [2021-10-07T14:54:36.533Z] d287ab97295c: Verifying Checksum [2021-10-07T14:54:36.533Z] d287ab97295c: Download complete [2021-10-07T14:54:36.533Z] b4d181a07f80: Pull complete [2021-10-07T14:54:36.804Z] a1111a8f2ec3: Pull complete [2021-10-07T14:54:37.401Z] ed53099fbce6: Pull complete [2021-10-07T14:54:37.401Z] dc539afda2c1: Pull complete [2021-10-07T14:54:37.669Z] 77bc0d833cb6: Pull complete [2021-10-07T14:54:37.669Z] 9065ff56babe: Pull complete [2021-10-07T14:54:43.038Z] d287ab97295c: Pull complete [2021-10-07T14:54:43.038Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-07T14:54:43.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T14:54:43.038Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-07T14:54:43.231Z] prd-centos7-docker-4c-2g-2406 does not seem to be running inside a container [2021-10-07T14:54:43.437Z] $ 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 [2021-10-07T14:54:45.528Z] $ docker top 9fad7eaa90ea7a53537625a7b31f9651aca18c9123ef6fd95fbbe9896428d310 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-07T14:54:45.927Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-07T14:54:46.243Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-07T14:54:46.557Z] + ls /var/log/sa-host [2021-10-07T14:54:46.558Z] + sadf -c /var/log/sa-host/sa07 [2021-10-07T14:54:46.558Z] file_magic: OK [2021-10-07T14:54:46.558Z] HZ: Using current value: 100 [2021-10-07T14:54:46.558Z] file_header: OK [2021-10-07T14:54:46.558Z] 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 [2021-10-07T14:54:46.558Z] Statistics: [2021-10-07T14:54:46.558Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-07T14:54:46.558Z] File successfully converted to sysstat format version 12.0.3 [2021-10-07T14:54:46.558Z] + sadf -c /var/log/sa-host/sa30 [2021-10-07T14:54:46.558Z] file_magic: OK [2021-10-07T14:54:46.558Z] HZ: Using current value: 100 [2021-10-07T14:54:46.558Z] file_header: OK [2021-10-07T14:54:46.558Z] 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 [2021-10-07T14:54:46.558Z] Statistics: [2021-10-07T14:54:46.558Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-07T14:54:46.558Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T14:54:46.722Z] provisioning config files... [2021-10-07T14:54:46.738Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2080701236327460628tmp [Pipeline] { [Pipeline] echo [2021-10-07T14:54:46.761Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:54:47.075Z] ---> create-netrc.sh [Pipeline] } [2021-10-07T14:54:47.089Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:54:47.467Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-07T14:54:47.480Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:54:47.801Z] ---> sudo-logs.sh [2021-10-07T14:54:47.801Z] Archiving 'sudo' log.. [2021-10-07T14:54:47.801Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2406.novalocal: Name or service not known [2021-10-07T14:54:47.801Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2406.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-07T14:54:47.860Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:54:48.187Z] ---> job-cost.sh [2021-10-07T14:54:48.187Z] lf-activate-venv: SKIPPING [2021-10-07T14:54:48.187Z] DEBUG: total: 0.10999999940395355 [2021-10-07T14:54:48.187Z] INFO: Retrieving Stack Cost... [2021-10-07T14:54:48.775Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-07T14:54:49.042Z] INFO: Archiving Costs [Pipeline] echo [2021-10-07T14:54:49.062Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:54:49.379Z] ---> logs-deploy.sh [2021-10-07T14:54:49.379Z] lf-activate-venv: SKIPPING [2021-10-07T14:54:49.379Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/11 [2021-10-07T14:54:49.379Z] INFO: archiving workspace using pattern(s): [2021-10-07T14:54:49.963Z] Archives upload complete. [2021-10-07T14:54:50.253Z] INFO: archiving logs to Nexus