Pull request #139 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 siggiskulason for edgexfoundry/device-rest-go Obtained Jenkinsfile from d2bfa720847907ccc8297cdeca17aa1aafdd3b41+dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 (09d664c37b3aa866f704395648c5abe4e76fc8f6) 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-ssh6429285082403736904.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca 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-ssh5147699946938968847.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 f1d79d91c36788821211008368c3015072ca53ca 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-139/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-139/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1521301002472782526.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-139/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7174461446782637310.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > 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-ssh1680485250292382610.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-139/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-139/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3834428137893754117.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 f1d79d91c36788821211008368c3015072ca53ca Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-1028 in /w/workspace/gexfoundry_device-rest-go_PR-139 [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-139 # 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-139@tmp/jenkins-gitclient-ssh6452220028561487706.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-139@tmp/jenkins-gitclient-ssh4793976554606544262.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 into PR head commit d2bfa720847907ccc8297cdeca17aa1aafdd3b41 Merge succeeded, producing d2bfa720847907ccc8297cdeca17aa1aafdd3b41 Checking out Revision d2bfa720847907ccc8297cdeca17aa1aafdd3b41 (PR-139) > git config core.sparsecheckout # timeout=10 > git checkout -f d2bfa720847907ccc8297cdeca17aa1aafdd3b41 # 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-139@tmp/jenkins-gitclient-ssh2367233187072693762.key > git merge dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2bfa720847907ccc8297cdeca17aa1aafdd3b41 # timeout=10 Commit message: "fix(snap): create VERSION file during snap build" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object f1d79d91c36788821211008368c3015072ca53ca [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:35:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:35:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:35:19 ========================================================= 11:35:19 EdgeX Global Pipelines Version Info 11:35:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:35:21 ------------------- 11:35:21 stable info: 11:35:21 ------------------- 11:35:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:35:21 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 11:35:21 Message: update stable to v1.0.209 11:35:21 ------------------- 11:35:21 experimental info: 11:35:21 ------------------- 11:35:21 Commited By: **** collab-it+edgex@linuxfoundation.org 11:35:21 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 11:35:21 Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:35:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 11:35:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 11:35:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:35:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:35:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-139 [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-139 [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-139 [Pipeline] echo 11:35:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2bfa720847907ccc8297cdeca17aa1aafdd3b41 [Pipeline] echo 11:35:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2bfa72 [Pipeline] echo 11:35:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:35:23 provisioning config files... 11:35:23 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-139@tmp/config4058465533035344954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:35:23 ---> docker-login.sh 11:35:23 nexus3.edgexfoundry.org:10001 11:35:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:23 Configure a credential helper to remove this warning. See 11:35:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:23 11:35:23 Login Succeeded 11:35:23 nexus3.edgexfoundry.org:10002 11:35:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:23 Configure a credential helper to remove this warning. See 11:35:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:23 11:35:23 Login Succeeded 11:35:23 nexus3.edgexfoundry.org:10003 11:35:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:24 Configure a credential helper to remove this warning. See 11:35:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:24 11:35:24 Login Succeeded 11:35:24 nexus3.edgexfoundry.org:10004 11:35:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:24 Configure a credential helper to remove this warning. See 11:35:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:24 11:35:24 Login Succeeded 11:35:24 docker.io 11:35:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:24 Configure a credential helper to remove this warning. See 11:35:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:24 11:35:24 Login Succeeded 11:35:24 ---> docker-login.sh ends [Pipeline] } 11:35: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 11:35:25 + git log --format=format:%s -1 d2bfa720847907ccc8297cdeca17aa1aafdd3b41 [Pipeline] echo 11:35:25 GIT_COMMIT: d2bfa720847907ccc8297cdeca17aa1aafdd3b41, Commit Message: fix(snap): create VERSION file during snap build [Pipeline] echo 11:35:25 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 11:35:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:35:26 11:35:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:35:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:35:26 latest: Pulling from edgex-devops/git-semver 11:35:26 a0d0a0d46f8b: Pulling fs layer 11:35:26 3e5f54012d9b: Pulling fs layer 11:35:26 4c7163046ea9: Pulling fs layer 11:35:26 0c2d73faf560: Pulling fs layer 11:35:26 0c2d73faf560: Waiting 11:35:26 3e5f54012d9b: Verifying Checksum 11:35:26 3e5f54012d9b: Download complete 11:35:26 a0d0a0d46f8b: Verifying Checksum 11:35:26 a0d0a0d46f8b: Download complete 11:35:26 4c7163046ea9: Verifying Checksum 11:35:26 4c7163046ea9: Download complete 11:35:26 0c2d73faf560: Verifying Checksum 11:35:26 0c2d73faf560: Download complete 11:35:26 a0d0a0d46f8b: Pull complete 11:35:26 3e5f54012d9b: Pull complete 11:35:27 4c7163046ea9: Pull complete 11:35:27 0c2d73faf560: Pull complete 11:35:27 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:35:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:35:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:35:27 prd-centos7-docker-4c-2g-1028 does not seem to be running inside a container 11:35:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-139 -v /w/workspace/gexfoundry_device-rest-go_PR-139:/w/workspace/gexfoundry_device-rest-go_PR-139:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-139@tmp:/w/workspace/gexfoundry_device-rest-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:35:28 $ docker top 02f5f640bcebd8b1680112cad2595b5c073f34168409f8a5b8084e71a5b6ac30 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:35:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:35:28 [ssh-agent] Looking for ssh-agent implementation... 11:35:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:35:28 $ docker exec 02f5f640bcebd8b1680112cad2595b5c073f34168409f8a5b8084e71a5b6ac30 ssh-agent 11:35:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCJFBnI/agent.14 11:35:28 SSH_AGENT_PID=20 11:35:28 Running ssh-add (command line suppressed) 11:35:28 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-139@tmp/private_key_5850575047611139146.key (/w/workspace/gexfoundry_device-rest-go_PR-139@tmp/private_key_5850575047611139146.key) 11:35:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:35:28 + git tag --points-at HEAD [Pipeline] } 11:35:28 $ docker exec --env ******** --env ******** 02f5f640bcebd8b1680112cad2595b5c073f34168409f8a5b8084e71a5b6ac30 ssh-agent -k 11:35:29 unset SSH_AUTH_SOCK; 11:35:29 unset SSH_AGENT_PID; 11:35:29 echo Agent pid 20 killed; 11:35:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:35:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:35:29 [ssh-agent] Looking for ssh-agent implementation... 11:35:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:35:29 $ docker exec 02f5f640bcebd8b1680112cad2595b5c073f34168409f8a5b8084e71a5b6ac30 ssh-agent 11:35:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDgAhpL/agent.53 11:35:29 SSH_AGENT_PID=59 11:35:29 Running ssh-add (command line suppressed) 11:35:29 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-139@tmp/private_key_6870913560708180279.key (/w/workspace/gexfoundry_device-rest-go_PR-139@tmp/private_key_6870913560708180279.key) 11:35:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:35:29 + git semver init 11:35:29 # -> Open(): unable to determine branch for HEAD 11:35:29 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-139/.git 11:35:29 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-139 11:35:29 # $SEMVER_REMOTE_NAME = origin 11:35:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:35:29 # $SEMVER_USER_NAME = edgex-jenkins 11:35:29 # $SEMVER_BRANCH = PR-139 11:35:29 # $SEMVER_TEMP = /tmp/semver-424953685 11:35:29 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 11:35:30 # '/tmp/semver-424953685' -> '/w/workspace/gexfoundry_device-rest-go_PR-139/.semver' 11:35:30 # -> Force: false 11:35:30 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-139/.semver [Pipeline] } 11:35:30 $ docker exec --env ******** --env ******** 02f5f640bcebd8b1680112cad2595b5c073f34168409f8a5b8084e71a5b6ac30 ssh-agent -k 11:35:30 unset SSH_AUTH_SOCK; 11:35:30 unset SSH_AGENT_PID; 11:35:30 echo Agent pid 59 killed; 11:35:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:35:31 + git semver [Pipeline] } 11:35:31 $ docker stop --time=1 02f5f640bcebd8b1680112cad2595b5c073f34168409f8a5b8084e71a5b6ac30 11:35:32 $ docker rm -f 02f5f640bcebd8b1680112cad2595b5c073f34168409f8a5b8084e71a5b6ac30 [Pipeline] // withDockerContainer [Pipeline] sh 11:35:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:35:33 Stashed 1 file(s) [Pipeline] echo 11:35:33 [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 11:35:48 Still waiting to schedule task 11:35:48 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1028’ 11:35:48 Still waiting to schedule task 11:35:48 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 11:37:36 Running on prd-centos7-docker-4c-2g-1030 in /w/workspace/gexfoundry_device-rest-go_PR-139 [Pipeline] { [Pipeline] ws 11:37:36 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 11:37:36 The recommended git tool is: git 11:37:38 using credential edgex-jenkins-ssh 11:37:38 Cloning the remote Git repository 11:37:38 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:37:38 > git init /w/workspace/device-rest-go/1 # timeout=10 11:37:38 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:37:38 > git --version # timeout=10 11:37:38 > git --version # 'git version 2.24.4' 11:37:38 using GIT_SSH to set credentials SSH Credentials for GitHub 11:37:38 [INFO] Currently running in a labeled security context 11:37:38 [INFO] Currently SELinux is 'enforcing' on the host 11:37:38 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh9172034316266372272.key 11:37:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:37:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:37:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:37:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:37:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:37:39 using GIT_SSH to set credentials SSH Credentials for GitHub 11:37:39 [INFO] Currently running in a labeled security context 11:37:39 [INFO] Currently SELinux is 'enforcing' on the host 11:37:39 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh3545594517544683866.key 11:37:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:37:40 Merging remotes/origin/main commit dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 into PR head commit d2bfa720847907ccc8297cdeca17aa1aafdd3b41 11:37:40 Merge succeeded, producing d2bfa720847907ccc8297cdeca17aa1aafdd3b41 11:37:40 Checking out Revision d2bfa720847907ccc8297cdeca17aa1aafdd3b41 (PR-139) 11:37:40 > git config core.sparsecheckout # timeout=10 11:37:40 > git checkout -f d2bfa720847907ccc8297cdeca17aa1aafdd3b41 # timeout=10 11:37:40 > git remote # timeout=10 11:37:40 > git config --get remote.origin.url # timeout=10 11:37:40 using GIT_SSH to set credentials SSH Credentials for GitHub 11:37:40 [INFO] Currently running in a labeled security context 11:37:40 [INFO] Currently SELinux is 'enforcing' on the host 11:37:40 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh7821025007662809652.key 11:37:40 > git merge dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 11:37:40 > git rev-parse HEAD^{commit} # timeout=10 11:37:40 > git config core.sparsecheckout # timeout=10 11:37:40 > git checkout -f d2bfa720847907ccc8297cdeca17aa1aafdd3b41 # timeout=10 11:37:44 Commit message: "fix(snap): create VERSION file during snap build" 11:37:43 > git --version # timeout=10 11:37:43 > git --version # 'git version 2.24.4' 11:37:43 fatal: bad object f1d79d91c36788821211008368c3015072ca53ca [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:37:44 provisioning config files... 11:37:44 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5973281512674457526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:37:45 ---> docker-login.sh 11:37:45 nexus3.edgexfoundry.org:10001 11:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:37:45 Configure a credential helper to remove this warning. See 11:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:37:45 11:37:45 Login Succeeded 11:37:45 nexus3.edgexfoundry.org:10002 11:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:37:45 Configure a credential helper to remove this warning. See 11:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:37:45 11:37:45 Login Succeeded 11:37:45 nexus3.edgexfoundry.org:10003 11:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:37:45 Configure a credential helper to remove this warning. See 11:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:37:45 11:37:45 Login Succeeded 11:37:45 nexus3.edgexfoundry.org:10004 11:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:37:45 Configure a credential helper to remove this warning. See 11:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:37:45 11:37:45 Login Succeeded 11:37:45 docker.io 11:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:37:46 Configure a credential helper to remove this warning. See 11:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:37:46 11:37:46 Login Succeeded 11:37:46 ---> docker-login.sh ends [Pipeline] } 11:37:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:37:46 ========================================================= 11:37:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 11:37:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:37:46 + 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 . 11:37:46 Sending build context to Docker daemon 118.8kB 11:37:46 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 11:37:46 Step 2/11 : FROM ${BASE} AS builder 11:37:46 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 11:37:46 4e9f2cdf4387: Pulling fs layer 11:37:46 57d31006c564: Pulling fs layer 11:37:46 bd5ccded8296: Pulling fs layer 11:37:46 304dd3a0f381: Pulling fs layer 11:37:46 d37cda54a23b: Pulling fs layer 11:37:46 bae75c0f2455: Pulling fs layer 11:37:46 806579b3d29a: Pulling fs layer 11:37:46 c77eb801bf70: Pulling fs layer 11:37:46 6d0567d44e1a: Pulling fs layer 11:37:46 bae75c0f2455: Waiting 11:37:46 806579b3d29a: Waiting 11:37:46 c77eb801bf70: Waiting 11:37:46 6d0567d44e1a: Waiting 11:37:46 304dd3a0f381: Waiting 11:37:46 d37cda54a23b: Waiting 11:37:46 bd5ccded8296: Verifying Checksum 11:37:46 bd5ccded8296: Download complete 11:37:46 57d31006c564: Verifying Checksum 11:37:46 57d31006c564: Download complete 11:37:46 d37cda54a23b: Verifying Checksum 11:37:46 d37cda54a23b: Download complete 11:37:46 bae75c0f2455: Verifying Checksum 11:37:46 bae75c0f2455: Download complete 11:37:46 4e9f2cdf4387: Verifying Checksum 11:37:46 4e9f2cdf4387: Download complete 11:37:46 806579b3d29a: Verifying Checksum 11:37:46 806579b3d29a: Download complete 11:37:46 c77eb801bf70: Verifying Checksum 11:37:46 c77eb801bf70: Download complete 11:37:47 4e9f2cdf4387: Pull complete 11:37:47 57d31006c564: Pull complete 11:37:47 bd5ccded8296: Pull complete 11:37:47 304dd3a0f381: Verifying Checksum 11:37:47 304dd3a0f381: Download complete 11:37:47 6d0567d44e1a: Verifying Checksum 11:37:47 6d0567d44e1a: Download complete 11:37:51 304dd3a0f381: Pull complete 11:37:51 d37cda54a23b: Pull complete 11:37:51 bae75c0f2455: Pull complete 11:37:51 806579b3d29a: Pull complete 11:37:51 c77eb801bf70: Pull complete 11:37:54 6d0567d44e1a: Pull complete 11:37:54 Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd 11:37:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 11:37:54 ---> e839a31ac9d1 11:37:54 Step 3/11 : ARG MAKE='make build' 11:37:55 ---> Running in 4dd6215e7682 11:37:55 Removing intermediate container 4dd6215e7682 11:37:55 ---> 8259f5b42d1e 11:37:55 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:37:55 ---> Running in 439c90460d9d 11:37:55 Removing intermediate container 439c90460d9d 11:37:55 ---> daa803739dc9 11:37:55 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 11:37:55 ---> Running in da5a64cb95e4 11:37:55 Removing intermediate container da5a64cb95e4 11:37:55 ---> 28273f8dd95c 11:37:55 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:37:55 ---> Running in 2835806f3917 11:37:56 Removing intermediate container 2835806f3917 11:37:56 ---> ebc5bdb43a80 11:37:56 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:37:56 ---> Running in e86b201e9dcb 11:37:56 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 11:37:57 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 11:37:58 (1/3) Installing openssh-keygen (8.4_p1-r4) 11:37:58 (2/3) Installing libedit (20191231.3.1-r1) 11:37:58 (3/3) Installing openssh-client (8.4_p1-r4) 11:37:58 Executing busybox-1.32.1-r6.trigger 11:37:58 OK: 223 MiB in 55 packages 11:37:58 Removing intermediate container e86b201e9dcb 11:37:58 ---> 467fba5ec16d 11:37:58 Step 8/11 : WORKDIR /device-rest-go 11:37:58 ---> Running in aa205433e45b 11:37:58 Removing intermediate container aa205433e45b 11:37:58 ---> 19379d143308 11:37:58 Step 9/11 : COPY . . 11:37:58 ---> 8d90b1bc8ed2 11:37:58 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:37:58 ---> Running in 2e439a43665d 11:38:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1029 in /w/workspace/gexfoundry_device-rest-go_PR-139 [Pipeline] { [Pipeline] ws 11:38:08 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 11:38:08 The recommended git tool is: git 11:38:11 Removing intermediate container 2e439a43665d 11:38:11 ---> 7877f55e6f0a 11:38:11 Step 11/11 : RUN $MAKE 11:38:11 ---> Running in fa2ca5d48f07 11:38:11 noop 11:38:11 Removing intermediate container fa2ca5d48f07 11:38:11 ---> a8dfc6d292c4 11:38:11 Successfully built a8dfc6d292c4 11:38:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:38:11 + docker inspect -f . ci-base-image-x86_64 11:38:11 . [Pipeline] withDockerContainer 11:38:11 prd-centos7-docker-4c-2g-1030 does not seem to be running inside a container 11:38:11 $ 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 ******** ci-base-image-x86_64 cat 11:38:12 $ docker top 0931bbfde8768fd1ef9155b441e92936f3fc84e82d46e968258a74a455d37268 -eo pid,comm [Pipeline] { [Pipeline] sh 11:38:12 + go version 11:38:12 go version go1.16.8 linux/amd64 [Pipeline] } 11:38:12 $ docker stop --time=1 0931bbfde8768fd1ef9155b441e92936f3fc84e82d46e968258a74a455d37268 11:38:13 $ docker rm -f 0931bbfde8768fd1ef9155b441e92936f3fc84e82d46e968258a74a455d37268 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:38:14 using credential edgex-jenkins-ssh 11:38:14 Cloning the remote Git repository 11:38:14 + docker inspect -f . ci-base-image-x86_64 11:38:14 . [Pipeline] withDockerContainer 11:38:14 prd-centos7-docker-4c-2g-1030 does not seem to be running inside a container 11:38: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 ******** ci-base-image-x86_64 cat 11:38:14 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:38:14 > git init /w/workspace/device-rest-go/1 # timeout=10 11:38:14 $ docker top 340943100ba01aa9e20a2e38011fb21a970438266753e6270c7ad676e112f88b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:38:15 + make test 11:38:15 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:38:15 ? github.com/edgexfoundry/device-rest-go [no test files] 11:38:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:38:14 > git --version # timeout=10 11:38:14 > git --version # 'git version 2.17.1' 11:38:14 using GIT_SSH to set credentials SSH Credentials for GitHub 11:38:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:38:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:38:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:38:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:38:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:38:16 using GIT_SSH to set credentials SSH Credentials for GitHub 11:38:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:38:18 Merging remotes/origin/main commit dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 into PR head commit d2bfa720847907ccc8297cdeca17aa1aafdd3b41 11:38:18 Merge succeeded, producing d2bfa720847907ccc8297cdeca17aa1aafdd3b41 11:38:18 Checking out Revision d2bfa720847907ccc8297cdeca17aa1aafdd3b41 (PR-139) 11:38:18 > git config core.sparsecheckout # timeout=10 11:38:18 > git checkout -f d2bfa720847907ccc8297cdeca17aa1aafdd3b41 # timeout=10 11:38:18 > git remote # timeout=10 11:38:18 > git config --get remote.origin.url # timeout=10 11:38:18 using GIT_SSH to set credentials SSH Credentials for GitHub 11:38:18 > git merge dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 11:38:18 > git rev-parse HEAD^{commit} # timeout=10 11:38:18 > git config core.sparsecheckout # timeout=10 11:38:18 > git checkout -f d2bfa720847907ccc8297cdeca17aa1aafdd3b41 # timeout=10 11:38:22 Commit message: "fix(snap): create VERSION file during snap build" 11:38:22 > git --version # timeout=10 11:38:22 > git --version # 'git version 2.17.1' 11:38:22 fatal: bad object f1d79d91c36788821211008368c3015072ca53ca [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:38:23 provisioning config files... 11:38:23 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config279594320981234481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:38:23 ---> docker-login.sh 11:38:23 nexus3.edgexfoundry.org:10001 11:38:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:25 Configure a credential helper to remove this warning. See 11:38:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:25 11:38:25 Login Succeeded 11:38:25 nexus3.edgexfoundry.org:10002 11:38:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:25 Configure a credential helper to remove this warning. See 11:38:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:25 11:38:25 Login Succeeded 11:38:25 nexus3.edgexfoundry.org:10003 11:38:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:26 Configure a credential helper to remove this warning. See 11:38:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:26 11:38:26 Login Succeeded 11:38:26 nexus3.edgexfoundry.org:10004 11:38:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:26 Configure a credential helper to remove this warning. See 11:38:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:26 11:38:26 Login Succeeded 11:38:26 docker.io 11:38:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:27 Configure a credential helper to remove this warning. See 11:38:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:27 11:38:27 Login Succeeded 11:38:27 ---> docker-login.sh ends [Pipeline] } 11:38:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:38:28 ========================================================= 11:38:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 11:38:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:38:28 + 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 . 11:38:28 Sending build context to Docker daemon 118.8kB 11:38:29 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 11:38:29 Step 2/11 : FROM ${BASE} AS builder 11:38:29 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:38:29 bbf911997326: Pulling fs layer 11:38:29 58ec367f63d7: Pulling fs layer 11:38:29 1b4a6ffa7d45: Pulling fs layer 11:38:29 fc5181fea5dc: Pulling fs layer 11:38:29 9c418107303f: Pulling fs layer 11:38:29 284eca6f2348: Pulling fs layer 11:38:29 842844d905b1: Pulling fs layer 11:38:29 901a3a57568e: Pulling fs layer 11:38:29 9c418107303f: Waiting 11:38:29 284eca6f2348: Waiting 11:38:29 842844d905b1: Waiting 11:38:29 901a3a57568e: Waiting 11:38:29 fc5181fea5dc: Waiting 11:38:29 1b4a6ffa7d45: Verifying Checksum 11:38:29 1b4a6ffa7d45: Download complete 11:38:29 58ec367f63d7: Download complete 11:38:29 9c418107303f: Verifying Checksum 11:38:29 9c418107303f: Download complete 11:38:29 284eca6f2348: Download complete 11:38:29 842844d905b1: Verifying Checksum 11:38:29 842844d905b1: Download complete 11:38:29 bbf911997326: Download complete 11:38:30 bbf911997326: Pull complete 11:38:30 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 11:38:31 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 53.8% of statements 11:38:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:38:31 58ec367f63d7: Pull complete 11:38:31 1b4a6ffa7d45: Pull complete 11:38:31 901a3a57568e: Verifying Checksum 11:38:31 901a3a57568e: Download complete 11:38:32 fc5181fea5dc: Verifying Checksum 11:38:32 fc5181fea5dc: Download complete 11:38:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:38:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:38:37 ./bin/test-attribution-txt.sh [Pipeline] } 11:38:37 $ docker stop --time=1 340943100ba01aa9e20a2e38011fb21a970438266753e6270c7ad676e112f88b 11:38:39 $ docker rm -f 340943100ba01aa9e20a2e38011fb21a970438266753e6270c7ad676e112f88b [Pipeline] // withDockerContainer [Pipeline] sh 11:38:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:38:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:38:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:38:41 + ls -al . 11:38:41 total 116 11:38:41 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 13 11:38 . 11:38:41 drwxrwxr-x. 4 jenkins jenkins 28 Oct 13 11:37 .. 11:38:41 -rw-rw-r--. 1 jenkins jenkins 6792 Oct 13 11:37 Attribution.txt 11:38:41 drwxrwxr-x. 2 jenkins jenkins 37 Oct 13 11:37 bin 11:38:41 -rw-rw-r--. 1 jenkins jenkins 7459 Oct 13 11:37 CHANGELOG.md 11:38:41 drwxrwxr-x. 3 jenkins jenkins 32 Oct 13 11:37 cmd 11:38:41 -rw-r--r--. 1 jenkins jenkins 8435 Oct 13 11:38 coverage.out 11:38:41 -rw-rw-r--. 1 jenkins jenkins 1649 Oct 13 11:37 Dockerfile 11:38:41 -rw-rw-r--. 1 jenkins jenkins 151 Oct 13 11:37 .dockerignore 11:38:41 drwxrwxr-x. 2 jenkins jenkins 76 Oct 13 11:37 driver 11:38:41 drwxrwxr-x. 8 jenkins jenkins 179 Oct 13 11:37 .git 11:38:41 drwxrwxr-x. 2 jenkins jenkins 103 Oct 13 11:37 .github 11:38:41 -rw-rw-r--. 1 jenkins jenkins 329 Oct 13 11:37 .gitignore 11:38:41 -rw-rw-r--. 1 jenkins jenkins 271 Oct 13 11:37 go.mod 11:38:41 -rw-rw-r--. 1 jenkins jenkins 20570 Oct 13 11:37 go.sum 11:38:41 -rw-rw-r--. 1 jenkins jenkins 677 Oct 13 11:37 GOVERNANCE.md 11:38:41 -rw-rw-r--. 1 jenkins jenkins 680 Oct 13 11:37 Jenkinsfile 11:38:41 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 13 11:37 LICENSE 11:38:41 -rw-rw-r--. 1 jenkins jenkins 1078 Oct 13 11:37 Makefile 11:38:41 -rw-rw-r--. 1 jenkins jenkins 620 Oct 13 11:37 OWNERS.md 11:38:41 -rw-rw-r--. 1 jenkins jenkins 7661 Oct 13 11:37 README.md 11:38:41 drwxrwxr-x. 4 jenkins jenkins 71 Oct 13 11:37 snap 11:38:41 -rw-rw-r--. 1 jenkins jenkins 5 Oct 13 11:35 VERSION 11:38:41 -rw-rw-r--. 1 jenkins jenkins 713 Oct 13 11:37 version.go [Pipeline] isUnix [Pipeline] sh 11:38:41 + 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=d2bfa720847907ccc8297cdeca17aa1aafdd3b41 --label arch=amd64 --label version=0.0.0 . 11:38:41 Sending build context to Docker daemon 128kB 11:38:41 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 11:38:41 Step 2/24 : FROM ${BASE} AS builder 11:38:41 ---> a8dfc6d292c4 11:38:41 Step 3/24 : ARG MAKE='make build' 11:38:41 ---> Running in 948be2818793 11:38:41 Removing intermediate container 948be2818793 11:38:41 ---> ff2dee9b96b6 11:38:41 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:38:41 ---> Running in 3bfd123b92d5 11:38:42 Removing intermediate container 3bfd123b92d5 11:38:42 ---> 47ac492e67af 11:38:42 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 11:38:42 ---> Running in 3f5861c155d7 11:38:42 Removing intermediate container 3f5861c155d7 11:38:42 ---> 8a3f7b1c39ae 11:38:42 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:38:42 ---> Running in 563fa6aa30b2 11:38:42 fc5181fea5dc: Pull complete 11:38:42 Removing intermediate container 563fa6aa30b2 11:38:42 ---> 91037f6a14e5 11:38:42 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:38:42 ---> Running in dae33b7a6d7d 11:38:42 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 11:38:42 9c418107303f: Pull complete 11:38:43 284eca6f2348: Pull complete 11:38:43 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 11:38:43 842844d905b1: Pull complete 11:38:43 OK: 223 MiB in 55 packages 11:38:44 Removing intermediate container dae33b7a6d7d 11:38:44 ---> 311db27fcbaa 11:38:44 Step 8/24 : WORKDIR /device-rest-go 11:38:44 ---> Running in 0d55a2386cf5 11:38:44 Removing intermediate container 0d55a2386cf5 11:38:44 ---> 2927e58dfbcb 11:38:44 Step 9/24 : COPY . . 11:38:44 ---> 8288b8db3c7f 11:38:44 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:38:44 ---> Running in 1635415aa03c 11:38:44 Removing intermediate container 1635415aa03c 11:38:44 ---> c2d8e0620f92 11:38:44 Step 11/24 : RUN $MAKE 11:38:44 ---> Running in 2b54329e8892 11:38:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 11:38:49 901a3a57568e: Pull complete 11:38:49 Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 11:38:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 11:38:49 ---> 72ade6ffb461 11:38:49 Step 3/11 : ARG MAKE='make build' 11:38:53 ---> Running in cbbdf33bbd63 11:38:53 Removing intermediate container cbbdf33bbd63 11:38:53 ---> 1f0b8f58d148 11:38:53 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:38:53 ---> Running in e07e791c0f6c 11:38:54 Removing intermediate container e07e791c0f6c 11:38:54 ---> 5c1095dbc5b1 11:38:54 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 11:38:54 ---> Running in 1b01dd9622c6 11:38:55 Removing intermediate container 1b01dd9622c6 11:38:55 ---> ce3cf8f35989 11:38:55 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:38:55 ---> Running in 8c6a611f1d0c 11:38:57 Removing intermediate container 2b54329e8892 11:38:57 ---> 17467f6fd27b 11:38:57 Step 12/24 : FROM alpine:3.14 11:38:57 3.14: Pulling from library/alpine 11:38:57 a0d0a0d46f8b: Pulling fs layer 11:38:57 a0d0a0d46f8b: Verifying Checksum 11:38:57 a0d0a0d46f8b: Download complete 11:38:57 a0d0a0d46f8b: Pull complete 11:38:57 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 11:38:57 Status: Downloaded newer image for alpine:3.14 11:38:57 ---> 14119a10abf4 11:38:57 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:38:57 ---> Running in d7e0a10369c9 11:38:57 Removing intermediate container d7e0a10369c9 11:38:57 ---> 9bdbac18b196 11:38:57 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 11:38:57 ---> Running in 7afe9f620776 11:38:57 Removing intermediate container 7afe9f620776 11:38:57 ---> e971ac18a3f8 11:38:57 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 11:38:57 ---> Running in 9f5ea531d00d 11:38:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:38:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:38:57 Removing intermediate container 8c6a611f1d0c 11:38:57 ---> 66e709081b09 11:38:57 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:38:57 ---> Running in 66c51ad156e1 11:38:57 (1/6) Installing dumb-init (1.2.5-r1) 11:38:57 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:38:57 (3/6) Installing libsodium (1.0.18-r0) 11:38:57 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:38:57 (5/6) Installing libzmq (4.3.4-r0) 11:38:57 (6/6) Installing zeromq (4.3.4-r0) 11:38:57 Executing busybox-1.33.1-r3.trigger 11:38:57 OK: 8 MiB in 20 packages 11:38:58 Removing intermediate container 9f5ea531d00d 11:38:58 ---> 28f25e6d4e81 11:38:58 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 11:38:58 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 11:38:58 ---> 79e31d804132 11:38:58 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 11:38:58 ---> 3f65eb8e51eb 11:38:58 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 11:38:58 ---> 1604c288bbb2 11:38:58 Step 19/24 : EXPOSE 59986 11:38:58 ---> Running in bf0018d61272 11:38:58 Removing intermediate container bf0018d61272 11:38:58 ---> 94c6b3843bef 11:38:58 Step 20/24 : ENTRYPOINT ["/device-rest"] 11:38:58 ---> Running in 7419d32ac8a2 11:38:58 Removing intermediate container 7419d32ac8a2 11:38:58 ---> d52362e0546a 11:38:58 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:38:58 ---> Running in 6ffd324d8d9e 11:38:59 Removing intermediate container 6ffd324d8d9e 11:38:59 ---> f4c48d0fcc2e 11:38:59 Step 22/24 : LABEL arch=amd64 11:38:59 ---> Running in 26de4216a16a 11:38:59 Removing intermediate container 26de4216a16a 11:38:59 ---> 202fbca03f61 11:38:59 Step 23/24 : LABEL git_sha=d2bfa720847907ccc8297cdeca17aa1aafdd3b41 11:38:59 ---> Running in 4d81ffb817ac 11:38:59 Removing intermediate container 4d81ffb817ac 11:38:59 ---> 133f79751add 11:38:59 Step 24/24 : LABEL version=0.0.0 11:38:59 ---> Running in 8935a653f45a 11:38:59 Removing intermediate container 8935a653f45a 11:38:59 ---> e240f2500a71 11:38:59 [Warning] One or more build-args [ARCH] were not consumed 11:38:59 Successfully built e240f2500a71 11:38:59 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage 11:38:59 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [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 11:39:00 (1/3) Installing openssh-keygen (8.4_p1-r4) 11:39:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:39:00 11:39:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:39:00 (2/3) Installing libedit (20191231.3.1-r1) 11:39:00 (3/3) Installing openssh-client (8.4_p1-r4) 11:39:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:39:00 latest: Pulling from edgex-lftools-log-publisher 11:39:00 b4d181a07f80: Pulling fs layer 11:39:00 a1111a8f2ec3: Pulling fs layer 11:39:00 ed53099fbce6: Pulling fs layer 11:39:00 dc539afda2c1: Pulling fs layer 11:39:00 77bc0d833cb6: Pulling fs layer 11:39:00 9065ff56babe: Pulling fs layer 11:39:00 d287ab97295c: Pulling fs layer 11:39:00 77bc0d833cb6: Waiting 11:39:00 9065ff56babe: Waiting 11:39:00 d287ab97295c: Waiting 11:39:00 dc539afda2c1: Waiting 11:39:00 a1111a8f2ec3: Verifying Checksum 11:39:00 a1111a8f2ec3: Download complete 11:39:00 dc539afda2c1: Verifying Checksum 11:39:00 dc539afda2c1: Download complete 11:39:00 Executing busybox-1.32.1-r6.trigger 11:39:00 OK: 222 MiB in 55 packages 11:39:00 77bc0d833cb6: Verifying Checksum 11:39:00 77bc0d833cb6: Download complete 11:39:00 ed53099fbce6: Verifying Checksum 11:39:00 ed53099fbce6: Download complete 11:39:00 9065ff56babe: Verifying Checksum 11:39:00 9065ff56babe: Download complete 11:39:00 b4d181a07f80: Verifying Checksum 11:39:00 b4d181a07f80: Download complete 11:39:01 d287ab97295c: Verifying Checksum 11:39:01 d287ab97295c: Download complete 11:39:02 Removing intermediate container 66c51ad156e1 11:39:02 ---> 7db7e3b00202 11:39:02 Step 8/11 : WORKDIR /device-rest-go 11:39:02 ---> Running in 7ac7ad7cc13e 11:39:02 b4d181a07f80: Pull complete 11:39:02 a1111a8f2ec3: Pull complete 11:39:02 Removing intermediate container 7ac7ad7cc13e 11:39:02 ---> f4806ec60da7 11:39:02 Step 9/11 : COPY . . 11:39:03 ed53099fbce6: Pull complete 11:39:03 dc539afda2c1: Pull complete 11:39:03 77bc0d833cb6: Pull complete 11:39:03 9065ff56babe: Pull complete 11:39:03 ---> 6100cf2ce67a 11:39:03 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:39:03 ---> Running in 1c4efd21eac6 11:39:08 d287ab97295c: Pull complete 11:39:08 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 11:39:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:39:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:39:09 prd-centos7-docker-4c-2g-1030 does not seem to be running inside a container 11:39:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:39:11 $ docker top 17e83a174f4b6c4e4820be0a62433d34d08249090a61c3a399545fac4760a712 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:39:11 ---> job-cost.sh 11:39:11 lf-activate-venv: SKIPPING 11:39:11 INFO: No Stack... 11:39:12 INFO: Retrieving Pricing Info for: v3-standard-2 11:39:12 INFO: Archiving Costs [Pipeline] sh 11:39:12 + cat /w/workspace/device-rest-go/1/archives/cost.csv 11:39:12 + cut -d, -f6 [Pipeline] lock 11:39:12 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-139-1-stack-cost] 11:39:12 Resource [jenkins-edgexfoundry-device-rest-go-PR-139-1-stack-cost] did not exist. Created. 11:39:12 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-139-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:39:13 + echo total: 0.05999999865889549 [Pipeline] stash 11:39:13 Stashed 1 file(s) [Pipeline] } 11:39:13 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-139-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:39:13 $ docker stop --time=1 17e83a174f4b6c4e4820be0a62433d34d08249090a61c3a399545fac4760a712 11:39:14 $ docker rm -f 17e83a174f4b6c4e4820be0a62433d34d08249090a61c3a399545fac4760a712 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:39:30 Removing intermediate container 1c4efd21eac6 11:39:30 ---> 6d551e2df8eb 11:39:30 Step 11/11 : RUN $MAKE 11:39:30 ---> Running in 45bb1dfc1507 11:39:30 noop 11:39:30 Removing intermediate container 45bb1dfc1507 11:39:30 ---> b6835d8d99ab 11:39:30 Successfully built b6835d8d99ab 11:39:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:39:31 + docker inspect -f . ci-base-image-arm64 11:39:31 . [Pipeline] withDockerContainer 11:39:31 prd-ubuntu18.04-docker-arm64-4c-16g-1029 does not seem to be running inside a container 11:39:31 $ 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 ******** ci-base-image-arm64 cat 11:39:32 $ docker top c46f93246bf5cd6a30c4f53967fa388bad70369723e90c6e4d325b5e0dd5ca37 -eo pid,comm [Pipeline] { [Pipeline] sh 11:39:33 + go version 11:39:33 go version go1.16.8 linux/arm64 [Pipeline] } 11:39:33 $ docker stop --time=1 c46f93246bf5cd6a30c4f53967fa388bad70369723e90c6e4d325b5e0dd5ca37 11:39:35 $ docker rm -f c46f93246bf5cd6a30c4f53967fa388bad70369723e90c6e4d325b5e0dd5ca37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:39:36 + docker inspect -f . ci-base-image-arm64 11:39:36 . [Pipeline] withDockerContainer 11:39:36 prd-ubuntu18.04-docker-arm64-4c-16g-1029 does not seem to be running inside a container 11:39:36 $ 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 ******** ci-base-image-arm64 cat 11:39:38 $ docker top d1fb86e10f4befe168d52d332f4209f7137ec99170017c1de641ed87e1dd8608 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:39:39 + make test 11:39:39 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:39:40 ? github.com/edgexfoundry/device-rest-go [no test files] 11:40:37 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 11:40:37 ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 53.8% of statements 11:40:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:41:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:41:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:41:04 ./bin/test-attribution-txt.sh [Pipeline] } 11:41:04 $ docker stop --time=1 d1fb86e10f4befe168d52d332f4209f7137ec99170017c1de641ed87e1dd8608 11:41:06 $ docker rm -f d1fb86e10f4befe168d52d332f4209f7137ec99170017c1de641ed87e1dd8608 [Pipeline] // withDockerContainer [Pipeline] sh 11:41:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:41:07 Warning: overwriting stash ‘coverage-report’ 11:41:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:41:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:41:09 + ls -al . 11:41:09 total 144 11:41:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 11:41 . 11:41:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 11:38 .. 11:41:09 -rw-rw-r-- 1 jenkins jenkins 151 Oct 13 11:38 .dockerignore 11:41:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 11:38 .git 11:41:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 11:38 .github 11:41:09 -rw-rw-r-- 1 jenkins jenkins 329 Oct 13 11:38 .gitignore 11:41:09 -rw-rw-r-- 1 jenkins jenkins 6792 Oct 13 11:38 Attribution.txt 11:41:09 -rw-rw-r-- 1 jenkins jenkins 7459 Oct 13 11:38 CHANGELOG.md 11:41:09 -rw-rw-r-- 1 jenkins jenkins 1649 Oct 13 11:38 Dockerfile 11:41:09 -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 11:38 GOVERNANCE.md 11:41:09 -rw-rw-r-- 1 jenkins jenkins 680 Oct 13 11:38 Jenkinsfile 11:41:09 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 13 11:38 LICENSE 11:41:09 -rw-rw-r-- 1 jenkins jenkins 1078 Oct 13 11:38 Makefile 11:41:09 -rw-rw-r-- 1 jenkins jenkins 620 Oct 13 11:38 OWNERS.md 11:41:09 -rw-rw-r-- 1 jenkins jenkins 7661 Oct 13 11:38 README.md 11:41:09 -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 11:35 VERSION 11:41:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 11:38 bin 11:41:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 11:38 cmd 11:41:09 -rw-r--r-- 1 jenkins jenkins 8435 Oct 13 11:40 coverage.out 11:41:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 11:38 driver 11:41:09 -rw-rw-r-- 1 jenkins jenkins 271 Oct 13 11:38 go.mod 11:41:09 -rw-rw-r-- 1 jenkins jenkins 20570 Oct 13 11:38 go.sum 11:41:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 11:38 snap 11:41:09 -rw-rw-r-- 1 jenkins jenkins 713 Oct 13 11:38 version.go [Pipeline] isUnix [Pipeline] sh 11:41:09 + 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=d2bfa720847907ccc8297cdeca17aa1aafdd3b41 --label arch=arm64 --label version=0.0.0 . 11:41:09 Sending build context to Docker daemon 128kB 11:41:09 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 11:41:09 Step 2/24 : FROM ${BASE} AS builder 11:41:09 ---> b6835d8d99ab 11:41:09 Step 3/24 : ARG MAKE='make build' 11:41:09 ---> Running in 15c1821bc699 11:41:10 Removing intermediate container 15c1821bc699 11:41:10 ---> ef80d254a4b9 11:41:10 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:41:10 ---> Running in c0fb35fbfe46 11:41:10 Removing intermediate container c0fb35fbfe46 11:41:10 ---> 9774e4c2de9a 11:41:10 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 11:41:11 ---> Running in d8deccd31266 11:41:11 Removing intermediate container d8deccd31266 11:41:11 ---> c0223d53dd13 11:41:11 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:41:11 ---> Running in 08fd5e1ab220 11:41:13 Removing intermediate container 08fd5e1ab220 11:41:13 ---> 581d0833b60c 11:41:13 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:41:13 ---> Running in ae79d9e213d1 11:41:14 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 11:41:16 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 11:41:16 OK: 222 MiB in 55 packages 11:41:17 Removing intermediate container ae79d9e213d1 11:41:17 ---> 7ce417f0e3c8 11:41:17 Step 8/24 : WORKDIR /device-rest-go 11:41:17 ---> Running in 9046bbbfedd0 11:41:18 Removing intermediate container 9046bbbfedd0 11:41:18 ---> 969498dbcffa 11:41:18 Step 9/24 : COPY . . 11:41:19 ---> f08785e2c35a 11:41:19 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:41:19 ---> Running in 578400cb9566 11:41:21 Removing intermediate container 578400cb9566 11:41:21 ---> 2eea3130ef99 11:41:21 Step 11/24 : RUN $MAKE 11:41:21 ---> Running in f58e774e603a 11:41:22 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 11:42:01 Removing intermediate container f58e774e603a 11:42:01 ---> 5685b5f84b7e 11:42:01 Step 12/24 : FROM alpine:3.14 11:42:01 3.14: Pulling from library/alpine 11:42:01 552d1f2373af: Pulling fs layer 11:42:01 552d1f2373af: Verifying Checksum 11:42:01 552d1f2373af: Download complete 11:42:01 552d1f2373af: Pull complete 11:42:01 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 11:42:01 Status: Downloaded newer image for alpine:3.14 11:42:01 ---> bb3de5531c18 11:42:01 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:42:01 ---> Running in 601bb5c2bb26 11:42:01 Removing intermediate container 601bb5c2bb26 11:42:01 ---> c8c19bd8dcce 11:42:01 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 11:42:01 ---> Running in ca897bc8ebab 11:42:01 Removing intermediate container ca897bc8ebab 11:42:01 ---> 8aa9aebfb156 11:42:01 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 11:42:01 ---> Running in 636eeedda691 11:42:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:42:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:42:02 (1/6) Installing dumb-init (1.2.5-r1) 11:42:02 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:42:02 (3/6) Installing libsodium (1.0.18-r0) 11:42:02 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:42:02 (5/6) Installing libzmq (4.3.4-r0) 11:42:02 (6/6) Installing zeromq (4.3.4-r0) 11:42:02 Executing busybox-1.33.1-r3.trigger 11:42:02 OK: 8 MiB in 20 packages 11:42:03 Removing intermediate container 636eeedda691 11:42:03 ---> 0bd704168689 11:42:03 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 11:42:05 ---> 971b3182013e 11:42:05 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 11:42:05 ---> d87243c8e6f8 11:42:05 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 11:42:06 ---> 7433f5ea3a78 11:42:06 Step 19/24 : EXPOSE 59986 11:42:06 ---> Running in c6a3087f932a 11:42:06 Removing intermediate container c6a3087f932a 11:42:06 ---> 078308d95da2 11:42:06 Step 20/24 : ENTRYPOINT ["/device-rest"] 11:42:07 ---> Running in c9867eeeb4f1 11:42:07 Removing intermediate container c9867eeeb4f1 11:42:07 ---> 1893bf8dace2 11:42:07 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:42:07 ---> Running in db7836a3238d 11:42:08 Removing intermediate container db7836a3238d 11:42:08 ---> d6ddfe2a7b59 11:42:08 Step 22/24 : LABEL arch=arm64 11:42:08 ---> Running in 0f379f082b28 11:42:09 Removing intermediate container 0f379f082b28 11:42:09 ---> cc778b7e1309 11:42:09 Step 23/24 : LABEL git_sha=d2bfa720847907ccc8297cdeca17aa1aafdd3b41 11:42:09 ---> Running in 47102a1db354 11:42:09 Removing intermediate container 47102a1db354 11:42:09 ---> c889daecb210 11:42:09 Step 24/24 : LABEL version=0.0.0 11:42:09 ---> Running in c77d8a21d65e 11:42:10 Removing intermediate container c77d8a21d65e 11:42:10 ---> f017a442a4ac 11:42:10 [Warning] One or more build-args [ARCH] were not consumed 11:42:10 Successfully built f017a442a4ac 11:42:10 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 11:42:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:42:11 11:42:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:42:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:42:12 arm64: Pulling from edgex-lftools-log-publisher 11:42:12 448f6bf000e3: Pulling fs layer 11:42:12 f757da607395: Pulling fs layer 11:42:12 05883995daec: Pulling fs layer 11:42:12 8603b9c90790: Pulling fs layer 11:42:12 1560dd03e051: Pulling fs layer 11:42:12 27f5ce0e4adf: Pulling fs layer 11:42:12 c2d8d7efcc4b: Pulling fs layer 11:42:12 8603b9c90790: Waiting 11:42:12 1560dd03e051: Waiting 11:42:12 27f5ce0e4adf: Waiting 11:42:12 c2d8d7efcc4b: Waiting 11:42:12 f757da607395: Verifying Checksum 11:42:12 f757da607395: Download complete 11:42:12 8603b9c90790: Verifying Checksum 11:42:12 8603b9c90790: Download complete 11:42:12 05883995daec: Verifying Checksum 11:42:12 05883995daec: Download complete 11:42:12 27f5ce0e4adf: Verifying Checksum 11:42:12 27f5ce0e4adf: Download complete 11:42:12 1560dd03e051: Verifying Checksum 11:42:12 1560dd03e051: Download complete 11:42:12 448f6bf000e3: Verifying Checksum 11:42:12 448f6bf000e3: Download complete 11:42:15 c2d8d7efcc4b: Verifying Checksum 11:42:15 c2d8d7efcc4b: Download complete 11:42:16 448f6bf000e3: Pull complete 11:42:17 f757da607395: Pull complete 11:42:18 05883995daec: Pull complete 11:42:19 8603b9c90790: Pull complete 11:42:20 1560dd03e051: Pull complete 11:42:20 27f5ce0e4adf: Pull complete 11:42:35 c2d8d7efcc4b: Pull complete 11:42:35 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 11:42:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:42:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:42:35 prd-ubuntu18.04-docker-arm64-4c-16g-1029 does not seem to be running inside a container 11:42:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:42:39 $ docker top c90df105d30cbea9a463b53ef59e6c69867bb3f250a1ecd0f436c05db68903d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:42:40 ---> job-cost.sh 11:42:40 lf-activate-venv: SKIPPING 11:42:40 INFO: No Stack... 11:42:40 INFO: Retrieving Pricing Info for: v3-standard-4 11:42:41 INFO: Archiving Costs [Pipeline] sh 11:42:41 + cat /w/workspace/device-rest-go/1/archives/cost.csv 11:42:41 + cut -d, -f6 [Pipeline] lock 11:42:42 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-139-1-stack-cost] 11:42:42 Resource [jenkins-edgexfoundry-device-rest-go-PR-139-1-stack-cost] did not exist. Created. 11:42:42 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-139-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:42:42 /w/workspace/device-rest-go/1@tmp/durable-70f23702/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-70f23702/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 11:42:43 + echo total: 0.10999999940395355 [Pipeline] stash 11:42:43 Warning: overwriting stash ‘stack-cost’ 11:42:43 Stashed 1 file(s) [Pipeline] } 11:42:43 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-139-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:42:43 $ docker stop --time=1 c90df105d30cbea9a463b53ef59e6c69867bb3f250a1ecd0f436c05db68903d5 11:42:45 $ docker rm -f c90df105d30cbea9a463b53ef59e6c69867bb3f250a1ecd0f436c05db68903d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:42:46 provisioning config files... 11:42:46 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-139@tmp/config4492490888499476782tmp [Pipeline] { [Pipeline] sh 11:42:46 + set +x 11:42:46 + curl -s https://codecov.io/bash 11:42:46 + bash -s -- 11:42:46 11:42:46 _____ _ 11:42:46 / ____| | | 11:42:46 | | ___ __| | ___ ___ _____ __ 11:42:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:42:46 | |___| (_) | (_| | __/ (_| (_) \ V / 11:42:46 \_____\___/ \__,_|\___|\___\___/ \_/ 11:42:46 Bash-1.0.6 11:42:46 11:42:46 11:42:46 ==> git version 2.24.4 found 11:42:46 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 11:42:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 11:42:46 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 11:42:46 ==> Jenkins CI detected. 11:42:46 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-139 11:42:46 project root: . 11:42:46 --> token set from env 11:42:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:42:46 ==> Running gcov in . (disable via -X gcov) 11:42:46 ==> Python coveragepy not found 11:42:46 ==> Searching for coverage reports in: 11:42:46 + . 11:42:46 -> Found 1 reports 11:42:46 ==> Detecting git/mercurial file structure 11:42:46 ==> Reading reports 11:42:46 + ./coverage.out bytes=8435 11:42:46 ==> Appending adjustments 11:42:46 https://docs.codecov.io/docs/fixing-reports 11:42:46 + Found adjustments 11:42:46 ==> Gzipping contents 11:42:46 4.0K /tmp/codecov.hYgh6e.gz 11:42:46 ==> Uploading reports 11:42:46 url: https://codecov.io 11:42:46 query: branch=PR-139&commit=d2bfa720847907ccc8297cdeca17aa1aafdd3b41&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-139%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=139&job=&cmd_args= 11:42:46 -> Pinging Codecov 11:42:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-139&commit=d2bfa720847907ccc8297cdeca17aa1aafdd3b41&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-139%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=139&job=&cmd_args= 11:42:47 -> Uploading to 11:42:47 https://storage.googleapis.com/codecov/v4/raw/2021-10-13/4E5D53B4F1F92C436F7061BF334D961C/d2bfa720847907ccc8297cdeca17aa1aafdd3b41/cd7ecfd8-c780-4c31-b584-c04258176bc1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211013T114247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=563a96ed25d355107692bd25441095c07285f15fbec20dd009cda7c01ae7f5d0 11:42:47 % Total % Received % Xferd Average Speed Time Time Time Current 11:42:47 Dload Upload Total Spent Left Speed 11:42:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1741 0 0 100 1741 0 4972 --:--:-- --:--:-- --:--:-- 4974 100 1741 0 0 100 1741 0 4970 --:--:-- --:--:-- --:--:-- 4960 11:42:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d2bfa720847907ccc8297cdeca17aa1aafdd3b41 [Pipeline] } 11:42:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:42:49 + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-139/archives ']' [Pipeline] libraryResource [Pipeline] sh 11:42:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:42:50 ---> package-listing.sh 11:42:50 ++ facter osfamily 11:42:50 ++ tr '[:upper:]' '[:lower:]' 11:42:50 + OS_FAMILY=redhat 11:42:50 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-139 11:42:50 + START_PACKAGES=/tmp/packages_start.txt 11:42:50 + END_PACKAGES=/tmp/packages_end.txt 11:42:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:42:50 + PACKAGES=/tmp/packages_start.txt 11:42:50 + '[' /w/workspace/gexfoundry_device-rest-go_PR-139 ']' 11:42:50 + PACKAGES=/tmp/packages_end.txt 11:42:50 + case "${OS_FAMILY}" in 11:42:50 + sort 11:42:50 + rpm -qa 11:42:51 + '[' -f /tmp/packages_start.txt ']' 11:42:51 + '[' -f /tmp/packages_end.txt ']' 11:42:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:42:51 + '[' /w/workspace/gexfoundry_device-rest-go_PR-139 ']' 11:42:51 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-139/archives/ 11:42:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-139/archives/ [Pipeline] echo 11:42:51 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-139/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:42:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:42:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:42:52 11:42:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:42:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:42:52 latest: Pulling from edgex-lftools-log-publisher 11:42:52 b4d181a07f80: Pulling fs layer 11:42:52 a1111a8f2ec3: Pulling fs layer 11:42:52 ed53099fbce6: Pulling fs layer 11:42:52 dc539afda2c1: Pulling fs layer 11:42:52 77bc0d833cb6: Pulling fs layer 11:42:52 9065ff56babe: Pulling fs layer 11:42:52 d287ab97295c: Pulling fs layer 11:42:52 77bc0d833cb6: Waiting 11:42:52 9065ff56babe: Waiting 11:42:52 d287ab97295c: Waiting 11:42:52 dc539afda2c1: Waiting 11:42:52 a1111a8f2ec3: Verifying Checksum 11:42:52 a1111a8f2ec3: Download complete 11:42:52 dc539afda2c1: Verifying Checksum 11:42:52 dc539afda2c1: Download complete 11:42:53 ed53099fbce6: Verifying Checksum 11:42:53 ed53099fbce6: Download complete 11:42:53 77bc0d833cb6: Verifying Checksum 11:42:53 77bc0d833cb6: Download complete 11:42:53 9065ff56babe: Verifying Checksum 11:42:53 9065ff56babe: Download complete 11:42:53 b4d181a07f80: Verifying Checksum 11:42:53 b4d181a07f80: Download complete 11:42:53 d287ab97295c: Verifying Checksum 11:42:53 d287ab97295c: Download complete 11:42:54 b4d181a07f80: Pull complete 11:42:54 a1111a8f2ec3: Pull complete 11:42:55 ed53099fbce6: Pull complete 11:42:55 dc539afda2c1: Pull complete 11:42:55 77bc0d833cb6: Pull complete 11:42:55 9065ff56babe: Pull complete 11:43:01 d287ab97295c: Pull complete 11:43:01 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 11:43:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:43:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:43:01 prd-centos7-docker-4c-2g-1028 does not seem to be running inside a container 11:43:01 $ 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-139/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-139 -v /w/workspace/gexfoundry_device-rest-go_PR-139:/w/workspace/gexfoundry_device-rest-go_PR-139:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-139@tmp:/w/workspace/gexfoundry_device-rest-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:43:03 $ docker top 706f12a5c41b9952a2714809acf83bd319e2b405650739cb883ca59307386d4f -eo pid,comm [Pipeline] { [Pipeline] sh 11:43:03 + touch /tmp/pre-build-complete [Pipeline] sh 11:43:04 + mkdir -p /var/log/sysstat [Pipeline] sh 11:43:04 + ls /var/log/sa-host 11:43:04 + sadf -c /var/log/sa-host/sa13 11:43:04 file_magic: OK 11:43:04 HZ: Using current value: 100 11:43:04 file_header: OK 11:43:04 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 11:43:04 Statistics: 11:43:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:43:04 File successfully converted to sysstat format version 12.0.3 11:43:04 + sadf -c /var/log/sa-host/sa30 11:43:04 file_magic: OK 11:43:04 HZ: Using current value: 100 11:43:04 file_header: OK 11:43:04 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 11:43:04 Statistics: 11:43:04 Hnuu...uuuununununu...Hnuu...uuuununununu... 11:43:04 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:43:04 provisioning config files... 11:43:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-139@tmp/config4117039719817596504tmp [Pipeline] { [Pipeline] echo 11:43:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:43:05 ---> create-netrc.sh [Pipeline] } 11:43:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:43:05 ---> python-tools-install.sh [Pipeline] echo 11:43:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:43:05 ---> sudo-logs.sh 11:43:05 Archiving 'sudo' log.. 11:43:05 sudo: unable to resolve host prd-centos7-docker-4c-2g-1028.novalocal: Name or service not known 11:43:05 sudo: unable to resolve host prd-centos7-docker-4c-2g-1028.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 11:43:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:43:06 ---> job-cost.sh 11:43:06 lf-activate-venv: SKIPPING 11:43:06 DEBUG: total: 0.10999999940395355 11:43:06 INFO: Retrieving Stack Cost... 11:43:08 INFO: Retrieving Pricing Info for: v3-standard-2 11:43:08 INFO: Archiving Costs [Pipeline] echo 11:43:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:43:08 ---> logs-deploy.sh 11:43:08 lf-activate-venv: SKIPPING 11:43:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-139/1 11:43:08 INFO: archiving workspace using pattern(s): 11:43:09 Archives upload complete. 11:43:09 INFO: archiving logs to Nexus 11:43:10 ---> uname -a: 11:43:10 Linux prd-centos7-docker-4c-2g-1028.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 11:43:10 11:43:10 11:43:10 ---> lscpu: 11:43:10 Architecture: x86_64 11:43:10 CPU op-mode(s): 32-bit, 64-bit 11:43:10 Byte Order: Little Endian 11:43:10 Address sizes: 40 bits physical, 48 bits virtual 11:43:10 CPU(s): 2 11:43:10 On-line CPU(s) list: 0,1 11:43:10 Thread(s) per core: 1 11:43:10 Core(s) per socket: 1 11:43:10 Socket(s): 2 11:43:10 NUMA node(s): 1 11:43:10 Vendor ID: AuthenticAMD 11:43:10 CPU family: 23 11:43:10 Model: 49 11:43:10 Model name: AMD EPYC-Rome Processor 11:43:10 Stepping: 0 11:43:10 CPU MHz: 2799.998 11:43:10 BogoMIPS: 5599.99 11:43:10 Virtualization: AMD-V 11:43:10 Hypervisor vendor: KVM 11:43:10 Virtualization type: full 11:43:10 L1d cache: 32K 11:43:10 L1i cache: 32K 11:43:10 L2 cache: 512K 11:43:10 L3 cache: 16384K 11:43:10 NUMA node0 CPU(s): 0,1 11:43:10 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 11:43:10 11:43:10 11:43:10 ---> nproc: 11:43:10 2 11:43:10 11:43:10 11:43:10 ---> df -h: 11:43:10 Filesystem Size Used Avail Use% Mounted on 11:43:10 overlay 40G 7.7G 33G 20% / 11:43:10 tmpfs 64M 0 64M 0% /dev 11:43:10 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 11:43:10 shm 64M 0 64M 0% /dev/shm 11:43:10 /dev/vda1 40G 7.7G 33G 20% /facter-os 11:43:10 11:43:10 11:43:10 ---> sar -b -r -n DEV: 11:43:10 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/13/21 _x86_64_ (2 CPU) 11:43:10 11:43:10 11:34:42 LINUX RESTART (2 CPU) 11:43:10 11:43:10 11:35:01 tps rtps wtps bread/s bwrtn/s 11:43:10 11:36:01 97.97 18.22 79.75 5330.54 4420.61 11:43:10 11:37:01 1.57 0.00 1.57 0.00 28.59 11:43:10 11:38:01 0.30 0.00 0.30 0.00 3.93 11:43:10 11:39:01 0.22 0.00 0.22 0.00 3.23 11:43:10 11:40:01 0.27 0.00 0.27 0.00 3.63 11:43:10 11:41:01 0.27 0.00 0.27 0.00 4.15 11:43:10 11:42:01 0.18 0.00 0.18 0.00 2.17 11:43:10 11:43:01 18.52 0.20 18.32 15.85 2352.87 11:43:10 Average: 14.91 2.30 12.61 668.45 852.54 11:43:10 11:43:10 11:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:43:10 11:36:01 5672764 0 622956 7.78 2620 1710592 1267908 14.00 571916 1529904 128 11:43:10 11:37:01 5685376 0 610336 7.62 2620 1710600 1162608 12.84 561476 1529868 16 11:43:10 11:38:01 5687404 0 608308 7.60 2620 1710600 1163200 12.84 558792 1530052 20 11:43:10 11:39:01 5683452 0 612252 7.64 2620 1710608 1163248 12.84 562928 1530052 16 11:43:10 11:40:01 5689308 0 606388 7.57 2620 1710616 1162864 12.84 556884 1531004 16 11:43:10 11:41:01 5688740 0 606952 7.58 2620 1710620 1162960 12.84 557524 1531008 20 11:43:10 11:42:01 5687604 0 608084 7.59 2620 1710624 1162912 12.84 558344 1531004 16 11:43:10 11:43:01 5044408 0 760892 9.50 2620 2201012 1329804 14.68 770380 1868696 419896 11:43:10 Average: 5604882 0 629521 7.86 2620 1771909 1196938 13.21 587280 1572698 52516 11:43:10 11:43:10 11:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:43:10 11:36:01 eth0 439.91 275.54 1231.32 75.73 0.00 0.00 0.00 0.00 11:43:10 11:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:43:10 11:36:01 docker0 27.76 15.48 2.76 132.94 0.00 0.00 0.00 0.00 11:43:10 11:37:01 eth0 0.75 0.10 0.06 0.02 0.00 0.00 0.00 0.00 11:43:10 11:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:43:10 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:43:10 11:38:01 eth0 4.16 1.67 3.53 0.22 0.00 0.00 0.00 0.00 11:43:10 11:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:43:10 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:43:10 11:39:01 eth0 0.50 0.33 0.27 0.26 0.00 0.00 0.00 0.00 11:43:10 11:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:43:10 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:43:10 11:40:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 11:43:10 11:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:43:10 11:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:43:10 11:41:01 eth0 0.23 0.22 0.08 0.07 0.00 0.00 0.00 0.00 11:43:10 11:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:43:10 11:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:43:10 11:42:01 eth0 0.22 0.20 0.07 0.01 0.00 0.00 0.00 0.00 11:43:10 11:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:43:10 11:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:43:10 11:43:01 eth0 108.98 64.86 2600.82 11.86 0.00 0.00 0.00 0.00 11:43:10 11:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:43:10 11:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:43:10 Average: eth0 69.37 42.89 479.58 11.03 0.00 0.00 0.00 0.00 11:43:10 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:43:10 Average: docker0 3.47 1.94 0.35 16.62 0.00 0.00 0.00 0.00 11:43:10 11:43:10 11:43:10 ---> sar -P ALL: 11:43:10 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/13/21 _x86_64_ (2 CPU) 11:43:10 11:43:10 11:34:42 LINUX RESTART (2 CPU) 11:43:10 11:43:10 11:35:01 CPU %user %nice %system %iowait %steal %idle 11:43:10 11:36:01 all 16.52 0.00 4.13 2.16 0.06 77.12 11:43:10 11:36:01 0 15.93 0.00 4.74 2.49 0.07 76.77 11:43:10 11:36:01 1 17.12 0.00 3.52 1.84 0.05 77.47 11:43:10 11:37:01 all 0.30 0.00 0.08 0.00 0.03 99.60 11:43:10 11:37:01 0 0.13 0.00 0.07 0.00 0.03 99.77 11:43:10 11:37:01 1 0.47 0.00 0.08 0.00 0.02 99.43 11:43:10 11:38:01 all 0.30 0.00 0.09 0.00 0.00 99.61 11:43:10 11:38:01 0 0.28 0.00 0.10 0.00 0.00 99.62 11:43:10 11:38:01 1 0.32 0.00 0.08 0.00 0.00 99.60 11:43:10 11:39:01 all 0.27 0.00 0.03 0.00 0.02 99.68 11:43:10 11:39:01 0 0.08 0.00 0.05 0.00 0.02 99.85 11:43:10 11:39:01 1 0.45 0.00 0.02 0.00 0.02 99.52 11:43:10 11:40:01 all 0.28 0.00 0.05 0.00 0.01 99.66 11:43:10 11:40:01 0 0.17 0.00 0.05 0.00 0.02 99.77 11:43:10 11:40:01 1 0.40 0.00 0.05 0.00 0.00 99.55 11:43:10 11:41:01 all 0.21 0.00 0.07 0.00 0.02 99.71 11:43:10 11:41:01 0 0.35 0.00 0.05 0.00 0.02 99.58 11:43:10 11:41:01 1 0.07 0.00 0.08 0.00 0.02 99.83 11:43:10 11:42:01 all 0.16 0.00 0.04 0.00 0.02 99.78 11:43:10 11:42:01 0 0.25 0.00 0.03 0.00 0.00 99.72 11:43:10 11:42:01 1 0.07 0.00 0.05 0.00 0.03 99.85 11:43:10 11:43:01 all 9.17 0.00 3.29 0.16 0.03 87.35 11:43:10 11:43:01 0 9.30 0.00 3.28 0.17 0.03 87.21 11:43:10 11:43:01 1 9.03 0.00 3.30 0.15 0.02 87.50 11:43:10 Average: all 3.34 0.00 0.96 0.28 0.02 95.40 11:43:10 Average: 0 3.25 0.00 1.03 0.33 0.02 95.37 11:43:10 Average: 1 3.43 0.00 0.88 0.24 0.02 95.43 11:43:10 11:43:10 11:43:10