Pull request #934 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e8c1cc2cdba4538cda83ea941797953b8910ef77+e8c677d1df210277adef4aff331a8a81997773cd (3d1c92a9497503b60e61e059bb5ec953fead9fee) 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-ssh2982336320568019541.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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-ssh3216640508268559381.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 9d0281235b943b7ad605f650702698f9078b2862 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-934/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-934/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3270434980198662318.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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-ssh1347061029586449559.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-934/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-934/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4722780350495886555.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-15520 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [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-934 # 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-934@tmp/jenkins-gitclient-ssh3532269734909046048.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 Merging remotes/origin/master commit e8c677d1df210277adef4aff331a8a81997773cd into PR head commit e8c1cc2cdba4538cda83ea941797953b8910ef77 Merge succeeded, producing e8c1cc2cdba4538cda83ea941797953b8910ef77 Checking out Revision e8c1cc2cdba4538cda83ea941797953b8910ef77 (PR-934) 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-934@tmp/jenkins-gitclient-ssh7213041271725217790.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8c1cc2cdba4538cda83ea941797953b8910ef77 # 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-934@tmp/jenkins-gitclient-ssh2308433617383437793.key > git merge e8c677d1df210277adef4aff331a8a81997773cd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8c1cc2cdba4538cda83ea941797953b8910ef77 # timeout=10 Commit message: "build: update snap build" First time build. Skipping changelog. > git rev-list --no-walk 27f1a9b48ac1c02d85311c99ae8ef00881800873 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-21T10:00:47.946Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-21T10:00:48.061Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-21T10:00:48.094Z] ========================================================= [2021-05-21T10:00:48.094Z] EdgeX Global Pipelines Version Info [2021-05-21T10:00:48.094Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-21T10:00:49.613Z] ------------------- [2021-05-21T10:00:49.613Z] stable info: [2021-05-21T10:00:49.613Z] ------------------- [2021-05-21T10:00:49.613Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-21T10:00:49.613Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-21T10:00:49.613Z] Message: update stable to v1.0.192 [2021-05-21T10:00:50.191Z] ------------------- [2021-05-21T10:00:50.191Z] experimental info: [2021-05-21T10:00:50.191Z] ------------------- [2021-05-21T10:00:50.191Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-21T10:00:50.191Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-21T10:00:50.191Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-21T10:00:50.330Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-21T10:00:50.360Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-21T10:00:50.393Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-21T10:00:50.423Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-21T10:00:50.454Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-21T10:00:50.486Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-21T10:00:50.520Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-21T10:00:50.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-21T10:00:50.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-21T10:00:50.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-21T10:00:50.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-21T10:00:50.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-21T10:00:50.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-21T10:00:50.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-21T10:00:50.809Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-21T10:00:50.869Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-21T10:00:50.951Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-21T10:00:50.977Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-21T10:00:51.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-21T10:00:51.033Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-21T10:00:51.061Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-21T10:00:51.089Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-21T10:00:51.117Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-21T10:00:51.142Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-21T10:00:51.169Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-21T10:00:51.197Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-21T10:00:51.265Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-934 [Pipeline] echo [2021-05-21T10:00:51.291Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-934 [Pipeline] echo [2021-05-21T10:00:51.316Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-934 [Pipeline] echo [2021-05-21T10:00:51.341Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8c1cc2cdba4538cda83ea941797953b8910ef77 [Pipeline] echo [2021-05-21T10:00:51.370Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8c1cc2 [Pipeline] echo [2021-05-21T10:00:51.395Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T10:00:51.488Z] provisioning config files... [2021-05-21T10:00:51.505Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config723841151089263077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T10:00:51.830Z] ---> docker-login.sh [2021-05-21T10:00:51.831Z] nexus3.edgexfoundry.org:10001 [2021-05-21T10:00:51.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T10:00:52.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T10:00:52.092Z] Configure a credential helper to remove this warning. See [2021-05-21T10:00:52.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T10:00:52.092Z] [2021-05-21T10:00:52.092Z] Login Succeeded [2021-05-21T10:00:52.092Z] nexus3.edgexfoundry.org:10002 [2021-05-21T10:00:52.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T10:00:52.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T10:00:52.355Z] Configure a credential helper to remove this warning. See [2021-05-21T10:00:52.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T10:00:52.355Z] [2021-05-21T10:00:52.355Z] Login Succeeded [2021-05-21T10:00:52.355Z] nexus3.edgexfoundry.org:10003 [2021-05-21T10:00:52.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T10:00:52.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T10:00:52.355Z] Configure a credential helper to remove this warning. See [2021-05-21T10:00:52.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T10:00:52.355Z] [2021-05-21T10:00:52.355Z] Login Succeeded [2021-05-21T10:00:52.355Z] nexus3.edgexfoundry.org:10004 [2021-05-21T10:00:52.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T10:00:52.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T10:00:52.617Z] Configure a credential helper to remove this warning. See [2021-05-21T10:00:52.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T10:00:52.617Z] [2021-05-21T10:00:52.617Z] Login Succeeded [2021-05-21T10:00:52.617Z] docker.io [2021-05-21T10:00:52.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T10:00:52.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T10:00:52.886Z] Configure a credential helper to remove this warning. See [2021-05-21T10:00:52.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T10:00:52.886Z] [2021-05-21T10:00:52.886Z] Login Succeeded [2021-05-21T10:00:52.886Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T10:00:52.895Z] 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-05-21T10:00:53.428Z] + git log --format=format:%s -1 e8c1cc2cdba4538cda83ea941797953b8910ef77 [Pipeline] echo [2021-05-21T10:00:53.470Z] GIT_COMMIT: e8c1cc2cdba4538cda83ea941797953b8910ef77, Commit Message: build: update snap build [Pipeline] echo [2021-05-21T10:00:53.486Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-21T10:00:54.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T10:00:54.638Z] [2021-05-21T10:00:54.638Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T10:00:54.966Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T10:00:54.966Z] latest: Pulling from edgex-devops/git-semver [2021-05-21T10:00:54.966Z] 31603596830f: Pulling fs layer [2021-05-21T10:00:54.966Z] 54011a49482f: Pulling fs layer [2021-05-21T10:00:54.966Z] a6820b24f6d8: Pulling fs layer [2021-05-21T10:00:54.966Z] f581987b2513: Pulling fs layer [2021-05-21T10:00:54.966Z] f581987b2513: Waiting [2021-05-21T10:00:54.966Z] 54011a49482f: Verifying Checksum [2021-05-21T10:00:54.966Z] 54011a49482f: Download complete [2021-05-21T10:00:55.236Z] 31603596830f: Verifying Checksum [2021-05-21T10:00:55.236Z] 31603596830f: Download complete [2021-05-21T10:00:55.236Z] f581987b2513: Verifying Checksum [2021-05-21T10:00:55.236Z] f581987b2513: Download complete [2021-05-21T10:00:55.236Z] a6820b24f6d8: Verifying Checksum [2021-05-21T10:00:55.236Z] a6820b24f6d8: Download complete [2021-05-21T10:00:55.236Z] 31603596830f: Pull complete [2021-05-21T10:00:55.503Z] 54011a49482f: Pull complete [2021-05-21T10:00:56.086Z] a6820b24f6d8: Pull complete [2021-05-21T10:00:56.350Z] f581987b2513: Pull complete [2021-05-21T10:00:56.350Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-21T10:00:56.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T10:00:56.350Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-21T10:00:57.355Z] prd-centos7-docker-4c-2g-15520 does not seem to be running inside a container [2021-05-21T10:00:57.416Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-934 -v /w/workspace/dgexfoundry_device-sdk-go_PR-934:/w/workspace/dgexfoundry_device-sdk-go_PR-934:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-21T10:00:58.937Z] $ docker top a619a1a62a96fdb0368303cfbe5b3de578c93b7e0bf7a3bed35aaf32084d5dc4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-21T10:00:59.085Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-21T10:00:59.085Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-21T10:00:59.205Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-21T10:00:59.209Z] $ docker exec a619a1a62a96fdb0368303cfbe5b3de578c93b7e0bf7a3bed35aaf32084d5dc4 ssh-agent [2021-05-21T10:00:59.315Z] SSH_AUTH_SOCK=/tmp/ssh-SvNcs95bFXCo/agent.14 [2021-05-21T10:00:59.315Z] SSH_AGENT_PID=20 [2021-05-21T10:00:59.322Z] Running ssh-add (command line suppressed) [2021-05-21T10:00:59.430Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_6297495848912975596.key (/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_6297495848912975596.key) [2021-05-21T10:00:59.443Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-21T10:00:59.764Z] + git tag --points-at HEAD [Pipeline] } [2021-05-21T10:00:59.781Z] $ docker exec --env ******** --env ******** a619a1a62a96fdb0368303cfbe5b3de578c93b7e0bf7a3bed35aaf32084d5dc4 ssh-agent -k [2021-05-21T10:00:59.866Z] unset SSH_AUTH_SOCK; [2021-05-21T10:00:59.866Z] unset SSH_AGENT_PID; [2021-05-21T10:00:59.866Z] echo Agent pid 20 killed; [2021-05-21T10:00:59.875Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-21T10:00:59.917Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-21T10:00:59.917Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-21T10:01:00.027Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-21T10:01:00.033Z] $ docker exec a619a1a62a96fdb0368303cfbe5b3de578c93b7e0bf7a3bed35aaf32084d5dc4 ssh-agent [2021-05-21T10:01:00.139Z] SSH_AUTH_SOCK=/tmp/ssh-vJot0uCqhZVl/agent.52 [2021-05-21T10:01:00.139Z] SSH_AGENT_PID=59 [2021-05-21T10:01:00.144Z] Running ssh-add (command line suppressed) [2021-05-21T10:01:00.237Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_8880146889008039643.key (/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_8880146889008039643.key) [2021-05-21T10:01:00.250Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-21T10:01:00.559Z] + git semver init [2021-05-21T10:01:00.559Z] # -> Open(): unable to determine branch for HEAD [2021-05-21T10:01:00.559Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-934/.git [2021-05-21T10:01:00.559Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-934 [2021-05-21T10:01:00.559Z] # $SEMVER_REMOTE_NAME = origin [2021-05-21T10:01:00.559Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-21T10:01:00.559Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-21T10:01:00.559Z] # $SEMVER_BRANCH = PR-934 [2021-05-21T10:01:00.559Z] # $SEMVER_TEMP = /tmp/semver-071284336 [2021-05-21T10:01:00.559Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-21T10:01:01.957Z] # '/tmp/semver-071284336' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-934/.semver' [2021-05-21T10:01:01.957Z] # -> Force: false [2021-05-21T10:01:01.957Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-934/.semver [Pipeline] } [2021-05-21T10:01:01.970Z] $ docker exec --env ******** --env ******** a619a1a62a96fdb0368303cfbe5b3de578c93b7e0bf7a3bed35aaf32084d5dc4 ssh-agent -k [2021-05-21T10:01:02.071Z] unset SSH_AUTH_SOCK; [2021-05-21T10:01:02.072Z] unset SSH_AGENT_PID; [2021-05-21T10:01:02.072Z] echo Agent pid 59 killed; [2021-05-21T10:01:02.088Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-21T10:01:02.426Z] + git semver [Pipeline] } [2021-05-21T10:01:02.445Z] $ docker stop --time=1 a619a1a62a96fdb0368303cfbe5b3de578c93b7e0bf7a3bed35aaf32084d5dc4 [2021-05-21T10:01:03.741Z] $ docker rm -f a619a1a62a96fdb0368303cfbe5b3de578c93b7e0bf7a3bed35aaf32084d5dc4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-21T10:01:04.106Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-21T10:01:04.370Z] Stashed 1 file(s) [Pipeline] echo [2021-05-21T10:01:04.374Z] [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-05-21T10:01:19.661Z] Still waiting to schedule task [2021-05-21T10:01:19.661Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-21T10:01:19.664Z] Still waiting to schedule task [2021-05-21T10:01:19.664Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-21T10:03:28.540Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15521 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [Pipeline] { [Pipeline] ws [2021-05-21T10:03:28.561Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-05-21T10:03:28.886Z] Selected Git installation does not exist. Using Default [2021-05-21T10:03:28.886Z] The recommended git tool is: NONE [2021-05-21T10:03:34.244Z] using credential edgex-jenkins-ssh [2021-05-21T10:03:34.282Z] Cloning the remote Git repository [2021-05-21T10:03:34.333Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T10:03:34.451Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-05-21T10:03:34.515Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T10:03:34.515Z] > git --version # timeout=10 [2021-05-21T10:03:34.535Z] > git --version # 'git version 2.17.1' [2021-05-21T10:03:34.536Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T10:03:34.630Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T10:03:36.563Z] Merging remotes/origin/master commit e8c677d1df210277adef4aff331a8a81997773cd into PR head commit e8c1cc2cdba4538cda83ea941797953b8910ef77 [2021-05-21T10:03:35.813Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-21T10:03:35.830Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T10:03:35.856Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-21T10:03:35.901Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T10:03:35.902Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T10:03:35.916Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-21T10:03:36.582Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T10:03:36.599Z] > git checkout -f e8c1cc2cdba4538cda83ea941797953b8910ef77 # timeout=10 [2021-05-21T10:03:36.793Z] Merge succeeded, producing e8c1cc2cdba4538cda83ea941797953b8910ef77 [2021-05-21T10:03:36.794Z] Checking out Revision e8c1cc2cdba4538cda83ea941797953b8910ef77 (PR-934) [2021-05-21T10:03:36.698Z] > git remote # timeout=10 [2021-05-21T10:03:36.717Z] > git config --get remote.origin.url # timeout=10 [2021-05-21T10:03:36.743Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T10:03:36.755Z] > git merge e8c677d1df210277adef4aff331a8a81997773cd # timeout=10 [2021-05-21T10:03:36.777Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-21T10:03:36.800Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T10:03:36.812Z] > git checkout -f e8c1cc2cdba4538cda83ea941797953b8910ef77 # timeout=10 [2021-05-21T10:03:41.007Z] Commit message: "build: update snap build" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-21T10:03:42.300Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-21T10:03:42.713Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-21T10:03:43.060Z] + sudo service docker restart [2021-05-21T10:03:43.060Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T10:04:01.409Z] provisioning config files... [2021-05-21T10:04:01.436Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config2875359666125666104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T10:04:01.809Z] ---> docker-login.sh [2021-05-21T10:04:01.809Z] nexus3.edgexfoundry.org:10001 [2021-05-21T10:04:02.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T10:04:03.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T10:04:03.001Z] Configure a credential helper to remove this warning. See [2021-05-21T10:04:03.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T10:04:03.001Z] [2021-05-21T10:04:03.001Z] Login Succeeded [2021-05-21T10:04:03.001Z] nexus3.edgexfoundry.org:10002 [2021-05-21T10:04:03.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T10:04:03.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T10:04:03.611Z] Configure a credential helper to remove this warning. See [2021-05-21T10:04:03.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T10:04:03.611Z] [2021-05-21T10:04:03.611Z] Login Succeeded [2021-05-21T10:04:03.611Z] nexus3.edgexfoundry.org:10003 [2021-05-21T10:04:03.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T10:04:04.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T10:04:04.174Z] Configure a credential helper to remove this warning. See [2021-05-21T10:04:04.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T10:04:04.174Z] [2021-05-21T10:04:04.174Z] Login Succeeded [2021-05-21T10:04:04.174Z] nexus3.edgexfoundry.org:10004 [2021-05-21T10:04:04.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T10:04:04.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T10:04:04.733Z] Configure a credential helper to remove this warning. See [2021-05-21T10:04:04.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T10:04:04.733Z] [2021-05-21T10:04:04.733Z] Login Succeeded [2021-05-21T10:04:04.733Z] docker.io [2021-05-21T10:04:05.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T10:04:05.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T10:04:05.610Z] Configure a credential helper to remove this warning. See [2021-05-21T10:04:05.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T10:04:05.610Z] [2021-05-21T10:04:05.610Z] Login Succeeded [2021-05-21T10:04:05.610Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T10:04:05.631Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-21T10:04:05.954Z] ========================================================= [2021-05-21T10:04:05.954Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-21T10:04:05.954Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-21T10:04:06.296Z] + 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-05-21T10:04:06.756Z] Running on prd-centos7-docker-4c-2g-15522 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [Pipeline] { [Pipeline] ws [2021-05-21T10:04:06.774Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-05-21T10:04:06.886Z] Selected Git installation does not exist. Using Default [2021-05-21T10:04:06.886Z] The recommended git tool is: NONE [2021-05-21T10:04:06.904Z] Sending build context to Docker daemon 2.599MB [2021-05-21T10:04:06.904Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T10:04:06.904Z] Step 2/8 : FROM ${BASE} [2021-05-21T10:04:07.190Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-21T10:04:07.190Z] 595b0fe564bb: Pulling fs layer [2021-05-21T10:04:07.190Z] 7186ed65a4f7: Pulling fs layer [2021-05-21T10:04:07.190Z] 316046926c0a: Pulling fs layer [2021-05-21T10:04:07.190Z] 4ebd0625c992: Pulling fs layer [2021-05-21T10:04:07.190Z] 207e8628e3a3: Pulling fs layer [2021-05-21T10:04:07.190Z] c791037a9be2: Pulling fs layer [2021-05-21T10:04:07.190Z] ffd874e62e21: Pulling fs layer [2021-05-21T10:04:07.190Z] 4ebd0625c992: Waiting [2021-05-21T10:04:07.190Z] c791037a9be2: Waiting [2021-05-21T10:04:07.190Z] 207e8628e3a3: Waiting [2021-05-21T10:04:07.190Z] ffd874e62e21: Waiting [2021-05-21T10:04:07.190Z] 316046926c0a: Download complete [2021-05-21T10:04:07.190Z] 7186ed65a4f7: Download complete [2021-05-21T10:04:07.190Z] 207e8628e3a3: Verifying Checksum [2021-05-21T10:04:07.190Z] 207e8628e3a3: Download complete [2021-05-21T10:04:07.190Z] c791037a9be2: Verifying Checksum [2021-05-21T10:04:07.190Z] c791037a9be2: Download complete [2021-05-21T10:04:07.190Z] 595b0fe564bb: Download complete [2021-05-21T10:04:07.812Z] 595b0fe564bb: Pull complete [2021-05-21T10:04:08.433Z] 7186ed65a4f7: Pull complete [2021-05-21T10:04:09.044Z] 316046926c0a: Pull complete [2021-05-21T10:04:09.143Z] using credential edgex-jenkins-ssh [2021-05-21T10:04:09.199Z] Cloning the remote Git repository [2021-05-21T10:04:09.645Z] ffd874e62e21: Verifying Checksum [2021-05-21T10:04:09.645Z] ffd874e62e21: Download complete [2021-05-21T10:04:09.221Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T10:04:09.283Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-05-21T10:04:09.312Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T10:04:09.312Z] > git --version # timeout=10 [2021-05-21T10:04:09.324Z] > git --version # 'git version 2.24.4' [2021-05-21T10:04:09.324Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T10:04:09.369Z] [INFO] Currently running in a labeled security context [2021-05-21T10:04:09.369Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-21T10:04:09.370Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh5538400056897622306.key [2021-05-21T10:04:09.399Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T10:04:10.220Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-21T10:04:10.232Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T10:04:10.239Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-21T10:04:10.249Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T10:04:10.250Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T10:04:10.250Z] [INFO] Currently running in a labeled security context [2021-05-21T10:04:10.250Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-21T10:04:10.250Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh2902346970959107994.key [2021-05-21T10:04:10.256Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-21T10:04:10.652Z] 4ebd0625c992: Verifying Checksum [2021-05-21T10:04:10.652Z] 4ebd0625c992: Download complete [2021-05-21T10:04:10.726Z] Merging remotes/origin/master commit e8c677d1df210277adef4aff331a8a81997773cd into PR head commit e8c1cc2cdba4538cda83ea941797953b8910ef77 [2021-05-21T10:04:10.809Z] Merge succeeded, producing e8c1cc2cdba4538cda83ea941797953b8910ef77 [2021-05-21T10:04:10.810Z] Checking out Revision e8c1cc2cdba4538cda83ea941797953b8910ef77 (PR-934) [2021-05-21T10:04:10.736Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T10:04:10.741Z] > git checkout -f e8c1cc2cdba4538cda83ea941797953b8910ef77 # timeout=10 [2021-05-21T10:04:10.775Z] > git remote # timeout=10 [2021-05-21T10:04:10.780Z] > git config --get remote.origin.url # timeout=10 [2021-05-21T10:04:10.787Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T10:04:10.788Z] [INFO] Currently running in a labeled security context [2021-05-21T10:04:10.788Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-21T10:04:10.788Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh5582086192223753366.key [2021-05-21T10:04:10.793Z] > git merge e8c677d1df210277adef4aff331a8a81997773cd # timeout=10 [2021-05-21T10:04:10.799Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-21T10:04:10.814Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T10:04:10.824Z] > git checkout -f e8c1cc2cdba4538cda83ea941797953b8910ef77 # timeout=10 [2021-05-21T10:04:14.377Z] Commit message: "build: update snap build" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-21T10:04:15.525Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-21T10:04:15.862Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-21T10:04:16.159Z] + sudo service docker restart [2021-05-21T10:04:16.159Z] + true [2021-05-21T10:04:16.159Z] Redirecting to /bin/systemctl restart docker.service [2021-05-21T10:04:23.069Z] 4ebd0625c992: Pull complete [2021-05-21T10:04:23.069Z] 207e8628e3a3: Pull complete [2021-05-21T10:04:23.069Z] c791037a9be2: Pull complete [2021-05-21T10:04:25.695Z] ffd874e62e21: Pull complete [2021-05-21T10:04:25.695Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-21T10:04:25.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-21T10:04:25.695Z] ---> cfc18b08335c [2021-05-21T10:04:25.695Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T10:04:27.677Z] ---> Running in b103b6a892ee [2021-05-21T10:04:27.955Z] Removing intermediate container b103b6a892ee [2021-05-21T10:04:27.955Z] ---> 0004a8863af2 [2021-05-21T10:04:27.955Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T10:04:28.255Z] ---> Running in 833e3dac9fc0 [2021-05-21T10:04:30.909Z] Removing intermediate container 833e3dac9fc0 [2021-05-21T10:04:30.909Z] ---> 957c7afc3b7c [2021-05-21T10:04:30.909Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-21T10:04:30.909Z] ---> Running in 94b211a586a8 [2021-05-21T10:04:31.891Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-21T10:04:33.320Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-21T10:04:33.920Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-21T10:04:33.920Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-21T10:04:34.193Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-21T10:04:34.193Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-21T10:04:34.193Z] (5/6) Installing libzmq (4.3.3-r1) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T10:04:34.332Z] provisioning config files... [2021-05-21T10:04:34.346Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config448718543539981239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T10:04:34.467Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-21T10:04:34.467Z] Executing busybox-1.32.1-r6.trigger [2021-05-21T10:04:34.467Z] OK: 139 MiB in 46 packages [2021-05-21T10:04:34.677Z] ---> docker-login.sh [2021-05-21T10:04:34.678Z] nexus3.edgexfoundry.org:10001 [2021-05-21T10:04:34.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T10:04:34.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T10:04:34.943Z] Configure a credential helper to remove this warning. See [2021-05-21T10:04:34.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T10:04:34.943Z] [2021-05-21T10:04:34.943Z] Login Succeeded [2021-05-21T10:04:34.943Z] nexus3.edgexfoundry.org:10002 [2021-05-21T10:04:34.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T10:04:34.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T10:04:34.943Z] Configure a credential helper to remove this warning. See [2021-05-21T10:04:34.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T10:04:34.943Z] [2021-05-21T10:04:34.943Z] Login Succeeded [2021-05-21T10:04:34.943Z] nexus3.edgexfoundry.org:10003 [2021-05-21T10:04:34.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T10:04:35.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T10:04:35.207Z] Configure a credential helper to remove this warning. See [2021-05-21T10:04:35.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T10:04:35.207Z] [2021-05-21T10:04:35.207Z] Login Succeeded [2021-05-21T10:04:35.207Z] nexus3.edgexfoundry.org:10004 [2021-05-21T10:04:35.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T10:04:35.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T10:04:35.207Z] Configure a credential helper to remove this warning. See [2021-05-21T10:04:35.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T10:04:35.207Z] [2021-05-21T10:04:35.207Z] Login Succeeded [2021-05-21T10:04:35.207Z] docker.io [2021-05-21T10:04:35.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T10:04:35.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T10:04:35.781Z] Configure a credential helper to remove this warning. See [2021-05-21T10:04:35.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T10:04:35.781Z] [2021-05-21T10:04:35.781Z] Login Succeeded [2021-05-21T10:04:35.781Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T10:04:35.790Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-21T10:04:35.906Z] Removing intermediate container 94b211a586a8 [2021-05-21T10:04:35.906Z] ---> ba37a8d20b2b [2021-05-21T10:04:35.906Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-21T10:04:35.906Z] ---> Running in 82b4c2523b40 [Pipeline] echo [2021-05-21T10:04:35.958Z] ========================================================= [2021-05-21T10:04:35.958Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-21T10:04:35.958Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-21T10:04:36.280Z] + 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-05-21T10:04:36.280Z] Sending build context to Docker daemon 2.597MB [2021-05-21T10:04:36.280Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T10:04:36.280Z] Step 2/8 : FROM ${BASE} [2021-05-21T10:04:36.280Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-21T10:04:36.280Z] 540db60ca938: Pulling fs layer [2021-05-21T10:04:36.280Z] adcc1eea9eea: Pulling fs layer [2021-05-21T10:04:36.280Z] 4c4ab2625f07: Pulling fs layer [2021-05-21T10:04:36.281Z] 0510c868ecb4: Pulling fs layer [2021-05-21T10:04:36.281Z] afea3b2eda06: Pulling fs layer [2021-05-21T10:04:36.281Z] 7809a108b3ef: Pulling fs layer [2021-05-21T10:04:36.281Z] f706445af74f: Pulling fs layer [2021-05-21T10:04:36.281Z] afea3b2eda06: Waiting [2021-05-21T10:04:36.281Z] 7809a108b3ef: Waiting [2021-05-21T10:04:36.281Z] f706445af74f: Waiting [2021-05-21T10:04:36.281Z] 0510c868ecb4: Waiting [2021-05-21T10:04:36.507Z] Removing intermediate container 82b4c2523b40 [2021-05-21T10:04:36.507Z] ---> 0f1a8deabbb5 [2021-05-21T10:04:36.507Z] Step 7/8 : COPY . . [2021-05-21T10:04:36.542Z] 4c4ab2625f07: Verifying Checksum [2021-05-21T10:04:36.542Z] 4c4ab2625f07: Download complete [2021-05-21T10:04:36.542Z] adcc1eea9eea: Download complete [2021-05-21T10:04:36.542Z] afea3b2eda06: Verifying Checksum [2021-05-21T10:04:36.542Z] afea3b2eda06: Download complete [2021-05-21T10:04:36.542Z] 540db60ca938: Verifying Checksum [2021-05-21T10:04:36.542Z] 540db60ca938: Download complete [2021-05-21T10:04:36.542Z] 7809a108b3ef: Verifying Checksum [2021-05-21T10:04:36.542Z] 7809a108b3ef: Download complete [2021-05-21T10:04:36.542Z] 540db60ca938: Pull complete [2021-05-21T10:04:36.803Z] adcc1eea9eea: Pull complete [2021-05-21T10:04:36.803Z] 4c4ab2625f07: Pull complete [2021-05-21T10:04:37.748Z] f706445af74f: Verifying Checksum [2021-05-21T10:04:37.748Z] f706445af74f: Download complete [2021-05-21T10:04:37.956Z] ---> feef91f39ee9 [2021-05-21T10:04:37.956Z] Step 8/8 : RUN go mod download [2021-05-21T10:04:37.956Z] ---> Running in 9684118510db [2021-05-21T10:04:38.320Z] 0510c868ecb4: Verifying Checksum [2021-05-21T10:04:38.320Z] 0510c868ecb4: Download complete [2021-05-21T10:04:41.640Z] 0510c868ecb4: Pull complete [2021-05-21T10:04:41.640Z] afea3b2eda06: Pull complete [2021-05-21T10:04:41.640Z] 7809a108b3ef: Pull complete [2021-05-21T10:04:43.046Z] f706445af74f: Pull complete [2021-05-21T10:04:43.046Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-21T10:04:43.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-21T10:04:43.046Z] ---> b068be0155e3 [2021-05-21T10:04:43.046Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T10:04:47.270Z] ---> Running in 225640934b53 [2021-05-21T10:04:47.270Z] Removing intermediate container 225640934b53 [2021-05-21T10:04:47.270Z] ---> 4dd81eefee28 [2021-05-21T10:04:47.270Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T10:04:47.270Z] ---> Running in f6b1cdb3df31 [2021-05-21T10:04:47.270Z] Removing intermediate container f6b1cdb3df31 [2021-05-21T10:04:47.270Z] ---> 32d15e13af20 [2021-05-21T10:04:47.270Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-21T10:04:47.270Z] ---> Running in d8396b2a9b58 [2021-05-21T10:04:47.532Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-21T10:04:48.473Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-21T10:04:48.735Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-21T10:04:48.997Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-21T10:04:48.997Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-21T10:04:48.997Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-21T10:04:49.257Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-21T10:04:49.258Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-21T10:04:49.521Z] Executing busybox-1.32.1-r6.trigger [2021-05-21T10:04:49.521Z] OK: 150 MiB in 46 packages [2021-05-21T10:04:49.781Z] Removing intermediate container d8396b2a9b58 [2021-05-21T10:04:49.781Z] ---> eb31613038c2 [2021-05-21T10:04:49.781Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-21T10:04:49.781Z] ---> Running in 8acdb63f2bff [2021-05-21T10:04:49.781Z] Removing intermediate container 8acdb63f2bff [2021-05-21T10:04:49.781Z] ---> d637475b6d46 [2021-05-21T10:04:49.781Z] Step 7/8 : COPY . . [2021-05-21T10:04:50.356Z] ---> 9158a35a695d [2021-05-21T10:04:50.356Z] Step 8/8 : RUN go mod download [2021-05-21T10:04:50.356Z] ---> Running in 482b03fb2031 [2021-05-21T10:05:02.633Z] Removing intermediate container 482b03fb2031 [2021-05-21T10:05:02.633Z] ---> 49d67549dd23 [2021-05-21T10:05:02.633Z] Successfully built 49d67549dd23 [2021-05-21T10:05:02.633Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T10:05:02.943Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-21T10:05:02.943Z] . [Pipeline] withDockerContainer [2021-05-21T10:05:03.021Z] prd-centos7-docker-4c-2g-15522 does not seem to be running inside a container [2021-05-21T10:05:03.069Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-21T10:05:03.481Z] $ docker top 09391077aac2b790eedc30bd6b0cd7dd1386f989af1b74e973f2f097d317aac8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T10:05:03.856Z] + go version [2021-05-21T10:05:03.856Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-21T10:05:03.870Z] $ docker stop --time=1 09391077aac2b790eedc30bd6b0cd7dd1386f989af1b74e973f2f097d317aac8 [2021-05-21T10:05:05.041Z] $ docker rm -f 09391077aac2b790eedc30bd6b0cd7dd1386f989af1b74e973f2f097d317aac8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-21T10:05:05.681Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-21T10:05:05.682Z] . [Pipeline] withDockerContainer [2021-05-21T10:05:05.758Z] prd-centos7-docker-4c-2g-15522 does not seem to be running inside a container [2021-05-21T10:05:05.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-21T10:05:06.178Z] $ docker top d9110502f08096c24d1a839da714655de4e7f0b885551530524b797b3cb2ca69 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T10:05:06.612Z] + go mod tidy [Pipeline] sh [2021-05-21T10:05:07.220Z] + make test [2021-05-21T10:05:07.220Z] go mod tidy [2021-05-21T10:05:07.220Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-21T10:05:10.289Z] Removing intermediate container 9684118510db [2021-05-21T10:05:10.289Z] ---> dfe93fff2d85 [2021-05-21T10:05:10.289Z] Successfully built dfe93fff2d85 [2021-05-21T10:05:10.289Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T10:05:10.628Z] + docker inspect -f . ci-base-image-arm64 [2021-05-21T10:05:10.629Z] . [Pipeline] withDockerContainer [2021-05-21T10:05:10.854Z] prd-ubuntu18.04-docker-arm64-4c-16g-15521 does not seem to be running inside a container [2021-05-21T10:05:10.951Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-21T10:05:12.461Z] $ docker top 6b46516542c4500279d9768caded5d6ef56539f04273ed25733cc14bb87a255b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T10:05:12.847Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-21T10:05:13.373Z] + go version [2021-05-21T10:05:13.373Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-21T10:05:13.410Z] $ docker stop --time=1 6b46516542c4500279d9768caded5d6ef56539f04273ed25733cc14bb87a255b [2021-05-21T10:05:15.268Z] $ docker rm -f 6b46516542c4500279d9768caded5d6ef56539f04273ed25733cc14bb87a255b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-21T10:05:15.974Z] + docker inspect -f . ci-base-image-arm64 [2021-05-21T10:05:15.974Z] . [Pipeline] withDockerContainer [2021-05-21T10:05:16.198Z] prd-ubuntu18.04-docker-arm64-4c-16g-15521 does not seem to be running inside a container [2021-05-21T10:05:16.294Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-21T10:05:17.829Z] $ docker top 64c235f9481f43146ebdedf04927313ab266478a075e6c117476d4d4d511819e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T10:05:18.795Z] + go mod tidy [Pipeline] sh [2021-05-21T10:05:20.053Z] + make test [2021-05-21T10:05:20.054Z] go mod tidy [2021-05-21T10:05:20.652Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-21T10:05:39.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-21T10:05:39.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-21T10:05:39.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-21T10:05:39.583Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.053s coverage: 25.4% of statements [2021-05-21T10:05:39.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-21T10:05:39.583Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 28.1% of statements [2021-05-21T10:05:39.583Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.051s coverage: 78.9% of statements [2021-05-21T10:05:39.846Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.050s coverage: 10.7% of statements [2021-05-21T10:05:39.846Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-21T10:05:39.846Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-21T10:05:39.846Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-21T10:05:39.846Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.064s coverage: 30.2% of statements [2021-05-21T10:05:39.846Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-21T10:05:41.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.060s coverage: 83.3% of statements [2021-05-21T10:05:41.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-21T10:05:41.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-21T10:05:41.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 58.0% of statements [2021-05-21T10:05:42.373Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.812s coverage: 89.2% of statements [2021-05-21T10:05:42.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-21T10:05:42.373Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 5.0% of statements [2021-05-21T10:05:42.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-21T10:05:42.373Z] GO111MODULE=on go vet ./... [2021-05-21T10:05:42.812Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-21T10:06:00.609Z] gofmt -l . [2021-05-21T10:06:00.609Z] [ "`gofmt -l .`" = "" ] [2021-05-21T10:06:00.609Z] ./bin/test-attribution-txt.sh [2021-05-21T10:06:00.609Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-21T10:06:00.625Z] $ docker stop --time=1 d9110502f08096c24d1a839da714655de4e7f0b885551530524b797b3cb2ca69 [2021-05-21T10:06:02.100Z] $ docker rm -f d9110502f08096c24d1a839da714655de4e7f0b885551530524b797b3cb2ca69 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-21T10:06:02.566Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-21T10:06:02.786Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-21T10:06:05.571Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-21T10:06:05.868Z] + ls -al . [2021-05-21T10:06:05.868Z] total 212 [2021-05-21T10:06:05.868Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 21 10:06 . [2021-05-21T10:06:05.868Z] drwxrwxr-x. 4 jenkins jenkins 28 May 21 10:04 .. [2021-05-21T10:06:05.868Z] drwxrwxr-x. 2 jenkins jenkins 64 May 21 10:04 bin [2021-05-21T10:06:05.868Z] -rw-r--r--. 1 jenkins jenkins 126187 May 21 10:05 coverage.out [2021-05-21T10:06:05.868Z] -rw-rw-r--. 1 jenkins jenkins 987 May 21 10:04 Dockerfile.build [2021-05-21T10:06:05.868Z] -rw-rw-r--. 1 jenkins jenkins 140 May 21 10:04 .dockerignore [2021-05-21T10:06:05.868Z] drwxrwxr-x. 5 jenkins jenkins 62 May 21 10:04 example [2021-05-21T10:06:05.868Z] drwxrwxr-x. 8 jenkins jenkins 179 May 21 10:04 .git [2021-05-21T10:06:05.868Z] drwxrwxr-x. 2 jenkins jenkins 103 May 21 10:04 .github [2021-05-21T10:06:05.868Z] -rw-rw-r--. 1 jenkins jenkins 138 May 21 10:04 .gitignore [2021-05-21T10:06:05.868Z] -rw-r--r--. 1 jenkins jenkins 575 May 21 10:06 go.mod [2021-05-21T10:06:05.868Z] -rw-r--r--. 1 jenkins jenkins 20803 May 21 10:05 go.sum [2021-05-21T10:06:05.868Z] drwxrwxr-x. 15 jenkins jenkins 224 May 21 10:04 internal [2021-05-21T10:06:05.868Z] -rw-rw-r--. 1 jenkins jenkins 894 May 21 10:04 Jenkinsfile [2021-05-21T10:06:05.868Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 21 10:04 LICENSE [2021-05-21T10:06:05.868Z] -rw-rw-r--. 1 jenkins jenkins 997 May 21 10:04 Makefile [2021-05-21T10:06:05.868Z] drwxrwxr-x. 4 jenkins jenkins 26 May 21 10:04 openapi [2021-05-21T10:06:05.868Z] drwxrwxr-x. 5 jenkins jenkins 50 May 21 10:04 pkg [2021-05-21T10:06:05.868Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 21 10:04 README.md [2021-05-21T10:06:05.868Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 21 10:04 RELEASE-NOTES.txt [2021-05-21T10:06:05.868Z] drwxrwxr-x. 4 jenkins jenkins 54 May 21 10:04 snap [2021-05-21T10:06:05.868Z] -rw-rw-r--. 1 jenkins jenkins 5 May 21 10:01 VERSION [2021-05-21T10:06:05.868Z] -rw-rw-r--. 1 jenkins jenkins 222 May 21 10:04 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-21T10:06:06.174Z] + 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=e8c1cc2cdba4538cda83ea941797953b8910ef77 --label arch=amd64 --label version=0.0.0 . [2021-05-21T10:06:06.174Z] Sending build context to Docker daemon 2.724MB [2021-05-21T10:06:06.174Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T10:06:06.174Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-21T10:06:06.174Z] ---> 49d67549dd23 [2021-05-21T10:06:06.174Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-21T10:06:06.748Z] ---> Running in dcf798bb8b5e [2021-05-21T10:06:06.748Z] Removing intermediate container dcf798bb8b5e [2021-05-21T10:06:06.748Z] ---> b157055731f9 [2021-05-21T10:06:06.748Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T10:06:07.009Z] ---> Running in 975de71044c0 [2021-05-21T10:06:07.009Z] Removing intermediate container 975de71044c0 [2021-05-21T10:06:07.009Z] ---> d4644cbea5e4 [2021-05-21T10:06:07.009Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T10:06:07.274Z] ---> Running in 5169fc832297 [2021-05-21T10:06:07.848Z] Removing intermediate container 5169fc832297 [2021-05-21T10:06:07.848Z] ---> 94807aaf3ece [2021-05-21T10:06:07.848Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-21T10:06:07.848Z] ---> Running in d031795e304a [2021-05-21T10:06:08.108Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-21T10:06:08.680Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-21T10:06:09.256Z] OK: 150 MiB in 46 packages [2021-05-21T10:06:09.520Z] Removing intermediate container d031795e304a [2021-05-21T10:06:09.520Z] ---> 81ece6a843cf [2021-05-21T10:06:09.520Z] Step 7/23 : COPY . . [2021-05-21T10:06:09.779Z] ---> 7387fcd902fc [2021-05-21T10:06:09.779Z] Step 8/23 : RUN go mod download [2021-05-21T10:06:09.779Z] ---> Running in 7ed7a61a661f [2021-05-21T10:06:10.351Z] Removing intermediate container 7ed7a61a661f [2021-05-21T10:06:10.351Z] ---> d661fd4f7674 [2021-05-21T10:06:10.351Z] Step 9/23 : RUN make build [2021-05-21T10:06:10.351Z] ---> Running in 2d6460f7ea57 [2021-05-21T10:06:10.617Z] go mod tidy [2021-05-21T10:06:10.617Z] 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-05-21T10:06:22.929Z] Removing intermediate container 2d6460f7ea57 [2021-05-21T10:06:22.929Z] ---> 2ee966f590fa [2021-05-21T10:06:22.929Z] Step 10/23 : FROM alpine:3.12 [2021-05-21T10:06:22.929Z] 3.12: Pulling from library/alpine [2021-05-21T10:06:22.929Z] 339de151aab4: Pulling fs layer [2021-05-21T10:06:22.929Z] 339de151aab4: Verifying Checksum [2021-05-21T10:06:22.929Z] 339de151aab4: Download complete [2021-05-21T10:06:22.929Z] 339de151aab4: Pull complete [2021-05-21T10:06:22.929Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-21T10:06:22.929Z] Status: Downloaded newer image for alpine:3.12 [2021-05-21T10:06:22.929Z] ---> 13621d1b12d4 [2021-05-21T10:06:22.929Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T10:06:22.929Z] ---> Running in 10a9a66f2592 [2021-05-21T10:06:22.929Z] Removing intermediate container 10a9a66f2592 [2021-05-21T10:06:22.929Z] ---> 7fae0b9f84ec [2021-05-21T10:06:22.929Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T10:06:22.929Z] ---> Running in 253928505f6e [2021-05-21T10:06:23.195Z] Removing intermediate container 253928505f6e [2021-05-21T10:06:23.195Z] ---> ba6c6d86a1e1 [2021-05-21T10:06:23.195Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-21T10:06:23.195Z] ---> Running in 887444e16cc9 [2021-05-21T10:06:23.462Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-21T10:06:24.034Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-21T10:06:24.606Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-21T10:06:24.606Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-21T10:06:24.606Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-21T10:06:25.996Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-21T10:06:25.996Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-21T10:06:25.996Z] Executing busybox-1.31.1-r20.trigger [2021-05-21T10:06:25.996Z] OK: 8 MiB in 19 packages [2021-05-21T10:06:26.258Z] Removing intermediate container 887444e16cc9 [2021-05-21T10:06:26.258Z] ---> 581b3dad4931 [2021-05-21T10:06:26.258Z] Step 14/23 : WORKDIR / [2021-05-21T10:06:26.258Z] ---> Running in 7704c793d959 [2021-05-21T10:06:26.520Z] Removing intermediate container 7704c793d959 [2021-05-21T10:06:26.520Z] ---> 54584a2f5367 [2021-05-21T10:06:26.520Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-21T10:06:26.781Z] ---> 54c0f5168ff0 [2021-05-21T10:06:26.781Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-21T10:06:27.357Z] ---> f06b8f531632 [2021-05-21T10:06:27.357Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-21T10:06:27.623Z] ---> d627f94b571b [2021-05-21T10:06:27.624Z] Step 18/23 : EXPOSE 59999 [2021-05-21T10:06:27.624Z] ---> Running in 5fcc92f9c7db [2021-05-21T10:06:27.884Z] Removing intermediate container 5fcc92f9c7db [2021-05-21T10:06:27.884Z] ---> b71d8359f4e3 [2021-05-21T10:06:27.884Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-21T10:06:27.884Z] ---> Running in 9fae4ffcfdc6 [2021-05-21T10:06:27.884Z] Removing intermediate container 9fae4ffcfdc6 [2021-05-21T10:06:27.884Z] ---> 67886dbe70d3 [2021-05-21T10:06:27.884Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-21T10:06:28.149Z] ---> Running in 1ed88e1838c8 [2021-05-21T10:06:28.149Z] Removing intermediate container 1ed88e1838c8 [2021-05-21T10:06:28.149Z] ---> c4078a86c104 [2021-05-21T10:06:28.149Z] Step 21/23 : LABEL arch=amd64 [2021-05-21T10:06:28.149Z] ---> Running in 04f6c604a7e8 [2021-05-21T10:06:28.413Z] Removing intermediate container 04f6c604a7e8 [2021-05-21T10:06:28.413Z] ---> 33f81ab20850 [2021-05-21T10:06:28.413Z] Step 22/23 : LABEL git_sha=e8c1cc2cdba4538cda83ea941797953b8910ef77 [2021-05-21T10:06:28.413Z] ---> Running in a21718fe65ce [2021-05-21T10:06:28.413Z] Removing intermediate container a21718fe65ce [2021-05-21T10:06:28.413Z] ---> a8f9aea265b4 [2021-05-21T10:06:28.413Z] Step 23/23 : LABEL version=0.0.0 [2021-05-21T10:06:28.413Z] ---> Running in 396bc5117d43 [2021-05-21T10:06:28.674Z] Removing intermediate container 396bc5117d43 [2021-05-21T10:06:28.674Z] ---> d491855ca7c8 [2021-05-21T10:06:28.674Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-21T10:06:28.674Z] Successfully built d491855ca7c8 [2021-05-21T10:06:28.674Z] 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-05-21T10:06:29.529Z] ---> job-cost.sh [2021-05-21T10:06:29.530Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Mr2E [2021-05-21T10:06:39.564Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-21T10:06:50.874Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-21T10:06:50.874Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-21T10:06:50.874Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-21T10:06:51.828Z] lf-activate-venv(): INFO: Adding /tmp/venv-Mr2E/bin to PATH [2021-05-21T10:06:51.828Z] INFO: No Stack... [2021-05-21T10:06:51.828Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-21T10:06:52.426Z] INFO: Archiving Costs [Pipeline] sh [2021-05-21T10:06:52.729Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-05-21T10:06:52.729Z] + cut -d, -f6 [Pipeline] lock [2021-05-21T10:06:52.762Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-934-5-stack-cost] [2021-05-21T10:06:52.777Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-934-5-stack-cost] did not exist. Created. [2021-05-21T10:06:52.777Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-934-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-21T10:06:53.105Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-21T10:06:53.195Z] Stashed 1 file(s) [Pipeline] } [2021-05-21T10:06:53.208Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-934-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-21T10:06:57.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.255s coverage: 25.4% of statements [2021-05-21T10:06:57.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-21T10:06:57.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.191s coverage: 28.1% of statements [2021-05-21T10:06:57.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.258s coverage: 78.9% of statements [2021-05-21T10:06:57.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.191s coverage: 10.7% of statements [2021-05-21T10:06:57.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-21T10:06:57.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-21T10:06:57.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-21T10:06:59.624Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.274s coverage: 30.2% of statements [2021-05-21T10:06:59.624Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-21T10:06:59.902Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.252s coverage: 83.3% of statements [2021-05-21T10:06:59.902Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-21T10:06:59.902Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-21T10:07:00.519Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.357s coverage: 58.0% of statements [2021-05-21T10:07:04.852Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.995s coverage: 89.2% of statements [2021-05-21T10:07:04.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-21T10:07:04.852Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.183s coverage: 5.0% of statements [2021-05-21T10:07:04.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-21T10:07:04.852Z] GO111MODULE=on go vet ./... [2021-05-21T10:08:01.440Z] gofmt -l . [2021-05-21T10:08:01.440Z] [ "`gofmt -l .`" = "" ] [2021-05-21T10:08:01.440Z] ./bin/test-attribution-txt.sh [2021-05-21T10:08:01.440Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-21T10:08:01.758Z] $ docker stop --time=1 64c235f9481f43146ebdedf04927313ab266478a075e6c117476d4d4d511819e [2021-05-21T10:08:03.907Z] $ docker rm -f 64c235f9481f43146ebdedf04927313ab266478a075e6c117476d4d4d511819e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-21T10:08:05.028Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-21T10:08:05.061Z] Warning: overwriting stash ‘coverage-report’ [2021-05-21T10:08:05.860Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-21T10:08:06.442Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-21T10:08:06.865Z] + ls -al . [2021-05-21T10:08:06.866Z] total 248 [2021-05-21T10:08:06.866Z] drwxrwxr-x 10 jenkins jenkins 4096 May 21 10:08 . [2021-05-21T10:08:06.866Z] drwxrwxr-x 4 jenkins jenkins 4096 May 21 10:03 .. [2021-05-21T10:08:06.866Z] -rw-rw-r-- 1 jenkins jenkins 140 May 21 10:03 .dockerignore [2021-05-21T10:08:06.866Z] drwxrwxr-x 8 jenkins jenkins 4096 May 21 10:03 .git [2021-05-21T10:08:06.866Z] drwxrwxr-x 2 jenkins jenkins 4096 May 21 10:03 .github [2021-05-21T10:08:06.866Z] -rw-rw-r-- 1 jenkins jenkins 138 May 21 10:03 .gitignore [2021-05-21T10:08:06.866Z] -rw-rw-r-- 1 jenkins jenkins 987 May 21 10:03 Dockerfile.build [2021-05-21T10:08:06.866Z] -rw-rw-r-- 1 jenkins jenkins 894 May 21 10:03 Jenkinsfile [2021-05-21T10:08:06.866Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 21 10:03 LICENSE [2021-05-21T10:08:06.866Z] -rw-rw-r-- 1 jenkins jenkins 997 May 21 10:03 Makefile [2021-05-21T10:08:06.866Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 21 10:03 README.md [2021-05-21T10:08:06.866Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 21 10:03 RELEASE-NOTES.txt [2021-05-21T10:08:06.866Z] -rw-rw-r-- 1 jenkins jenkins 5 May 21 10:01 VERSION [2021-05-21T10:08:06.866Z] drwxrwxr-x 2 jenkins jenkins 4096 May 21 10:03 bin [2021-05-21T10:08:06.866Z] -rw-r--r-- 1 jenkins jenkins 126187 May 21 10:07 coverage.out [2021-05-21T10:08:06.866Z] drwxrwxr-x 5 jenkins jenkins 4096 May 21 10:03 example [2021-05-21T10:08:06.866Z] -rw-r--r-- 1 jenkins jenkins 575 May 21 10:08 go.mod [2021-05-21T10:08:06.866Z] -rw-r--r-- 1 jenkins jenkins 20803 May 21 10:05 go.sum [2021-05-21T10:08:06.866Z] drwxrwxr-x 15 jenkins jenkins 4096 May 21 10:03 internal [2021-05-21T10:08:06.866Z] drwxrwxr-x 4 jenkins jenkins 4096 May 21 10:03 openapi [2021-05-21T10:08:06.866Z] drwxrwxr-x 5 jenkins jenkins 4096 May 21 10:03 pkg [2021-05-21T10:08:06.866Z] drwxrwxr-x 4 jenkins jenkins 4096 May 21 10:03 snap [2021-05-21T10:08:06.866Z] -rw-rw-r-- 1 jenkins jenkins 222 May 21 10:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-21T10:08:07.370Z] + 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=e8c1cc2cdba4538cda83ea941797953b8910ef77 --label arch=arm64 --label version=0.0.0 . [2021-05-21T10:08:07.965Z] Sending build context to Docker daemon 2.726MB [2021-05-21T10:08:07.965Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T10:08:07.965Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-21T10:08:07.965Z] ---> dfe93fff2d85 [2021-05-21T10:08:07.965Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-21T10:08:08.237Z] ---> Running in 7c6cd911b7e0 [2021-05-21T10:08:08.831Z] Removing intermediate container 7c6cd911b7e0 [2021-05-21T10:08:08.831Z] ---> d2a8e65259d0 [2021-05-21T10:08:08.831Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T10:08:09.107Z] ---> Running in 903a11a2fe09 [2021-05-21T10:08:09.391Z] Removing intermediate container 903a11a2fe09 [2021-05-21T10:08:09.391Z] ---> 41cf243f5a24 [2021-05-21T10:08:09.391Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T10:08:09.664Z] ---> Running in 8c1f9c133986 [2021-05-21T10:08:11.635Z] Removing intermediate container 8c1f9c133986 [2021-05-21T10:08:11.635Z] ---> 5da451610d0d [2021-05-21T10:08:11.635Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-21T10:08:11.913Z] ---> Running in 602fa30e66ba [2021-05-21T10:08:13.355Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-21T10:08:13.946Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-21T10:08:14.920Z] OK: 139 MiB in 46 packages [2021-05-21T10:08:15.900Z] Removing intermediate container 602fa30e66ba [2021-05-21T10:08:15.900Z] ---> 856d33713212 [2021-05-21T10:08:15.900Z] Step 7/23 : COPY . . [2021-05-21T10:08:17.334Z] ---> 503ee9787e68 [2021-05-21T10:08:17.334Z] Step 8/23 : RUN go mod download [2021-05-21T10:08:17.334Z] ---> Running in 5bdffde64164 [2021-05-21T10:08:19.978Z] Removing intermediate container 5bdffde64164 [2021-05-21T10:08:19.978Z] ---> 7b5d27ed85a2 [2021-05-21T10:08:19.978Z] Step 9/23 : RUN make build [2021-05-21T10:08:19.978Z] ---> Running in 1a759110a363 [2021-05-21T10:08:20.959Z] go mod tidy [2021-05-21T10:08:21.579Z] 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-05-21T10:09:00.711Z] Removing intermediate container 1a759110a363 [2021-05-21T10:09:00.711Z] ---> 082621665a75 [2021-05-21T10:09:00.711Z] Step 10/23 : FROM alpine:3.12 [2021-05-21T10:09:00.711Z] 3.12: Pulling from library/alpine [2021-05-21T10:09:00.711Z] d2f70382dc9a: Pulling fs layer [2021-05-21T10:09:00.711Z] d2f70382dc9a: Verifying Checksum [2021-05-21T10:09:00.711Z] d2f70382dc9a: Pull complete [2021-05-21T10:09:00.711Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-21T10:09:00.711Z] Status: Downloaded newer image for alpine:3.12 [2021-05-21T10:09:00.711Z] ---> 9852663dfa18 [2021-05-21T10:09:00.711Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T10:09:00.711Z] ---> Running in 521d8a152b42 [2021-05-21T10:09:00.711Z] Removing intermediate container 521d8a152b42 [2021-05-21T10:09:00.711Z] ---> 1d33bbe576e7 [2021-05-21T10:09:00.711Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T10:09:00.711Z] ---> Running in 97a03383a4ab [2021-05-21T10:09:00.711Z] Removing intermediate container 97a03383a4ab [2021-05-21T10:09:00.711Z] ---> ad5155e03e84 [2021-05-21T10:09:00.711Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-21T10:09:00.711Z] ---> Running in a349124aabcf [2021-05-21T10:09:00.981Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-21T10:09:01.956Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-21T10:09:02.546Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-21T10:09:02.546Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-21T10:09:02.546Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-21T10:09:02.823Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-21T10:09:02.823Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-21T10:09:03.102Z] Executing busybox-1.31.1-r20.trigger [2021-05-21T10:09:03.102Z] OK: 8 MiB in 19 packages [2021-05-21T10:09:04.083Z] Removing intermediate container a349124aabcf [2021-05-21T10:09:04.083Z] ---> d67c29b759d2 [2021-05-21T10:09:04.083Z] Step 14/23 : WORKDIR / [2021-05-21T10:09:04.358Z] ---> Running in eda51fa7325a [2021-05-21T10:09:04.957Z] Removing intermediate container eda51fa7325a [2021-05-21T10:09:04.957Z] ---> bddceb47724c [2021-05-21T10:09:04.957Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-21T10:09:05.552Z] ---> 8db165e75b84 [2021-05-21T10:09:05.552Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-21T10:09:06.982Z] ---> fe360a7073a6 [2021-05-21T10:09:06.982Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-21T10:09:07.607Z] ---> f12879a2e26c [2021-05-21T10:09:07.607Z] Step 18/23 : EXPOSE 59999 [2021-05-21T10:09:07.880Z] ---> Running in dc961d8aac6f [2021-05-21T10:09:08.474Z] Removing intermediate container dc961d8aac6f [2021-05-21T10:09:08.474Z] ---> 4d453bb2ffa9 [2021-05-21T10:09:08.474Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-21T10:09:08.474Z] ---> Running in cc34726f7b71 [2021-05-21T10:09:09.069Z] Removing intermediate container cc34726f7b71 [2021-05-21T10:09:09.069Z] ---> 9023bd87b89e [2021-05-21T10:09:09.069Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-21T10:09:09.069Z] ---> Running in 293893ec5f33 [2021-05-21T10:09:09.676Z] Removing intermediate container 293893ec5f33 [2021-05-21T10:09:09.676Z] ---> 0f8420edf423 [2021-05-21T10:09:09.676Z] Step 21/23 : LABEL arch=arm64 [2021-05-21T10:09:09.676Z] ---> Running in 339515bb37e1 [2021-05-21T10:09:10.272Z] Removing intermediate container 339515bb37e1 [2021-05-21T10:09:10.272Z] ---> e89cc50fa919 [2021-05-21T10:09:10.272Z] Step 22/23 : LABEL git_sha=e8c1cc2cdba4538cda83ea941797953b8910ef77 [2021-05-21T10:09:10.272Z] ---> Running in 2f47c2525760 [2021-05-21T10:09:10.865Z] Removing intermediate container 2f47c2525760 [2021-05-21T10:09:10.865Z] ---> c75ad3b16b9d [2021-05-21T10:09:10.865Z] Step 23/23 : LABEL version=0.0.0 [2021-05-21T10:09:10.865Z] ---> Running in d7ad5cd65e3f [2021-05-21T10:09:11.459Z] Removing intermediate container d7ad5cd65e3f [2021-05-21T10:09:11.459Z] ---> 48c6acb3a5aa [2021-05-21T10:09:11.459Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-21T10:09:11.459Z] Successfully built 48c6acb3a5aa [2021-05-21T10:09:11.459Z] 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-05-21T10:09:12.084Z] ---> job-cost.sh [2021-05-21T10:09:12.084Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-QZ10 [2021-05-21T10:09:51.085Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-21T10:11:12.837Z] lf-activate-venv(): INFO: Adding /tmp/venv-QZ10/bin to PATH [2021-05-21T10:11:12.837Z] INFO: No Stack... [2021-05-21T10:11:12.837Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-21T10:11:12.837Z] INFO: Archiving Costs [Pipeline] sh [2021-05-21T10:11:13.181Z] + cut -d, -f6 [2021-05-21T10:11:13.181Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [Pipeline] lock [2021-05-21T10:11:13.240Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-934-5-stack-cost] [2021-05-21T10:11:13.250Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-934-5-stack-cost] did not exist. Created. [2021-05-21T10:11:13.250Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-934-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-21T10:11:13.621Z] /w/workspace/device-sdk-go/5@tmp/durable-9f35e612/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-9f35e612/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-21T10:11:13.965Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-21T10:11:13.988Z] Warning: overwriting stash ‘stack-cost’ [2021-05-21T10:11:14.133Z] Stashed 1 file(s) [Pipeline] } [2021-05-21T10:11:14.152Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-934-5-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-05-21T10:11:14.967Z] provisioning config files... [2021-05-21T10:11:14.977Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config8873394578405805650tmp [Pipeline] { [Pipeline] sh [2021-05-21T10:11:15.325Z] + set +x [2021-05-21T10:11:15.325Z] + curl -s https://codecov.io/bash [2021-05-21T10:11:15.325Z] + bash -s -- [2021-05-21T10:11:15.325Z] [2021-05-21T10:11:15.325Z] _____ _ [2021-05-21T10:11:15.325Z] / ____| | | [2021-05-21T10:11:15.325Z] | | ___ __| | ___ ___ _____ __ [2021-05-21T10:11:15.325Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-21T10:11:15.325Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-21T10:11:15.325Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-21T10:11:15.325Z] Bash-1.0.2 [2021-05-21T10:11:15.325Z] [2021-05-21T10:11:15.325Z] [2021-05-21T10:11:15.325Z] ==> git version 2.24.4 found [2021-05-21T10:11:15.325Z] ==> 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-05-21T10:11:15.325Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-21T10:11:15.325Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-21T10:11:15.325Z] ==> Jenkins CI detected. [2021-05-21T10:11:15.325Z] project root: . [2021-05-21T10:11:15.325Z] --> token set from env [2021-05-21T10:11:15.325Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-21T10:11:15.590Z] ==> Running gcov in . (disable via -X gcov) [2021-05-21T10:11:15.591Z] ==> Python coveragepy not found [2021-05-21T10:11:15.591Z] ==> Searching for coverage reports in: [2021-05-21T10:11:15.591Z] + . [2021-05-21T10:11:15.591Z] -> Found 1 reports [2021-05-21T10:11:15.591Z] ==> Detecting git/mercurial file structure [2021-05-21T10:11:15.591Z] ==> Reading reports [2021-05-21T10:11:15.591Z] + ./coverage.out bytes=126187 [2021-05-21T10:11:15.591Z] ==> Appending adjustments [2021-05-21T10:11:15.591Z] https://docs.codecov.io/docs/fixing-reports [2021-05-21T10:11:15.855Z] + Found adjustments [2021-05-21T10:11:15.856Z] ==> Gzipping contents [2021-05-21T10:11:15.856Z] 20K /tmp/codecov.iOojfi.gz [2021-05-21T10:11:15.856Z] ==> Uploading reports [2021-05-21T10:11:15.856Z] url: https://codecov.io [2021-05-21T10:11:15.856Z] query: branch=PR-934&commit=e8c1cc2cdba4538cda83ea941797953b8910ef77&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-934%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= [2021-05-21T10:11:15.856Z] -> Pinging Codecov [2021-05-21T10:11:15.856Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-934&commit=e8c1cc2cdba4538cda83ea941797953b8910ef77&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-934%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= [2021-05-21T10:11:16.438Z] -> Uploading to [2021-05-21T10:11:16.439Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-21/7E55EF52A471D76F132DFD9A03CDDE97/e8c1cc2cdba4538cda83ea941797953b8910ef77/21d9a4f4-ce86-4ec0-ba68-702036cb822d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210521%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210521T101116Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a603cd2eaae8e533ec8ad5dbb44877e03c7497ec38bf7b3f7ed9248c701884fb [2021-05-21T10:11:16.439Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-21T10:11:16.439Z] Dload Upload Total Spent Left Speed [2021-05-21T10:11:16.699Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16477 0 0 100 16477 0 32354 --:--:-- --:--:-- --:--:-- 32307 100 16477 0 0 100 16477 0 32345 --:--:-- --:--:-- --:--:-- 32307 [2021-05-21T10:11:16.699Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e8c1cc2cdba4538cda83ea941797953b8910ef77 [Pipeline] } [2021-05-21T10:11:16.709Z] 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-05-21T10:11:18.378Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T10:11:18.965Z] ---> package-listing.sh [2021-05-21T10:11:18.965Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-21T10:11:18.965Z] ++ facter osfamily [2021-05-21T10:11:19.228Z] + OS_FAMILY=redhat [2021-05-21T10:11:19.228Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-934 [2021-05-21T10:11:19.228Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-21T10:11:19.228Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-21T10:11:19.228Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-21T10:11:19.228Z] + PACKAGES=/tmp/packages_start.txt [2021-05-21T10:11:19.228Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-934 ']' [2021-05-21T10:11:19.228Z] + PACKAGES=/tmp/packages_end.txt [2021-05-21T10:11:19.228Z] + case "${OS_FAMILY}" in [2021-05-21T10:11:19.228Z] + sort [2021-05-21T10:11:19.228Z] + rpm -qa [2021-05-21T10:11:19.804Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-21T10:11:19.804Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-21T10:11:19.804Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-21T10:11:20.068Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-934 ']' [2021-05-21T10:11:20.068Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-934/archives/ [2021-05-21T10:11:20.068Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-934/archives/ [Pipeline] echo [2021-05-21T10:11:20.081Z] 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-934/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-21T10:11:20.371Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-21T10:11:20.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T10:11:20.945Z] [2021-05-21T10:11:20.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-21T10:11:21.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T10:11:21.261Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-21T10:11:21.261Z] df20fa9351a1: Pulling fs layer [2021-05-21T10:11:21.261Z] 36b3adc4ff6f: Pulling fs layer [2021-05-21T10:11:21.261Z] 8ad3a11d3b57: Pulling fs layer [2021-05-21T10:11:21.261Z] 46f8f816bc3b: Pulling fs layer [2021-05-21T10:11:21.261Z] 93b61091891f: Pulling fs layer [2021-05-21T10:11:21.261Z] 93b9cdb0e59b: Pulling fs layer [2021-05-21T10:11:21.261Z] 5e14af77c1be: Pulling fs layer [2021-05-21T10:11:21.261Z] 01666e4c0597: Pulling fs layer [2021-05-21T10:11:21.261Z] aa168da1d23b: Pulling fs layer [2021-05-21T10:11:21.261Z] 46f8f816bc3b: Waiting [2021-05-21T10:11:21.261Z] 93b61091891f: Waiting [2021-05-21T10:11:21.261Z] 93b9cdb0e59b: Waiting [2021-05-21T10:11:21.261Z] 5e14af77c1be: Waiting [2021-05-21T10:11:21.261Z] 01666e4c0597: Waiting [2021-05-21T10:11:21.261Z] aa168da1d23b: Waiting [2021-05-21T10:11:21.261Z] 36b3adc4ff6f: Verifying Checksum [2021-05-21T10:11:21.261Z] 36b3adc4ff6f: Download complete [2021-05-21T10:11:21.261Z] 46f8f816bc3b: Verifying Checksum [2021-05-21T10:11:21.261Z] 46f8f816bc3b: Download complete [2021-05-21T10:11:21.261Z] df20fa9351a1: Verifying Checksum [2021-05-21T10:11:21.261Z] df20fa9351a1: Download complete [2021-05-21T10:11:21.526Z] 93b9cdb0e59b: Verifying Checksum [2021-05-21T10:11:21.526Z] 93b9cdb0e59b: Download complete [2021-05-21T10:11:21.526Z] 93b61091891f: Verifying Checksum [2021-05-21T10:11:21.526Z] 93b61091891f: Download complete [2021-05-21T10:11:21.526Z] 5e14af77c1be: Verifying Checksum [2021-05-21T10:11:21.526Z] 5e14af77c1be: Download complete [2021-05-21T10:11:21.526Z] 01666e4c0597: Verifying Checksum [2021-05-21T10:11:21.526Z] 01666e4c0597: Download complete [2021-05-21T10:11:21.526Z] df20fa9351a1: Pull complete [2021-05-21T10:11:21.817Z] 8ad3a11d3b57: Verifying Checksum [2021-05-21T10:11:21.817Z] 8ad3a11d3b57: Download complete [2021-05-21T10:11:21.817Z] 36b3adc4ff6f: Pull complete [2021-05-21T10:11:22.397Z] 8ad3a11d3b57: Pull complete [2021-05-21T10:11:22.397Z] 46f8f816bc3b: Pull complete [2021-05-21T10:11:22.662Z] 93b61091891f: Pull complete [2021-05-21T10:11:22.925Z] 93b9cdb0e59b: Pull complete [2021-05-21T10:11:22.925Z] 5e14af77c1be: Pull complete [2021-05-21T10:11:23.189Z] 01666e4c0597: Pull complete [2021-05-21T10:11:23.762Z] aa168da1d23b: Verifying Checksum [2021-05-21T10:11:23.762Z] aa168da1d23b: Download complete [2021-05-21T10:11:28.011Z] aa168da1d23b: Pull complete [2021-05-21T10:11:28.011Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-21T10:11:28.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T10:11:28.011Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-21T10:11:28.092Z] prd-centos7-docker-4c-2g-15520 does not seem to be running inside a container [2021-05-21T10:11:28.131Z] $ 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-934/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-934 -v /w/workspace/dgexfoundry_device-sdk-go_PR-934:/w/workspace/dgexfoundry_device-sdk-go_PR-934:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-21T10:11:31.283Z] $ docker top 9f584a9cabf46c9e6de4dc26d09f7400d5186ece33a4c832b9e2559b2b0dddc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T10:11:31.671Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-21T10:11:31.972Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-21T10:11:32.275Z] + ls /var/log/sa-host [2021-05-21T10:11:32.275Z] + sadf -c /var/log/sa-host/sa05 [2021-05-21T10:11:32.275Z] file_magic: OK [2021-05-21T10:11:32.275Z] HZ: Using current value: 100 [2021-05-21T10:11:32.275Z] file_header: OK [2021-05-21T10:11:32.275Z] 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-05-21T10:11:32.275Z] Statistics: [2021-05-21T10:11:32.275Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-21T10:11:32.275Z] File successfully converted to sysstat format version 12.2.1 [2021-05-21T10:11:32.275Z] + sadf -c /var/log/sa-host/sa21 [2021-05-21T10:11:32.275Z] file_magic: OK [2021-05-21T10:11:32.275Z] HZ: Using current value: 100 [2021-05-21T10:11:32.275Z] file_header: OK [2021-05-21T10:11:32.275Z] 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-05-21T10:11:32.275Z] Statistics: [2021-05-21T10:11:32.275Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-21T10:11:32.275Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T10:11:32.896Z] provisioning config files... [2021-05-21T10:11:33.180Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config7491454201680341540tmp [Pipeline] { [Pipeline] echo [2021-05-21T10:11:33.201Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T10:11:33.501Z] ---> create-netrc.sh [Pipeline] } [2021-05-21T10:11:33.509Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-21T10:11:33.535Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T10:11:33.833Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-21T10:11:33.846Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T10:11:34.154Z] ---> sudo-logs.sh [2021-05-21T10:11:34.154Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-21T10:11:34.189Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T10:11:34.488Z] ---> job-cost.sh [2021-05-21T10:11:34.488Z] lf-activate-venv: SKIPPING [2021-05-21T10:11:34.488Z] DEBUG: total: 0.18000000715255737 [2021-05-21T10:11:34.488Z] INFO: Retrieving Stack Cost... [2021-05-21T10:11:35.878Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-21T10:11:36.454Z] INFO: Archiving Costs [Pipeline] echo [2021-05-21T10:11:36.468Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T10:11:36.778Z] ---> logs-deploy.sh [2021-05-21T10:11:36.778Z] lf-activate-venv: SKIPPING [2021-05-21T10:11:36.778Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-934/5 [2021-05-21T10:11:36.778Z] INFO: archiving workspace using pattern(s): [2021-05-21T10:11:37.724Z] Archives upload complete. [2021-05-21T10:11:37.724Z] INFO: archiving logs to Nexus [2021-05-21T10:11:38.297Z] ---> uname -a: [2021-05-21T10:11:38.297Z] Linux prd-centos7-docker-4c-2g-15520.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-05-21T10:11:38.297Z] [2021-05-21T10:11:38.297Z] [2021-05-21T10:11:38.297Z] ---> lscpu: [2021-05-21T10:11:38.297Z] Architecture: x86_64 [2021-05-21T10:11:38.297Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-21T10:11:38.297Z] Byte Order: Little Endian [2021-05-21T10:11:38.297Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-21T10:11:38.297Z] CPU(s): 2 [2021-05-21T10:11:38.297Z] On-line CPU(s) list: 0,1 [2021-05-21T10:11:38.297Z] Thread(s) per core: 1 [2021-05-21T10:11:38.297Z] Core(s) per socket: 1 [2021-05-21T10:11:38.297Z] Socket(s): 2 [2021-05-21T10:11:38.297Z] NUMA node(s): 1 [2021-05-21T10:11:38.297Z] Vendor ID: AuthenticAMD [2021-05-21T10:11:38.297Z] CPU family: 23 [2021-05-21T10:11:38.297Z] Model: 49 [2021-05-21T10:11:38.297Z] Model name: AMD EPYC-Rome Processor [2021-05-21T10:11:38.297Z] Stepping: 0 [2021-05-21T10:11:38.297Z] CPU MHz: 2800.000 [2021-05-21T10:11:38.297Z] BogoMIPS: 5600.00 [2021-05-21T10:11:38.297Z] Virtualization: AMD-V [2021-05-21T10:11:38.297Z] Hypervisor vendor: KVM [2021-05-21T10:11:38.297Z] Virtualization type: full [2021-05-21T10:11:38.297Z] L1d cache: 64 KiB [2021-05-21T10:11:38.297Z] L1i cache: 64 KiB [2021-05-21T10:11:38.297Z] L2 cache: 1 MiB [2021-05-21T10:11:38.297Z] L3 cache: 32 MiB [2021-05-21T10:11:38.297Z] NUMA node0 CPU(s): 0,1 [2021-05-21T10:11:38.297Z] Vulnerability Itlb multihit: Not affected [2021-05-21T10:11:38.297Z] Vulnerability L1tf: Not affected [2021-05-21T10:11:38.297Z] Vulnerability Mds: Not affected [2021-05-21T10:11:38.297Z] Vulnerability Meltdown: Not affected [2021-05-21T10:11:38.297Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-21T10:11:38.297Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-21T10:11:38.297Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-21T10:11:38.297Z] Vulnerability Srbds: Not affected [2021-05-21T10:11:38.297Z] Vulnerability Tsx async abort: Not affected [2021-05-21T10:11:38.297Z] 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-05-21T10:11:38.297Z] [2021-05-21T10:11:38.297Z] [2021-05-21T10:11:38.297Z] ---> nproc: [2021-05-21T10:11:38.297Z] 2 [2021-05-21T10:11:38.297Z] [2021-05-21T10:11:38.297Z] [2021-05-21T10:11:38.297Z] ---> df -h: [2021-05-21T10:11:38.297Z] Filesystem Size Used Available Use% Mounted on [2021-05-21T10:11:38.297Z] overlay 40.0G 7.6G 32.4G 19% / [2021-05-21T10:11:38.297Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-05-21T10:11:38.297Z] tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup [2021-05-21T10:11:38.297Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-05-21T10:11:38.297Z] /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os [2021-05-21T10:11:38.297Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf [2021-05-21T10:11:38.297Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname [2021-05-21T10:11:38.297Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts [2021-05-21T10:11:38.297Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log [2021-05-21T10:11:38.297Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-934 [2021-05-21T10:11:38.297Z] /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json [2021-05-21T10:11:38.297Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp [2021-05-21T10:11:38.297Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host [2021-05-21T10:11:38.297Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure [2021-05-21T10:11:38.297Z] [2021-05-21T10:11:38.297Z] [2021-05-21T10:11:38.297Z] ---> free -m: [2021-05-21T10:11:38.297Z] total used free shared buff/cache available [2021-05-21T10:11:38.297Z] Mem: 7821 987 4736 0 2097 6656 [2021-05-21T10:11:38.297Z] Swap: 1023 0 1023 [2021-05-21T10:11:38.297Z] [2021-05-21T10:11:38.297Z] [2021-05-21T10:11:38.297Z] ---> ip addr: [2021-05-21T10:11:38.297Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-05-21T10:11:38.297Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-05-21T10:11:38.297Z] inet 127.0.0.1/8 scope host lo [2021-05-21T10:11:38.297Z] valid_lft forever preferred_lft forever [2021-05-21T10:11:38.297Z] inet6 ::1/128 scope host [2021-05-21T10:11:38.297Z] valid_lft forever preferred_lft forever [2021-05-21T10:11:38.297Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-05-21T10:11:38.297Z] link/ether fa:16:3e:9e:19:f8 brd ff:ff:ff:ff:ff:ff [2021-05-21T10:11:38.297Z] inet 10.30.123.37/23 brd 10.30.123.255 scope global dynamic eth0 [2021-05-21T10:11:38.297Z] valid_lft 85717sec preferred_lft 85717sec [2021-05-21T10:11:38.297Z] inet6 fe80::f816:3eff:fe9e:19f8/64 scope link [2021-05-21T10:11:38.297Z] valid_lft forever preferred_lft forever [2021-05-21T10:11:38.297Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-05-21T10:11:38.297Z] link/ether 02:42:dd:4a:30:ef brd ff:ff:ff:ff:ff:ff [2021-05-21T10:11:38.297Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-05-21T10:11:38.297Z] valid_lft forever preferred_lft forever [2021-05-21T10:11:38.297Z] inet6 fe80::42:ddff:fe4a:30ef/64 scope link [2021-05-21T10:11:38.297Z] valid_lft forever preferred_lft forever [2021-05-21T10:11:38.297Z] [2021-05-21T10:11:38.297Z] [2021-05-21T10:11:38.297Z] ---> sar -b -r -n DEV: [2021-05-21T10:11:38.297Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/21/21 _x86_64_ (2 CPU) [2021-05-21T10:11:38.297Z] [2021-05-21T10:11:38.297Z] 09:59:57 LINUX RESTART (2 CPU) [2021-05-21T10:11:38.297Z] [2021-05-21T10:11:38.297Z] 10:01:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-05-21T10:11:38.297Z] 10:02:01 7.39 0.22 7.18 0.00 23.58 276.97 0.00 [2021-05-21T10:11:38.297Z] 10:03:01 0.43 0.00 0.43 0.00 0.00 7.11 0.00 [2021-05-21T10:11:38.297Z] 10:04:01 0.23 0.00 0.23 0.00 0.00 2.97 0.00 [2021-05-21T10:11:38.297Z] 10:05:01 0.15 0.00 0.15 0.00 0.00 1.88 0.00 [2021-05-21T10:11:38.297Z] 10:06:01 0.33 0.00 0.33 0.00 0.00 4.56 0.00 [2021-05-21T10:11:38.297Z] 10:07:01 0.20 0.00 0.20 0.00 0.00 2.05 0.00 [2021-05-21T10:11:38.297Z] 10:08:01 0.25 0.00 0.25 0.00 0.00 3.88 0.00 [2021-05-21T10:11:38.297Z] 10:09:01 0.23 0.00 0.23 0.00 0.00 2.85 0.00 [2021-05-21T10:11:38.297Z] 10:10:01 0.18 0.00 0.18 0.00 0.00 1.75 0.00 [2021-05-21T10:11:38.297Z] 10:11:01 0.15 0.00 0.15 0.00 0.00 1.62 0.00 [2021-05-21T10:11:38.297Z] Average: 0.96 0.02 0.93 0.00 2.36 30.58 0.00 [2021-05-21T10:11:38.297Z] [2021-05-21T10:11:38.297Z] 10:01:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-05-21T10:11:38.297Z] 10:02:01 5461276 0 804532 10.05 2620 1740512 1256044 13.87 576436 1571808 24 [2021-05-21T10:11:38.297Z] 10:03:01 5466120 0 799680 9.98 2620 1740520 1205660 13.31 578184 1566684 20 [2021-05-21T10:11:38.297Z] 10:04:01 5463340 0 802460 10.02 2620 1740520 1205960 13.31 576816 1571388 8 [2021-05-21T10:11:38.297Z] 10:05:01 5462976 0 802816 10.02 2620 1740528 1205972 13.31 577024 1571388 8 [2021-05-21T10:11:38.297Z] 10:06:01 5461500 0 804288 10.04 2620 1740532 1205756 13.31 574656 1575340 16 [2021-05-21T10:11:38.297Z] 10:07:01 5459408 0 806376 10.07 2620 1740536 1205852 13.31 576236 1575340 20 [2021-05-21T10:11:38.297Z] 10:08:01 5459928 0 805852 10.06 2620 1740540 1205660 13.31 575816 1575340 16 [2021-05-21T10:11:38.297Z] 10:09:01 5450364 0 815408 10.18 2620 1740548 1205660 13.31 585448 1575340 8 [2021-05-21T10:11:38.297Z] 10:10:01 5450988 0 814784 10.17 2620 1740548 1205660 13.31 585532 1575340 16 [2021-05-21T10:11:38.297Z] 10:11:01 5449724 0 816044 10.19 2620 1740552 1205720 13.31 587696 1573460 12 [2021-05-21T10:11:38.297Z] Average: 5458562 0 807224 10.08 2620 1740534 1210794 13.37 579384 1573143 15 [2021-05-21T10:11:38.297Z] [2021-05-21T10:11:38.297Z] 10:01:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-05-21T10:11:38.297Z] 10:02:01 eth0 14.22 8.86 13.35 3.55 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:02:01 docker0 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:03:01 eth0 0.62 0.12 0.06 0.01 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:04:01 eth0 1.13 0.52 0.33 0.21 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:05:01 eth0 0.52 0.30 0.27 0.20 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:06:01 eth0 0.68 0.18 0.13 0.07 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:07:01 eth0 0.63 0.43 0.33 0.21 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:08:01 eth0 0.07 0.05 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:09:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.297Z] 10:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.298Z] 10:10:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.298Z] 10:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.298Z] 10:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.298Z] 10:11:01 eth0 0.23 0.18 0.08 0.07 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.298Z] 10:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.298Z] 10:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.298Z] Average: eth0 1.83 1.08 1.46 0.43 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.298Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.298Z] Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-21T10:11:38.298Z] [2021-05-21T10:11:38.298Z] [2021-05-21T10:11:38.298Z] ---> sar -P ALL: [2021-05-21T10:11:38.298Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/21/21 _x86_64_ (2 CPU) [2021-05-21T10:11:38.298Z] [2021-05-21T10:11:38.298Z] 09:59:57 LINUX RESTART (2 CPU) [2021-05-21T10:11:38.298Z] [2021-05-21T10:11:38.298Z] 10:01:01 CPU %user %nice %system %iowait %steal %idle [2021-05-21T10:11:38.298Z] 10:02:01 all 0.70 0.00 0.37 0.08 0.03 98.81 [2021-05-21T10:11:38.298Z] 10:02:01 0 0.74 0.00 0.37 0.08 0.03 98.78 [2021-05-21T10:11:38.298Z] 10:02:01 1 0.67 0.00 0.37 0.08 0.03 98.85 [2021-05-21T10:11:38.298Z] 10:03:01 all 0.18 0.00 0.04 0.00 0.03 99.76 [2021-05-21T10:11:38.298Z] 10:03:01 0 0.30 0.00 0.05 0.00 0.03 99.62 [2021-05-21T10:11:38.298Z] 10:03:01 1 0.05 0.00 0.03 0.00 0.02 99.90 [2021-05-21T10:11:38.298Z] 10:04:01 all 0.13 0.00 0.04 0.00 0.02 99.81 [2021-05-21T10:11:38.298Z] 10:04:01 0 0.22 0.00 0.03 0.00 0.02 99.73 [2021-05-21T10:11:38.298Z] 10:04:01 1 0.05 0.00 0.05 0.00 0.02 99.88 [2021-05-21T10:11:38.298Z] 10:05:01 all 0.11 0.00 0.03 0.00 0.03 99.83 [2021-05-21T10:11:38.298Z] 10:05:01 0 0.18 0.00 0.02 0.00 0.02 99.78 [2021-05-21T10:11:38.298Z] 10:05:01 1 0.03 0.00 0.03 0.00 0.05 99.88 [2021-05-21T10:11:38.298Z] 10:06:01 all 0.08 0.00 0.05 0.00 0.03 99.84 [2021-05-21T10:11:38.298Z] 10:06:01 0 0.08 0.00 0.03 0.00 0.02 99.87 [2021-05-21T10:11:38.298Z] 10:06:01 1 0.08 0.00 0.07 0.00 0.03 99.82 [2021-05-21T10:11:38.298Z] 10:07:01 all 0.08 0.00 0.03 0.00 0.02 99.87 [2021-05-21T10:11:38.298Z] 10:07:01 0 0.12 0.00 0.02 0.00 0.00 99.87 [2021-05-21T10:11:38.298Z] 10:07:01 1 0.05 0.00 0.05 0.00 0.03 99.87 [2021-05-21T10:11:38.298Z] 10:08:01 all 0.25 0.00 0.05 0.00 0.02 99.68 [2021-05-21T10:11:38.298Z] 10:08:01 0 0.43 0.00 0.07 0.00 0.02 99.48 [2021-05-21T10:11:38.298Z] 10:08:01 1 0.07 0.00 0.03 0.00 0.02 99.88 [2021-05-21T10:11:38.298Z] 10:09:01 all 0.13 0.00 0.02 0.00 0.02 99.83 [2021-05-21T10:11:38.298Z] 10:09:01 0 0.23 0.00 0.02 0.00 0.02 99.73 [2021-05-21T10:11:38.298Z] 10:09:01 1 0.03 0.00 0.02 0.00 0.02 99.93 [2021-05-21T10:11:38.298Z] 10:10:01 all 0.18 0.00 0.05 0.00 0.02 99.75 [2021-05-21T10:11:38.298Z] 10:10:01 0 0.30 0.00 0.03 0.00 0.02 99.65 [2021-05-21T10:11:38.298Z] 10:10:01 1 0.07 0.00 0.07 0.00 0.02 99.85 [2021-05-21T10:11:38.298Z] 10:11:01 all 0.16 0.00 0.03 0.00 0.01 99.80 [2021-05-21T10:11:38.298Z] 10:11:01 0 0.27 0.00 0.02 0.00 0.00 99.72 [2021-05-21T10:11:38.298Z] 10:11:01 1 0.05 0.00 0.05 0.00 0.02 99.88 [2021-05-21T10:11:38.298Z] Average: all 0.20 0.00 0.07 0.01 0.02 99.70 [2021-05-21T10:11:38.298Z] Average: 0 0.29 0.00 0.07 0.01 0.02 99.62 [2021-05-21T10:11:38.298Z] Average: 1 0.12 0.00 0.08 0.01 0.03 99.77 [2021-05-21T10:11:38.298Z] [2021-05-21T10:11:38.298Z] [2021-05-21T10:11:38.298Z]