Pull request #135 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from f936d1d1683ba476397a484ca69f178832238efe+394630684c4f2c5fa0b05acfafc8d275cc2ae64c (11e42930ae0f2b0233ed614c9fe2308686767f52) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2476917082235087772.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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-ssh4845648040732229565.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 c141c1271097dc03ad291c2451e310eaf98cdd06 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-135/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-135/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh537358616931003498.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-135/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4706340164077169202.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1850612578748330312.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-135/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-135/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4660253165362441149.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_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-1210 in /w/workspace/gexfoundry_device-rest-go_PR-135 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-135 # 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/gexfoundry_device-rest-go_PR-135@tmp/jenkins-gitclient-ssh1231970503225478371.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-135@tmp/jenkins-gitclient-ssh1487749231128984985.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/135/head:refs/remotes/origin/PR-135 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 394630684c4f2c5fa0b05acfafc8d275cc2ae64c into PR head commit f936d1d1683ba476397a484ca69f178832238efe Merge succeeded, producing f936d1d1683ba476397a484ca69f178832238efe Checking out Revision f936d1d1683ba476397a484ca69f178832238efe (PR-135) > git config core.sparsecheckout # timeout=10 > git checkout -f f936d1d1683ba476397a484ca69f178832238efe # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-135@tmp/jenkins-gitclient-ssh2487681871680758873.key > git merge 394630684c4f2c5fa0b05acfafc8d275cc2ae64c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f936d1d1683ba476397a484ca69f178832238efe # timeout=10 Commit message: "ci: Update PR Template" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:47:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:47:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:47:16 ========================================================= 17:47:16 EdgeX Global Pipelines Version Info 17:47:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:47:17 ------------------- 17:47:17 stable info: 17:47:17 ------------------- 17:47:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:47:17 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 17:47:17 Message: update stable to v1.0.206 17:47:18 ------------------- 17:47:18 experimental info: 17:47:18 ------------------- 17:47:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:47:18 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 17:47:18 Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:47:19 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:47:19 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:47:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:47:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:47:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:47:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:47:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 17:47:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:47:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:47:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:47:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:47:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:47:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:47:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:47:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:47:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:47:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:47:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:47:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:47:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:47:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:47:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-135 [Pipeline] echo 17:47:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-135 [Pipeline] echo 17:47:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-135 [Pipeline] echo 17:47:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f936d1d1683ba476397a484ca69f178832238efe [Pipeline] echo 17:47:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f936d1d [Pipeline] echo 17:47:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:47:21 provisioning config files... 17:47:21 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-135@tmp/config1202751456739717756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:47:21 ---> docker-login.sh 17:47:21 nexus3.edgexfoundry.org:10001 17:47:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:21 Configure a credential helper to remove this warning. See 17:47:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:21 17:47:21 Login Succeeded 17:47:21 nexus3.edgexfoundry.org:10002 17:47:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:23 Configure a credential helper to remove this warning. See 17:47:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:23 17:47:23 Login Succeeded 17:47:23 nexus3.edgexfoundry.org:10003 17:47:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:23 Configure a credential helper to remove this warning. See 17:47:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:23 17:47:23 Login Succeeded 17:47:23 nexus3.edgexfoundry.org:10004 17:47:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:23 Configure a credential helper to remove this warning. See 17:47:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:23 17:47:23 Login Succeeded 17:47:23 docker.io 17:47:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:24 Configure a credential helper to remove this warning. See 17:47:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:24 17:47:24 Login Succeeded 17:47:24 ---> docker-login.sh ends [Pipeline] } 17:47:24 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 17:47:25 + git log --format=format:%s -1 f936d1d1683ba476397a484ca69f178832238efe [Pipeline] echo 17:47:25 GIT_COMMIT: f936d1d1683ba476397a484ca69f178832238efe, Commit Message: ci: Update PR Template [Pipeline] echo 17:47:25 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:47:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:47:26 17:47:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:47:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:47:26 latest: Pulling from edgex-devops/git-semver 17:47:26 31603596830f: Pulling fs layer 17:47:26 04fac38145f0: Pulling fs layer 17:47:26 701f6daf10bf: Pulling fs layer 17:47:26 24f72da36158: Pulling fs layer 17:47:26 24f72da36158: Waiting 17:47:26 04fac38145f0: Verifying Checksum 17:47:26 04fac38145f0: Download complete 17:47:26 31603596830f: Verifying Checksum 17:47:26 31603596830f: Download complete 17:47:26 701f6daf10bf: Verifying Checksum 17:47:26 701f6daf10bf: Download complete 17:47:26 24f72da36158: Verifying Checksum 17:47:26 24f72da36158: Download complete 17:47:26 31603596830f: Pull complete 17:47:27 04fac38145f0: Pull complete 17:47:27 701f6daf10bf: Pull complete 17:47:27 24f72da36158: Pull complete 17:47:27 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 17:47:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:47:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:47:27 prd-centos7-docker-4c-2g-1210 does not seem to be running inside a container 17:47:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-135 -v /w/workspace/gexfoundry_device-rest-go_PR-135:/w/workspace/gexfoundry_device-rest-go_PR-135:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-135@tmp:/w/workspace/gexfoundry_device-rest-go_PR-135@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:47:28 $ docker top 5bc42f440116a2eb1f85c44d58430bf43e6b857a2358cc85041b68a78f512e4e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:47:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:47:28 [ssh-agent] Looking for ssh-agent implementation... 17:47:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:47:28 $ docker exec 5bc42f440116a2eb1f85c44d58430bf43e6b857a2358cc85041b68a78f512e4e ssh-agent 17:47:29 SSH_AUTH_SOCK=/tmp/ssh-eawkez3f2Czm/agent.14 17:47:29 SSH_AGENT_PID=22 17:47:29 Running ssh-add (command line suppressed) 17:47:29 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-135@tmp/private_key_6605462304464940543.key (/w/workspace/gexfoundry_device-rest-go_PR-135@tmp/private_key_6605462304464940543.key) 17:47:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:47:29 + git tag --points-at HEAD [Pipeline] } 17:47:29 $ docker exec --env ******** --env ******** 5bc42f440116a2eb1f85c44d58430bf43e6b857a2358cc85041b68a78f512e4e ssh-agent -k 17:47:29 unset SSH_AUTH_SOCK; 17:47:29 unset SSH_AGENT_PID; 17:47:29 echo Agent pid 22 killed; 17:47:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:47:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:47:29 [ssh-agent] Looking for ssh-agent implementation... 17:47:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:47:30 $ docker exec 5bc42f440116a2eb1f85c44d58430bf43e6b857a2358cc85041b68a78f512e4e ssh-agent 17:47:30 SSH_AUTH_SOCK=/tmp/ssh-PQFI4KE7fXIL/agent.54 17:47:30 SSH_AGENT_PID=60 17:47:30 Running ssh-add (command line suppressed) 17:47:30 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-135@tmp/private_key_7611757082508399192.key (/w/workspace/gexfoundry_device-rest-go_PR-135@tmp/private_key_7611757082508399192.key) 17:47:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:47:30 + git semver init 17:47:30 # -> Open(): unable to determine branch for HEAD 17:47:30 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-135/.git 17:47:30 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-135 17:47:30 # $SEMVER_REMOTE_NAME = origin 17:47:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:47:30 # $SEMVER_USER_NAME = edgex-jenkins 17:47:30 # $SEMVER_BRANCH = PR-135 17:47:30 # $SEMVER_TEMP = /tmp/semver-309720105 17:47:30 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 17:47:31 # '/tmp/semver-309720105' -> '/w/workspace/gexfoundry_device-rest-go_PR-135/.semver' 17:47:31 # -> Force: false 17:47:31 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-135/.semver [Pipeline] } 17:47:31 $ docker exec --env ******** --env ******** 5bc42f440116a2eb1f85c44d58430bf43e6b857a2358cc85041b68a78f512e4e ssh-agent -k 17:47:31 unset SSH_AUTH_SOCK; 17:47:31 unset SSH_AGENT_PID; 17:47:31 echo Agent pid 60 killed; 17:47:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:47:32 + git semver [Pipeline] } 17:47:32 $ docker stop --time=1 5bc42f440116a2eb1f85c44d58430bf43e6b857a2358cc85041b68a78f512e4e 17:47:33 $ docker rm -f 5bc42f440116a2eb1f85c44d58430bf43e6b857a2358cc85041b68a78f512e4e [Pipeline] // withDockerContainer [Pipeline] sh 17:47:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:47:34 Stashed 1 file(s) [Pipeline] echo 17:47:34 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 17:47:50 Still waiting to schedule task 17:47:50 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:47:50 Still waiting to schedule task 17:47:50 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1207’ is offline 17:48:43 Running on prd-centos7-docker-4c-2g-1213 in /w/workspace/gexfoundry_device-rest-go_PR-135 [Pipeline] { [Pipeline] ws 17:48:43 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 17:48:44 The recommended git tool is: git 17:48:47 using credential edgex-jenkins-ssh 17:48:47 Cloning the remote Git repository 17:48:46 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:48:46 > git init /w/workspace/device-rest-go/1 # timeout=10 17:48:47 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:48:47 > git --version # timeout=10 17:48:47 > git --version # 'git version 2.24.4' 17:48:47 using GIT_SSH to set credentials SSH Credentials for GitHub 17:48:47 [INFO] Currently running in a labeled security context 17:48:47 [INFO] Currently SELinux is 'enforcing' on the host 17:48:47 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh2574724986708872680.key 17:48:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:48:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:48:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:48:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:48:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:48:48 using GIT_SSH to set credentials SSH Credentials for GitHub 17:48:48 [INFO] Currently running in a labeled security context 17:48:48 [INFO] Currently SELinux is 'enforcing' on the host 17:48:48 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh6485023110548175438.key 17:48:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/135/head:refs/remotes/origin/PR-135 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:48:48 Merging remotes/origin/main commit 394630684c4f2c5fa0b05acfafc8d275cc2ae64c into PR head commit f936d1d1683ba476397a484ca69f178832238efe 17:48:48 Merge succeeded, producing f936d1d1683ba476397a484ca69f178832238efe 17:48:48 Checking out Revision f936d1d1683ba476397a484ca69f178832238efe (PR-135) 17:48:48 > git config core.sparsecheckout # timeout=10 17:48:48 > git checkout -f f936d1d1683ba476397a484ca69f178832238efe # timeout=10 17:48:48 > git remote # timeout=10 17:48:48 > git config --get remote.origin.url # timeout=10 17:48:48 using GIT_SSH to set credentials SSH Credentials for GitHub 17:48:48 [INFO] Currently running in a labeled security context 17:48:48 [INFO] Currently SELinux is 'enforcing' on the host 17:48:48 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh893416472847419856.key 17:48:48 > git merge 394630684c4f2c5fa0b05acfafc8d275cc2ae64c # timeout=10 17:48:48 > git rev-parse HEAD^{commit} # timeout=10 17:48:48 > git config core.sparsecheckout # timeout=10 17:48:48 > git checkout -f f936d1d1683ba476397a484ca69f178832238efe # timeout=10 17:48:52 Commit message: "ci: Update PR Template" 17:48:52 > git --version # timeout=10 17:48:53 > git --version # 'git version 2.24.4' 17:48:53 fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:48:53 provisioning config files... 17:48:53 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config173202744017718917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:48:54 ---> docker-login.sh 17:48:54 nexus3.edgexfoundry.org:10001 17:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:56 Configure a credential helper to remove this warning. See 17:48:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:56 17:48:56 Login Succeeded 17:48:56 nexus3.edgexfoundry.org:10002 17:48:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:56 Configure a credential helper to remove this warning. See 17:48:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:56 17:48:56 Login Succeeded 17:48:56 nexus3.edgexfoundry.org:10003 17:48:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:56 Configure a credential helper to remove this warning. See 17:48:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:56 17:48:56 Login Succeeded 17:48:56 nexus3.edgexfoundry.org:10004 17:48:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:56 Configure a credential helper to remove this warning. See 17:48:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:56 17:48:56 Login Succeeded 17:48:56 docker.io 17:48:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:56 Configure a credential helper to remove this warning. See 17:48:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:56 17:48:56 Login Succeeded 17:48:56 ---> docker-login.sh ends [Pipeline] } 17:48:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:48:57 ========================================================= 17:48:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 17:48:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:48:57 + 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 . 17:48:57 Sending build context to Docker daemon 119.8kB 17:48:57 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 17:48:57 Step 2/12 : FROM ${BASE} AS builder 17:48:57 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 17:48:57 540db60ca938: Pulling fs layer 17:48:57 adcc1eea9eea: Pulling fs layer 17:48:57 4c4ab2625f07: Pulling fs layer 17:48:57 db62176df00c: Pulling fs layer 17:48:57 3b30891b0d05: Pulling fs layer 17:48:57 06b49ca38bd5: Pulling fs layer 17:48:57 c788192a36de: Pulling fs layer 17:48:57 a77e37c0d609: Pulling fs layer 17:48:57 c3185cebc471: Pulling fs layer 17:48:57 06b49ca38bd5: Waiting 17:48:57 c788192a36de: Waiting 17:48:57 a77e37c0d609: Waiting 17:48:57 c3185cebc471: Waiting 17:48:57 db62176df00c: Waiting 17:48:57 3b30891b0d05: Waiting 17:48:57 4c4ab2625f07: Verifying Checksum 17:48:57 4c4ab2625f07: Download complete 17:48:57 adcc1eea9eea: Verifying Checksum 17:48:57 adcc1eea9eea: Download complete 17:48:57 3b30891b0d05: Verifying Checksum 17:48:57 3b30891b0d05: Download complete 17:48:57 06b49ca38bd5: Verifying Checksum 17:48:57 06b49ca38bd5: Download complete 17:48:57 540db60ca938: Verifying Checksum 17:48:57 540db60ca938: Download complete 17:48:57 c788192a36de: Verifying Checksum 17:48:57 c788192a36de: Download complete 17:48:58 540db60ca938: Pull complete 17:48:58 adcc1eea9eea: Pull complete 17:48:58 4c4ab2625f07: Pull complete 17:48:58 a77e37c0d609: Verifying Checksum 17:48:58 a77e37c0d609: Download complete 17:49:13 db62176df00c: Verifying Checksum 17:49:13 db62176df00c: Download complete 17:49:13 c3185cebc471: Verifying Checksum 17:49:13 c3185cebc471: Download complete 17:49:16 db62176df00c: Pull complete 17:49:16 3b30891b0d05: Pull complete 17:49:17 06b49ca38bd5: Pull complete 17:49:17 c788192a36de: Pull complete 17:49:17 a77e37c0d609: Pull complete 17:49:19 c3185cebc471: Pull complete 17:49:19 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 17:49:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:49:19 ---> 031687cdd783 17:49:19 Step 3/12 : ARG MAKE='make build' 17:49:21 ---> Running in cd109fa2488f 17:49:21 Removing intermediate container cd109fa2488f 17:49:21 ---> 23d5e62c254e 17:49:21 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:49:21 ---> Running in 9006fe0f0c8b 17:49:22 Removing intermediate container 9006fe0f0c8b 17:49:22 ---> ba88e68bd281 17:49:22 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 17:49:22 ---> Running in 4789c4ee36ef 17:49:22 Removing intermediate container 4789c4ee36ef 17:49:22 ---> 85e581156886 17:49:22 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:49:22 ---> Running in d8f15ad95eef 17:49:22 Removing intermediate container d8f15ad95eef 17:49:22 ---> 699987dc230c 17:49:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:49:22 ---> Running in cc3205a8c8dd 17:49:23 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 17:49:23 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 17:49:24 (1/3) Installing openssh-keygen (8.4_p1-r3) 17:49:24 (2/3) Installing libedit (20191231.3.1-r1) 17:49:24 (3/3) Installing openssh-client (8.4_p1-r3) 17:49:24 Executing busybox-1.32.1-r6.trigger 17:49:24 OK: 223 MiB in 55 packages 17:49:24 Removing intermediate container cc3205a8c8dd 17:49:24 ---> 224fae05ea4f 17:49:24 Step 8/12 : WORKDIR /device-rest-go 17:49:24 ---> Running in c54f2e61a9f5 17:49:25 Removing intermediate container c54f2e61a9f5 17:49:25 ---> 8e4a3424967e 17:49:25 Step 9/12 : COPY . . 17:49:25 ---> 10763fa9c1b9 17:49:25 Step 10/12 : RUN go mod tidy 17:49:25 ---> Running in b2af22b32c92 17:49:26 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 17:49:26 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 17:49:26 go: downloading github.com/gorilla/mux v1.8.0 17:49:26 go: downloading github.com/spf13/cast v1.4.1 17:49:26 go: downloading github.com/stretchr/testify v1.7.0 17:49:26 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 17:49:26 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 17:49:26 go: downloading github.com/google/uuid v1.2.0 17:49:26 go: downloading github.com/go-kit/kit v0.9.0 17:49:26 go: downloading github.com/go-playground/validator/v10 v10.6.1 17:49:26 go: downloading github.com/davecgh/go-spew v1.1.1 17:49:26 go: downloading github.com/pmezard/go-difflib v1.0.0 17:49:26 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 17:49:26 go: downloading github.com/OneOfOne/xxhash v1.2.8 17:49:26 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 17:49:26 go: downloading github.com/pelletier/go-toml v1.9.2 17:49:26 go: downloading gopkg.in/yaml.v2 v2.4.0 17:49:26 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 17:49:26 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 17:49:26 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 17:49:26 go: downloading github.com/go-playground/universal-translator v0.17.0 17:49:26 go: downloading github.com/leodido/go-urn v1.2.0 17:49:26 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 17:49:26 go: downloading golang.org/x/text v0.3.2 17:49:26 go: downloading github.com/go-playground/assert/v2 v2.0.1 17:49:26 go: downloading github.com/go-playground/locales v0.13.0 17:49:27 go: downloading github.com/go-logfmt/logfmt v0.4.0 17:49:27 go: downloading github.com/go-stack/stack v1.8.0 17:49:27 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 17:49:27 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:49:27 go: downloading github.com/hashicorp/consul/api v1.8.1 17:49:27 go: downloading github.com/x448/float16 v0.8.4 17:49:27 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 17:49:27 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:49:27 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:49:27 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:49:27 go: downloading github.com/pebbe/zmq4 v1.2.7 17:49:27 go: downloading github.com/stretchr/objx v0.1.0 17:49:27 go: downloading github.com/kr/pretty v0.2.0 17:49:27 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:49:27 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:49:27 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:49:27 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:49:27 go: downloading github.com/hashicorp/serf v0.9.5 17:49:27 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:49:27 go: downloading github.com/hashicorp/consul/sdk v0.7.0 17:49:27 go: downloading github.com/hashicorp/go-uuid v1.0.1 17:49:27 go: downloading github.com/gorilla/websocket v1.4.2 17:49:27 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 17:49:27 go: downloading github.com/onsi/ginkgo v1.10.1 17:49:27 go: downloading github.com/onsi/gomega v1.7.0 17:49:28 go: downloading github.com/kr/text v0.1.0 17:49:28 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:49:28 go: downloading github.com/mitchellh/copystructure v1.0.0 17:49:28 go: downloading github.com/fatih/color v1.9.0 17:49:28 go: downloading github.com/mattn/go-colorable v0.1.6 17:49:28 go: downloading github.com/mattn/go-isatty v0.0.12 17:49:28 go: downloading github.com/mitchellh/go-homedir v1.1.0 17:49:28 go: downloading github.com/pkg/errors v0.8.1 17:49:28 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:49:28 go: downloading github.com/hashicorp/go-msgpack v0.5.3 17:49:28 go: downloading github.com/hashicorp/memberlist v0.2.2 17:49:28 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:49:28 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 17:49:28 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:49:28 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:49:28 go: downloading github.com/hpcloud/tail v1.0.0 17:49:28 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:49:28 go: downloading github.com/hashicorp/go-multierror v1.1.0 17:49:28 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 17:49:28 go: downloading github.com/miekg/dns v1.1.26 17:49:28 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:49:28 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:49:28 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 17:49:28 go: downloading github.com/hashicorp/errwrap v1.0.0 17:49:28 go: downloading gopkg.in/fsnotify.v1 v1.4.7 17:49:33 Removing intermediate container b2af22b32c92 17:49:33 ---> 4be66fd7d9cb 17:49:33 Step 11/12 : RUN make update 17:49:33 ---> Running in b5fb5458926d 17:49:33 CGO_ENABLED=0 GO111MODULE=on go mod download 17:49:35 Removing intermediate container b5fb5458926d 17:49:35 ---> 4dc07c6ce021 17:49:35 Step 12/12 : RUN $MAKE 17:49:35 ---> Running in 509164164e2e 17:49:36 noop 17:49:36 Removing intermediate container 509164164e2e 17:49:36 ---> 46e8cecd3ca4 17:49:36 Successfully built 46e8cecd3ca4 17:49:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:49:36 + docker inspect -f . ci-base-image-x86_64 17:49:36 . [Pipeline] withDockerContainer 17:49:37 prd-centos7-docker-4c-2g-1213 does not seem to be running inside a container 17:49:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:49:37 $ docker top 66668c5e58914b089dbec459bbccd3d94afd9000e876ac69920a95811bd3f5e7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:49:37 + go version 17:49:37 go version go1.16.6 linux/amd64 [Pipeline] } 17:49:38 $ docker stop --time=1 66668c5e58914b089dbec459bbccd3d94afd9000e876ac69920a95811bd3f5e7 17:49:39 $ docker rm -f 66668c5e58914b089dbec459bbccd3d94afd9000e876ac69920a95811bd3f5e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:49:40 + docker inspect -f . ci-base-image-x86_64 17:49:40 . [Pipeline] withDockerContainer 17:49:40 prd-centos7-docker-4c-2g-1213 does not seem to be running inside a container 17:49:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:49:40 $ docker top a4eb56c7699afbac1a64b1c035394637e296bf9978b66ff6d77c434b1cab915b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:49:41 + go mod tidy [Pipeline] sh 17:49:41 + make test 17:49:41 go mod tidy 17:49:41 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:49:42 ? github.com/edgexfoundry/device-rest-go [no test files] 17:49:57 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:49:58 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 53.8% of statements 17:49:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:50:05 gofmt -l . 17:50:05 [ "`gofmt -l .`" = "" ] 17:50:05 ./bin/test-go-mod-tidy.sh 17:50:05 ./bin/test-attribution-txt.sh [Pipeline] } 17:50:05 $ docker stop --time=1 a4eb56c7699afbac1a64b1c035394637e296bf9978b66ff6d77c434b1cab915b 17:50:07 $ docker rm -f a4eb56c7699afbac1a64b1c035394637e296bf9978b66ff6d77c434b1cab915b [Pipeline] // withDockerContainer [Pipeline] sh 17:50:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:50:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:50:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:50:10 + ls -al . 17:50:10 total 116 17:50:10 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 4 17:50 . 17:50:10 drwxrwxr-x. 4 jenkins jenkins 28 Oct 4 17:48 .. 17:50:10 -rw-rw-r--. 1 jenkins jenkins 6792 Oct 4 17:48 Attribution.txt 17:50:10 drwxrwxr-x. 2 jenkins jenkins 64 Oct 4 17:48 bin 17:50:10 -rw-rw-r--. 1 jenkins jenkins 7459 Oct 4 17:48 CHANGELOG.md 17:50:10 drwxrwxr-x. 3 jenkins jenkins 32 Oct 4 17:48 cmd 17:50:10 -rw-r--r--. 1 jenkins jenkins 8435 Oct 4 17:49 coverage.out 17:50:10 -rw-rw-r--. 1 jenkins jenkins 1615 Oct 4 17:48 Dockerfile 17:50:10 -rw-rw-r--. 1 jenkins jenkins 151 Oct 4 17:48 .dockerignore 17:50:10 drwxrwxr-x. 2 jenkins jenkins 76 Oct 4 17:48 driver 17:50:10 drwxrwxr-x. 8 jenkins jenkins 179 Oct 4 17:48 .git 17:50:10 drwxrwxr-x. 2 jenkins jenkins 103 Oct 4 17:48 .github 17:50:10 -rw-rw-r--. 1 jenkins jenkins 336 Oct 4 17:48 .gitignore 17:50:10 -rw-r--r--. 1 jenkins jenkins 271 Oct 4 17:50 go.mod 17:50:10 -rw-r--r--. 1 jenkins jenkins 20570 Oct 4 17:49 go.sum 17:50:10 -rw-rw-r--. 1 jenkins jenkins 677 Oct 4 17:48 GOVERNANCE.md 17:50:10 -rw-rw-r--. 1 jenkins jenkins 680 Oct 4 17:48 Jenkinsfile 17:50:10 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 4 17:48 LICENSE 17:50:10 -rw-rw-r--. 1 jenkins jenkins 996 Oct 4 17:48 Makefile 17:50:10 -rw-rw-r--. 1 jenkins jenkins 620 Oct 4 17:48 OWNERS.md 17:50:10 -rw-rw-r--. 1 jenkins jenkins 7661 Oct 4 17:48 README.md 17:50:10 drwxrwxr-x. 4 jenkins jenkins 71 Oct 4 17:48 snap 17:50:10 -rw-rw-r--. 1 jenkins jenkins 5 Oct 4 17:47 VERSION 17:50:10 -rw-rw-r--. 1 jenkins jenkins 713 Oct 4 17:48 version.go [Pipeline] isUnix [Pipeline] sh 17:50:10 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f936d1d1683ba476397a484ca69f178832238efe --label arch=amd64 --label version=0.0.0 . 17:50:10 Sending build context to Docker daemon 129kB 17:50:10 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 17:50:10 Step 2/25 : FROM ${BASE} AS builder 17:50:10 ---> 46e8cecd3ca4 17:50:10 Step 3/25 : ARG MAKE='make build' 17:50:10 ---> Running in d42ab02702cc 17:50:10 Removing intermediate container d42ab02702cc 17:50:10 ---> c06f24915596 17:50:10 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:50:10 ---> Running in 56c5543abbde 17:50:11 Removing intermediate container 56c5543abbde 17:50:11 ---> b87a5f052fa9 17:50:11 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:50:11 ---> Running in c3e19adbd8e2 17:50:11 Removing intermediate container c3e19adbd8e2 17:50:11 ---> ed52aba5a64e 17:50:11 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:50:11 ---> Running in 572d595ec753 17:50:11 Removing intermediate container 572d595ec753 17:50:11 ---> 0e1beff2058a 17:50:11 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:50:11 ---> Running in d046514988fb 17:50:11 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 17:50:12 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 17:50:12 OK: 223 MiB in 55 packages 17:50:13 Removing intermediate container d046514988fb 17:50:13 ---> c374dacb9320 17:50:13 Step 8/25 : WORKDIR /device-rest-go 17:50:13 ---> Running in 6a984327003e 17:50:13 Removing intermediate container 6a984327003e 17:50:13 ---> 1f958ee6c030 17:50:13 Step 9/25 : COPY . . 17:50:13 ---> 206f633252b5 17:50:13 Step 10/25 : RUN go mod tidy 17:50:13 ---> Running in 5450fd0ba835 17:50:14 Removing intermediate container 5450fd0ba835 17:50:14 ---> 8b34f37ea419 17:50:14 Step 11/25 : RUN make update 17:50:14 ---> Running in 3396260ffa5e 17:50:14 CGO_ENABLED=0 GO111MODULE=on go mod download 17:50:14 Removing intermediate container 3396260ffa5e 17:50:14 ---> 54128669ba68 17:50:14 Step 12/25 : RUN $MAKE 17:50:14 ---> Running in bb47f362bfd9 17:50:14 go mod tidy 17:50:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 17:50:27 Removing intermediate container bb47f362bfd9 17:50:27 ---> 75f34172e6cb 17:50:27 Step 13/25 : FROM alpine:3.14 17:50:37 3.14: Pulling from library/alpine 17:50:37 a0d0a0d46f8b: Pulling fs layer 17:50:38 a0d0a0d46f8b: Verifying Checksum 17:50:38 a0d0a0d46f8b: Download complete 17:50:38 a0d0a0d46f8b: Pull complete 17:50:38 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 17:50:38 Status: Downloaded newer image for alpine:3.14 17:50:38 ---> 14119a10abf4 17:50:38 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:50:38 ---> Running in cf1eee4e05ba 17:50:38 Removing intermediate container cf1eee4e05ba 17:50:38 ---> c2adf654a68f 17:50:38 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 17:50:38 ---> Running in c051daa15958 17:50:38 Removing intermediate container c051daa15958 17:50:38 ---> 09b67a947744 17:50:38 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 17:50:38 ---> Running in 98968bd01f83 17:50:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:50:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:50:38 (1/6) Installing dumb-init (1.2.5-r1) 17:50:38 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:50:38 (3/6) Installing libsodium (1.0.18-r0) 17:50:38 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:50:38 (5/6) Installing libzmq (4.3.4-r0) 17:50:38 (6/6) Installing zeromq (4.3.4-r0) 17:50:38 Executing busybox-1.33.1-r3.trigger 17:50:38 OK: 8 MiB in 20 packages 17:50:39 Removing intermediate container 98968bd01f83 17:50:39 ---> 3a6c9d831f2f 17:50:39 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 17:50:39 ---> 360594b41f8f 17:50:39 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 17:50:39 ---> a724bcb3a446 17:50:39 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 17:50:39 ---> 1278c2752091 17:50:39 Step 20/25 : EXPOSE 59986 17:50:39 ---> Running in ad090ac3802d 17:50:39 Removing intermediate container ad090ac3802d 17:50:39 ---> acac1dacd164 17:50:39 Step 21/25 : ENTRYPOINT ["/device-rest"] 17:50:39 ---> Running in 7adf7f0e5822 17:50:39 Removing intermediate container 7adf7f0e5822 17:50:39 ---> f36f6096cf3d 17:50:39 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:50:40 ---> Running in 361897c6a35a 17:50:40 Removing intermediate container 361897c6a35a 17:50:40 ---> b8d4e8215e0f 17:50:40 Step 23/25 : LABEL arch=amd64 17:50:40 ---> Running in 9090c2118e56 17:50:40 Removing intermediate container 9090c2118e56 17:50:40 ---> f6adfdf60e71 17:50:40 Step 24/25 : LABEL git_sha=f936d1d1683ba476397a484ca69f178832238efe 17:50:40 ---> Running in ad95a723c7d9 17:50:40 Removing intermediate container ad95a723c7d9 17:50:40 ---> 1c9d92e2eca1 17:50:40 Step 25/25 : LABEL version=0.0.0 17:50:40 ---> Running in 66b3306573c8 17:50:40 Removing intermediate container 66b3306573c8 17:50:40 ---> 4eeae1edb85d 17:50:40 [Warning] One or more build-args [ARCH] were not consumed 17:50:40 Successfully built 4eeae1edb85d 17:50:40 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:50:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:50:41 17:50:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:50:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:50:52 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] } 17:50:52 Failed in branch amd64 17:51:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1216 in /w/workspace/gexfoundry_device-rest-go_PR-135 [Pipeline] { [Pipeline] ws 17:51:36 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 17:51:37 The recommended git tool is: git 17:51:44 using credential edgex-jenkins-ssh 17:51:44 Cloning the remote Git repository 17:51:44 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:51:44 > git init /w/workspace/device-rest-go/1 # timeout=10 17:51:44 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:51:44 > git --version # timeout=10 17:51:44 > git --version # 'git version 2.17.1' 17:51:44 using GIT_SSH to set credentials SSH Credentials for GitHub 17:51:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:51:46 Merging remotes/origin/main commit 394630684c4f2c5fa0b05acfafc8d275cc2ae64c into PR head commit f936d1d1683ba476397a484ca69f178832238efe 17:51:47 Merge succeeded, producing f936d1d1683ba476397a484ca69f178832238efe 17:51:47 Checking out Revision f936d1d1683ba476397a484ca69f178832238efe (PR-135) 17:51:46 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:51:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:51:46 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:51:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:51:46 using GIT_SSH to set credentials SSH Credentials for GitHub 17:51:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/135/head:refs/remotes/origin/PR-135 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:51:46 > git config core.sparsecheckout # timeout=10 17:51:46 > git checkout -f f936d1d1683ba476397a484ca69f178832238efe # timeout=10 17:51:47 > git remote # timeout=10 17:51:47 > git config --get remote.origin.url # timeout=10 17:51:47 using GIT_SSH to set credentials SSH Credentials for GitHub 17:51:47 > git merge 394630684c4f2c5fa0b05acfafc8d275cc2ae64c # timeout=10 17:51:47 > git rev-parse HEAD^{commit} # timeout=10 17:51:47 > git config core.sparsecheckout # timeout=10 17:51:47 > git checkout -f f936d1d1683ba476397a484ca69f178832238efe # timeout=10 17:51:51 Commit message: "ci: Update PR Template" 17:51:51 > git --version # timeout=10 17:51:51 > git --version # 'git version 2.17.1' 17:51:51 fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:51:52 provisioning config files... 17:51:52 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5640928729257822806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:51:53 ---> docker-login.sh 17:51:53 nexus3.edgexfoundry.org:10001 17:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:01 Configure a credential helper to remove this warning. See 17:52:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:01 17:52:01 Login Succeeded 17:52:01 nexus3.edgexfoundry.org:10002 17:52:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:02 Configure a credential helper to remove this warning. See 17:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:02 17:52:02 Login Succeeded 17:52:02 nexus3.edgexfoundry.org:10003 17:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:02 Configure a credential helper to remove this warning. See 17:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:02 17:52:02 Login Succeeded 17:52:02 nexus3.edgexfoundry.org:10004 17:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:03 Configure a credential helper to remove this warning. See 17:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:03 17:52:03 Login Succeeded 17:52:03 docker.io 17:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:04 Configure a credential helper to remove this warning. See 17:52:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:04 17:52:04 Login Succeeded 17:52:04 ---> docker-login.sh ends [Pipeline] } 17:52:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:52:04 ========================================================= 17:52:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 17:52:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:52:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 17:52:05 Sending build context to Docker daemon 119.8kB 17:52:05 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 17:52:05 Step 2/12 : FROM ${BASE} AS builder 17:52:06 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:52:06 595b0fe564bb: Pulling fs layer 17:52:06 24495759ef45: Pulling fs layer 17:52:06 d148012ef14d: Pulling fs layer 17:52:06 e90a11edd702: Pulling fs layer 17:52:06 d77568369979: Pulling fs layer 17:52:06 fc1c9f9a7f3b: Pulling fs layer 17:52:06 170f2ba95c9a: Pulling fs layer 17:52:06 97ac5df62f85: Pulling fs layer 17:52:06 d77568369979: Waiting 17:52:06 fc1c9f9a7f3b: Waiting 17:52:06 170f2ba95c9a: Waiting 17:52:06 e90a11edd702: Waiting 17:52:06 d148012ef14d: Verifying Checksum 17:52:06 d148012ef14d: Download complete 17:52:06 24495759ef45: Verifying Checksum 17:52:06 24495759ef45: Download complete 17:52:06 d77568369979: Verifying Checksum 17:52:06 d77568369979: Download complete 17:52:06 fc1c9f9a7f3b: Verifying Checksum 17:52:06 fc1c9f9a7f3b: Download complete 17:52:06 170f2ba95c9a: Verifying Checksum 17:52:06 170f2ba95c9a: Download complete 17:52:06 595b0fe564bb: Download complete 17:52:07 595b0fe564bb: Pull complete 17:52:07 24495759ef45: Pull complete 17:52:08 d148012ef14d: Pull complete 17:52:09 97ac5df62f85: Verifying Checksum 17:52:09 97ac5df62f85: Download complete 17:52:10 e90a11edd702: Verifying Checksum 17:52:10 e90a11edd702: Download complete 17:52:21 e90a11edd702: Pull complete 17:52:21 d77568369979: Pull complete 17:52:21 fc1c9f9a7f3b: Pull complete 17:52:21 170f2ba95c9a: Pull complete 17:52:28 97ac5df62f85: Pull complete 17:52:28 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 17:52:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:52:28 ---> 04bc70af865f 17:52:28 Step 3/12 : ARG MAKE='make build' 17:52:31 ---> Running in 8ead4af44f10 17:52:32 Removing intermediate container 8ead4af44f10 17:52:32 ---> 1c5d6f90a59c 17:52:32 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:52:32 ---> Running in 9b5692055207 17:52:33 Removing intermediate container 9b5692055207 17:52:33 ---> e9f589f1e4cb 17:52:33 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 17:52:33 ---> Running in 1a338a676658 17:52:33 Removing intermediate container 1a338a676658 17:52:33 ---> ef033d41244c 17:52:33 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:52:33 ---> Running in 675168e9d2c6 17:52:36 Removing intermediate container 675168e9d2c6 17:52:36 ---> 3634ac1afd07 17:52:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:52:36 ---> Running in 48156e2a345c 17:52:37 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 17:52:38 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 17:52:39 (1/3) Installing openssh-keygen (8.4_p1-r3) 17:52:39 (2/3) Installing libedit (20191231.3.1-r1) 17:52:39 (3/3) Installing openssh-client (8.4_p1-r3) 17:52:39 Executing busybox-1.32.1-r6.trigger 17:52:39 OK: 222 MiB in 55 packages 17:52:41 Removing intermediate container 48156e2a345c 17:52:41 ---> 782423980123 17:52:41 Step 8/12 : WORKDIR /device-rest-go 17:52:41 ---> Running in 4a27de8269c9 17:52:41 Removing intermediate container 4a27de8269c9 17:52:41 ---> 1f05a426f21a 17:52:41 Step 9/12 : COPY . . 17:52:42 ---> 005ca381cbe4 17:52:42 Step 10/12 : RUN go mod tidy 17:52:42 ---> Running in 3bf2a216d1a8 17:52:45 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 17:52:45 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 17:52:45 go: downloading github.com/gorilla/mux v1.8.0 17:52:45 go: downloading github.com/spf13/cast v1.4.1 17:52:45 go: downloading github.com/stretchr/testify v1.7.0 17:52:45 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 17:52:45 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 17:52:45 go: downloading github.com/google/uuid v1.2.0 17:52:45 go: downloading github.com/go-kit/kit v0.9.0 17:52:45 go: downloading github.com/go-playground/validator/v10 v10.6.1 17:52:46 go: downloading github.com/davecgh/go-spew v1.1.1 17:52:46 go: downloading github.com/pmezard/go-difflib v1.0.0 17:52:46 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 17:52:46 go: downloading github.com/OneOfOne/xxhash v1.2.8 17:52:46 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 17:52:46 go: downloading github.com/pelletier/go-toml v1.9.2 17:52:46 go: downloading gopkg.in/yaml.v2 v2.4.0 17:52:46 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 17:52:46 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 17:52:46 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 17:52:46 go: downloading github.com/go-playground/universal-translator v0.17.0 17:52:46 go: downloading github.com/leodido/go-urn v1.2.0 17:52:46 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 17:52:46 go: downloading golang.org/x/text v0.3.2 17:52:46 go: downloading github.com/go-playground/assert/v2 v2.0.1 17:52:46 go: downloading github.com/go-playground/locales v0.13.0 17:52:49 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 17:52:49 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:52:49 go: downloading github.com/go-logfmt/logfmt v0.4.0 17:52:49 go: downloading github.com/go-stack/stack v1.8.0 17:52:49 go: downloading github.com/hashicorp/consul/api v1.8.1 17:52:49 go: downloading github.com/x448/float16 v0.8.4 17:52:49 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 17:52:49 go: downloading github.com/stretchr/objx v0.1.0 17:52:49 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:52:49 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:52:49 go: downloading github.com/pebbe/zmq4 v1.2.7 17:52:49 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:52:49 go: downloading github.com/kr/pretty v0.2.0 17:52:49 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:52:49 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:52:49 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:52:49 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:52:49 go: downloading github.com/hashicorp/serf v0.9.5 17:52:49 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:52:49 go: downloading github.com/hashicorp/consul/sdk v0.7.0 17:52:49 go: downloading github.com/hashicorp/go-uuid v1.0.1 17:52:49 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:52:49 go: downloading github.com/mitchellh/copystructure v1.0.0 17:52:49 go: downloading github.com/gorilla/websocket v1.4.2 17:52:50 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 17:52:50 go: downloading github.com/onsi/ginkgo v1.10.1 17:52:50 go: downloading github.com/onsi/gomega v1.7.0 17:52:50 go: downloading github.com/kr/text v0.1.0 17:52:50 go: downloading github.com/mitchellh/go-homedir v1.1.0 17:52:50 go: downloading github.com/fatih/color v1.9.0 17:52:50 go: downloading github.com/mattn/go-colorable v0.1.6 17:52:50 go: downloading github.com/mattn/go-isatty v0.0.12 17:52:50 go: downloading github.com/pkg/errors v0.8.1 17:52:50 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:52:50 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:52:50 go: downloading github.com/hashicorp/go-msgpack v0.5.3 17:52:50 go: downloading github.com/hashicorp/memberlist v0.2.2 17:52:50 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 17:52:50 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:52:50 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:52:50 go: downloading github.com/hpcloud/tail v1.0.0 17:52:50 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:52:50 go: downloading github.com/hashicorp/go-multierror v1.1.0 17:52:50 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 17:52:50 go: downloading github.com/miekg/dns v1.1.26 17:52:50 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:52:51 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:52:51 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 17:52:51 go: downloading github.com/hashicorp/errwrap v1.0.0 17:52:51 go: downloading gopkg.in/fsnotify.v1 v1.4.7 17:53:03 Removing intermediate container 3bf2a216d1a8 17:53:03 ---> ff5e266b6f71 17:53:03 Step 11/12 : RUN make update 17:53:03 ---> Running in fceeaf877eb2 17:53:04 CGO_ENABLED=0 GO111MODULE=on go mod download 17:53:11 Removing intermediate container fceeaf877eb2 17:53:11 ---> 10f5ecb87a7f 17:53:11 Step 12/12 : RUN $MAKE 17:53:11 ---> Running in 0b826314dbc5 17:53:12 noop 17:53:13 Removing intermediate container 0b826314dbc5 17:53:13 ---> d4cc80e33d3f 17:53:13 Successfully built d4cc80e33d3f 17:53:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:53:14 + docker inspect -f . ci-base-image-arm64 17:53:14 . [Pipeline] withDockerContainer 17:53:14 prd-ubuntu18.04-docker-arm64-4c-16g-1216 does not seem to be running inside a container 17:53:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:53:16 $ docker top 6622e880e1bd519beaa01ec62c11fb1beb2c7eee3bcce29a21d15886b099bb20 -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:17 + go version 17:53:17 go version go1.16.6 linux/arm64 [Pipeline] } 17:53:17 $ docker stop --time=1 6622e880e1bd519beaa01ec62c11fb1beb2c7eee3bcce29a21d15886b099bb20 17:53:19 $ docker rm -f 6622e880e1bd519beaa01ec62c11fb1beb2c7eee3bcce29a21d15886b099bb20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:53:20 + docker inspect -f . ci-base-image-arm64 17:53:20 . [Pipeline] withDockerContainer 17:53:20 prd-ubuntu18.04-docker-arm64-4c-16g-1216 does not seem to be running inside a container 17:53:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:53:22 $ docker top 085fc57e29470c79c04b05da63efe4bf5ee60d4553b90cfdcee996dbb2fa58cb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:53:23 + go mod tidy [Pipeline] sh 17:53:24 + make test 17:53:24 go mod tidy 17:53:25 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:53:26 ? github.com/edgexfoundry/device-rest-go [no test files] 17:54:22 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:54:22 ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 53.8% of statements 17:54:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:54:45 gofmt -l . 17:54:45 [ "`gofmt -l .`" = "" ] 17:54:45 ./bin/test-go-mod-tidy.sh 17:54:45 ./bin/test-attribution-txt.sh [Pipeline] } 17:54:45 $ docker stop --time=1 085fc57e29470c79c04b05da63efe4bf5ee60d4553b90cfdcee996dbb2fa58cb 17:54:47 $ docker rm -f 085fc57e29470c79c04b05da63efe4bf5ee60d4553b90cfdcee996dbb2fa58cb [Pipeline] // withDockerContainer [Pipeline] sh 17:54:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:54:48 Warning: overwriting stash ‘coverage-report’ 17:54:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:54:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:54:50 + ls -al . 17:54:50 total 144 17:54:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 17:54 . 17:54:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 17:51 .. 17:54:50 -rw-rw-r-- 1 jenkins jenkins 151 Oct 4 17:51 .dockerignore 17:54:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 17:51 .git 17:54:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 17:51 .github 17:54:50 -rw-rw-r-- 1 jenkins jenkins 336 Oct 4 17:51 .gitignore 17:54:50 -rw-rw-r-- 1 jenkins jenkins 6792 Oct 4 17:51 Attribution.txt 17:54:50 -rw-rw-r-- 1 jenkins jenkins 7459 Oct 4 17:51 CHANGELOG.md 17:54:50 -rw-rw-r-- 1 jenkins jenkins 1615 Oct 4 17:51 Dockerfile 17:54:50 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 17:51 GOVERNANCE.md 17:54:50 -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 17:51 Jenkinsfile 17:54:50 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 17:51 LICENSE 17:54:50 -rw-rw-r-- 1 jenkins jenkins 996 Oct 4 17:51 Makefile 17:54:50 -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 17:51 OWNERS.md 17:54:50 -rw-rw-r-- 1 jenkins jenkins 7661 Oct 4 17:51 README.md 17:54:50 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 17:47 VERSION 17:54:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 17:51 bin 17:54:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 17:51 cmd 17:54:50 -rw-r--r-- 1 jenkins jenkins 8435 Oct 4 17:54 coverage.out 17:54:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 17:51 driver 17:54:50 -rw-r--r-- 1 jenkins jenkins 271 Oct 4 17:54 go.mod 17:54:50 -rw-r--r-- 1 jenkins jenkins 20570 Oct 4 17:53 go.sum 17:54:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 17:51 snap 17:54:50 -rw-rw-r-- 1 jenkins jenkins 713 Oct 4 17:51 version.go [Pipeline] isUnix [Pipeline] sh 17:54:51 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f936d1d1683ba476397a484ca69f178832238efe --label arch=arm64 --label version=0.0.0 . 17:54:51 Sending build context to Docker daemon 129kB 17:54:51 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 17:54:51 Step 2/25 : FROM ${BASE} AS builder 17:54:51 ---> d4cc80e33d3f 17:54:51 Step 3/25 : ARG MAKE='make build' 17:54:51 ---> Running in 83d657c8544a 17:54:52 Removing intermediate container 83d657c8544a 17:54:52 ---> e4ed88bb82c3 17:54:52 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:54:52 ---> Running in ef01739734ed 17:54:52 Removing intermediate container ef01739734ed 17:54:52 ---> 21c7f9817085 17:54:52 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:54:52 ---> Running in 675359d7c3bb 17:54:53 Removing intermediate container 675359d7c3bb 17:54:53 ---> 9a3de3079392 17:54:53 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:54:53 ---> Running in a0e2cfdfa82b 17:54:55 Removing intermediate container a0e2cfdfa82b 17:54:55 ---> 54c397d5a1ad 17:54:55 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:54:55 ---> Running in 26dc588503aa 17:54:56 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 17:54:58 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 17:54:58 OK: 222 MiB in 55 packages 17:54:59 Removing intermediate container 26dc588503aa 17:54:59 ---> a2907a328cf8 17:54:59 Step 8/25 : WORKDIR /device-rest-go 17:54:59 ---> Running in 07aa86348290 17:55:00 Removing intermediate container 07aa86348290 17:55:00 ---> c66d24d3aee0 17:55:00 Step 9/25 : COPY . . 17:55:01 ---> 931aefff6009 17:55:01 Step 10/25 : RUN go mod tidy 17:55:01 ---> Running in abc00f42326b 17:55:04 Removing intermediate container abc00f42326b 17:55:04 ---> 6b676d11da10 17:55:04 Step 11/25 : RUN make update 17:55:04 ---> Running in c2196b649433 17:55:05 CGO_ENABLED=0 GO111MODULE=on go mod download 17:55:06 Removing intermediate container c2196b649433 17:55:06 ---> 67cf41783dee 17:55:06 Step 12/25 : RUN $MAKE 17:55:06 ---> Running in 7072752a4d9c 17:55:07 go mod tidy 17:55:08 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 17:55:47 Removing intermediate container 7072752a4d9c 17:55:47 ---> 2ce1b492e513 17:55:47 Step 13/25 : FROM alpine:3.14 17:55:47 3.14: Pulling from library/alpine 17:55:47 552d1f2373af: Pulling fs layer 17:55:47 552d1f2373af: Verifying Checksum 17:55:47 552d1f2373af: Download complete 17:55:47 552d1f2373af: Pull complete 17:55:47 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 17:55:47 Status: Downloaded newer image for alpine:3.14 17:55:47 ---> bb3de5531c18 17:55:47 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:55:47 ---> Running in 21b9506a196a 17:55:47 Removing intermediate container 21b9506a196a 17:55:47 ---> c39bfc830eb4 17:55:47 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 17:55:47 ---> Running in 2a6389aa8c18 17:55:47 Removing intermediate container 2a6389aa8c18 17:55:47 ---> 75e3a9aab1d8 17:55:47 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 17:55:47 ---> Running in 55f4dc882545 17:55:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:55:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:55:47 (1/6) Installing dumb-init (1.2.5-r1) 17:55:47 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:55:47 (3/6) Installing libsodium (1.0.18-r0) 17:55:47 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:55:47 (5/6) Installing libzmq (4.3.4-r0) 17:55:47 (6/6) Installing zeromq (4.3.4-r0) 17:55:47 Executing busybox-1.33.1-r3.trigger 17:55:47 OK: 8 MiB in 20 packages 17:55:49 Removing intermediate container 55f4dc882545 17:55:49 ---> 2a98906a9af9 17:55:49 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 17:55:50 ---> c0a21f236484 17:55:50 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 17:55:51 ---> 666c435816b3 17:55:51 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 17:55:51 ---> b5fca3b08ee6 17:55:51 Step 20/25 : EXPOSE 59986 17:55:52 ---> Running in c7d9d5bd53e4 17:55:52 Removing intermediate container c7d9d5bd53e4 17:55:52 ---> 1e0c72cbe376 17:55:52 Step 21/25 : ENTRYPOINT ["/device-rest"] 17:55:52 ---> Running in 32353d5b42b5 17:55:53 Removing intermediate container 32353d5b42b5 17:55:53 ---> 604a2a7420d2 17:55:53 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:55:53 ---> Running in 2a25ac60289a 17:55:53 Removing intermediate container 2a25ac60289a 17:55:53 ---> 6a550246cc61 17:55:53 Step 23/25 : LABEL arch=arm64 17:55:53 ---> Running in 7b2e5be5dfda 17:55:54 Removing intermediate container 7b2e5be5dfda 17:55:54 ---> ba0e947e5b59 17:55:54 Step 24/25 : LABEL git_sha=f936d1d1683ba476397a484ca69f178832238efe 17:55:54 ---> Running in 6ae9f2c38057 17:55:55 Removing intermediate container 6ae9f2c38057 17:55:55 ---> 015c2bda51df 17:55:55 Step 25/25 : LABEL version=0.0.0 17:55:55 ---> Running in a254f523569c 17:55:55 Removing intermediate container a254f523569c 17:55:55 ---> ca147351184e 17:55:55 [Warning] One or more build-args [ARCH] were not consumed 17:55:55 Successfully built ca147351184e 17:55:55 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:55:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:55:56 17:55:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:55:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:56:07 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] } 17:56:08 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 17:56:11 + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-135/archives ']' [Pipeline] libraryResource [Pipeline] sh 17:56:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:56:12 ---> package-listing.sh 17:56:12 ++ facter osfamily 17:56:12 ++ tr '[:upper:]' '[:lower:]' 17:56:12 + OS_FAMILY=redhat 17:56:12 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-135 17:56:12 + START_PACKAGES=/tmp/packages_start.txt 17:56:12 + END_PACKAGES=/tmp/packages_end.txt 17:56:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:56:12 + PACKAGES=/tmp/packages_start.txt 17:56:12 + '[' /w/workspace/gexfoundry_device-rest-go_PR-135 ']' 17:56:12 + PACKAGES=/tmp/packages_end.txt 17:56:12 + case "${OS_FAMILY}" in 17:56:12 + rpm -qa 17:56:12 + sort 17:56:13 + '[' -f /tmp/packages_start.txt ']' 17:56:13 + '[' -f /tmp/packages_end.txt ']' 17:56:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:56:13 + '[' /w/workspace/gexfoundry_device-rest-go_PR-135 ']' 17:56:13 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-135/archives/ 17:56:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-135/archives/ [Pipeline] echo 17:56:13 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-135/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:56:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:56:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:56:14 17:56:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:56:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:56:15 latest: Pulling from edgex-lftools-log-publisher 17:56:15 b4d181a07f80: Pulling fs layer 17:56:15 a1111a8f2ec3: Pulling fs layer 17:56:15 ed53099fbce6: Pulling fs layer 17:56:15 dc539afda2c1: Pulling fs layer 17:56:15 77bc0d833cb6: Pulling fs layer 17:56:15 9065ff56babe: Pulling fs layer 17:56:15 d287ab97295c: Pulling fs layer 17:56:15 dc539afda2c1: Waiting 17:56:15 77bc0d833cb6: Waiting 17:56:15 9065ff56babe: Waiting 17:56:15 d287ab97295c: Waiting 17:56:15 a1111a8f2ec3: Verifying Checksum 17:56:15 a1111a8f2ec3: Download complete 17:56:15 dc539afda2c1: Verifying Checksum 17:56:15 dc539afda2c1: Download complete 17:56:15 ed53099fbce6: Verifying Checksum 17:56:15 ed53099fbce6: Download complete 17:56:15 9065ff56babe: Verifying Checksum 17:56:15 9065ff56babe: Download complete 17:56:15 77bc0d833cb6: Verifying Checksum 17:56:15 77bc0d833cb6: Download complete 17:56:16 b4d181a07f80: Verifying Checksum 17:56:16 b4d181a07f80: Download complete 17:56:18 b4d181a07f80: Pull complete 17:56:18 d287ab97295c: Verifying Checksum 17:56:18 d287ab97295c: Download complete 17:56:18 a1111a8f2ec3: Pull complete 17:56:18 ed53099fbce6: Pull complete 17:56:18 dc539afda2c1: Pull complete 17:56:19 77bc0d833cb6: Pull complete 17:56:19 9065ff56babe: Pull complete 17:56:24 d287ab97295c: Pull complete 17:56:24 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:56:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:56:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:56:25 prd-centos7-docker-4c-2g-1210 does not seem to be running inside a container 17:56:25 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-135/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-135 -v /w/workspace/gexfoundry_device-rest-go_PR-135:/w/workspace/gexfoundry_device-rest-go_PR-135:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-135@tmp:/w/workspace/gexfoundry_device-rest-go_PR-135@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:56:27 $ docker top 6b1f34a7a7a2c4e3633d4ebf815ec0e4d117dc84efb20eed7fe9dd33cff7faf2 -eo pid,comm [Pipeline] { [Pipeline] sh 17:56:27 + touch /tmp/pre-build-complete [Pipeline] sh 17:56:27 + mkdir -p /var/log/sysstat [Pipeline] sh 17:56:28 + ls /var/log/sa-host 17:56:28 + sadf -c /var/log/sa-host/sa04 17:56:28 file_magic: OK 17:56:28 HZ: Using current value: 100 17:56:28 file_header: OK 17:56:28 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:56:28 Statistics: 17:56:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:56:28 File successfully converted to sysstat format version 12.0.3 17:56:28 + sadf -c /var/log/sa-host/sa30 17:56:28 file_magic: OK 17:56:28 HZ: Using current value: 100 17:56:28 file_header: OK 17:56:28 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:56:28 Statistics: 17:56:28 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:56:28 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:56:28 provisioning config files... 17:56:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-135@tmp/config2272187068719802889tmp [Pipeline] { [Pipeline] echo 17:56:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:56:29 ---> create-netrc.sh [Pipeline] } 17:56:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:56:29 ---> python-tools-install.sh [Pipeline] echo 17:56:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:56:29 ---> sudo-logs.sh 17:56:29 Archiving 'sudo' log.. 17:56:29 sudo: unable to resolve host prd-centos7-docker-4c-2g-1210.novalocal: Name or service not known 17:56:29 sudo: unable to resolve host prd-centos7-docker-4c-2g-1210.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 17:56:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:56:30 ---> job-cost.sh 17:56:30 lf-activate-venv: SKIPPING 17:56:30 INFO: No Stack... 17:56:30 INFO: Retrieving Pricing Info for: v3-standard-2 17:56:31 INFO: Archiving Costs [Pipeline] echo 17:56:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:56:31 ---> logs-deploy.sh 17:56:31 lf-activate-venv: SKIPPING 17:56:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-135/1 17:56:31 INFO: archiving workspace using pattern(s): 17:56:32 Archives upload complete. 17:56:32 INFO: archiving logs to Nexus 17:56:33 ---> uname -a: 17:56:33 Linux prd-centos7-docker-4c-2g-1210.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 17:56:33 17:56:33 17:56:33 ---> lscpu: 17:56:33 Architecture: x86_64 17:56:33 CPU op-mode(s): 32-bit, 64-bit 17:56:33 Byte Order: Little Endian 17:56:33 Address sizes: 40 bits physical, 48 bits virtual 17:56:33 CPU(s): 2 17:56:33 On-line CPU(s) list: 0,1 17:56:33 Thread(s) per core: 1 17:56:33 Core(s) per socket: 1 17:56:33 Socket(s): 2 17:56:33 NUMA node(s): 1 17:56:33 Vendor ID: AuthenticAMD 17:56:33 CPU family: 23 17:56:33 Model: 49 17:56:33 Model name: AMD EPYC-Rome Processor 17:56:33 Stepping: 0 17:56:33 CPU MHz: 2799.998 17:56:33 BogoMIPS: 5599.99 17:56:33 Virtualization: AMD-V 17:56:33 Hypervisor vendor: KVM 17:56:33 Virtualization type: full 17:56:33 L1d cache: 32K 17:56:33 L1i cache: 32K 17:56:33 L2 cache: 512K 17:56:33 L3 cache: 16384K 17:56:33 NUMA node0 CPU(s): 0,1 17:56:33 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 17:56:33 17:56:33 17:56:33 ---> nproc: 17:56:33 2 17:56:33 17:56:33 17:56:33 ---> df -h: 17:56:33 Filesystem Size Used Avail Use% Mounted on 17:56:33 overlay 40G 7.7G 33G 20% / 17:56:33 tmpfs 64M 0 64M 0% /dev 17:56:33 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 17:56:33 shm 64M 0 64M 0% /dev/shm 17:56:33 /dev/vda1 40G 7.7G 33G 20% /facter-os 17:56:33 17:56:33 17:56:33 ---> sar -b -r -n DEV: 17:56:33 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/04/21 _x86_64_ (2 CPU) 17:56:33 17:56:33 17:46:20 LINUX RESTART (2 CPU) 17:56:33 17:56:33 17:47:01 tps rtps wtps bread/s bwrtn/s 17:56:33 17:48:01 91.61 7.24 84.37 3233.97 4285.68 17:56:33 17:49:01 1.72 0.00 1.72 0.00 34.67 17:56:33 17:50:01 0.28 0.00 0.28 0.00 2.86 17:56:33 17:51:01 0.15 0.00 0.15 0.00 1.75 17:56:33 17:52:01 0.27 0.00 0.27 0.00 3.96 17:56:33 17:53:02 0.30 0.00 0.30 0.00 4.18 17:56:33 17:54:01 0.24 0.00 0.24 0.00 3.41 17:56:33 17:55:01 0.23 0.00 0.23 0.00 2.85 17:56:33 17:56:01 0.20 0.00 0.20 0.00 1.48 17:56:33 Average: 10.58 0.81 9.77 360.14 483.40 17:56:33 17:56:33 17:47:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:56:33 17:48:01 5658760 0 629132 7.86 2620 1718428 1245912 13.76 573596 1537440 132 17:56:33 17:49:01 5667896 0 619992 7.74 2620 1718432 1164472 12.86 566352 1537400 16 17:56:33 17:50:01 5670036 0 617852 7.71 2620 1718432 1164520 12.86 563844 1537584 12 17:56:33 17:51:01 5668484 0 619396 7.73 2620 1718440 1164508 12.86 565724 1537584 20 17:56:33 17:52:01 5670256 0 617616 7.71 2620 1718448 1164412 12.86 563152 1538468 20 17:56:33 17:53:02 5670728 0 617140 7.71 2620 1718452 1164376 12.86 563160 1538464 20 17:56:33 17:54:01 5670156 0 617708 7.71 2620 1718456 1164256 12.85 563392 1538464 16 17:56:33 17:55:01 5661748 0 626108 7.82 2620 1718464 1164256 12.85 571752 1538468 8 17:56:33 17:56:01 5660616 0 627240 7.83 2620 1718464 1164256 12.85 575156 1536360 16 17:56:33 Average: 5666520 0 621354 7.76 2620 1718446 1173441 12.96 567348 1537804 29 17:56:33 17:56:33 17:47:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:56:33 17:48:01 eth0 268.32 247.35 1216.53 76.16 0.00 0.00 0.00 0.00 17:56:33 17:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 17:48:01 docker0 36.45 18.28 3.26 132.72 0.00 0.00 0.00 0.00 17:56:33 17:49:01 eth0 1.92 0.28 0.40 0.20 0.00 0.00 0.00 0.00 17:56:33 17:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 17:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 17:50:01 eth0 1.08 0.42 0.31 0.21 0.00 0.00 0.00 0.00 17:56:33 17:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 17:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 17:51:01 eth0 1.03 0.33 0.32 0.17 0.00 0.00 0.00 0.00 17:56:33 17:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 17:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 17:52:01 eth0 0.65 0.32 0.28 0.20 0.00 0.00 0.00 0.00 17:56:33 17:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 17:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 17:53:02 eth0 0.42 0.20 0.15 0.10 0.00 0.00 0.00 0.00 17:56:33 17:53:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 17:53:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 17:54:01 eth0 0.24 0.08 0.01 0.01 0.00 0.00 0.00 0.00 17:56:33 17:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 17:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 17:55:01 eth0 0.20 0.10 0.01 0.01 0.00 0.00 0.00 0.00 17:56:33 17:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 17:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 17:56:01 eth0 0.20 0.10 0.01 0.01 0.00 0.00 0.00 0.00 17:56:33 17:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 17:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 Average: eth0 30.52 27.75 135.64 8.58 0.00 0.00 0.00 0.00 17:56:33 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:33 Average: docker0 4.06 2.04 0.36 14.78 0.00 0.00 0.00 0.00 17:56:33 17:56:33 17:56:33 ---> sar -P ALL: 17:56:33 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/04/21 _x86_64_ (2 CPU) 17:56:33 17:56:33 17:46:20 LINUX RESTART (2 CPU) 17:56:33 17:56:33 17:47:01 CPU %user %nice %system %iowait %steal %idle 17:56:33 17:48:01 all 12.05 0.00 3.15 2.18 0.04 82.58 17:56:33 17:48:01 0 12.18 0.00 3.53 2.40 0.03 81.85 17:56:33 17:48:01 1 11.92 0.00 2.77 1.95 0.05 83.30 17:56:33 17:49:01 all 0.14 0.00 0.09 0.00 0.02 99.75 17:56:33 17:49:01 0 0.13 0.00 0.07 0.00 0.02 99.78 17:56:33 17:49:01 1 0.15 0.00 0.12 0.00 0.02 99.72 17:56:33 17:50:01 all 0.26 0.00 0.06 0.01 0.02 99.66 17:56:33 17:50:01 0 0.12 0.00 0.08 0.02 0.02 99.77 17:56:33 17:50:01 1 0.40 0.00 0.03 0.00 0.02 99.55 17:56:33 17:51:01 all 0.23 0.00 0.05 0.00 0.02 99.71 17:56:33 17:51:01 0 0.05 0.00 0.07 0.00 0.03 99.85 17:56:33 17:51:01 1 0.40 0.00 0.03 0.00 0.00 99.57 17:56:33 17:52:01 all 0.26 0.00 0.05 0.00 0.02 99.67 17:56:33 17:52:01 0 0.08 0.00 0.07 0.00 0.02 99.83 17:56:33 17:52:01 1 0.43 0.00 0.03 0.00 0.02 99.52 17:56:33 17:53:02 all 0.17 0.00 0.04 0.00 0.01 99.78 17:56:33 17:53:02 0 0.05 0.00 0.05 0.00 0.02 99.88 17:56:33 17:53:02 1 0.28 0.00 0.03 0.00 0.00 99.68 17:56:33 17:54:01 all 0.18 0.00 0.05 0.00 0.02 99.75 17:56:33 17:54:01 0 0.08 0.00 0.05 0.00 0.02 99.85 17:56:33 17:54:01 1 0.27 0.00 0.05 0.00 0.02 99.66 17:56:33 17:55:01 all 0.21 0.00 0.04 0.00 0.01 99.74 17:56:33 17:55:01 0 0.03 0.00 0.05 0.00 0.02 99.90 17:56:33 17:55:01 1 0.38 0.00 0.03 0.00 0.00 99.58 17:56:33 17:56:01 all 0.22 0.00 0.04 0.00 0.01 99.73 17:56:33 17:56:01 0 0.08 0.00 0.05 0.00 0.02 99.85 17:56:33 17:56:01 1 0.35 0.00 0.03 0.00 0.00 99.62 17:56:33 Average: all 1.49 0.00 0.39 0.24 0.02 97.86 17:56:33 Average: 0 1.39 0.00 0.44 0.26 0.02 97.88 17:56:33 Average: 1 1.60 0.00 0.34 0.21 0.01 97.84 17:56:33 17:56:33 17:56:33