Pull request #971 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7359c27f1919bf5fefd45f83f462395d5b907848+4e049b0e61ed820b8a848f7dbb8d7ec208be4474 (13902c4f9e804527260f693696dc50740d1ca51c) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7826465597405652372.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3443651698878420757.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3786433860655883579.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1889523060577378308.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6045337504315297947.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1248 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-971 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh7942718072654656901.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh8652968993073230190.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4e049b0e61ed820b8a848f7dbb8d7ec208be4474 into PR head commit 7359c27f1919bf5fefd45f83f462395d5b907848 Merge succeeded, producing 7359c27f1919bf5fefd45f83f462395d5b907848 Checking out Revision 7359c27f1919bf5fefd45f83f462395d5b907848 (PR-971) > git config core.sparsecheckout # timeout=10 > git checkout -f 7359c27f1919bf5fefd45f83f462395d5b907848 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh5131792531602644215.key > git merge 4e049b0e61ed820b8a848f7dbb8d7ec208be4474 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7359c27f1919bf5fefd45f83f462395d5b907848 # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-24T18:22:35.157Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-24T18:22:35.248Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-24T18:22:35.278Z] ========================================================= [2021-06-24T18:22:35.278Z] EdgeX Global Pipelines Version Info [2021-06-24T18:22:35.278Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 # timeout=10 [2021-06-24T18:22:36.671Z] ------------------- [2021-06-24T18:22:36.671Z] stable info: [2021-06-24T18:22:36.671Z] ------------------- [2021-06-24T18:22:36.671Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-24T18:22:36.671Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T18:22:36.671Z] Message: update stable to v1.0.195 [2021-06-24T18:22:37.244Z] ------------------- [2021-06-24T18:22:37.244Z] experimental info: [2021-06-24T18:22:37.244Z] ------------------- [2021-06-24T18:22:37.244Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-24T18:22:37.244Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T18:22:37.244Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-24T18:22:39.536Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-24T18:22:39.563Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-24T18:22:39.589Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-24T18:22:39.615Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-24T18:22:39.643Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-24T18:22:39.672Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-24T18:22:39.703Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-24T18:22:39.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-24T18:22:39.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-24T18:22:39.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-24T18:22:39.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-24T18:22:39.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-24T18:22:39.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-24T18:22:39.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-24T18:22:39.908Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-24T18:22:39.934Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T18:22:39.959Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T18:22:39.986Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T18:22:40.013Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-24T18:22:40.039Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-24T18:22:40.065Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-24T18:22:40.089Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-24T18:22:40.112Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-24T18:22:40.137Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-24T18:22:40.163Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-24T18:22:40.187Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-24T18:22:40.211Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-971 [Pipeline] echo [2021-06-24T18:22:40.234Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-971 [Pipeline] echo [2021-06-24T18:22:40.302Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-971 [Pipeline] echo [2021-06-24T18:22:40.327Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7359c27f1919bf5fefd45f83f462395d5b907848 [Pipeline] echo [2021-06-24T18:22:40.352Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7359c27 [Pipeline] echo [2021-06-24T18:22:40.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T18:22:40.463Z] provisioning config files... [2021-06-24T18:22:40.484Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config8668258741422758697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:22:40.818Z] ---> docker-login.sh [2021-06-24T18:22:40.818Z] nexus3.edgexfoundry.org:10001 [2021-06-24T18:22:40.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:22:41.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:22:41.082Z] Configure a credential helper to remove this warning. See [2021-06-24T18:22:41.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:22:41.082Z] [2021-06-24T18:22:41.082Z] Login Succeeded [2021-06-24T18:22:41.082Z] nexus3.edgexfoundry.org:10002 [2021-06-24T18:22:41.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:22:41.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:22:41.082Z] Configure a credential helper to remove this warning. See [2021-06-24T18:22:41.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:22:41.082Z] [2021-06-24T18:22:41.082Z] Login Succeeded [2021-06-24T18:22:41.082Z] nexus3.edgexfoundry.org:10003 [2021-06-24T18:22:41.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:22:41.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:22:41.351Z] Configure a credential helper to remove this warning. See [2021-06-24T18:22:41.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:22:41.351Z] [2021-06-24T18:22:41.351Z] Login Succeeded [2021-06-24T18:22:41.351Z] nexus3.edgexfoundry.org:10004 [2021-06-24T18:22:41.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:22:41.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:22:41.351Z] Configure a credential helper to remove this warning. See [2021-06-24T18:22:41.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:22:41.351Z] [2021-06-24T18:22:41.351Z] Login Succeeded [2021-06-24T18:22:41.351Z] docker.io [2021-06-24T18:22:41.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:22:41.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:22:41.897Z] Configure a credential helper to remove this warning. See [2021-06-24T18:22:41.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:22:41.897Z] [2021-06-24T18:22:41.897Z] Login Succeeded [2021-06-24T18:22:41.897Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T18:22:41.905Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T18:22:42.425Z] + git log --format=format:%s -1 7359c27f1919bf5fefd45f83f462395d5b907848 [Pipeline] echo [2021-06-24T18:22:42.462Z] GIT_COMMIT: 7359c27f1919bf5fefd45f83f462395d5b907848, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3 [Pipeline] echo [2021-06-24T18:22:42.476Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:22:43.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T18:22:43.064Z] [2021-06-24T18:22:43.064Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:22:43.380Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T18:22:43.380Z] latest: Pulling from edgex-devops/git-semver [2021-06-24T18:22:43.380Z] 31603596830f: Pulling fs layer [2021-06-24T18:22:43.380Z] 54011a49482f: Pulling fs layer [2021-06-24T18:22:43.380Z] a6820b24f6d8: Pulling fs layer [2021-06-24T18:22:43.380Z] f581987b2513: Pulling fs layer [2021-06-24T18:22:43.380Z] f581987b2513: Waiting [2021-06-24T18:22:43.380Z] 54011a49482f: Verifying Checksum [2021-06-24T18:22:43.380Z] 54011a49482f: Download complete [2021-06-24T18:22:43.380Z] 31603596830f: Verifying Checksum [2021-06-24T18:22:43.380Z] 31603596830f: Download complete [2021-06-24T18:22:43.645Z] f581987b2513: Verifying Checksum [2021-06-24T18:22:43.645Z] f581987b2513: Download complete [2021-06-24T18:22:43.645Z] a6820b24f6d8: Verifying Checksum [2021-06-24T18:22:43.645Z] a6820b24f6d8: Download complete [2021-06-24T18:22:43.645Z] 31603596830f: Pull complete [2021-06-24T18:22:43.645Z] 54011a49482f: Pull complete [2021-06-24T18:22:44.594Z] a6820b24f6d8: Pull complete [2021-06-24T18:22:44.594Z] f581987b2513: Pull complete [2021-06-24T18:22:44.594Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-24T18:22:44.594Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T18:22:44.594Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-24T18:22:44.675Z] prd-centos7-docker-4c-2g-1248 does not seem to be running inside a container [2021-06-24T18:22:44.715Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@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 [2021-06-24T18:22:45.837Z] $ docker top 5d50b29b74f2b20af271ee5d6201d84de723220e82387759952fc74560f4e09a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-24T18:22:45.972Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T18:22:45.972Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T18:22:46.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T18:22:46.087Z] $ docker exec 5d50b29b74f2b20af271ee5d6201d84de723220e82387759952fc74560f4e09a ssh-agent [2021-06-24T18:22:46.207Z] SSH_AUTH_SOCK=/tmp/ssh-lOigh8oxSwkd/agent.14 [2021-06-24T18:22:46.207Z] SSH_AGENT_PID=21 [2021-06-24T18:22:46.215Z] Running ssh-add (command line suppressed) [2021-06-24T18:22:46.314Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_1284678428116186092.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_1284678428116186092.key) [2021-06-24T18:22:46.333Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T18:22:46.636Z] + git tag --points-at HEAD [Pipeline] } [2021-06-24T18:22:46.647Z] $ docker exec --env ******** --env ******** 5d50b29b74f2b20af271ee5d6201d84de723220e82387759952fc74560f4e09a ssh-agent -k [2021-06-24T18:22:46.750Z] unset SSH_AUTH_SOCK; [2021-06-24T18:22:46.750Z] unset SSH_AGENT_PID; [2021-06-24T18:22:46.750Z] echo Agent pid 21 killed; [2021-06-24T18:22:46.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-24T18:22:46.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T18:22:46.809Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T18:22:46.930Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T18:22:46.929Z] $ docker exec 5d50b29b74f2b20af271ee5d6201d84de723220e82387759952fc74560f4e09a ssh-agent [2021-06-24T18:22:47.045Z] SSH_AUTH_SOCK=/tmp/ssh-1VmYBg76UHpF/agent.55 [2021-06-24T18:22:47.045Z] SSH_AGENT_PID=61 [2021-06-24T18:22:47.051Z] Running ssh-add (command line suppressed) [2021-06-24T18:22:47.140Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_3523050795191962990.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_3523050795191962990.key) [2021-06-24T18:22:47.159Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T18:22:49.708Z] + git semver init [2021-06-24T18:22:49.708Z] # -> Open(): unable to determine branch for HEAD [2021-06-24T18:22:49.708Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.git [2021-06-24T18:22:49.708Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-24T18:22:49.708Z] # $SEMVER_REMOTE_NAME = origin [2021-06-24T18:22:49.708Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-24T18:22:49.708Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-24T18:22:49.708Z] # $SEMVER_BRANCH = PR-971 [2021-06-24T18:22:49.708Z] # $SEMVER_TEMP = /tmp/semver-936167789 [2021-06-24T18:22:49.708Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-24T18:22:50.282Z] # '/tmp/semver-936167789' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver' [2021-06-24T18:22:50.282Z] # -> Force: false [2021-06-24T18:22:50.282Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver [Pipeline] } [2021-06-24T18:22:50.290Z] $ docker exec --env ******** --env ******** 5d50b29b74f2b20af271ee5d6201d84de723220e82387759952fc74560f4e09a ssh-agent -k [2021-06-24T18:22:50.384Z] unset SSH_AUTH_SOCK; [2021-06-24T18:22:50.385Z] unset SSH_AGENT_PID; [2021-06-24T18:22:50.385Z] echo Agent pid 61 killed; [2021-06-24T18:22:50.399Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-24T18:22:50.741Z] + git semver [Pipeline] } [2021-06-24T18:22:50.751Z] $ docker stop --time=1 5d50b29b74f2b20af271ee5d6201d84de723220e82387759952fc74560f4e09a [2021-06-24T18:22:52.081Z] $ docker rm -f 5d50b29b74f2b20af271ee5d6201d84de723220e82387759952fc74560f4e09a [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T18:22:52.458Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-24T18:22:52.720Z] Stashed 1 file(s) [Pipeline] echo [2021-06-24T18:22:52.723Z] [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 [2021-06-24T18:23:07.964Z] Still waiting to schedule task [2021-06-24T18:23:07.965Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-24T18:23:07.966Z] Still waiting to schedule task [2021-06-24T18:23:07.966Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-24T18:26:34.972Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1249 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-24T18:26:34.998Z] Running in /w/workspace/device-sdk-go/17 [Pipeline] { [Pipeline] checkout [2021-06-24T18:26:35.195Z] Selected Git installation does not exist. Using Default [2021-06-24T18:26:35.195Z] The recommended git tool is: NONE [2021-06-24T18:26:38.283Z] Running on prd-centos7-docker-4c-2g-1250 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-24T18:26:38.303Z] Running in /w/workspace/device-sdk-go/17 [Pipeline] { [Pipeline] checkout [2021-06-24T18:26:38.416Z] Selected Git installation does not exist. Using Default [2021-06-24T18:26:38.416Z] The recommended git tool is: NONE [2021-06-24T18:26:43.050Z] using credential edgex-jenkins-ssh [2021-06-24T18:26:43.079Z] Cloning the remote Git repository [2021-06-24T18:26:43.246Z] using credential edgex-jenkins-ssh [2021-06-24T18:26:43.259Z] Cloning the remote Git repository [2021-06-24T18:26:43.124Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T18:26:43.243Z] > git init /w/workspace/device-sdk-go/17 # timeout=10 [2021-06-24T18:26:43.319Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T18:26:43.319Z] > git --version # timeout=10 [2021-06-24T18:26:43.338Z] > git --version # 'git version 2.17.1' [2021-06-24T18:26:43.339Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T18:26:43.417Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T18:26:43.280Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T18:26:43.349Z] > git init /w/workspace/device-sdk-go/17 # timeout=10 [2021-06-24T18:26:43.376Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T18:26:43.377Z] > git --version # timeout=10 [2021-06-24T18:26:43.388Z] > git --version # 'git version 2.24.4' [2021-06-24T18:26:43.388Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T18:26:43.413Z] [INFO] Currently running in a labeled security context [2021-06-24T18:26:43.413Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T18:26:43.413Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/17@tmp/jenkins-gitclient-ssh6343402615559018136.key [2021-06-24T18:26:43.449Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T18:26:44.132Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T18:26:44.139Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T18:26:44.148Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T18:26:44.158Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T18:26:44.158Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T18:26:44.159Z] [INFO] Currently running in a labeled security context [2021-06-24T18:26:44.159Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T18:26:44.159Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/17@tmp/jenkins-gitclient-ssh3359497296974480001.key [2021-06-24T18:26:44.166Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-24T18:26:44.556Z] Merging remotes/origin/master commit 4e049b0e61ed820b8a848f7dbb8d7ec208be4474 into PR head commit 7359c27f1919bf5fefd45f83f462395d5b907848 [2021-06-24T18:26:44.642Z] Merge succeeded, producing 7359c27f1919bf5fefd45f83f462395d5b907848 [2021-06-24T18:26:44.643Z] Checking out Revision 7359c27f1919bf5fefd45f83f462395d5b907848 (PR-971) [2021-06-24T18:26:44.580Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T18:26:44.604Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T18:26:44.631Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T18:26:44.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T18:26:44.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T18:26:44.682Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-24T18:26:46.907Z] Merging remotes/origin/master commit 4e049b0e61ed820b8a848f7dbb8d7ec208be4474 into PR head commit 7359c27f1919bf5fefd45f83f462395d5b907848 [2021-06-24T18:26:44.564Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T18:26:44.573Z] > git checkout -f 7359c27f1919bf5fefd45f83f462395d5b907848 # timeout=10 [2021-06-24T18:26:44.605Z] > git remote # timeout=10 [2021-06-24T18:26:44.612Z] > git config --get remote.origin.url # timeout=10 [2021-06-24T18:26:44.619Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T18:26:44.620Z] [INFO] Currently running in a labeled security context [2021-06-24T18:26:44.620Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T18:26:44.620Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/17@tmp/jenkins-gitclient-ssh271856108244342334.key [2021-06-24T18:26:44.625Z] > git merge 4e049b0e61ed820b8a848f7dbb8d7ec208be4474 # timeout=10 [2021-06-24T18:26:44.635Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-24T18:26:44.643Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T18:26:44.651Z] > git checkout -f 7359c27f1919bf5fefd45f83f462395d5b907848 # timeout=10 [2021-06-24T18:26:47.178Z] Merge succeeded, producing 7359c27f1919bf5fefd45f83f462395d5b907848 [2021-06-24T18:26:47.178Z] Checking out Revision 7359c27f1919bf5fefd45f83f462395d5b907848 (PR-971) [2021-06-24T18:26:46.933Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T18:26:46.963Z] > git checkout -f 7359c27f1919bf5fefd45f83f462395d5b907848 # timeout=10 [2021-06-24T18:26:47.067Z] > git remote # timeout=10 [2021-06-24T18:26:47.090Z] > git config --get remote.origin.url # timeout=10 [2021-06-24T18:26:47.118Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T18:26:47.135Z] > git merge 4e049b0e61ed820b8a848f7dbb8d7ec208be4474 # timeout=10 [2021-06-24T18:26:47.153Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-24T18:26:47.171Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T18:26:47.183Z] > git checkout -f 7359c27f1919bf5fefd45f83f462395d5b907848 # timeout=10 [2021-06-24T18:26:50.371Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T18:26:53.502Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" [2021-06-24T18:26:53.585Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T18:26:53.912Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T18:26:54.691Z] + true [2021-06-24T18:26:54.691Z] + sudo service docker restart [2021-06-24T18:26:54.691Z] Redirecting to /bin/systemctl restart docker.service [2021-06-24T18:26:54.715Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-24T18:26:55.136Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T18:26:55.472Z] + sudo service docker restart+ [2021-06-24T18:26:55.472Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T18:27:14.499Z] provisioning config files... [2021-06-24T18:27:14.526Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/17@tmp/config6312184176762075656tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:27:14.909Z] ---> docker-login.sh [2021-06-24T18:27:14.909Z] nexus3.edgexfoundry.org:10001 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T18:27:15.002Z] provisioning config files... [2021-06-24T18:27:15.023Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/17@tmp/config1661985674273918904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:27:15.360Z] ---> docker-login.sh [2021-06-24T18:27:15.360Z] nexus3.edgexfoundry.org:10001 [2021-06-24T18:27:15.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:27:15.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:27:15.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:27:15.937Z] Configure a credential helper to remove this warning. See [2021-06-24T18:27:15.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:27:15.937Z] [2021-06-24T18:27:15.937Z] Login Succeeded [2021-06-24T18:27:15.937Z] nexus3.edgexfoundry.org:10002 [2021-06-24T18:27:15.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:27:15.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:27:15.937Z] Configure a credential helper to remove this warning. See [2021-06-24T18:27:15.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:27:15.937Z] [2021-06-24T18:27:15.937Z] Login Succeeded [2021-06-24T18:27:15.937Z] nexus3.edgexfoundry.org:10003 [2021-06-24T18:27:16.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:27:16.165Z] Configure a credential helper to remove this warning. See [2021-06-24T18:27:16.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:27:16.165Z] [2021-06-24T18:27:16.165Z] Login Succeeded [2021-06-24T18:27:16.165Z] nexus3.edgexfoundry.org:10002 [2021-06-24T18:27:16.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:27:16.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:27:16.201Z] Configure a credential helper to remove this warning. See [2021-06-24T18:27:16.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:27:16.201Z] [2021-06-24T18:27:16.201Z] Login Succeeded [2021-06-24T18:27:16.201Z] nexus3.edgexfoundry.org:10004 [2021-06-24T18:27:16.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:27:16.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:27:16.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:27:16.462Z] Configure a credential helper to remove this warning. See [2021-06-24T18:27:16.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:27:16.462Z] [2021-06-24T18:27:16.462Z] Login Succeeded [2021-06-24T18:27:16.462Z] docker.io [2021-06-24T18:27:16.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:27:16.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:27:16.712Z] Configure a credential helper to remove this warning. See [2021-06-24T18:27:16.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:27:16.712Z] [2021-06-24T18:27:16.712Z] Login Succeeded [2021-06-24T18:27:16.712Z] nexus3.edgexfoundry.org:10003 [2021-06-24T18:27:16.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:27:16.723Z] Configure a credential helper to remove this warning. See [2021-06-24T18:27:16.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:27:16.723Z] [2021-06-24T18:27:16.723Z] Login Succeeded [2021-06-24T18:27:16.723Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T18:27:16.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-24T18:27:16.921Z] ========================================================= [2021-06-24T18:27:16.921Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-24T18:27:16.921Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:27:16.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:27:19.473Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-24T18:27:19.473Z] Sending build context to Docker daemon 2.659MB [2021-06-24T18:27:19.473Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T18:27:19.473Z] Step 2/8 : FROM ${BASE} [2021-06-24T18:27:19.473Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-24T18:27:19.473Z] 540db60ca938: Pulling fs layer [2021-06-24T18:27:19.473Z] adcc1eea9eea: Pulling fs layer [2021-06-24T18:27:19.473Z] 4c4ab2625f07: Pulling fs layer [2021-06-24T18:27:19.473Z] 0510c868ecb4: Pulling fs layer [2021-06-24T18:27:19.473Z] afea3b2eda06: Pulling fs layer [2021-06-24T18:27:19.473Z] 7809a108b3ef: Pulling fs layer [2021-06-24T18:27:19.473Z] f706445af74f: Pulling fs layer [2021-06-24T18:27:19.473Z] 0510c868ecb4: Waiting [2021-06-24T18:27:19.473Z] afea3b2eda06: Waiting [2021-06-24T18:27:19.473Z] 7809a108b3ef: Waiting [2021-06-24T18:27:19.473Z] f706445af74f: Waiting [2021-06-24T18:27:19.473Z] 4c4ab2625f07: Verifying Checksum [2021-06-24T18:27:19.473Z] 4c4ab2625f07: Download complete [2021-06-24T18:27:19.473Z] adcc1eea9eea: Verifying Checksum [2021-06-24T18:27:19.473Z] adcc1eea9eea: Download complete [2021-06-24T18:27:19.473Z] afea3b2eda06: Verifying Checksum [2021-06-24T18:27:19.473Z] afea3b2eda06: Download complete [2021-06-24T18:27:19.473Z] 7809a108b3ef: Verifying Checksum [2021-06-24T18:27:19.473Z] 7809a108b3ef: Download complete [2021-06-24T18:27:19.473Z] 540db60ca938: Verifying Checksum [2021-06-24T18:27:19.473Z] 540db60ca938: Download complete [2021-06-24T18:27:19.473Z] 540db60ca938: Pull complete [2021-06-24T18:27:19.473Z] adcc1eea9eea: Pull complete [2021-06-24T18:27:19.473Z] 4c4ab2625f07: Pull complete [2021-06-24T18:27:19.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:27:19.485Z] Configure a credential helper to remove this warning. See [2021-06-24T18:27:19.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:27:19.485Z] [2021-06-24T18:27:19.485Z] Login Succeeded [2021-06-24T18:27:19.485Z] nexus3.edgexfoundry.org:10004 [2021-06-24T18:27:19.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:27:19.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:27:19.485Z] Configure a credential helper to remove this warning. See [2021-06-24T18:27:19.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:27:19.485Z] [2021-06-24T18:27:19.485Z] Login Succeeded [2021-06-24T18:27:19.485Z] docker.io [2021-06-24T18:27:19.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:27:19.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:27:19.485Z] Configure a credential helper to remove this warning. See [2021-06-24T18:27:19.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:27:19.486Z] [2021-06-24T18:27:19.486Z] Login Succeeded [2021-06-24T18:27:19.486Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T18:27:19.504Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-06-24T18:27:19.737Z] f706445af74f: Verifying Checksum [2021-06-24T18:27:19.737Z] f706445af74f: Download complete [Pipeline] echo [2021-06-24T18:27:19.854Z] ========================================================= [2021-06-24T18:27:19.854Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-24T18:27:19.854Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:27:20.207Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-24T18:27:20.315Z] 0510c868ecb4: Verifying Checksum [2021-06-24T18:27:20.315Z] 0510c868ecb4: Download complete [2021-06-24T18:27:20.803Z] Sending build context to Docker daemon 2.658MB [2021-06-24T18:27:20.803Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T18:27:20.803Z] Step 2/8 : FROM ${BASE} [2021-06-24T18:27:21.081Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-24T18:27:21.081Z] 595b0fe564bb: Pulling fs layer [2021-06-24T18:27:21.081Z] 3088b5b3c5c0: Pulling fs layer [2021-06-24T18:27:21.081Z] 5b7225fbf94c: Pulling fs layer [2021-06-24T18:27:21.081Z] ba82ee9f976e: Pulling fs layer [2021-06-24T18:27:21.081Z] ba82ee9f976e: Waiting [2021-06-24T18:27:21.081Z] 506bd15cee9f: Pulling fs layer [2021-06-24T18:27:21.081Z] 75a0a4a0db45: Pulling fs layer [2021-06-24T18:27:21.081Z] 618dc40b7e24: Pulling fs layer [2021-06-24T18:27:21.081Z] 506bd15cee9f: Waiting [2021-06-24T18:27:21.081Z] 75a0a4a0db45: Waiting [2021-06-24T18:27:21.081Z] 618dc40b7e24: Waiting [2021-06-24T18:27:21.081Z] 5b7225fbf94c: Verifying Checksum [2021-06-24T18:27:21.081Z] 5b7225fbf94c: Download complete [2021-06-24T18:27:21.081Z] 3088b5b3c5c0: Download complete [2021-06-24T18:27:21.081Z] 506bd15cee9f: Download complete [2021-06-24T18:27:21.081Z] 75a0a4a0db45: Verifying Checksum [2021-06-24T18:27:21.081Z] 75a0a4a0db45: Download complete [2021-06-24T18:27:21.081Z] 595b0fe564bb: Download complete [2021-06-24T18:27:22.073Z] 595b0fe564bb: Pull complete [2021-06-24T18:27:22.679Z] 3088b5b3c5c0: Pull complete [2021-06-24T18:27:22.953Z] 618dc40b7e24: Verifying Checksum [2021-06-24T18:27:22.953Z] 618dc40b7e24: Download complete [2021-06-24T18:27:22.953Z] 5b7225fbf94c: Pull complete [2021-06-24T18:27:24.398Z] ba82ee9f976e: Verifying Checksum [2021-06-24T18:27:24.398Z] ba82ee9f976e: Download complete [2021-06-24T18:27:25.642Z] 0510c868ecb4: Pull complete [2021-06-24T18:27:25.642Z] afea3b2eda06: Pull complete [2021-06-24T18:27:26.224Z] 7809a108b3ef: Pull complete [2021-06-24T18:27:28.158Z] f706445af74f: Pull complete [2021-06-24T18:27:28.158Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-24T18:27:28.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-24T18:27:28.158Z] ---> b068be0155e3 [2021-06-24T18:27:28.158Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T18:27:34.587Z] ba82ee9f976e: Pull complete [2021-06-24T18:27:34.860Z] 506bd15cee9f: Pull complete [2021-06-24T18:27:35.136Z] 75a0a4a0db45: Pull complete [2021-06-24T18:27:38.543Z] 618dc40b7e24: Pull complete [2021-06-24T18:27:38.819Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-24T18:27:38.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-24T18:27:38.819Z] ---> a36622ca3599 [2021-06-24T18:27:38.819Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T18:27:40.821Z] ---> Running in bacb1a87de20 [2021-06-24T18:27:41.644Z] Removing intermediate container bacb1a87de20 [2021-06-24T18:27:41.644Z] ---> 5c984e193edb [2021-06-24T18:27:41.644Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T18:27:41.644Z] ---> Running in 3bc0fcc30cc2 [2021-06-24T18:27:44.279Z] Removing intermediate container 3bc0fcc30cc2 [2021-06-24T18:27:44.279Z] ---> 338612c6f9cf [2021-06-24T18:27:44.279Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-24T18:27:44.279Z] ---> Running in adb96ef0770a [2021-06-24T18:27:45.255Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T18:27:46.229Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T18:27:46.822Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-24T18:27:47.092Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-24T18:27:47.092Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-24T18:27:47.092Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-24T18:27:47.362Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-24T18:27:47.362Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-24T18:27:47.635Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T18:27:47.635Z] OK: 139 MiB in 46 packages [2021-06-24T18:27:49.075Z] Removing intermediate container adb96ef0770a [2021-06-24T18:27:49.076Z] ---> dae2bb826474 [2021-06-24T18:27:49.076Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-24T18:27:49.076Z] ---> Running in 31eaed9738a0 [2021-06-24T18:27:49.348Z] Removing intermediate container 31eaed9738a0 [2021-06-24T18:27:49.348Z] ---> 468833297c67 [2021-06-24T18:27:49.348Z] Step 7/8 : COPY . . [2021-06-24T18:27:50.783Z] ---> 823e97a6f7ef [2021-06-24T18:27:50.783Z] Step 8/8 : RUN go mod download [2021-06-24T18:27:51.057Z] ---> Running in 1bdd98573d90 [2021-06-24T18:28:03.088Z] ---> Running in 8de09d5e11eb [2021-06-24T18:28:03.088Z] Removing intermediate container 8de09d5e11eb [2021-06-24T18:28:03.088Z] ---> 5a2d21efd817 [2021-06-24T18:28:03.088Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T18:28:03.088Z] ---> Running in df67446cc820 [2021-06-24T18:28:03.088Z] Removing intermediate container df67446cc820 [2021-06-24T18:28:03.088Z] ---> 119796176507 [2021-06-24T18:28:03.088Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-24T18:28:03.088Z] ---> Running in 7dacb09a3934 [2021-06-24T18:28:03.088Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T18:28:03.088Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T18:28:06.401Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-24T18:28:06.401Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-24T18:28:06.663Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-24T18:28:06.663Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-24T18:28:06.663Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-24T18:28:07.237Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-24T18:28:07.237Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T18:28:07.237Z] OK: 150 MiB in 46 packages [2021-06-24T18:28:09.156Z] Removing intermediate container 7dacb09a3934 [2021-06-24T18:28:09.156Z] ---> 330e1c1318b9 [2021-06-24T18:28:09.156Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-24T18:28:09.422Z] ---> Running in 9fd8b32d65d0 [2021-06-24T18:28:11.347Z] Removing intermediate container 9fd8b32d65d0 [2021-06-24T18:28:11.347Z] ---> cffcd50efd76 [2021-06-24T18:28:11.347Z] Step 7/8 : COPY . . [2021-06-24T18:28:13.264Z] ---> 46a6497bc4d0 [2021-06-24T18:28:13.264Z] Step 8/8 : RUN go mod download [2021-06-24T18:28:13.264Z] ---> Running in 36161719086f [2021-06-24T18:28:20.968Z] Removing intermediate container 1bdd98573d90 [2021-06-24T18:28:20.968Z] ---> 72299a6b653d [2021-06-24T18:28:20.968Z] Successfully built 72299a6b653d [2021-06-24T18:28:20.968Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:28:21.318Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T18:28:21.318Z] . [Pipeline] withDockerContainer [2021-06-24T18:28:21.561Z] prd-ubuntu18.04-docker-arm64-4c-16g-1249 does not seem to be running inside a container [2021-06-24T18:28:21.637Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@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 [2021-06-24T18:28:23.235Z] $ docker top b7627e3a88a14e8cf344263a13ffb7e652bb6328018a192f3ed70aeca43c0314 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T18:28:24.231Z] + go version [2021-06-24T18:28:24.231Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-24T18:28:24.246Z] $ docker stop --time=1 b7627e3a88a14e8cf344263a13ffb7e652bb6328018a192f3ed70aeca43c0314 [2021-06-24T18:28:26.090Z] $ docker rm -f b7627e3a88a14e8cf344263a13ffb7e652bb6328018a192f3ed70aeca43c0314 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:28:26.954Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T18:28:26.954Z] . [Pipeline] withDockerContainer [2021-06-24T18:28:27.192Z] prd-ubuntu18.04-docker-arm64-4c-16g-1249 does not seem to be running inside a container [2021-06-24T18:28:27.265Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@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 [2021-06-24T18:28:28.915Z] $ docker top 92ae566f33c878cce451d5e214c429716666155e0dd39de87b235d159f23f191 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T18:28:29.908Z] + go mod tidy [Pipeline] sh [2021-06-24T18:28:31.196Z] + make test [2021-06-24T18:28:31.196Z] go mod tidy [2021-06-24T18:28:31.793Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-24T18:28:53.990Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-24T18:29:09.593Z] Removing intermediate container 36161719086f [2021-06-24T18:29:09.593Z] ---> 6c100bf59979 [2021-06-24T18:29:09.593Z] Successfully built 6c100bf59979 [2021-06-24T18:29:09.593Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:29:09.915Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T18:29:09.915Z] . [Pipeline] withDockerContainer [2021-06-24T18:29:09.997Z] prd-centos7-docker-4c-2g-1250 does not seem to be running inside a container [2021-06-24T18:29:10.039Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@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 [2021-06-24T18:29:11.851Z] $ docker top a3945c6cc9ff861ff1ad593741157b44435e5c800c95a0e84df251134d04ec36 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T18:29:12.252Z] + go version [2021-06-24T18:29:12.252Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-24T18:29:12.263Z] $ docker stop --time=1 a3945c6cc9ff861ff1ad593741157b44435e5c800c95a0e84df251134d04ec36 [2021-06-24T18:29:13.809Z] $ docker rm -f a3945c6cc9ff861ff1ad593741157b44435e5c800c95a0e84df251134d04ec36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:29:14.673Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T18:29:14.673Z] . [Pipeline] withDockerContainer [2021-06-24T18:29:14.857Z] prd-centos7-docker-4c-2g-1250 does not seem to be running inside a container [2021-06-24T18:29:14.898Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@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 [2021-06-24T18:29:15.646Z] $ docker top 327c7eaff5e4b7b3e1b4d88c312ec1aae7b3b1b1f65748d0d97561bd968cf008 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T18:29:16.036Z] + go mod tidy [Pipeline] sh [2021-06-24T18:29:16.601Z] + make test [2021-06-24T18:29:16.601Z] go mod tidy [2021-06-24T18:29:16.601Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-24T18:29:23.241Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-24T18:29:52.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-24T18:29:52.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-24T18:29:52.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-24T18:29:53.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-24T18:29:53.238Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-24T18:29:53.238Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-24T18:29:53.526Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.054s coverage: 24.2% of statements [2021-06-24T18:29:53.526Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-24T18:29:53.526Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 28.1% of statements [2021-06-24T18:29:56.582Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements [2021-06-24T18:29:56.583Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.043s coverage: 9.0% of statements [2021-06-24T18:29:56.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-24T18:29:56.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-24T18:29:56.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-24T18:29:56.583Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.061s coverage: 28.7% of statements [2021-06-24T18:29:56.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-24T18:29:57.986Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.069s coverage: 83.3% of statements [2021-06-24T18:29:57.986Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-24T18:29:57.986Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-24T18:29:57.986Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 58.0% of statements [2021-06-24T18:29:59.380Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.866s coverage: 89.2% of statements [2021-06-24T18:29:59.380Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-24T18:29:59.380Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.052s coverage: 5.0% of statements [2021-06-24T18:29:59.380Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-24T18:29:59.647Z] GO111MODULE=on go vet ./... [2021-06-24T18:30:11.096Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.339s coverage: 24.2% of statements [2021-06-24T18:30:11.096Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-24T18:30:11.096Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.215s coverage: 28.1% of statements [2021-06-24T18:30:11.096Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.219s coverage: 78.9% of statements [2021-06-24T18:30:11.096Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.175s coverage: 9.0% of statements [2021-06-24T18:30:11.096Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-24T18:30:11.096Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-24T18:30:11.096Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-24T18:30:11.096Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.325s coverage: 28.7% of statements [2021-06-24T18:30:11.096Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-24T18:30:13.745Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.212s coverage: 83.3% of statements [2021-06-24T18:30:13.745Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-24T18:30:13.745Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-24T18:30:13.745Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.368s coverage: 58.0% of statements [2021-06-24T18:30:15.179Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.101s coverage: 89.2% of statements [2021-06-24T18:30:15.179Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-24T18:30:15.179Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.191s coverage: 5.0% of statements [2021-06-24T18:30:15.179Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-24T18:30:15.453Z] GO111MODULE=on go vet ./... [2021-06-24T18:30:26.332Z] gofmt -l . [2021-06-24T18:30:26.332Z] [ "`gofmt -l .`" = "" ] [2021-06-24T18:30:26.332Z] ./bin/test-attribution-txt.sh [2021-06-24T18:30:26.332Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-24T18:30:26.343Z] $ docker stop --time=1 327c7eaff5e4b7b3e1b4d88c312ec1aae7b3b1b1f65748d0d97561bd968cf008 [2021-06-24T18:30:27.839Z] $ docker rm -f 327c7eaff5e4b7b3e1b4d88c312ec1aae7b3b1b1f65748d0d97561bd968cf008 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T18:30:28.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T18:30:28.538Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-24T18:30:29.691Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-24T18:30:29.988Z] + ls -al . [2021-06-24T18:30:29.988Z] total 212 [2021-06-24T18:30:29.988Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 24 18:30 . [2021-06-24T18:30:29.988Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 24 18:26 .. [2021-06-24T18:30:29.988Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 24 18:26 bin [2021-06-24T18:30:29.988Z] -rw-r--r--. 1 jenkins jenkins 125634 Jun 24 18:29 coverage.out [2021-06-24T18:30:29.988Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 24 18:26 Dockerfile.build [2021-06-24T18:30:29.988Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 24 18:26 .dockerignore [2021-06-24T18:30:29.988Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 24 18:26 example [2021-06-24T18:30:29.988Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 24 18:26 .git [2021-06-24T18:30:29.988Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 24 18:26 .github [2021-06-24T18:30:29.988Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 24 18:26 .gitignore [2021-06-24T18:30:29.988Z] -rw-r--r--. 1 jenkins jenkins 563 Jun 24 18:30 go.mod [2021-06-24T18:30:29.988Z] -rw-r--r--. 1 jenkins jenkins 20589 Jun 24 18:29 go.sum [2021-06-24T18:30:29.988Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 24 18:26 internal [2021-06-24T18:30:29.988Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 24 18:26 Jenkinsfile [2021-06-24T18:30:29.988Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 24 18:26 LICENSE [2021-06-24T18:30:29.988Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 24 18:26 Makefile [2021-06-24T18:30:29.988Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 24 18:26 openapi [2021-06-24T18:30:29.988Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 24 18:26 pkg [2021-06-24T18:30:29.988Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 24 18:26 README.md [2021-06-24T18:30:29.988Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 24 18:26 RELEASE-NOTES.txt [2021-06-24T18:30:29.988Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 24 18:26 snap [2021-06-24T18:30:29.988Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 24 18:22 VERSION [2021-06-24T18:30:29.988Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 24 18:26 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:30:30.302Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=7359c27f1919bf5fefd45f83f462395d5b907848 --label arch=amd64 --label version=0.0.0 . [2021-06-24T18:30:30.302Z] Sending build context to Docker daemon 2.786MB [2021-06-24T18:30:30.302Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T18:30:30.302Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-24T18:30:30.302Z] ---> 6c100bf59979 [2021-06-24T18:30:30.302Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-24T18:30:30.302Z] ---> Running in f8b692f5edcf [2021-06-24T18:30:30.563Z] Removing intermediate container f8b692f5edcf [2021-06-24T18:30:30.563Z] ---> 78c2926dea05 [2021-06-24T18:30:30.563Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T18:30:30.563Z] ---> Running in 03c414657d7d [2021-06-24T18:30:30.563Z] Removing intermediate container 03c414657d7d [2021-06-24T18:30:30.563Z] ---> eaaec74b52b2 [2021-06-24T18:30:30.563Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T18:30:30.563Z] ---> Running in a4ad895411f0 [2021-06-24T18:30:31.142Z] Removing intermediate container a4ad895411f0 [2021-06-24T18:30:31.142Z] ---> 365bf5544563 [2021-06-24T18:30:31.142Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-24T18:30:31.142Z] ---> Running in 4a6fbb7db0ae [2021-06-24T18:30:31.411Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T18:30:32.357Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T18:30:33.300Z] OK: 150 MiB in 46 packages [2021-06-24T18:30:33.562Z] Removing intermediate container 4a6fbb7db0ae [2021-06-24T18:30:33.562Z] ---> 94c35dc688c6 [2021-06-24T18:30:33.562Z] Step 7/23 : COPY . . [2021-06-24T18:30:33.825Z] ---> 62562acd23fe [2021-06-24T18:30:33.825Z] Step 8/23 : RUN go mod download [2021-06-24T18:30:33.825Z] ---> Running in 495ef5f09021 [2021-06-24T18:30:34.404Z] Removing intermediate container 495ef5f09021 [2021-06-24T18:30:34.404Z] ---> b52423944f02 [2021-06-24T18:30:34.404Z] Step 9/23 : RUN make build [2021-06-24T18:30:34.404Z] ---> Running in 4515c107fca6 [2021-06-24T18:30:34.666Z] go mod tidy [2021-06-24T18:30:34.927Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-24T18:30:45.012Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-24T18:30:46.923Z] Removing intermediate container 4515c107fca6 [2021-06-24T18:30:46.924Z] ---> 40a1145fb49d [2021-06-24T18:30:46.924Z] Step 10/23 : FROM alpine:3.12 [2021-06-24T18:30:47.186Z] 3.12: Pulling from library/alpine [2021-06-24T18:30:47.186Z] 339de151aab4: Pulling fs layer [2021-06-24T18:30:47.449Z] 339de151aab4: Verifying Checksum [2021-06-24T18:30:47.449Z] 339de151aab4: Download complete [2021-06-24T18:30:47.712Z] 339de151aab4: Pull complete [2021-06-24T18:30:47.712Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-24T18:30:47.712Z] Status: Downloaded newer image for alpine:3.12 [2021-06-24T18:30:47.712Z] ---> 13621d1b12d4 [2021-06-24T18:30:47.712Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T18:30:47.978Z] ---> Running in ef6a32a18eb6 [2021-06-24T18:30:47.978Z] Removing intermediate container ef6a32a18eb6 [2021-06-24T18:30:47.978Z] ---> 699b2606868b [2021-06-24T18:30:47.978Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T18:30:47.978Z] ---> Running in 38428d419036 [2021-06-24T18:30:48.561Z] Removing intermediate container 38428d419036 [2021-06-24T18:30:48.561Z] ---> 9439094b7103 [2021-06-24T18:30:48.561Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-24T18:30:48.561Z] ---> Running in 231be63cbda9 [2021-06-24T18:30:48.823Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-24T18:30:49.768Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-24T18:30:50.029Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-24T18:30:50.029Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-24T18:30:50.290Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-24T18:30:50.553Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-24T18:30:50.814Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-24T18:30:50.814Z] Executing busybox-1.31.1-r20.trigger [2021-06-24T18:30:50.814Z] OK: 8 MiB in 19 packages [2021-06-24T18:30:51.079Z] Removing intermediate container 231be63cbda9 [2021-06-24T18:30:51.079Z] ---> b6798b133f8c [2021-06-24T18:30:51.079Z] Step 14/23 : WORKDIR / [2021-06-24T18:30:51.079Z] ---> Running in 626a81f10930 [2021-06-24T18:30:51.079Z] Removing intermediate container 626a81f10930 [2021-06-24T18:30:51.079Z] ---> 896e33449f9d [2021-06-24T18:30:51.079Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-24T18:30:51.341Z] ---> 8afbb95c9083 [2021-06-24T18:30:51.341Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-24T18:30:51.609Z] ---> 71841eaf3e75 [2021-06-24T18:30:51.609Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-24T18:30:51.872Z] ---> 2f3141cec22b [2021-06-24T18:30:51.872Z] Step 18/23 : EXPOSE 59999 [2021-06-24T18:30:51.872Z] ---> Running in 4ea79ee8844f [2021-06-24T18:30:52.137Z] Removing intermediate container 4ea79ee8844f [2021-06-24T18:30:52.137Z] ---> abe5a173331b [2021-06-24T18:30:52.137Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-24T18:30:52.137Z] ---> Running in 1bcd66e4a0f1 [2021-06-24T18:30:52.137Z] Removing intermediate container 1bcd66e4a0f1 [2021-06-24T18:30:52.137Z] ---> e94c1929540d [2021-06-24T18:30:52.137Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-24T18:30:52.137Z] ---> Running in a64205fea663 [2021-06-24T18:30:52.137Z] Removing intermediate container a64205fea663 [2021-06-24T18:30:52.137Z] ---> ba0fe4716404 [2021-06-24T18:30:52.137Z] Step 21/23 : LABEL arch=amd64 [2021-06-24T18:30:52.400Z] ---> Running in 4042e1857b65 [2021-06-24T18:30:52.400Z] Removing intermediate container 4042e1857b65 [2021-06-24T18:30:52.400Z] ---> b73508972321 [2021-06-24T18:30:52.400Z] Step 22/23 : LABEL git_sha=7359c27f1919bf5fefd45f83f462395d5b907848 [2021-06-24T18:30:52.400Z] ---> Running in 53adee63c1d8 [2021-06-24T18:30:52.661Z] Removing intermediate container 53adee63c1d8 [2021-06-24T18:30:52.661Z] ---> d428c85598d9 [2021-06-24T18:30:52.661Z] Step 23/23 : LABEL version=0.0.0 [2021-06-24T18:30:52.661Z] ---> Running in 10c1862ad751 [2021-06-24T18:30:52.661Z] Removing intermediate container 10c1862ad751 [2021-06-24T18:30:52.661Z] ---> f43fb66dee9f [2021-06-24T18:30:52.661Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-24T18:30:52.661Z] Successfully built f43fb66dee9f [2021-06-24T18:30:52.661Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:30:55.691Z] ---> job-cost.sh [2021-06-24T18:30:55.692Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cdyX [2021-06-24T18:31:05.886Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T18:31:13.568Z] gofmt -l . [2021-06-24T18:31:13.568Z] [ "`gofmt -l .`" = "" ] [2021-06-24T18:31:13.568Z] ./bin/test-attribution-txt.sh [2021-06-24T18:31:13.568Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-24T18:31:13.583Z] $ docker stop --time=1 92ae566f33c878cce451d5e214c429716666155e0dd39de87b235d159f23f191 [2021-06-24T18:31:15.691Z] $ docker rm -f 92ae566f33c878cce451d5e214c429716666155e0dd39de87b235d159f23f191 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T18:31:16.825Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T18:31:16.866Z] Warning: overwriting stash ‘coverage-report’ [2021-06-24T18:31:17.455Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T18:31:17.988Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-24T18:31:20.462Z] + ls -al . [2021-06-24T18:31:20.462Z] total 248 [2021-06-24T18:31:20.462Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 18:31 . [2021-06-24T18:31:20.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 18:26 .. [2021-06-24T18:31:20.462Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 24 18:26 .dockerignore [2021-06-24T18:31:20.462Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 18:26 .git [2021-06-24T18:31:20.462Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 18:26 .github [2021-06-24T18:31:20.462Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 24 18:26 .gitignore [2021-06-24T18:31:20.462Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 24 18:26 Dockerfile.build [2021-06-24T18:31:20.462Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 24 18:26 Jenkinsfile [2021-06-24T18:31:20.462Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 24 18:26 LICENSE [2021-06-24T18:31:20.462Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 24 18:26 Makefile [2021-06-24T18:31:20.462Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 24 18:26 README.md [2021-06-24T18:31:20.462Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 24 18:26 RELEASE-NOTES.txt [2021-06-24T18:31:20.462Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 18:22 VERSION [2021-06-24T18:31:20.462Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 18:26 bin [2021-06-24T18:31:20.462Z] -rw-r--r-- 1 jenkins jenkins 125634 Jun 24 18:30 coverage.out [2021-06-24T18:31:20.462Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 18:26 example [2021-06-24T18:31:20.462Z] -rw-r--r-- 1 jenkins jenkins 563 Jun 24 18:31 go.mod [2021-06-24T18:31:20.462Z] -rw-r--r-- 1 jenkins jenkins 20589 Jun 24 18:28 go.sum [2021-06-24T18:31:20.462Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 24 18:26 internal [2021-06-24T18:31:20.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 18:26 openapi [2021-06-24T18:31:20.462Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 18:26 pkg [2021-06-24T18:31:20.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 18:26 snap [2021-06-24T18:31:20.462Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 24 18:26 version.go [2021-06-24T18:31:20.474Z] lf-activate-venv(): INFO: Adding /tmp/venv-cdyX/bin to PATH [2021-06-24T18:31:20.474Z] INFO: No Stack... [2021-06-24T18:31:20.474Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T18:31:20.474Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:31:20.775Z] + cat /w/workspace/device-sdk-go/17/archives/cost.csv [2021-06-24T18:31:20.775Z] + cut -d, -f6 [Pipeline] lock [2021-06-24T18:31:20.807Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-17-stack-cost] [2021-06-24T18:31:20.814Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-17-stack-cost] did not exist. Created. [2021-06-24T18:31:20.814Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T18:31:20.869Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7359c27f1919bf5fefd45f83f462395d5b907848 --label arch=arm64 --label version=0.0.0 . [2021-06-24T18:31:21.142Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-24T18:31:21.209Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T18:31:21.224Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-17-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2021-06-24T18:31:21.487Z] Sending build context to Docker daemon 2.785MB [2021-06-24T18:31:21.487Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T18:31:21.487Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-24T18:31:21.487Z] ---> 72299a6b653d [2021-06-24T18:31:21.487Z] Step 3/23 : WORKDIR /device-sdk-go [Pipeline] } [2021-06-24T18:31:21.790Z] ---> Running in 77cd891d586e [2021-06-24T18:31:22.389Z] Removing intermediate container 77cd891d586e [2021-06-24T18:31:22.389Z] ---> bdc47af8a913 [2021-06-24T18:31:22.389Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T18:31:22.665Z] ---> Running in 626f4fe30782 [2021-06-24T18:31:22.938Z] Removing intermediate container 626f4fe30782 [2021-06-24T18:31:22.938Z] ---> 25c874b6a85f [2021-06-24T18:31:22.938Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T18:31:23.211Z] ---> Running in 2b30b31cf224 [2021-06-24T18:31:25.181Z] Removing intermediate container 2b30b31cf224 [2021-06-24T18:31:25.181Z] ---> cdf2198dc354 [2021-06-24T18:31:25.181Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-24T18:31:25.455Z] ---> Running in 69f96252bf2b [2021-06-24T18:31:26.434Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T18:31:27.862Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T18:31:28.455Z] OK: 139 MiB in 46 packages [2021-06-24T18:31:29.433Z] Removing intermediate container 69f96252bf2b [2021-06-24T18:31:29.433Z] ---> 13ad5431a3d8 [2021-06-24T18:31:29.433Z] Step 7/23 : COPY . . [2021-06-24T18:31:31.933Z] ---> d027f072025d [2021-06-24T18:31:31.933Z] Step 8/23 : RUN go mod download [2021-06-24T18:31:31.933Z] ---> Running in 96b625d2fb9a [2021-06-24T18:31:33.378Z] Removing intermediate container 96b625d2fb9a [2021-06-24T18:31:33.378Z] ---> 146b4886e78c [2021-06-24T18:31:33.378Z] Step 9/23 : RUN make build [2021-06-24T18:31:33.378Z] ---> Running in ba0a48f00040 [2021-06-24T18:31:34.820Z] go mod tidy [2021-06-24T18:31:35.422Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-24T18:32:07.810Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-24T18:32:09.245Z] Removing intermediate container ba0a48f00040 [2021-06-24T18:32:09.245Z] ---> cd3ef50e5307 [2021-06-24T18:32:09.245Z] Step 10/23 : FROM alpine:3.12 [2021-06-24T18:32:09.516Z] 3.12: Pulling from library/alpine [2021-06-24T18:32:09.789Z] d2f70382dc9a: Pulling fs layer [2021-06-24T18:32:10.060Z] d2f70382dc9a: Verifying Checksum [2021-06-24T18:32:10.060Z] d2f70382dc9a: Download complete [2021-06-24T18:32:10.658Z] d2f70382dc9a: Pull complete [2021-06-24T18:32:10.658Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-24T18:32:10.658Z] Status: Downloaded newer image for alpine:3.12 [2021-06-24T18:32:10.658Z] ---> c4fd0aeabfcf [2021-06-24T18:32:10.658Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T18:32:10.932Z] ---> Running in b92ebe86ae8d [2021-06-24T18:32:11.529Z] Removing intermediate container b92ebe86ae8d [2021-06-24T18:32:11.529Z] ---> 3a90efd8f68c [2021-06-24T18:32:11.529Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T18:32:11.529Z] ---> Running in acba3815587b [2021-06-24T18:32:13.525Z] Removing intermediate container acba3815587b [2021-06-24T18:32:13.525Z] ---> 21d9566999c7 [2021-06-24T18:32:13.525Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-24T18:32:13.805Z] ---> Running in 20601a50cd70 [2021-06-24T18:32:16.403Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-24T18:32:16.403Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-24T18:32:16.403Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-24T18:32:16.672Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-24T18:32:16.672Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-24T18:32:16.945Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-24T18:32:16.945Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-24T18:32:16.945Z] Executing busybox-1.31.1-r20.trigger [2021-06-24T18:32:16.945Z] OK: 8 MiB in 19 packages [2021-06-24T18:32:18.381Z] Removing intermediate container 20601a50cd70 [2021-06-24T18:32:18.381Z] ---> d033b74efc68 [2021-06-24T18:32:18.381Z] Step 14/23 : WORKDIR / [2021-06-24T18:32:18.381Z] ---> Running in 8c45017bc284 [2021-06-24T18:32:18.980Z] Removing intermediate container 8c45017bc284 [2021-06-24T18:32:18.980Z] ---> 430fdc5bf961 [2021-06-24T18:32:18.980Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-24T18:32:19.580Z] ---> 24339496919b [2021-06-24T18:32:19.580Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-24T18:32:21.022Z] ---> 8dcabcacc3aa [2021-06-24T18:32:21.022Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-24T18:32:22.002Z] ---> 9ee889eb3bc0 [2021-06-24T18:32:22.002Z] Step 18/23 : EXPOSE 59999 [2021-06-24T18:32:22.002Z] ---> Running in b12ec8920b14 [2021-06-24T18:32:22.597Z] Removing intermediate container b12ec8920b14 [2021-06-24T18:32:22.597Z] ---> 5bb12ef08db7 [2021-06-24T18:32:22.597Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-24T18:32:22.597Z] ---> Running in 2a096130fe93 [2021-06-24T18:32:23.191Z] Removing intermediate container 2a096130fe93 [2021-06-24T18:32:23.191Z] ---> 24ba64824836 [2021-06-24T18:32:23.191Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-24T18:32:23.191Z] ---> Running in 15e2ac7f989c [2021-06-24T18:32:23.789Z] Removing intermediate container 15e2ac7f989c [2021-06-24T18:32:23.789Z] ---> da4bac7e0946 [2021-06-24T18:32:23.789Z] Step 21/23 : LABEL arch=arm64 [2021-06-24T18:32:23.789Z] ---> Running in 94db30c87218 [2021-06-24T18:32:24.385Z] Removing intermediate container 94db30c87218 [2021-06-24T18:32:24.385Z] ---> 1d811d4fc3ab [2021-06-24T18:32:24.385Z] Step 22/23 : LABEL git_sha=7359c27f1919bf5fefd45f83f462395d5b907848 [2021-06-24T18:32:24.385Z] ---> Running in 0d9d479b7f31 [2021-06-24T18:32:24.986Z] Removing intermediate container 0d9d479b7f31 [2021-06-24T18:32:24.986Z] ---> b2c6313195b8 [2021-06-24T18:32:24.986Z] Step 23/23 : LABEL version=0.0.0 [2021-06-24T18:32:24.986Z] ---> Running in 490590d63bc6 [2021-06-24T18:32:25.578Z] Removing intermediate container 490590d63bc6 [2021-06-24T18:32:25.578Z] ---> 2f4f58fe2c5c [2021-06-24T18:32:25.578Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-24T18:32:25.578Z] Successfully built 2f4f58fe2c5c [2021-06-24T18:32:25.578Z] Successfully tagged device-sdk-simple-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] libraryResource [Pipeline] sh [2021-06-24T18:32:26.238Z] ---> job-cost.sh [2021-06-24T18:32:26.238Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-PDg6 [2021-06-24T18:33:06.174Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T18:34:30.556Z] lf-activate-venv(): INFO: Adding /tmp/venv-PDg6/bin to PATH [2021-06-24T18:34:30.556Z] INFO: No Stack... [2021-06-24T18:34:30.556Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-24T18:34:30.556Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T18:34:30.896Z] + cat /w/workspace/device-sdk-go/17/archives/cost.csv [2021-06-24T18:34:30.896Z] + cut -d, -f6 [Pipeline] lock [2021-06-24T18:34:30.957Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-17-stack-cost] [2021-06-24T18:34:30.969Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-17-stack-cost] did not exist. Created. [2021-06-24T18:34:30.969Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T18:34:31.335Z] /w/workspace/device-sdk-go/17@tmp/durable-c3cdde44/script.sh: 1: /w/workspace/device-sdk-go/17@tmp/durable-c3cdde44/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-24T18:34:31.692Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-24T18:34:31.724Z] Warning: overwriting stash ‘stack-cost’ [2021-06-24T18:34:31.885Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T18:34:31.901Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-17-stack-cost] [Pipeline] // lock [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 [2021-06-24T18:34:35.149Z] provisioning config files... [2021-06-24T18:34:35.159Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config2421476237489503728tmp [Pipeline] { [Pipeline] sh [2021-06-24T18:34:35.480Z] + set +x [2021-06-24T18:34:35.480Z] + curl -s https://codecov.io/bash [2021-06-24T18:34:35.480Z] + bash -s -- [2021-06-24T18:34:35.480Z] [2021-06-24T18:34:35.480Z] _____ _ [2021-06-24T18:34:35.480Z] / ____| | | [2021-06-24T18:34:35.480Z] | | ___ __| | ___ ___ _____ __ [2021-06-24T18:34:35.480Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-24T18:34:35.480Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-24T18:34:35.480Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-24T18:34:35.480Z] Bash-1.0.3 [2021-06-24T18:34:35.480Z] [2021-06-24T18:34:35.480Z] [2021-06-24T18:34:35.480Z] ==> git version 2.24.4 found [2021-06-24T18:34:35.480Z] ==> 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 [2021-06-24T18:34:35.480Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-24T18:34:35.480Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-24T18:34:35.480Z] ==> Jenkins CI detected. [2021-06-24T18:34:35.480Z] project root: . [2021-06-24T18:34:35.480Z] --> token set from env [2021-06-24T18:34:35.742Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-24T18:34:35.742Z] ==> Running gcov in . (disable via -X gcov) [2021-06-24T18:34:35.742Z] ==> Python coveragepy not found [2021-06-24T18:34:35.742Z] ==> Searching for coverage reports in: [2021-06-24T18:34:35.742Z] + . [2021-06-24T18:34:35.742Z] -> Found 1 reports [2021-06-24T18:34:35.742Z] ==> Detecting git/mercurial file structure [2021-06-24T18:34:35.742Z] ==> Reading reports [2021-06-24T18:34:35.742Z] + ./coverage.out bytes=125634 [2021-06-24T18:34:35.742Z] ==> Appending adjustments [2021-06-24T18:34:35.742Z] https://docs.codecov.io/docs/fixing-reports [2021-06-24T18:34:36.005Z] + Found adjustments [2021-06-24T18:34:36.005Z] ==> Gzipping contents [2021-06-24T18:34:36.005Z] 16K /tmp/codecov.iUUIaW.gz [2021-06-24T18:34:36.005Z] ==> Uploading reports [2021-06-24T18:34:36.005Z] url: https://codecov.io [2021-06-24T18:34:36.005Z] query: branch=PR-971&commit=7359c27f1919bf5fefd45f83f462395d5b907848&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-24T18:34:36.005Z] -> Pinging Codecov [2021-06-24T18:34:36.005Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-971&commit=7359c27f1919bf5fefd45f83f462395d5b907848&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-24T18:34:36.576Z] -> Uploading to [2021-06-24T18:34:36.576Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-24/7E55EF52A471D76F132DFD9A03CDDE97/7359c27f1919bf5fefd45f83f462395d5b907848/62748e52-0eb3-45eb-98c5-2bb357da4a4b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210624%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210624T183436Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ee0ba0509abd95949348dfb691264a4f1994ca10e1a6adaac6e65102c7248ce [2021-06-24T18:34:36.576Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-24T18:34:36.576Z] Dload Upload Total Spent Left Speed [2021-06-24T18:34:36.836Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16340 0 0 100 16340 0 41444 --:--:-- --:--:-- --:--:-- 41472 [2021-06-24T18:34:36.836Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7359c27f1919bf5fefd45f83f462395d5b907848 [Pipeline] } [2021-06-24T18:34:36.845Z] 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] libraryResource [Pipeline] sh [2021-06-24T18:34:38.304Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:34:38.881Z] ---> package-listing.sh [2021-06-24T18:34:38.881Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-24T18:34:38.881Z] ++ facter osfamily [2021-06-24T18:34:39.165Z] + OS_FAMILY=redhat [2021-06-24T18:34:39.165Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-24T18:34:39.165Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-24T18:34:39.165Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-24T18:34:39.165Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-24T18:34:39.165Z] + PACKAGES=/tmp/packages_start.txt [2021-06-24T18:34:39.165Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-24T18:34:39.165Z] + PACKAGES=/tmp/packages_end.txt [2021-06-24T18:34:39.165Z] + case "${OS_FAMILY}" in [2021-06-24T18:34:39.165Z] + rpm -qa [2021-06-24T18:34:39.165Z] + sort [2021-06-24T18:34:39.739Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-24T18:34:39.739Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-24T18:34:39.739Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-24T18:34:39.739Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-24T18:34:39.739Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [2021-06-24T18:34:39.739Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [Pipeline] echo [2021-06-24T18:34:39.756Z] 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/dgexfoundry_device-sdk-go_PR-971/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-24T18:34:40.045Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:34:40.609Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T18:34:40.609Z] [2021-06-24T18:34:40.609Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:34:40.927Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T18:34:40.927Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-24T18:34:40.927Z] df20fa9351a1: Pulling fs layer [2021-06-24T18:34:40.927Z] 36b3adc4ff6f: Pulling fs layer [2021-06-24T18:34:40.927Z] 8ad3a11d3b57: Pulling fs layer [2021-06-24T18:34:40.927Z] 46f8f816bc3b: Pulling fs layer [2021-06-24T18:34:40.927Z] 93b61091891f: Pulling fs layer [2021-06-24T18:34:40.927Z] 93b9cdb0e59b: Pulling fs layer [2021-06-24T18:34:40.927Z] 5e14af77c1be: Pulling fs layer [2021-06-24T18:34:40.927Z] 01666e4c0597: Pulling fs layer [2021-06-24T18:34:40.927Z] aa168da1d23b: Pulling fs layer [2021-06-24T18:34:40.927Z] 93b9cdb0e59b: Waiting [2021-06-24T18:34:40.927Z] 5e14af77c1be: Waiting [2021-06-24T18:34:40.927Z] 01666e4c0597: Waiting [2021-06-24T18:34:40.927Z] 46f8f816bc3b: Waiting [2021-06-24T18:34:40.927Z] 93b61091891f: Waiting [2021-06-24T18:34:40.927Z] aa168da1d23b: Waiting [2021-06-24T18:34:40.927Z] 36b3adc4ff6f: Verifying Checksum [2021-06-24T18:34:40.927Z] 36b3adc4ff6f: Download complete [2021-06-24T18:34:40.927Z] 46f8f816bc3b: Verifying Checksum [2021-06-24T18:34:40.927Z] 46f8f816bc3b: Download complete [2021-06-24T18:34:40.927Z] df20fa9351a1: Verifying Checksum [2021-06-24T18:34:40.927Z] df20fa9351a1: Download complete [2021-06-24T18:34:41.192Z] 93b9cdb0e59b: Verifying Checksum [2021-06-24T18:34:41.192Z] 93b9cdb0e59b: Download complete [2021-06-24T18:34:41.192Z] 5e14af77c1be: Verifying Checksum [2021-06-24T18:34:41.192Z] 5e14af77c1be: Download complete [2021-06-24T18:34:41.192Z] 93b61091891f: Verifying Checksum [2021-06-24T18:34:41.192Z] 93b61091891f: Download complete [2021-06-24T18:34:41.192Z] df20fa9351a1: Pull complete [2021-06-24T18:34:41.192Z] 8ad3a11d3b57: Verifying Checksum [2021-06-24T18:34:41.192Z] 8ad3a11d3b57: Download complete [2021-06-24T18:34:41.466Z] 01666e4c0597: Verifying Checksum [2021-06-24T18:34:41.466Z] 01666e4c0597: Download complete [2021-06-24T18:34:41.466Z] 36b3adc4ff6f: Pull complete [2021-06-24T18:34:42.041Z] 8ad3a11d3b57: Pull complete [2021-06-24T18:34:42.041Z] 46f8f816bc3b: Pull complete [2021-06-24T18:34:42.306Z] 93b61091891f: Pull complete [2021-06-24T18:34:42.306Z] 93b9cdb0e59b: Pull complete [2021-06-24T18:34:42.567Z] 5e14af77c1be: Pull complete [2021-06-24T18:34:42.567Z] 01666e4c0597: Pull complete [2021-06-24T18:34:42.834Z] aa168da1d23b: Verifying Checksum [2021-06-24T18:34:42.834Z] aa168da1d23b: Download complete [2021-06-24T18:34:47.073Z] aa168da1d23b: Pull complete [2021-06-24T18:34:47.073Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-24T18:34:47.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T18:34:47.073Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-24T18:34:47.150Z] prd-centos7-docker-4c-2g-1248 does not seem to be running inside a container [2021-06-24T18:34:47.188Z] $ 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/dgexfoundry_device-sdk-go_PR-971/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-24T18:34:50.880Z] $ docker top c6720f493ff129738fc8d780747ddfff4c36073ff3cf36036010cf0015a328e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T18:34:51.281Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-24T18:34:51.581Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-24T18:34:51.888Z] + ls /var/log/sa-host [2021-06-24T18:34:51.888Z] + sadf -c /var/log/sa-host/sa05 [2021-06-24T18:34:51.888Z] file_magic: OK [2021-06-24T18:34:51.888Z] HZ: Using current value: 100 [2021-06-24T18:34:51.888Z] file_header: OK [2021-06-24T18:34:51.888Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-24T18:34:51.888Z] Statistics: [2021-06-24T18:34:51.888Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T18:34:51.888Z] File successfully converted to sysstat format version 12.2.1 [2021-06-24T18:34:51.888Z] + sadf -c /var/log/sa-host/sa24 [2021-06-24T18:34:51.888Z] file_magic: OK [2021-06-24T18:34:51.888Z] HZ: Using current value: 100 [2021-06-24T18:34:51.888Z] file_header: OK [2021-06-24T18:34:51.888Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-24T18:34:51.888Z] Statistics: [2021-06-24T18:34:51.888Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T18:34:51.888Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T18:34:54.348Z] provisioning config files... [2021-06-24T18:34:54.359Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config3058804988420123077tmp [Pipeline] { [Pipeline] echo [2021-06-24T18:34:54.381Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:34:54.675Z] ---> create-netrc.sh [Pipeline] } [2021-06-24T18:34:54.684Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:34:55.073Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-24T18:34:55.090Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:34:55.395Z] ---> sudo-logs.sh [2021-06-24T18:34:55.395Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-24T18:34:55.430Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:34:55.732Z] ---> job-cost.sh [2021-06-24T18:34:55.733Z] lf-activate-venv: SKIPPING [2021-06-24T18:34:55.733Z] DEBUG: total: 0.18000000715255737 [2021-06-24T18:34:55.733Z] INFO: Retrieving Stack Cost... [2021-06-24T18:34:56.678Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T18:34:56.938Z] INFO: Archiving Costs [Pipeline] echo [2021-06-24T18:34:56.950Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:34:57.247Z] ---> logs-deploy.sh [2021-06-24T18:34:57.247Z] lf-activate-venv: SKIPPING [2021-06-24T18:34:57.247Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-971/17 [2021-06-24T18:34:57.247Z] INFO: archiving workspace using pattern(s): [2021-06-24T18:34:58.192Z] Archives upload complete. [2021-06-24T18:34:58.192Z] INFO: archiving logs to Nexus [2021-06-24T18:34:58.766Z] ---> uname -a: [2021-06-24T18:34:58.766Z] Linux prd-centos7-docker-4c-2g-1248.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-06-24T18:34:58.766Z] [2021-06-24T18:34:58.766Z] [2021-06-24T18:34:58.766Z] ---> lscpu: [2021-06-24T18:34:58.766Z] Architecture: x86_64 [2021-06-24T18:34:58.766Z] CPU op-mode(s): 32-bit, 64-bit [2021-06-24T18:34:58.766Z] Byte Order: Little Endian [2021-06-24T18:34:58.766Z] Address sizes: 40 bits physical, 48 bits virtual [2021-06-24T18:34:58.766Z] CPU(s): 2 [2021-06-24T18:34:58.766Z] On-line CPU(s) list: 0,1 [2021-06-24T18:34:58.766Z] Thread(s) per core: 1 [2021-06-24T18:34:58.766Z] Core(s) per socket: 1 [2021-06-24T18:34:58.766Z] Socket(s): 2 [2021-06-24T18:34:58.766Z] NUMA node(s): 1 [2021-06-24T18:34:58.766Z] Vendor ID: AuthenticAMD [2021-06-24T18:34:58.766Z] CPU family: 23 [2021-06-24T18:34:58.766Z] Model: 49 [2021-06-24T18:34:58.766Z] Model name: AMD EPYC-Rome Processor [2021-06-24T18:34:58.766Z] Stepping: 0 [2021-06-24T18:34:58.766Z] CPU MHz: 2800.000 [2021-06-24T18:34:58.766Z] BogoMIPS: 5600.00 [2021-06-24T18:34:58.766Z] Virtualization: AMD-V [2021-06-24T18:34:58.766Z] Hypervisor vendor: KVM [2021-06-24T18:34:58.766Z] Virtualization type: full [2021-06-24T18:34:58.766Z] L1d cache: 64 KiB [2021-06-24T18:34:58.766Z] L1i cache: 64 KiB [2021-06-24T18:34:58.766Z] L2 cache: 1 MiB [2021-06-24T18:34:58.766Z] L3 cache: 32 MiB [2021-06-24T18:34:58.766Z] NUMA node0 CPU(s): 0,1 [2021-06-24T18:34:58.766Z] Vulnerability Itlb multihit: Not affected [2021-06-24T18:34:58.766Z] Vulnerability L1tf: Not affected [2021-06-24T18:34:58.766Z] Vulnerability Mds: Not affected [2021-06-24T18:34:58.766Z] Vulnerability Meltdown: Not affected [2021-06-24T18:34:58.766Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-06-24T18:34:58.766Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-06-24T18:34:58.766Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-06-24T18:34:58.766Z] Vulnerability Srbds: Not affected [2021-06-24T18:34:58.766Z] Vulnerability Tsx async abort: Not affected [2021-06-24T18:34:58.766Z] 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 retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp [2021-06-24T18:34:58.766Z] [2021-06-24T18:34:58.766Z] [2021-06-24T18:34:58.766Z] ---> nproc: [2021-06-24T18:34:58.766Z] 2 [2021-06-24T18:34:58.766Z] [2021-06-24T18:34:58.766Z] [2021-06-24T18:34:58.766Z] ---> df -h: [2021-06-24T18:34:58.766Z] Filesystem Size Used Available Use% Mounted on [2021-06-24T18:34:58.766Z] overlay 40.0G 7.6G 32.4G 19% / [2021-06-24T18:34:58.766Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-06-24T18:34:58.766Z] tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup [2021-06-24T18:34:58.766Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-06-24T18:34:58.766Z] /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os [2021-06-24T18:34:58.766Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf [2021-06-24T18:34:58.766Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname [2021-06-24T18:34:58.766Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts [2021-06-24T18:34:58.766Z] /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json [2021-06-24T18:34:58.766Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-24T18:34:58.766Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp [2021-06-24T18:34:58.766Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host [2021-06-24T18:34:58.766Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure [2021-06-24T18:34:58.766Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log [2021-06-24T18:34:58.766Z] [2021-06-24T18:34:58.766Z] [2021-06-24T18:34:58.766Z] ---> free -m: [2021-06-24T18:34:58.766Z] total used free shared buff/cache available [2021-06-24T18:34:58.766Z] Mem: 7821 987 4735 0 2097 6655 [2021-06-24T18:34:58.766Z] Swap: 1023 0 1023 [2021-06-24T18:34:58.766Z] [2021-06-24T18:34:58.766Z] [2021-06-24T18:34:58.766Z] ---> ip addr: [2021-06-24T18:34:58.766Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-06-24T18:34:58.766Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-06-24T18:34:58.766Z] inet 127.0.0.1/8 scope host lo [2021-06-24T18:34:58.766Z] valid_lft forever preferred_lft forever [2021-06-24T18:34:58.766Z] inet6 ::1/128 scope host [2021-06-24T18:34:58.766Z] valid_lft forever preferred_lft forever [2021-06-24T18:34:58.766Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-06-24T18:34:58.766Z] link/ether fa:16:3e:ed:91:8d brd ff:ff:ff:ff:ff:ff [2021-06-24T18:34:58.766Z] inet 10.30.123.233/23 brd 10.30.123.255 scope global dynamic eth0 [2021-06-24T18:34:58.766Z] valid_lft 85625sec preferred_lft 85625sec [2021-06-24T18:34:58.766Z] inet6 fe80::f816:3eff:feed:918d/64 scope link [2021-06-24T18:34:58.766Z] valid_lft forever preferred_lft forever [2021-06-24T18:34:58.766Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-06-24T18:34:58.766Z] link/ether 02:42:77:06:b7:c1 brd ff:ff:ff:ff:ff:ff [2021-06-24T18:34:58.766Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-06-24T18:34:58.766Z] valid_lft forever preferred_lft forever [2021-06-24T18:34:58.766Z] inet6 fe80::42:77ff:fe06:b7c1/64 scope link [2021-06-24T18:34:58.766Z] valid_lft forever preferred_lft forever [2021-06-24T18:34:58.766Z] [2021-06-24T18:34:58.767Z] [2021-06-24T18:34:58.767Z] ---> sar -b -r -n DEV: [2021-06-24T18:34:58.767Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/24/21 _x86_64_ (2 CPU) [2021-06-24T18:34:58.767Z] [2021-06-24T18:34:58.767Z] 18:21:52 LINUX RESTART (2 CPU) [2021-06-24T18:34:58.767Z] [2021-06-24T18:34:58.767Z] 18:23:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-06-24T18:34:58.767Z] 18:24:01 1.71 0.00 1.71 0.00 0.00 35.81 0.00 [2021-06-24T18:34:58.767Z] 18:25:01 0.40 0.00 0.40 0.00 0.00 5.88 0.00 [2021-06-24T18:34:58.767Z] 18:26:01 0.32 0.00 0.32 0.00 0.00 3.48 0.00 [2021-06-24T18:34:58.767Z] 18:27:01 0.20 0.00 0.20 0.00 0.00 2.87 0.00 [2021-06-24T18:34:58.767Z] 18:28:01 0.25 0.00 0.25 0.00 0.00 3.20 0.00 [2021-06-24T18:34:58.767Z] 18:29:01 0.30 0.00 0.30 0.00 0.00 3.61 0.00 [2021-06-24T18:34:58.767Z] 18:30:01 0.23 0.00 0.23 0.00 0.00 2.92 0.00 [2021-06-24T18:34:58.767Z] 18:31:01 0.28 0.00 0.28 0.00 0.00 3.08 0.00 [2021-06-24T18:34:58.767Z] 18:32:02 0.23 0.00 0.23 0.00 0.00 2.73 0.00 [2021-06-24T18:34:58.767Z] 18:33:01 0.19 0.00 0.19 0.00 0.00 2.25 0.00 [2021-06-24T18:34:58.767Z] 18:34:01 0.28 0.00 0.28 0.00 0.00 3.20 0.00 [2021-06-24T18:34:58.767Z] Average: 0.40 0.00 0.40 0.00 0.00 6.24 0.00 [2021-06-24T18:34:58.767Z] [2021-06-24T18:34:58.767Z] 18:23:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-06-24T18:34:58.767Z] 18:24:01 5463676 0 802028 10.01 2620 1740616 1216764 13.43 572308 1574020 20 [2021-06-24T18:34:58.767Z] 18:25:01 5465512 0 800180 9.99 2620 1740628 1205396 13.31 576372 1568620 16 [2021-06-24T18:34:58.767Z] 18:26:01 5462880 0 802812 10.02 2620 1740628 1205396 13.31 578812 1569056 8 [2021-06-24T18:34:58.767Z] 18:27:01 5461252 0 804436 10.04 2620 1740632 1205672 13.31 580320 1569056 8 [2021-06-24T18:34:58.767Z] 18:28:01 5458812 0 806868 10.07 2620 1740640 1205648 13.31 579948 1572240 8 [2021-06-24T18:34:58.767Z] 18:29:01 5460232 0 805448 10.06 2620 1740640 1205652 13.31 578588 1572240 12 [2021-06-24T18:34:58.767Z] 18:30:01 5451488 0 814184 10.17 2620 1740648 1205652 13.31 587420 1572240 8 [2021-06-24T18:34:58.767Z] 18:31:01 5449612 0 816056 10.19 2620 1740652 1205652 13.31 589088 1572240 8 [2021-06-24T18:34:58.767Z] 18:32:02 5449924 0 815740 10.19 2620 1740656 1205652 13.31 590768 1570684 8 [2021-06-24T18:34:58.767Z] 18:33:01 5448912 0 816748 10.20 2620 1740660 1205796 13.31 591400 1570680 8 [2021-06-24T18:34:58.767Z] 18:34:01 5448380 0 817280 10.20 2620 1740660 1205916 13.31 595932 1566928 8 [2021-06-24T18:34:58.767Z] Average: 5456425 0 809253 10.10 2620 1740642 1206654 13.32 583723 1570728 10 [2021-06-24T18:34:58.767Z] [2021-06-24T18:34:58.767Z] 18:23:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-06-24T18:34:58.767Z] 18:24:01 eth0 1.27 0.97 1.11 0.08 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:25:01 eth0 0.28 0.08 0.02 0.01 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:26:01 eth0 1.33 0.08 0.12 0.01 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:27:01 eth0 1.78 0.77 0.84 0.59 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:28:01 eth0 0.32 0.25 0.14 0.08 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:29:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:30:01 eth0 0.08 0.03 0.01 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:31:01 eth0 0.57 0.05 0.04 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:32:02 eth0 0.38 0.08 0.04 0.01 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:32:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:32:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:33:01 eth0 1.17 0.42 0.46 0.27 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:34:01 eth0 0.55 0.53 0.27 0.15 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] 18:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] Average: eth0 0.71 0.30 0.28 0.11 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-24T18:34:58.767Z] [2021-06-24T18:34:58.767Z] [2021-06-24T18:34:58.767Z] ---> sar -P ALL: [2021-06-24T18:34:58.767Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/24/21 _x86_64_ (2 CPU) [2021-06-24T18:34:58.767Z] [2021-06-24T18:34:58.767Z] 18:21:52 LINUX RESTART (2 CPU) [2021-06-24T18:34:58.767Z] [2021-06-24T18:34:58.767Z] 18:23:02 CPU %user %nice %system %iowait %steal %idle [2021-06-24T18:34:58.767Z] 18:24:01 all 0.19 0.00 0.04 0.00 0.02 99.75 [2021-06-24T18:34:58.767Z] 18:24:01 0 0.08 0.00 0.05 0.00 0.02 99.85 [2021-06-24T18:34:58.767Z] 18:24:01 1 0.29 0.00 0.03 0.00 0.02 99.66 [2021-06-24T18:34:58.767Z] 18:25:01 all 0.09 0.00 0.05 0.00 0.04 99.82 [2021-06-24T18:34:58.767Z] 18:25:01 0 0.03 0.00 0.07 0.00 0.05 99.85 [2021-06-24T18:34:58.767Z] 18:25:01 1 0.15 0.00 0.03 0.00 0.03 99.78 [2021-06-24T18:34:58.767Z] 18:26:01 all 0.11 0.00 0.03 0.00 0.03 99.83 [2021-06-24T18:34:58.767Z] 18:26:01 0 0.17 0.00 0.02 0.00 0.02 99.80 [2021-06-24T18:34:58.767Z] 18:26:01 1 0.05 0.00 0.05 0.00 0.03 99.87 [2021-06-24T18:34:58.767Z] 18:27:01 all 0.11 0.00 0.04 0.00 0.03 99.82 [2021-06-24T18:34:58.767Z] 18:27:01 0 0.18 0.00 0.05 0.00 0.03 99.73 [2021-06-24T18:34:58.767Z] 18:27:01 1 0.03 0.00 0.03 0.00 0.03 99.90 [2021-06-24T18:34:58.767Z] 18:28:01 all 0.14 0.00 0.04 0.00 0.03 99.79 [2021-06-24T18:34:58.767Z] 18:28:01 0 0.25 0.00 0.03 0.00 0.02 99.70 [2021-06-24T18:34:58.767Z] 18:28:01 1 0.03 0.00 0.05 0.00 0.03 99.88 [2021-06-24T18:34:58.767Z] 18:29:01 all 0.14 0.00 0.05 0.00 0.02 99.79 [2021-06-24T18:34:58.767Z] 18:29:01 0 0.23 0.00 0.03 0.00 0.02 99.72 [2021-06-24T18:34:58.767Z] 18:29:01 1 0.05 0.00 0.07 0.00 0.02 99.87 [2021-06-24T18:34:58.767Z] 18:30:01 all 0.10 0.00 0.03 0.00 0.03 99.84 [2021-06-24T18:34:58.767Z] 18:30:01 0 0.15 0.00 0.07 0.00 0.03 99.75 [2021-06-24T18:34:58.767Z] 18:30:01 1 0.05 0.00 0.00 0.00 0.02 99.93 [2021-06-24T18:34:58.767Z] 18:31:01 all 0.09 0.00 0.05 0.00 0.03 99.83 [2021-06-24T18:34:58.767Z] 18:31:01 0 0.07 0.00 0.07 0.00 0.03 99.83 [2021-06-24T18:34:58.767Z] 18:31:01 1 0.12 0.00 0.03 0.00 0.02 99.83 [2021-06-24T18:34:58.767Z] 18:32:02 all 0.08 0.00 0.05 0.00 0.03 99.84 [2021-06-24T18:34:58.767Z] 18:32:02 0 0.07 0.00 0.07 0.00 0.03 99.83 [2021-06-24T18:34:58.767Z] 18:32:02 1 0.10 0.00 0.03 0.00 0.02 99.85 [2021-06-24T18:34:58.767Z] 18:33:01 all 0.14 0.00 0.03 0.00 0.03 99.80 [2021-06-24T18:34:58.767Z] 18:33:01 0 0.22 0.00 0.05 0.00 0.02 99.71 [2021-06-24T18:34:58.767Z] 18:33:01 1 0.05 0.00 0.02 0.00 0.03 99.90 [2021-06-24T18:34:58.767Z] 18:34:01 all 0.13 0.00 0.04 0.00 0.02 99.81 [2021-06-24T18:34:58.767Z] 18:34:01 0 0.15 0.00 0.05 0.00 0.02 99.78 [2021-06-24T18:34:58.767Z] 18:34:01 1 0.12 0.00 0.03 0.00 0.02 99.83 [2021-06-24T18:34:58.767Z] [2021-06-24T18:34:58.767Z] Average: CPU %user %nice %system %iowait %steal %idle [2021-06-24T18:34:58.767Z] Average: all 0.12 0.00 0.04 0.00 0.03 99.81 [2021-06-24T18:34:58.767Z] Average: 0 0.15 0.00 0.05 0.00 0.03 99.78 [2021-06-24T18:34:58.767Z] Average: 1 0.09 0.00 0.04 0.00 0.02 99.85 [2021-06-24T18:34:58.767Z] [2021-06-24T18:34:58.767Z] [2021-06-24T18:34:58.767Z]