Pull request #955 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a17602907dae120b3709a8352c85f4573ad9558a+7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f (472c25c51e8b922c7d892fea07f221274e9093f2) 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-ssh6302362876419223756.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh3730073334101980179.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-955/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-955/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4240662491397030601.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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-ssh6723494538344483037.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-955/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-955/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6431157565315469722.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-14 in /w/workspace/dgexfoundry_device-sdk-go_PR-955 [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-955 # 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-955@tmp/jenkins-gitclient-ssh7156365057041357012.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f into PR head commit a17602907dae120b3709a8352c85f4573ad9558a Merge succeeded, producing a17602907dae120b3709a8352c85f4573ad9558a Checking out Revision a17602907dae120b3709a8352c85f4573ad9558a (PR-955) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/jenkins-gitclient-ssh4523993558307558553.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/955/head:refs/remotes/origin/PR-955 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a17602907dae120b3709a8352c85f4573ad9558a # 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-955@tmp/jenkins-gitclient-ssh7400805073850529088.key > git merge 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a17602907dae120b3709a8352c85f4573ad9558a # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.1 to 1.9.2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-09T10:24:43.543Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 0901f1f3cf89eb61204d1bbc8d169a300a21454f # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-09T10:24:43.631Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-09T10:24:43.663Z] ========================================================= [2021-06-09T10:24:43.664Z] EdgeX Global Pipelines Version Info [2021-06-09T10:24:43.664Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:24:45.207Z] ------------------- [2021-06-09T10:24:45.207Z] stable info: [2021-06-09T10:24:45.207Z] ------------------- [2021-06-09T10:24:45.207Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-09T10:24:45.207Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T10:24:45.207Z] Message: update stable to v1.0.194 [2021-06-09T10:24:45.798Z] ------------------- [2021-06-09T10:24:45.798Z] experimental info: [2021-06-09T10:24:45.798Z] ------------------- [2021-06-09T10:24:45.798Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-09T10:24:45.798Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T10:24:45.798Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-09T10:24:45.934Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-09T10:24:45.960Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-09T10:24:45.983Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-09T10:24:46.007Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-09T10:24:46.032Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-09T10:24:46.058Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-09T10:24:46.085Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-09T10:24:46.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-09T10:24:46.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-09T10:24:46.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-09T10:24:46.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-09T10:24:46.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-09T10:24:46.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-09T10:24:46.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-09T10:24:46.314Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-09T10:24:46.340Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T10:24:46.366Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T10:24:46.393Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T10:24:46.420Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-09T10:24:46.448Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-09T10:24:46.475Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-09T10:24:46.501Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-09T10:24:46.527Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-09T10:24:46.559Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-09T10:24:46.629Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-09T10:24:46.658Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-09T10:24:46.684Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-955 [Pipeline] echo [2021-06-09T10:24:46.710Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-955 [Pipeline] echo [2021-06-09T10:24:46.743Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-955 [Pipeline] echo [2021-06-09T10:24:46.770Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a17602907dae120b3709a8352c85f4573ad9558a [Pipeline] echo [2021-06-09T10:24:46.796Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a176029 [Pipeline] echo [2021-06-09T10:24:46.822Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T10:24:46.902Z] provisioning config files... [2021-06-09T10:24:46.922Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/config185086175823942340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:24:47.263Z] ---> docker-login.sh [2021-06-09T10:24:47.264Z] nexus3.edgexfoundry.org:10001 [2021-06-09T10:24:47.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:24:47.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:24:47.530Z] Configure a credential helper to remove this warning. See [2021-06-09T10:24:47.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:24:47.530Z] [2021-06-09T10:24:47.530Z] Login Succeeded [2021-06-09T10:24:47.530Z] nexus3.edgexfoundry.org:10002 [2021-06-09T10:24:47.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:24:47.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:24:47.530Z] Configure a credential helper to remove this warning. See [2021-06-09T10:24:47.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:24:47.530Z] [2021-06-09T10:24:47.530Z] Login Succeeded [2021-06-09T10:24:47.530Z] nexus3.edgexfoundry.org:10003 [2021-06-09T10:24:47.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:24:47.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:24:47.796Z] Configure a credential helper to remove this warning. See [2021-06-09T10:24:47.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:24:47.796Z] [2021-06-09T10:24:47.796Z] Login Succeeded [2021-06-09T10:24:47.796Z] nexus3.edgexfoundry.org:10004 [2021-06-09T10:24:47.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:24:48.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:24:48.057Z] Configure a credential helper to remove this warning. See [2021-06-09T10:24:48.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:24:48.057Z] [2021-06-09T10:24:48.057Z] Login Succeeded [2021-06-09T10:24:48.057Z] docker.io [2021-06-09T10:24:48.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:24:48.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:24:48.319Z] Configure a credential helper to remove this warning. See [2021-06-09T10:24:48.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:24:48.319Z] [2021-06-09T10:24:48.319Z] Login Succeeded [2021-06-09T10:24:48.319Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T10:24:48.329Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T10:24:48.864Z] + git log --format=format:%s -1 a17602907dae120b3709a8352c85f4573ad9558a [Pipeline] echo [2021-06-09T10:24:48.907Z] GIT_COMMIT: a17602907dae120b3709a8352c85f4573ad9558a, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.1 to 1.9.2 [Pipeline] echo [2021-06-09T10:24:48.922Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:24:49.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T10:24:49.500Z] [2021-06-09T10:24:49.500Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:24:49.821Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T10:24:49.821Z] latest: Pulling from edgex-devops/git-semver [2021-06-09T10:24:49.821Z] 31603596830f: Pulling fs layer [2021-06-09T10:24:49.821Z] 54011a49482f: Pulling fs layer [2021-06-09T10:24:49.821Z] a6820b24f6d8: Pulling fs layer [2021-06-09T10:24:49.821Z] f581987b2513: Pulling fs layer [2021-06-09T10:24:49.821Z] f581987b2513: Waiting [2021-06-09T10:24:49.821Z] 54011a49482f: Verifying Checksum [2021-06-09T10:24:49.821Z] 54011a49482f: Download complete [2021-06-09T10:24:50.094Z] 31603596830f: Verifying Checksum [2021-06-09T10:24:50.094Z] 31603596830f: Download complete [2021-06-09T10:24:50.094Z] f581987b2513: Verifying Checksum [2021-06-09T10:24:50.094Z] f581987b2513: Download complete [2021-06-09T10:24:50.094Z] a6820b24f6d8: Verifying Checksum [2021-06-09T10:24:50.094Z] a6820b24f6d8: Download complete [2021-06-09T10:24:50.094Z] 31603596830f: Pull complete [2021-06-09T10:24:50.367Z] 54011a49482f: Pull complete [2021-06-09T10:24:50.955Z] a6820b24f6d8: Pull complete [2021-06-09T10:24:50.955Z] f581987b2513: Pull complete [2021-06-09T10:24:51.219Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-09T10:24:51.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T10:24:51.220Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-09T10:24:51.304Z] prd-centos7-docker-4c-2g-14 does not seem to be running inside a container [2021-06-09T10:24:51.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-955 -v /w/workspace/dgexfoundry_device-sdk-go_PR-955:/w/workspace/dgexfoundry_device-sdk-go_PR-955:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-09T10:24:52.488Z] $ docker top b9b118cd482267625e317a89ac8e57657b80ad5621a35451f98c1c01318101e6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-09T10:24:52.626Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T10:24:52.626Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T10:24:52.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T10:24:52.750Z] $ docker exec b9b118cd482267625e317a89ac8e57657b80ad5621a35451f98c1c01318101e6 ssh-agent [2021-06-09T10:24:52.880Z] SSH_AUTH_SOCK=/tmp/ssh-kHEkdyRTDPvP/agent.14 [2021-06-09T10:24:52.880Z] SSH_AGENT_PID=21 [2021-06-09T10:24:52.889Z] Running ssh-add (command line suppressed) [2021-06-09T10:24:52.989Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/private_key_6930917433570294019.key (/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/private_key_6930917433570294019.key) [2021-06-09T10:24:53.008Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T10:24:53.317Z] + git tag --points-at HEAD [Pipeline] } [2021-06-09T10:24:53.330Z] $ docker exec --env ******** --env ******** b9b118cd482267625e317a89ac8e57657b80ad5621a35451f98c1c01318101e6 ssh-agent -k [2021-06-09T10:24:53.444Z] unset SSH_AUTH_SOCK; [2021-06-09T10:24:53.445Z] unset SSH_AGENT_PID; [2021-06-09T10:24:53.445Z] echo Agent pid 21 killed; [2021-06-09T10:24:53.462Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-09T10:24:53.504Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T10:24:53.504Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T10:24:53.623Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T10:24:53.623Z] $ docker exec b9b118cd482267625e317a89ac8e57657b80ad5621a35451f98c1c01318101e6 ssh-agent [2021-06-09T10:24:53.740Z] SSH_AUTH_SOCK=/tmp/ssh-OjjyWE0PuLXP/agent.55 [2021-06-09T10:24:53.740Z] SSH_AGENT_PID=61 [2021-06-09T10:24:53.747Z] Running ssh-add (command line suppressed) [2021-06-09T10:24:53.846Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/private_key_8944960722636659155.key (/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/private_key_8944960722636659155.key) [2021-06-09T10:24:53.878Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T10:24:54.200Z] + git semver init [2021-06-09T10:24:54.201Z] # -> Open(): unable to determine branch for HEAD [2021-06-09T10:24:54.201Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-955/.git [2021-06-09T10:24:54.201Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-955 [2021-06-09T10:24:54.201Z] # $SEMVER_REMOTE_NAME = origin [2021-06-09T10:24:54.201Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-09T10:24:54.201Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-09T10:24:54.201Z] # $SEMVER_BRANCH = PR-955 [2021-06-09T10:24:54.201Z] # $SEMVER_TEMP = /tmp/semver-037235486 [2021-06-09T10:24:54.201Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-09T10:24:54.789Z] # '/tmp/semver-037235486' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-955/.semver' [2021-06-09T10:24:55.054Z] # -> Force: false [2021-06-09T10:24:55.054Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-955/.semver [Pipeline] } [2021-06-09T10:24:55.061Z] $ docker exec --env ******** --env ******** b9b118cd482267625e317a89ac8e57657b80ad5621a35451f98c1c01318101e6 ssh-agent -k [2021-06-09T10:24:55.171Z] unset SSH_AUTH_SOCK; [2021-06-09T10:24:55.173Z] unset SSH_AGENT_PID; [2021-06-09T10:24:55.173Z] echo Agent pid 61 killed; [2021-06-09T10:24:55.187Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-09T10:24:55.533Z] + git semver [Pipeline] } [2021-06-09T10:24:55.548Z] $ docker stop --time=1 b9b118cd482267625e317a89ac8e57657b80ad5621a35451f98c1c01318101e6 [2021-06-09T10:24:56.873Z] $ docker rm -f b9b118cd482267625e317a89ac8e57657b80ad5621a35451f98c1c01318101e6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T10:24:57.274Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-09T10:24:57.539Z] Stashed 1 file(s) [Pipeline] echo [2021-06-09T10:24:57.543Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-09T10:25:12.777Z] Still waiting to schedule task [2021-06-09T10:25:12.778Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-09T10:25:12.781Z] Still waiting to schedule task [2021-06-09T10:25:12.781Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-09T10:25:40.265Z] Running on prd-centos7-docker-4c-2g-19 in /w/workspace/dgexfoundry_device-sdk-go_PR-955 [Pipeline] { [Pipeline] ws [2021-06-09T10:25:40.293Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-06-09T10:25:40.403Z] Selected Git installation does not exist. Using Default [2021-06-09T10:25:40.403Z] The recommended git tool is: NONE [2021-06-09T10:25:42.615Z] using credential edgex-jenkins-ssh [2021-06-09T10:25:42.628Z] Cloning the remote Git repository [2021-06-09T10:25:42.668Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:25:42.732Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-06-09T10:25:42.756Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:25:42.756Z] > git --version # timeout=10 [2021-06-09T10:25:42.765Z] > git --version # 'git version 2.24.4' [2021-06-09T10:25:42.766Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:25:42.793Z] [INFO] Currently running in a labeled security context [2021-06-09T10:25:42.793Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T10:25:42.793Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh6516236056315800034.key [2021-06-09T10:25:42.806Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T10:25:43.597Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T10:25:43.604Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T10:25:43.617Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T10:25:43.629Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:25:43.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:25:43.630Z] [INFO] Currently running in a labeled security context [2021-06-09T10:25:43.630Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T10:25:43.630Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh7183423715846515962.key [2021-06-09T10:25:43.642Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/955/head:refs/remotes/origin/PR-955 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T10:25:43.992Z] Merging remotes/origin/master commit 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f into PR head commit a17602907dae120b3709a8352c85f4573ad9558a [2021-06-09T10:25:44.077Z] Merge succeeded, producing a17602907dae120b3709a8352c85f4573ad9558a [2021-06-09T10:25:44.078Z] Checking out Revision a17602907dae120b3709a8352c85f4573ad9558a (PR-955) [2021-06-09T10:25:44.004Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T10:25:44.011Z] > git checkout -f a17602907dae120b3709a8352c85f4573ad9558a # timeout=10 [2021-06-09T10:25:44.045Z] > git remote # timeout=10 [2021-06-09T10:25:44.056Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T10:25:44.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:25:44.062Z] [INFO] Currently running in a labeled security context [2021-06-09T10:25:44.062Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T10:25:44.062Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh3697795488686508253.key [2021-06-09T10:25:44.066Z] > git merge 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f # timeout=10 [2021-06-09T10:25:44.073Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T10:25:44.082Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T10:25:44.088Z] > git checkout -f a17602907dae120b3709a8352c85f4573ad9558a # timeout=10 [2021-06-09T10:25:47.759Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.1 to 1.9.2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T10:25:48.816Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-09T10:25:49.158Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T10:25:49.464Z] + sudo service docker restart [2021-06-09T10:25:49.464Z] + true [2021-06-09T10:25:49.464Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T10:26:07.638Z] provisioning config files... [2021-06-09T10:26:07.661Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1490663372302661344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:26:08.003Z] ---> docker-login.sh [2021-06-09T10:26:08.003Z] nexus3.edgexfoundry.org:10001 [2021-06-09T10:26:08.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:26:08.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:26:08.269Z] Configure a credential helper to remove this warning. See [2021-06-09T10:26:08.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:26:08.269Z] [2021-06-09T10:26:08.269Z] Login Succeeded [2021-06-09T10:26:08.269Z] nexus3.edgexfoundry.org:10002 [2021-06-09T10:26:08.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:26:08.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:26:08.269Z] Configure a credential helper to remove this warning. See [2021-06-09T10:26:08.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:26:08.269Z] [2021-06-09T10:26:08.269Z] Login Succeeded [2021-06-09T10:26:08.269Z] nexus3.edgexfoundry.org:10003 [2021-06-09T10:26:08.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:26:08.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:26:08.532Z] Configure a credential helper to remove this warning. See [2021-06-09T10:26:08.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:26:08.532Z] [2021-06-09T10:26:08.532Z] Login Succeeded [2021-06-09T10:26:08.532Z] nexus3.edgexfoundry.org:10004 [2021-06-09T10:26:08.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:26:08.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:26:08.532Z] Configure a credential helper to remove this warning. See [2021-06-09T10:26:08.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:26:08.532Z] [2021-06-09T10:26:08.532Z] Login Succeeded [2021-06-09T10:26:08.532Z] docker.io [2021-06-09T10:26:08.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:26:09.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:26:09.106Z] Configure a credential helper to remove this warning. See [2021-06-09T10:26:09.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:26:09.106Z] [2021-06-09T10:26:09.106Z] Login Succeeded [2021-06-09T10:26:09.106Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T10:26:09.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T10:26:09.417Z] ========================================================= [2021-06-09T10:26:09.417Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-09T10:26:09.417Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:26:09.740Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-09T10:26:09.740Z] Sending build context to Docker daemon 2.638MB [2021-06-09T10:26:09.740Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T10:26:09.740Z] Step 2/8 : FROM ${BASE} [2021-06-09T10:26:10.006Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-09T10:26:10.006Z] 540db60ca938: Pulling fs layer [2021-06-09T10:26:10.006Z] adcc1eea9eea: Pulling fs layer [2021-06-09T10:26:10.006Z] 4c4ab2625f07: Pulling fs layer [2021-06-09T10:26:10.006Z] 0510c868ecb4: Pulling fs layer [2021-06-09T10:26:10.006Z] afea3b2eda06: Pulling fs layer [2021-06-09T10:26:10.006Z] 7809a108b3ef: Pulling fs layer [2021-06-09T10:26:10.006Z] f706445af74f: Pulling fs layer [2021-06-09T10:26:10.006Z] afea3b2eda06: Waiting [2021-06-09T10:26:10.006Z] 7809a108b3ef: Waiting [2021-06-09T10:26:10.006Z] f706445af74f: Waiting [2021-06-09T10:26:10.006Z] 0510c868ecb4: Waiting [2021-06-09T10:26:10.006Z] 4c4ab2625f07: Verifying Checksum [2021-06-09T10:26:10.006Z] 4c4ab2625f07: Download complete [2021-06-09T10:26:10.006Z] adcc1eea9eea: Verifying Checksum [2021-06-09T10:26:10.006Z] adcc1eea9eea: Download complete [2021-06-09T10:26:10.006Z] afea3b2eda06: Verifying Checksum [2021-06-09T10:26:10.006Z] afea3b2eda06: Download complete [2021-06-09T10:26:10.006Z] 7809a108b3ef: Verifying Checksum [2021-06-09T10:26:10.006Z] 7809a108b3ef: Download complete [2021-06-09T10:26:10.006Z] 540db60ca938: Verifying Checksum [2021-06-09T10:26:10.006Z] 540db60ca938: Download complete [2021-06-09T10:26:10.269Z] 540db60ca938: Pull complete [2021-06-09T10:26:10.269Z] adcc1eea9eea: Pull complete [2021-06-09T10:26:10.528Z] 4c4ab2625f07: Pull complete [2021-06-09T10:26:13.832Z] f706445af74f: Verifying Checksum [2021-06-09T10:26:13.832Z] f706445af74f: Download complete [2021-06-09T10:26:14.092Z] 0510c868ecb4: Verifying Checksum [2021-06-09T10:26:14.092Z] 0510c868ecb4: Download complete [2021-06-09T10:26:18.347Z] 0510c868ecb4: Pull complete [2021-06-09T10:26:18.347Z] afea3b2eda06: Pull complete [2021-06-09T10:26:18.347Z] 7809a108b3ef: Pull complete [2021-06-09T10:26:19.298Z] f706445af74f: Pull complete [2021-06-09T10:26:19.298Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-09T10:26:19.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-09T10:26:19.298Z] ---> b068be0155e3 [2021-06-09T10:26:19.298Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:26:25.888Z] ---> Running in 2a6c4a949e6c [2021-06-09T10:26:25.888Z] Removing intermediate container 2a6c4a949e6c [2021-06-09T10:26:25.888Z] ---> f80f7a311edb [2021-06-09T10:26:25.888Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:26:25.888Z] ---> Running in e7220d2d8f9e [2021-06-09T10:26:26.148Z] Removing intermediate container e7220d2d8f9e [2021-06-09T10:26:26.148Z] ---> 3ba62aee4f47 [2021-06-09T10:26:26.148Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T10:26:26.410Z] ---> Running in 13064172825b [2021-06-09T10:26:26.410Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T10:26:27.355Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T10:26:27.638Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-09T10:26:27.913Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-09T10:26:27.914Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-09T10:26:27.914Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-09T10:26:28.180Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-09T10:26:28.181Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-09T10:26:28.181Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T10:26:28.181Z] OK: 150 MiB in 46 packages [2021-06-09T10:26:28.752Z] Removing intermediate container 13064172825b [2021-06-09T10:26:28.752Z] ---> d0d1a3696576 [2021-06-09T10:26:28.752Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-09T10:26:28.752Z] ---> Running in 9a5e3414b98f [2021-06-09T10:26:28.752Z] Removing intermediate container 9a5e3414b98f [2021-06-09T10:26:28.752Z] ---> c8002bd8b1db [2021-06-09T10:26:28.752Z] Step 7/8 : COPY . . [2021-06-09T10:26:29.012Z] ---> bcd695c73f28 [2021-06-09T10:26:29.012Z] Step 8/8 : RUN go mod download [2021-06-09T10:26:29.012Z] ---> Running in 2569257b05b0 [2021-06-09T10:26:41.281Z] Removing intermediate container 2569257b05b0 [2021-06-09T10:26:41.281Z] ---> 9c667387e023 [2021-06-09T10:26:41.281Z] Successfully built 9c667387e023 [2021-06-09T10:26:41.281Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:26:41.587Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T10:26:41.587Z] . [Pipeline] withDockerContainer [2021-06-09T10:26:41.664Z] prd-centos7-docker-4c-2g-19 does not seem to be running inside a container [2021-06-09T10:26:41.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-09T10:26:42.057Z] $ docker top 29e480c5df1afaeaa516874308378836a65b8ddbb81773dc1a46adb92a1b519f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:26:42.448Z] + go version [2021-06-09T10:26:42.448Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-09T10:26:42.454Z] $ docker stop --time=1 29e480c5df1afaeaa516874308378836a65b8ddbb81773dc1a46adb92a1b519f [2021-06-09T10:26:43.619Z] $ docker rm -f 29e480c5df1afaeaa516874308378836a65b8ddbb81773dc1a46adb92a1b519f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:26:44.232Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T10:26:44.232Z] . [Pipeline] withDockerContainer [2021-06-09T10:26:44.318Z] prd-centos7-docker-4c-2g-19 does not seem to be running inside a container [2021-06-09T10:26:44.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-09T10:26:44.700Z] $ docker top c1a6dc64f5e1854655a708980a12e54bf85327254befd5dea2e059a78f013306 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:26:45.093Z] + go mod tidy [Pipeline] sh [2021-06-09T10:26:45.662Z] + make test [2021-06-09T10:26:45.662Z] go mod tidy [2021-06-09T10:26:45.662Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-09T10:26:51.024Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-09T10:27:13.161Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-09T10:27:13.161Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-09T10:27:13.161Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-09T10:27:15.737Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.066s coverage: 25.4% of statements [2021-06-09T10:27:15.737Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-09T10:27:15.737Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.047s coverage: 28.1% of statements [2021-06-09T10:27:16.339Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements [2021-06-09T10:27:16.339Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.054s coverage: 9.0% of statements [2021-06-09T10:27:16.339Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-09T10:27:16.339Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-09T10:27:16.339Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-09T10:27:17.295Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.071s coverage: 29.2% of statements [2021-06-09T10:27:17.295Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-09T10:27:18.691Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.050s coverage: 83.3% of statements [2021-06-09T10:27:18.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-09T10:27:18.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T10:27:18.691Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 58.0% of statements [2021-06-09T10:27:19.271Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.807s coverage: 89.2% of statements [2021-06-09T10:27:19.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-09T10:27:19.271Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.0% of statements [2021-06-09T10:27:19.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-09T10:27:19.271Z] GO111MODULE=on go vet ./... [2021-06-09T10:27:37.475Z] gofmt -l . [2021-06-09T10:27:37.475Z] [ "`gofmt -l .`" = "" ] [2021-06-09T10:27:37.475Z] ./bin/test-attribution-txt.sh [2021-06-09T10:27:37.475Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-09T10:27:37.482Z] $ docker stop --time=1 c1a6dc64f5e1854655a708980a12e54bf85327254befd5dea2e059a78f013306 [2021-06-09T10:27:38.997Z] $ docker rm -f c1a6dc64f5e1854655a708980a12e54bf85327254befd5dea2e059a78f013306 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T10:27:39.457Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T10:27:39.652Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-09T10:27:40.717Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T10:27:41.011Z] + ls -al . [2021-06-09T10:27:41.011Z] total 208 [2021-06-09T10:27:41.011Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 9 10:27 . [2021-06-09T10:27:41.011Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 9 10:25 .. [2021-06-09T10:27:41.011Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 9 10:25 bin [2021-06-09T10:27:41.011Z] -rw-r--r--. 1 jenkins jenkins 126071 Jun 9 10:27 coverage.out [2021-06-09T10:27:41.011Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 9 10:25 Dockerfile.build [2021-06-09T10:27:41.011Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 9 10:25 .dockerignore [2021-06-09T10:27:41.011Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 9 10:25 example [2021-06-09T10:27:41.011Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 9 10:25 .git [2021-06-09T10:27:41.011Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 9 10:25 .github [2021-06-09T10:27:41.011Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 9 10:25 .gitignore [2021-06-09T10:27:41.011Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 9 10:27 go.mod [2021-06-09T10:27:41.011Z] -rw-r--r--. 1 jenkins jenkins 20472 Jun 9 10:26 go.sum [2021-06-09T10:27:41.011Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 9 10:25 internal [2021-06-09T10:27:41.011Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 9 10:25 Jenkinsfile [2021-06-09T10:27:41.011Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 9 10:25 LICENSE [2021-06-09T10:27:41.011Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 9 10:25 Makefile [2021-06-09T10:27:41.011Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 9 10:25 openapi [2021-06-09T10:27:41.011Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 9 10:25 pkg [2021-06-09T10:27:41.011Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 9 10:25 README.md [2021-06-09T10:27:41.011Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 9 10:25 RELEASE-NOTES.txt [2021-06-09T10:27:41.011Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 9 10:25 snap [2021-06-09T10:27:41.011Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 9 10:24 VERSION [2021-06-09T10:27:41.011Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 9 10:25 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:27:41.317Z] + 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=a17602907dae120b3709a8352c85f4573ad9558a --label arch=amd64 --label version=0.0.0 . [2021-06-09T10:27:41.317Z] Sending build context to Docker daemon 2.765MB [2021-06-09T10:27:41.317Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T10:27:41.317Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-09T10:27:41.317Z] ---> 9c667387e023 [2021-06-09T10:27:41.317Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-09T10:27:41.317Z] ---> Running in fdd85c1b37af [2021-06-09T10:27:41.581Z] Removing intermediate container fdd85c1b37af [2021-06-09T10:27:41.581Z] ---> 144c7eb31135 [2021-06-09T10:27:41.581Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:27:41.581Z] ---> Running in 0935effd3bb0 [2021-06-09T10:27:41.581Z] Removing intermediate container 0935effd3bb0 [2021-06-09T10:27:41.581Z] ---> c8684e9c076f [2021-06-09T10:27:41.581Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:27:41.581Z] ---> Running in 22365245c7e1 [2021-06-09T10:27:42.153Z] Removing intermediate container 22365245c7e1 [2021-06-09T10:27:42.153Z] ---> 2be49a5aa18b [2021-06-09T10:27:42.153Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-09T10:27:42.153Z] ---> Running in 13aaf61b0f93 [2021-06-09T10:27:42.415Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T10:27:42.987Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T10:27:43.563Z] OK: 150 MiB in 46 packages [2021-06-09T10:27:43.824Z] Removing intermediate container 13aaf61b0f93 [2021-06-09T10:27:43.824Z] ---> a7302029db0a [2021-06-09T10:27:43.824Z] Step 7/23 : COPY . . [2021-06-09T10:27:44.092Z] ---> fbeae7cbfb1d [2021-06-09T10:27:44.092Z] Step 8/23 : RUN go mod download [2021-06-09T10:27:44.092Z] ---> Running in 7841dcb5df04 [2021-06-09T10:27:44.673Z] Removing intermediate container 7841dcb5df04 [2021-06-09T10:27:44.673Z] ---> 0b8c3d484934 [2021-06-09T10:27:44.673Z] Step 9/23 : RUN make build [2021-06-09T10:27:44.673Z] ---> Running in 2cc9120c9c4e [2021-06-09T10:27:44.937Z] go mod tidy [2021-06-09T10:27:44.937Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-09T10:27:50.876Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23 in /w/workspace/dgexfoundry_device-sdk-go_PR-955 [Pipeline] { [Pipeline] ws [2021-06-09T10:27:50.895Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-06-09T10:27:51.128Z] Selected Git installation does not exist. Using Default [2021-06-09T10:27:51.128Z] The recommended git tool is: NONE [2021-06-09T10:27:54.989Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-09T10:27:55.562Z] Removing intermediate container 2cc9120c9c4e [2021-06-09T10:27:55.562Z] ---> 452d95feff8d [2021-06-09T10:27:55.562Z] Step 10/23 : FROM alpine:3.12 [2021-06-09T10:27:56.137Z] 3.12: Pulling from library/alpine [2021-06-09T10:27:56.402Z] 339de151aab4: Pulling fs layer [2021-06-09T10:27:56.402Z] 339de151aab4: Verifying Checksum [2021-06-09T10:27:56.402Z] 339de151aab4: Download complete [2021-06-09T10:27:56.669Z] 339de151aab4: Pull complete [2021-06-09T10:27:56.669Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T10:27:56.669Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T10:27:56.669Z] ---> 13621d1b12d4 [2021-06-09T10:27:56.669Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:27:56.669Z] ---> Running in d4d622fda1ac [2021-06-09T10:27:56.669Z] Removing intermediate container d4d622fda1ac [2021-06-09T10:27:56.669Z] ---> 0c287b178fc2 [2021-06-09T10:27:56.669Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:27:56.669Z] ---> Running in f2a6e8181b1e [2021-06-09T10:27:56.982Z] using credential edgex-jenkins-ssh [2021-06-09T10:27:57.013Z] Cloning the remote Git repository [2021-06-09T10:27:57.150Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:27:57.239Z] Removing intermediate container f2a6e8181b1e [2021-06-09T10:27:57.239Z] ---> 2ca039fbbafa [2021-06-09T10:27:57.239Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-09T10:27:57.239Z] ---> Running in 7403f93041c7 [2021-06-09T10:27:57.499Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-09T10:27:58.074Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-09T10:27:57.296Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-06-09T10:27:57.367Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:27:57.368Z] > git --version # timeout=10 [2021-06-09T10:27:57.395Z] > git --version # 'git version 2.17.1' [2021-06-09T10:27:57.397Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:27:57.503Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T10:27:58.645Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-09T10:27:58.645Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-09T10:27:58.645Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-09T10:27:59.496Z] Merging remotes/origin/master commit 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f into PR head commit a17602907dae120b3709a8352c85f4573ad9558a [2021-06-09T10:27:59.585Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-09T10:27:59.734Z] Merge succeeded, producing a17602907dae120b3709a8352c85f4573ad9558a [2021-06-09T10:27:59.735Z] Checking out Revision a17602907dae120b3709a8352c85f4573ad9558a (PR-955) [2021-06-09T10:27:58.879Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T10:27:58.901Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T10:27:58.926Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T10:27:58.961Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:27:58.962Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:27:58.976Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/955/head:refs/remotes/origin/PR-955 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T10:27:59.523Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T10:27:59.536Z] > git checkout -f a17602907dae120b3709a8352c85f4573ad9558a # timeout=10 [2021-06-09T10:27:59.638Z] > git remote # timeout=10 [2021-06-09T10:27:59.657Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T10:27:59.671Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:27:59.685Z] > git merge 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f # timeout=10 [2021-06-09T10:27:59.725Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T10:27:59.749Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T10:27:59.762Z] > git checkout -f a17602907dae120b3709a8352c85f4573ad9558a # timeout=10 [2021-06-09T10:27:59.849Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-09T10:28:00.110Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T10:28:00.110Z] OK: 8 MiB in 19 packages [2021-06-09T10:28:00.370Z] Removing intermediate container 7403f93041c7 [2021-06-09T10:28:00.370Z] ---> 9fce63d242fd [2021-06-09T10:28:00.370Z] Step 14/23 : WORKDIR / [2021-06-09T10:28:00.370Z] ---> Running in 1b1a1731574e [2021-06-09T10:28:00.370Z] Removing intermediate container 1b1a1731574e [2021-06-09T10:28:00.370Z] ---> b6349bf5a3f2 [2021-06-09T10:28:00.370Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-09T10:28:00.631Z] ---> c05e10d1c1ee [2021-06-09T10:28:00.631Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-09T10:28:00.892Z] ---> b6c8270b895a [2021-06-09T10:28:00.892Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-09T10:28:00.892Z] ---> 02e634a862b9 [2021-06-09T10:28:00.892Z] Step 18/23 : EXPOSE 59999 [2021-06-09T10:28:00.892Z] ---> Running in 705c4d4544e6 [2021-06-09T10:28:01.161Z] Removing intermediate container 705c4d4544e6 [2021-06-09T10:28:01.161Z] ---> 7db7e97b6a35 [2021-06-09T10:28:01.161Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-09T10:28:01.161Z] ---> Running in 77a023836758 [2021-06-09T10:28:01.161Z] Removing intermediate container 77a023836758 [2021-06-09T10:28:01.161Z] ---> 44006db51912 [2021-06-09T10:28:01.161Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T10:28:01.161Z] ---> Running in e8ed1f550108 [2021-06-09T10:28:01.431Z] Removing intermediate container e8ed1f550108 [2021-06-09T10:28:01.431Z] ---> d0bc53922095 [2021-06-09T10:28:01.431Z] Step 21/23 : LABEL arch=amd64 [2021-06-09T10:28:01.431Z] ---> Running in 636cdd28319d [2021-06-09T10:28:01.431Z] Removing intermediate container 636cdd28319d [2021-06-09T10:28:01.431Z] ---> 80f15909451a [2021-06-09T10:28:01.431Z] Step 22/23 : LABEL git_sha=a17602907dae120b3709a8352c85f4573ad9558a [2021-06-09T10:28:01.431Z] ---> Running in 5f668420fbfa [2021-06-09T10:28:01.431Z] Removing intermediate container 5f668420fbfa [2021-06-09T10:28:01.431Z] ---> 57470274eddf [2021-06-09T10:28:01.431Z] Step 23/23 : LABEL version=0.0.0 [2021-06-09T10:28:01.431Z] ---> Running in 9968c17ef9b1 [2021-06-09T10:28:01.692Z] Removing intermediate container 9968c17ef9b1 [2021-06-09T10:28:01.692Z] ---> 3c3edc095ba2 [2021-06-09T10:28:01.692Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-09T10:28:01.692Z] Successfully built 3c3edc095ba2 [2021-06-09T10:28:01.692Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:28:02.366Z] ---> job-cost.sh [2021-06-09T10:28:02.367Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yc7v [2021-06-09T10:28:04.151Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.1 to 1.9.2" [2021-06-09T10:28:04.441Z] [2021-06-09T10:28:04.441Z] GitHub has been notified of this commit’s build result [2021-06-09T10:28:04.441Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T10:28:05.492Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-09T10:28:05.914Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T10:28:06.262Z] + sudo service docker restart [2021-06-09T10:28:06.262Z] + true [2021-06-09T10:28:10.541Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T10:28:24.641Z] provisioning config files... [2021-06-09T10:28:24.670Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config5437159789257583477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:28:25.056Z] ---> docker-login.sh [2021-06-09T10:28:25.057Z] nexus3.edgexfoundry.org:10001 [2021-06-09T10:28:25.468Z] lf-activate-venv(): INFO: Adding /tmp/venv-yc7v/bin to PATH [2021-06-09T10:28:25.468Z] INFO: No Stack... [2021-06-09T10:28:25.468Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T10:28:25.468Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T10:28:25.807Z] + cut -d, -f6 [2021-06-09T10:28:25.808Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock [2021-06-09T10:28:25.836Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-955-4-stack-cost] [2021-06-09T10:28:25.853Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-955-4-stack-cost] did not exist. Created. [2021-06-09T10:28:25.853Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-955-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T10:28:26.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:28:26.178Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-09T10:28:26.242Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T10:28:26.251Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-955-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2021-06-09T10:28:26.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:28:26.334Z] Configure a credential helper to remove this warning. See [2021-06-09T10:28:26.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:28:26.334Z] [2021-06-09T10:28:26.334Z] Login Succeeded [2021-06-09T10:28:26.334Z] nexus3.edgexfoundry.org:10002 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-09T10:28:26.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:28:26.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:28:26.888Z] Configure a credential helper to remove this warning. See [2021-06-09T10:28:26.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:28:26.888Z] [2021-06-09T10:28:26.888Z] Login Succeeded [2021-06-09T10:28:26.888Z] nexus3.edgexfoundry.org:10003 [2021-06-09T10:28:27.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:28:27.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:28:27.441Z] Configure a credential helper to remove this warning. See [2021-06-09T10:28:27.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:28:27.441Z] [2021-06-09T10:28:27.441Z] Login Succeeded [2021-06-09T10:28:27.441Z] nexus3.edgexfoundry.org:10004 [2021-06-09T10:28:27.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:28:27.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:28:27.999Z] Configure a credential helper to remove this warning. See [2021-06-09T10:28:27.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:28:27.999Z] [2021-06-09T10:28:27.999Z] Login Succeeded [2021-06-09T10:28:27.999Z] docker.io [2021-06-09T10:28:28.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:28:28.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:28:28.562Z] Configure a credential helper to remove this warning. See [2021-06-09T10:28:28.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:28:28.562Z] [2021-06-09T10:28:28.562Z] Login Succeeded [2021-06-09T10:28:28.562Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T10:28:28.584Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T10:28:28.913Z] ========================================================= [2021-06-09T10:28:28.913Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-09T10:28:28.913Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:28:29.292Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-09T10:28:29.889Z] Sending build context to Docker daemon 2.637MB [2021-06-09T10:28:29.889Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T10:28:29.889Z] Step 2/8 : FROM ${BASE} [2021-06-09T10:28:29.889Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-09T10:28:29.889Z] 595b0fe564bb: Pulling fs layer [2021-06-09T10:28:29.889Z] 7186ed65a4f7: Pulling fs layer [2021-06-09T10:28:29.889Z] 316046926c0a: Pulling fs layer [2021-06-09T10:28:29.889Z] 4ebd0625c992: Pulling fs layer [2021-06-09T10:28:29.889Z] 207e8628e3a3: Pulling fs layer [2021-06-09T10:28:29.889Z] 4ebd0625c992: Waiting [2021-06-09T10:28:29.889Z] c791037a9be2: Pulling fs layer [2021-06-09T10:28:29.889Z] ffd874e62e21: Pulling fs layer [2021-06-09T10:28:29.889Z] 207e8628e3a3: Waiting [2021-06-09T10:28:29.889Z] c791037a9be2: Waiting [2021-06-09T10:28:29.889Z] ffd874e62e21: Waiting [2021-06-09T10:28:29.889Z] 316046926c0a: Verifying Checksum [2021-06-09T10:28:29.889Z] 316046926c0a: Download complete [2021-06-09T10:28:30.169Z] 7186ed65a4f7: Verifying Checksum [2021-06-09T10:28:30.169Z] 7186ed65a4f7: Download complete [2021-06-09T10:28:30.169Z] 207e8628e3a3: Verifying Checksum [2021-06-09T10:28:30.169Z] 207e8628e3a3: Download complete [2021-06-09T10:28:30.169Z] c791037a9be2: Verifying Checksum [2021-06-09T10:28:30.169Z] c791037a9be2: Download complete [2021-06-09T10:28:30.169Z] 595b0fe564bb: Download complete [2021-06-09T10:28:30.771Z] 595b0fe564bb: Pull complete [2021-06-09T10:28:31.373Z] 7186ed65a4f7: Pull complete [2021-06-09T10:28:31.652Z] 316046926c0a: Pull complete [2021-06-09T10:28:31.926Z] ffd874e62e21: Download complete [2021-06-09T10:28:33.899Z] 4ebd0625c992: Verifying Checksum [2021-06-09T10:28:33.899Z] 4ebd0625c992: Download complete [2021-06-09T10:28:44.064Z] 4ebd0625c992: Pull complete [2021-06-09T10:28:44.064Z] 207e8628e3a3: Pull complete [2021-06-09T10:28:44.064Z] c791037a9be2: Pull complete [2021-06-09T10:28:47.462Z] ffd874e62e21: Pull complete [2021-06-09T10:28:47.462Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-09T10:28:47.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-09T10:28:47.462Z] ---> cfc18b08335c [2021-06-09T10:28:47.462Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:28:50.094Z] ---> Running in 97261b779507 [2021-06-09T10:28:50.094Z] Removing intermediate container 97261b779507 [2021-06-09T10:28:50.094Z] ---> 7a35293f99e1 [2021-06-09T10:28:50.094Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:28:50.366Z] ---> Running in be267bed69e6 [2021-06-09T10:28:53.084Z] Removing intermediate container be267bed69e6 [2021-06-09T10:28:53.084Z] ---> 33f199fec3f0 [2021-06-09T10:28:53.084Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T10:28:53.084Z] ---> Running in f99cd0cc873e [2021-06-09T10:28:54.530Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T10:28:55.515Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T10:28:56.114Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-09T10:28:56.114Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-09T10:28:56.392Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-09T10:28:56.392Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-09T10:28:56.672Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-09T10:28:56.672Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-09T10:28:56.672Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T10:28:56.672Z] OK: 139 MiB in 46 packages [2021-06-09T10:28:58.113Z] Removing intermediate container f99cd0cc873e [2021-06-09T10:28:58.113Z] ---> 84515a8a7440 [2021-06-09T10:28:58.113Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-09T10:28:58.386Z] ---> Running in c106b2b6f1a5 [2021-06-09T10:28:58.985Z] Removing intermediate container c106b2b6f1a5 [2021-06-09T10:28:58.985Z] ---> cea3ebbffc9c [2021-06-09T10:28:58.985Z] Step 7/8 : COPY . . [2021-06-09T10:29:00.422Z] ---> 48a023acdcde [2021-06-09T10:29:00.423Z] Step 8/8 : RUN go mod download [2021-06-09T10:29:00.423Z] ---> Running in 91eca9785d82 [2021-06-09T10:29:27.253Z] Removing intermediate container 91eca9785d82 [2021-06-09T10:29:27.253Z] ---> bb379deca1a5 [2021-06-09T10:29:27.253Z] Successfully built bb379deca1a5 [2021-06-09T10:29:27.253Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:29:27.613Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T10:29:27.613Z] . [Pipeline] withDockerContainer [2021-06-09T10:29:27.904Z] prd-ubuntu18.04-docker-arm64-4c-16g-23 does not seem to be running inside a container [2021-06-09T10:29:27.996Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T10:29:29.703Z] $ docker top 03b78e9edc59d774d06a5d4bcf57ea747d58ad30b975063ca4d5141b508fe26e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:29:30.677Z] + go version [2021-06-09T10:29:30.677Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-09T10:29:30.706Z] $ docker stop --time=1 03b78e9edc59d774d06a5d4bcf57ea747d58ad30b975063ca4d5141b508fe26e [2021-06-09T10:29:32.526Z] $ docker rm -f 03b78e9edc59d774d06a5d4bcf57ea747d58ad30b975063ca4d5141b508fe26e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:29:33.367Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T10:29:33.367Z] . [Pipeline] withDockerContainer [2021-06-09T10:29:33.612Z] prd-ubuntu18.04-docker-arm64-4c-16g-23 does not seem to be running inside a container [2021-06-09T10:29:33.711Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T10:29:35.344Z] $ docker top 235edda817219a7df4e302d42639dca2fd43e61acf7fbc7fc95fe081ca8b56e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:29:36.318Z] + go mod tidy [Pipeline] sh [2021-06-09T10:29:37.589Z] + make test [2021-06-09T10:29:37.590Z] go mod tidy [2021-06-09T10:29:38.196Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-09T10:30:05.016Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-09T10:31:13.116Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-09T10:31:13.116Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-09T10:31:13.116Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-09T10:31:28.228Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.351s coverage: 25.4% of statements [2021-06-09T10:31:28.228Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-09T10:31:28.228Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.212s coverage: 28.1% of statements [2021-06-09T10:31:28.228Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.246s coverage: 78.9% of statements [2021-06-09T10:31:28.228Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.263s coverage: 9.0% of statements [2021-06-09T10:31:28.228Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-09T10:31:28.228Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-09T10:31:28.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-09T10:31:28.229Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.316s coverage: 29.2% of statements [2021-06-09T10:31:28.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-09T10:31:30.873Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.230s coverage: 83.3% of statements [2021-06-09T10:31:30.873Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-09T10:31:30.873Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T10:31:30.873Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.403s coverage: 58.0% of statements [2021-06-09T10:31:34.264Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.157s coverage: 89.2% of statements [2021-06-09T10:31:34.264Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-09T10:31:34.264Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.195s coverage: 5.0% of statements [2021-06-09T10:31:34.264Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-09T10:31:34.861Z] GO111MODULE=on go vet ./... [2021-06-09T10:32:42.959Z] gofmt -l . [2021-06-09T10:32:42.959Z] [ "`gofmt -l .`" = "" ] [2021-06-09T10:32:42.959Z] ./bin/test-attribution-txt.sh [2021-06-09T10:32:42.959Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-09T10:32:42.985Z] $ docker stop --time=1 235edda817219a7df4e302d42639dca2fd43e61acf7fbc7fc95fe081ca8b56e7 [2021-06-09T10:32:45.080Z] $ docker rm -f 235edda817219a7df4e302d42639dca2fd43e61acf7fbc7fc95fe081ca8b56e7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T10:32:46.346Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T10:32:46.371Z] Warning: overwriting stash ‘coverage-report’ [2021-06-09T10:32:47.213Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T10:32:47.925Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T10:32:48.290Z] + ls -al . [2021-06-09T10:32:48.290Z] total 244 [2021-06-09T10:32:48.290Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 10:32 . [2021-06-09T10:32:48.290Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 10:27 .. [2021-06-09T10:32:48.290Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 9 10:27 .dockerignore [2021-06-09T10:32:48.290Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 10:28 .git [2021-06-09T10:32:48.290Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 10:27 .github [2021-06-09T10:32:48.290Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 9 10:27 .gitignore [2021-06-09T10:32:48.290Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 9 10:27 Dockerfile.build [2021-06-09T10:32:48.290Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 9 10:27 Jenkinsfile [2021-06-09T10:32:48.290Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 9 10:27 LICENSE [2021-06-09T10:32:48.290Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 9 10:27 Makefile [2021-06-09T10:32:48.290Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 9 10:27 README.md [2021-06-09T10:32:48.290Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 9 10:27 RELEASE-NOTES.txt [2021-06-09T10:32:48.290Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 9 10:24 VERSION [2021-06-09T10:32:48.290Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 10:27 bin [2021-06-09T10:32:48.290Z] -rw-r--r-- 1 jenkins jenkins 126071 Jun 9 10:31 coverage.out [2021-06-09T10:32:48.290Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 10:27 example [2021-06-09T10:32:48.290Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 9 10:32 go.mod [2021-06-09T10:32:48.290Z] -rw-r--r-- 1 jenkins jenkins 20472 Jun 9 10:29 go.sum [2021-06-09T10:32:48.290Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 9 10:27 internal [2021-06-09T10:32:48.290Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 10:27 openapi [2021-06-09T10:32:48.290Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 10:27 pkg [2021-06-09T10:32:48.290Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 10:27 snap [2021-06-09T10:32:48.290Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 9 10:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:32:48.653Z] + 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=a17602907dae120b3709a8352c85f4573ad9558a --label arch=arm64 --label version=0.0.0 . [2021-06-09T10:32:49.291Z] Sending build context to Docker daemon 2.764MB [2021-06-09T10:32:49.291Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T10:32:49.291Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-09T10:32:49.291Z] ---> bb379deca1a5 [2021-06-09T10:32:49.291Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-09T10:32:49.571Z] ---> Running in aa0d47511d2f [2021-06-09T10:32:50.169Z] Removing intermediate container aa0d47511d2f [2021-06-09T10:32:50.169Z] ---> 9633ef64ad33 [2021-06-09T10:32:50.169Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:32:50.169Z] ---> Running in cb6a107ed946 [2021-06-09T10:32:50.763Z] Removing intermediate container cb6a107ed946 [2021-06-09T10:32:50.763Z] ---> 31f1826423c3 [2021-06-09T10:32:50.763Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:32:50.763Z] ---> Running in 9e7e488d1c4e [2021-06-09T10:32:52.764Z] Removing intermediate container 9e7e488d1c4e [2021-06-09T10:32:52.764Z] ---> 652f1bfeb7c0 [2021-06-09T10:32:52.764Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-09T10:32:53.037Z] ---> Running in ecd1a1e7c7af [2021-06-09T10:32:54.476Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T10:32:55.465Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T10:32:56.064Z] OK: 139 MiB in 46 packages [2021-06-09T10:32:57.504Z] Removing intermediate container ecd1a1e7c7af [2021-06-09T10:32:57.504Z] ---> 8fbdbc562c4c [2021-06-09T10:32:57.504Z] Step 7/23 : COPY . . [2021-06-09T10:33:00.444Z] ---> fe8540e40a30 [2021-06-09T10:33:00.444Z] Step 8/23 : RUN go mod download [2021-06-09T10:33:00.444Z] ---> Running in efac371a3589 [2021-06-09T10:33:03.068Z] Removing intermediate container efac371a3589 [2021-06-09T10:33:03.068Z] ---> 8af95073715a [2021-06-09T10:33:03.068Z] Step 9/23 : RUN make build [2021-06-09T10:33:03.068Z] ---> Running in b29e47f52269 [2021-06-09T10:33:04.045Z] go mod tidy [2021-06-09T10:33:04.649Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-09T10:33:43.704Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-09T10:33:43.704Z] Removing intermediate container b29e47f52269 [2021-06-09T10:33:43.704Z] ---> 0e50e13149ae [2021-06-09T10:33:43.704Z] Step 10/23 : FROM alpine:3.12 [2021-06-09T10:33:44.301Z] 3.12: Pulling from library/alpine [2021-06-09T10:33:44.301Z] d2f70382dc9a: Pulling fs layer [2021-06-09T10:33:44.574Z] d2f70382dc9a: Download complete [2021-06-09T10:33:45.176Z] d2f70382dc9a: Pull complete [2021-06-09T10:33:45.176Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T10:33:45.176Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T10:33:45.176Z] ---> 9852663dfa18 [2021-06-09T10:33:45.176Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:33:45.449Z] ---> Running in 690722e0f5d1 [2021-06-09T10:33:46.058Z] Removing intermediate container 690722e0f5d1 [2021-06-09T10:33:46.058Z] ---> c4f44a4ab615 [2021-06-09T10:33:46.058Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:33:46.058Z] ---> Running in d1e50934ef00 [2021-06-09T10:33:48.684Z] Removing intermediate container d1e50934ef00 [2021-06-09T10:33:48.684Z] ---> 585715259221 [2021-06-09T10:33:48.684Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-09T10:33:48.684Z] ---> Running in f3473cc6fffe [2021-06-09T10:33:49.275Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-09T10:33:50.243Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-09T10:33:50.844Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-09T10:33:50.845Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-09T10:33:50.845Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-09T10:33:51.117Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-09T10:33:51.117Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-09T10:33:51.389Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T10:33:51.389Z] OK: 8 MiB in 19 packages [2021-06-09T10:33:52.368Z] Removing intermediate container f3473cc6fffe [2021-06-09T10:33:52.368Z] ---> 3dbe1d55f9a4 [2021-06-09T10:33:52.368Z] Step 14/23 : WORKDIR / [2021-06-09T10:33:52.640Z] ---> Running in 3570dec516c9 [2021-06-09T10:33:53.236Z] Removing intermediate container 3570dec516c9 [2021-06-09T10:33:53.236Z] ---> e2cbb2d39d3f [2021-06-09T10:33:53.236Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-09T10:33:54.217Z] ---> 1d3be42d3e3e [2021-06-09T10:33:54.217Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-09T10:33:55.647Z] ---> 16bb6e0509f2 [2021-06-09T10:33:55.647Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-09T10:33:56.240Z] ---> bfae3d366f82 [2021-06-09T10:33:56.240Z] Step 18/23 : EXPOSE 59999 [2021-06-09T10:33:56.513Z] ---> Running in 22930c060a12 [2021-06-09T10:33:57.107Z] Removing intermediate container 22930c060a12 [2021-06-09T10:33:57.107Z] ---> 5ba969f79f9a [2021-06-09T10:33:57.107Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-09T10:33:57.382Z] ---> Running in f5b2e554e633 [2021-06-09T10:33:57.978Z] Removing intermediate container f5b2e554e633 [2021-06-09T10:33:57.978Z] ---> 349157a523b8 [2021-06-09T10:33:57.978Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T10:33:57.978Z] ---> Running in 00e2b650e215 [2021-06-09T10:33:58.597Z] Removing intermediate container 00e2b650e215 [2021-06-09T10:33:58.597Z] ---> f3ab1cf42209 [2021-06-09T10:33:58.597Z] Step 21/23 : LABEL arch=arm64 [2021-06-09T10:33:58.881Z] ---> Running in 54944b1bc725 [2021-06-09T10:33:59.165Z] Removing intermediate container 54944b1bc725 [2021-06-09T10:33:59.165Z] ---> 4412f3289a16 [2021-06-09T10:33:59.165Z] Step 22/23 : LABEL git_sha=a17602907dae120b3709a8352c85f4573ad9558a [2021-06-09T10:33:59.441Z] ---> Running in f4fc55b40d5b [2021-06-09T10:34:00.037Z] Removing intermediate container f4fc55b40d5b [2021-06-09T10:34:00.037Z] ---> 2ca24efba990 [2021-06-09T10:34:00.037Z] Step 23/23 : LABEL version=0.0.0 [2021-06-09T10:34:00.037Z] ---> Running in 0cbd83fa9925 [2021-06-09T10:34:00.636Z] Removing intermediate container 0cbd83fa9925 [2021-06-09T10:34:00.636Z] ---> afe397d06d4a [2021-06-09T10:34:00.636Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-09T10:34:00.636Z] Successfully built afe397d06d4a [2021-06-09T10:34:00.636Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:34:01.341Z] ---> job-cost.sh [2021-06-09T10:34:01.341Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ld5Y [2021-06-09T10:34:48.308Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T10:36:25.079Z] lf-activate-venv(): INFO: Adding /tmp/venv-Ld5Y/bin to PATH [2021-06-09T10:36:25.079Z] INFO: No Stack... [2021-06-09T10:36:25.079Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-09T10:36:25.079Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T10:36:25.438Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-06-09T10:36:25.438Z] + cut -d, -f6 [Pipeline] lock [2021-06-09T10:36:25.508Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-955-4-stack-cost] [2021-06-09T10:36:25.519Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-955-4-stack-cost] did not exist. Created. [2021-06-09T10:36:25.520Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-955-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T10:36:25.913Z] /w/workspace/device-sdk-go/4@tmp/durable-b4be2338/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-b4be2338/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-09T10:36:26.289Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-09T10:36:26.315Z] Warning: overwriting stash ‘stack-cost’ [2021-06-09T10:36:26.499Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T10:36:26.512Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-955-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-09T10:36:27.084Z] provisioning config files... [2021-06-09T10:36:27.103Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/config572522114960406998tmp [Pipeline] { [Pipeline] sh [2021-06-09T10:36:27.442Z] + set +x [2021-06-09T10:36:27.442Z] + curl -s https://codecov.io/bash [2021-06-09T10:36:27.442Z] + bash -s -- [2021-06-09T10:36:27.442Z] [2021-06-09T10:36:27.442Z] _____ _ [2021-06-09T10:36:27.442Z] / ____| | | [2021-06-09T10:36:27.442Z] | | ___ __| | ___ ___ _____ __ [2021-06-09T10:36:27.442Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-09T10:36:27.442Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-09T10:36:27.442Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-09T10:36:27.442Z] Bash-1.0.3 [2021-06-09T10:36:27.442Z] [2021-06-09T10:36:27.442Z] [2021-06-09T10:36:27.442Z] ==> git version 2.24.4 found [2021-06-09T10:36:27.442Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-09T10:36:27.442Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-09T10:36:27.442Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-09T10:36:27.442Z] ==> Jenkins CI detected. [2021-06-09T10:36:27.442Z] project root: . [2021-06-09T10:36:27.442Z] --> token set from env [2021-06-09T10:36:27.442Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-09T10:36:27.442Z] ==> Running gcov in . (disable via -X gcov) [2021-06-09T10:36:27.712Z] ==> Python coveragepy not found [2021-06-09T10:36:27.712Z] ==> Searching for coverage reports in: [2021-06-09T10:36:27.712Z] + . [2021-06-09T10:36:27.712Z] -> Found 1 reports [2021-06-09T10:36:27.712Z] ==> Detecting git/mercurial file structure [2021-06-09T10:36:27.712Z] ==> Reading reports [2021-06-09T10:36:27.712Z] + ./coverage.out bytes=126071 [2021-06-09T10:36:27.712Z] ==> Appending adjustments [2021-06-09T10:36:27.712Z] https://docs.codecov.io/docs/fixing-reports [2021-06-09T10:36:27.975Z] + Found adjustments [2021-06-09T10:36:27.975Z] ==> Gzipping contents [2021-06-09T10:36:27.975Z] 20K /tmp/codecov.sTGlRM.gz [2021-06-09T10:36:27.975Z] ==> Uploading reports [2021-06-09T10:36:27.975Z] url: https://codecov.io [2021-06-09T10:36:27.975Z] query: branch=PR-955&commit=a17602907dae120b3709a8352c85f4573ad9558a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-955%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=955&job=&cmd_args= [2021-06-09T10:36:27.975Z] -> Pinging Codecov [2021-06-09T10:36:27.975Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-955&commit=a17602907dae120b3709a8352c85f4573ad9558a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-955%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=955&job=&cmd_args= [2021-06-09T10:36:28.554Z] -> Uploading to [2021-06-09T10:36:28.554Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-09/7E55EF52A471D76F132DFD9A03CDDE97/a17602907dae120b3709a8352c85f4573ad9558a/ff0b83f8-a072-420c-81b4-4e4eb38a1765.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210609%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210609T103628Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=251af7db7bee82aeca065380ffa9edb9918d1c8565357d0464fc924386020d9a [2021-06-09T10:36:28.554Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-09T10:36:28.554Z] Dload Upload Total Spent Left Speed [2021-06-09T10:36:28.817Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 16413 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16413 0 0 100 16413 0 50298 --:--:-- --:--:-- --:--:-- 50192 [2021-06-09T10:36:28.817Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a17602907dae120b3709a8352c85f4573ad9558a [Pipeline] } [2021-06-09T10:36:28.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:36:30.435Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:36:31.026Z] ---> package-listing.sh [2021-06-09T10:36:31.026Z] ++ facter osfamily [2021-06-09T10:36:31.026Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-09T10:36:31.288Z] + OS_FAMILY=redhat [2021-06-09T10:36:31.288Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-955 [2021-06-09T10:36:31.288Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-09T10:36:31.288Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-09T10:36:31.288Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-09T10:36:31.288Z] + PACKAGES=/tmp/packages_start.txt [2021-06-09T10:36:31.288Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-955 ']' [2021-06-09T10:36:31.288Z] + PACKAGES=/tmp/packages_end.txt [2021-06-09T10:36:31.288Z] + case "${OS_FAMILY}" in [2021-06-09T10:36:31.288Z] + rpm -qa [2021-06-09T10:36:31.288Z] + sort [2021-06-09T10:36:31.866Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-09T10:36:31.866Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-09T10:36:31.866Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-09T10:36:31.866Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-955 ']' [2021-06-09T10:36:31.866Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-955/archives/ [2021-06-09T10:36:32.127Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-955/archives/ [Pipeline] echo [2021-06-09T10:36:32.141Z] 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-955/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-09T10:36:32.432Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:36:33.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T10:36:33.004Z] [2021-06-09T10:36:33.004Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:36:33.322Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T10:36:33.323Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-09T10:36:33.323Z] df20fa9351a1: Pulling fs layer [2021-06-09T10:36:33.323Z] 36b3adc4ff6f: Pulling fs layer [2021-06-09T10:36:33.323Z] 8ad3a11d3b57: Pulling fs layer [2021-06-09T10:36:33.323Z] 46f8f816bc3b: Pulling fs layer [2021-06-09T10:36:33.323Z] 93b61091891f: Pulling fs layer [2021-06-09T10:36:33.323Z] 93b9cdb0e59b: Pulling fs layer [2021-06-09T10:36:33.323Z] 5e14af77c1be: Pulling fs layer [2021-06-09T10:36:33.323Z] 01666e4c0597: Pulling fs layer [2021-06-09T10:36:33.323Z] aa168da1d23b: Pulling fs layer [2021-06-09T10:36:33.323Z] 46f8f816bc3b: Waiting [2021-06-09T10:36:33.323Z] 93b61091891f: Waiting [2021-06-09T10:36:33.323Z] 93b9cdb0e59b: Waiting [2021-06-09T10:36:33.323Z] 5e14af77c1be: Waiting [2021-06-09T10:36:33.323Z] 01666e4c0597: Waiting [2021-06-09T10:36:33.323Z] aa168da1d23b: Waiting [2021-06-09T10:36:33.323Z] 36b3adc4ff6f: Download complete [2021-06-09T10:36:33.323Z] 46f8f816bc3b: Verifying Checksum [2021-06-09T10:36:33.323Z] 46f8f816bc3b: Download complete [2021-06-09T10:36:33.323Z] df20fa9351a1: Verifying Checksum [2021-06-09T10:36:33.323Z] df20fa9351a1: Download complete [2021-06-09T10:36:33.323Z] 93b9cdb0e59b: Verifying Checksum [2021-06-09T10:36:33.323Z] 93b9cdb0e59b: Download complete [2021-06-09T10:36:33.590Z] 5e14af77c1be: Verifying Checksum [2021-06-09T10:36:33.590Z] 5e14af77c1be: Download complete [2021-06-09T10:36:33.590Z] 93b61091891f: Verifying Checksum [2021-06-09T10:36:33.590Z] 93b61091891f: Download complete [2021-06-09T10:36:33.590Z] 01666e4c0597: Verifying Checksum [2021-06-09T10:36:33.590Z] 01666e4c0597: Download complete [2021-06-09T10:36:33.590Z] df20fa9351a1: Pull complete [2021-06-09T10:36:33.590Z] 8ad3a11d3b57: Verifying Checksum [2021-06-09T10:36:33.590Z] 8ad3a11d3b57: Download complete [2021-06-09T10:36:33.864Z] 36b3adc4ff6f: Pull complete [2021-06-09T10:36:34.458Z] 8ad3a11d3b57: Pull complete [2021-06-09T10:36:34.458Z] 46f8f816bc3b: Pull complete [2021-06-09T10:36:35.029Z] 93b61091891f: Pull complete [2021-06-09T10:36:35.029Z] 93b9cdb0e59b: Pull complete [2021-06-09T10:36:35.293Z] 5e14af77c1be: Pull complete [2021-06-09T10:36:35.293Z] 01666e4c0597: Pull complete [2021-06-09T10:36:35.293Z] aa168da1d23b: Verifying Checksum [2021-06-09T10:36:35.293Z] aa168da1d23b: Download complete [2021-06-09T10:36:39.537Z] aa168da1d23b: Pull complete [2021-06-09T10:36:39.806Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-09T10:36:39.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T10:36:39.806Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-09T10:36:39.891Z] prd-centos7-docker-4c-2g-14 does not seem to be running inside a container [2021-06-09T10:36:39.941Z] $ 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-955/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-955 -v /w/workspace/dgexfoundry_device-sdk-go_PR-955:/w/workspace/dgexfoundry_device-sdk-go_PR-955:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-09T10:36:41.915Z] $ docker top 9e9829a038c8e8b5d12987d51733659bd5277aca0d92d3cef24e950340e8ef3f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:36:42.325Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-09T10:36:42.622Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-09T10:36:42.923Z] + ls /var/log/sa-host [2021-06-09T10:36:42.924Z] + sadf -c /var/log/sa-host/sa05 [2021-06-09T10:36:42.924Z] file_magic: OK [2021-06-09T10:36:42.924Z] HZ: Using current value: 100 [2021-06-09T10:36:42.924Z] file_header: OK [2021-06-09T10:36:42.924Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-09T10:36:42.924Z] Statistics: [2021-06-09T10:36:42.924Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T10:36:42.924Z] File successfully converted to sysstat format version 12.2.1 [2021-06-09T10:36:42.924Z] + sadf -c /var/log/sa-host/sa09 [2021-06-09T10:36:42.924Z] file_magic: OK [2021-06-09T10:36:42.924Z] HZ: Using current value: 100 [2021-06-09T10:36:42.924Z] file_header: OK [2021-06-09T10:36:42.924Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-09T10:36:42.924Z] Statistics: [2021-06-09T10:36:42.924Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T10:36:42.924Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T10:36:43.102Z] provisioning config files... [2021-06-09T10:36:43.121Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/config6514020936613664942tmp [Pipeline] { [Pipeline] echo [2021-06-09T10:36:43.143Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:36:43.467Z] ---> create-netrc.sh [Pipeline] } [2021-06-09T10:36:43.475Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:36:43.846Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-09T10:36:43.858Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:36:44.170Z] ---> sudo-logs.sh [2021-06-09T10:36:44.170Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-09T10:36:44.199Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:36:44.511Z] ---> job-cost.sh [2021-06-09T10:36:44.511Z] lf-activate-venv: SKIPPING [2021-06-09T10:36:44.511Z] DEBUG: total: 0.18000000715255737 [2021-06-09T10:36:44.511Z] INFO: Retrieving Stack Cost... [2021-06-09T10:36:45.462Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T10:36:46.035Z] INFO: Archiving Costs [Pipeline] echo [2021-06-09T10:36:46.051Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:36:46.350Z] ---> logs-deploy.sh [2021-06-09T10:36:46.350Z] lf-activate-venv: SKIPPING [2021-06-09T10:36:46.350Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-955/4 [2021-06-09T10:36:46.350Z] INFO: archiving workspace using pattern(s): [2021-06-09T10:36:47.302Z] Archives upload complete. [2021-06-09T10:36:47.302Z] INFO: archiving logs to Nexus [2021-06-09T10:36:47.887Z] ---> uname -a: [2021-06-09T10:36:47.887Z] Linux prd-centos7-docker-4c-2g-14.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-06-09T10:36:47.887Z] [2021-06-09T10:36:47.887Z] [2021-06-09T10:36:47.887Z] ---> lscpu: [2021-06-09T10:36:47.887Z] Architecture: x86_64 [2021-06-09T10:36:47.888Z] CPU op-mode(s): 32-bit, 64-bit [2021-06-09T10:36:47.888Z] Byte Order: Little Endian [2021-06-09T10:36:47.888Z] Address sizes: 40 bits physical, 48 bits virtual [2021-06-09T10:36:47.888Z] CPU(s): 2 [2021-06-09T10:36:47.888Z] On-line CPU(s) list: 0,1 [2021-06-09T10:36:47.888Z] Thread(s) per core: 1 [2021-06-09T10:36:47.888Z] Core(s) per socket: 1 [2021-06-09T10:36:47.888Z] Socket(s): 2 [2021-06-09T10:36:47.888Z] NUMA node(s): 1 [2021-06-09T10:36:47.888Z] Vendor ID: AuthenticAMD [2021-06-09T10:36:47.888Z] CPU family: 23 [2021-06-09T10:36:47.888Z] Model: 49 [2021-06-09T10:36:47.888Z] Model name: AMD EPYC-Rome Processor [2021-06-09T10:36:47.888Z] Stepping: 0 [2021-06-09T10:36:47.888Z] CPU MHz: 2800.000 [2021-06-09T10:36:47.888Z] BogoMIPS: 5600.00 [2021-06-09T10:36:47.888Z] Virtualization: AMD-V [2021-06-09T10:36:47.888Z] Hypervisor vendor: KVM [2021-06-09T10:36:47.888Z] Virtualization type: full [2021-06-09T10:36:47.888Z] L1d cache: 64 KiB [2021-06-09T10:36:47.888Z] L1i cache: 64 KiB [2021-06-09T10:36:47.888Z] L2 cache: 1 MiB [2021-06-09T10:36:47.888Z] L3 cache: 32 MiB [2021-06-09T10:36:47.888Z] NUMA node0 CPU(s): 0,1 [2021-06-09T10:36:47.888Z] Vulnerability Itlb multihit: Not affected [2021-06-09T10:36:47.888Z] Vulnerability L1tf: Not affected [2021-06-09T10:36:47.888Z] Vulnerability Mds: Not affected [2021-06-09T10:36:47.888Z] Vulnerability Meltdown: Not affected [2021-06-09T10:36:47.888Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-06-09T10:36:47.888Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-06-09T10:36:47.888Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-06-09T10:36:47.888Z] Vulnerability Srbds: Not affected [2021-06-09T10:36:47.888Z] Vulnerability Tsx async abort: Not affected [2021-06-09T10:36:47.888Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp [2021-06-09T10:36:47.888Z] [2021-06-09T10:36:47.888Z] [2021-06-09T10:36:47.888Z] ---> nproc: [2021-06-09T10:36:47.888Z] 2 [2021-06-09T10:36:47.888Z] [2021-06-09T10:36:47.888Z] [2021-06-09T10:36:47.888Z] ---> df -h: [2021-06-09T10:36:47.888Z] Filesystem Size Used Available Use% Mounted on [2021-06-09T10:36:47.888Z] overlay 40.0G 7.6G 32.4G 19% / [2021-06-09T10:36:47.888Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-06-09T10:36:47.888Z] tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup [2021-06-09T10:36:47.888Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-06-09T10:36:47.888Z] /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os [2021-06-09T10:36:47.888Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf [2021-06-09T10:36:47.888Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname [2021-06-09T10:36:47.888Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts [2021-06-09T10:36:47.888Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log [2021-06-09T10:36:47.888Z] /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json [2021-06-09T10:36:47.888Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-955 [2021-06-09T10:36:47.888Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp [2021-06-09T10:36:47.888Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host [2021-06-09T10:36:47.888Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure [2021-06-09T10:36:47.888Z] [2021-06-09T10:36:47.888Z] [2021-06-09T10:36:47.888Z] ---> free -m: [2021-06-09T10:36:47.888Z] total used free shared buff/cache available [2021-06-09T10:36:47.888Z] Mem: 7821 981 4742 0 2097 6662 [2021-06-09T10:36:47.888Z] Swap: 1023 0 1023 [2021-06-09T10:36:47.888Z] [2021-06-09T10:36:47.888Z] [2021-06-09T10:36:47.888Z] ---> ip addr: [2021-06-09T10:36:47.888Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-06-09T10:36:47.888Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-06-09T10:36:47.888Z] inet 127.0.0.1/8 scope host lo [2021-06-09T10:36:47.888Z] valid_lft forever preferred_lft forever [2021-06-09T10:36:47.888Z] inet6 ::1/128 scope host [2021-06-09T10:36:47.888Z] valid_lft forever preferred_lft forever [2021-06-09T10:36:47.888Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-06-09T10:36:47.888Z] link/ether fa:16:3e:b7:5b:5d brd ff:ff:ff:ff:ff:ff [2021-06-09T10:36:47.888Z] inet 10.30.123.204/23 brd 10.30.123.255 scope global dynamic eth0 [2021-06-09T10:36:47.888Z] valid_lft 85644sec preferred_lft 85644sec [2021-06-09T10:36:47.888Z] inet6 fe80::f816:3eff:feb7:5b5d/64 scope link [2021-06-09T10:36:47.888Z] valid_lft forever preferred_lft forever [2021-06-09T10:36:47.888Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-06-09T10:36:47.888Z] link/ether 02:42:b8:34:ed:63 brd ff:ff:ff:ff:ff:ff [2021-06-09T10:36:47.888Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-06-09T10:36:47.888Z] valid_lft forever preferred_lft forever [2021-06-09T10:36:47.888Z] inet6 fe80::42:b8ff:fe34:ed63/64 scope link [2021-06-09T10:36:47.888Z] valid_lft forever preferred_lft forever [2021-06-09T10:36:47.888Z] [2021-06-09T10:36:47.888Z] [2021-06-09T10:36:47.888Z] ---> sar -b -r -n DEV: [2021-06-09T10:36:47.888Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/09/21 _x86_64_ (2 CPU) [2021-06-09T10:36:47.888Z] [2021-06-09T10:36:47.888Z] 10:23:59 LINUX RESTART (2 CPU) [2021-06-09T10:36:47.888Z] [2021-06-09T10:36:47.888Z] 10:25:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-06-09T10:36:47.888Z] 10:26:01 1.68 0.00 1.68 0.00 0.00 35.26 0.00 [2021-06-09T10:36:47.888Z] 10:27:01 0.40 0.00 0.40 0.00 0.00 6.38 0.00 [2021-06-09T10:36:47.888Z] 10:28:01 0.25 0.00 0.25 0.00 0.00 3.76 0.00 [2021-06-09T10:36:47.888Z] 10:29:01 0.20 0.00 0.20 0.00 0.00 2.86 0.00 [2021-06-09T10:36:47.888Z] 10:30:01 0.22 0.00 0.22 0.00 0.00 3.46 0.00 [2021-06-09T10:36:47.888Z] 10:31:01 0.38 0.00 0.38 0.00 0.00 5.16 0.00 [2021-06-09T10:36:47.888Z] 10:32:01 0.18 0.00 0.18 0.00 0.00 3.12 0.00 [2021-06-09T10:36:47.888Z] 10:33:01 0.28 0.00 0.28 0.00 0.00 3.38 0.00 [2021-06-09T10:36:47.888Z] 10:34:01 0.23 0.00 0.23 0.00 0.00 2.73 0.00 [2021-06-09T10:36:47.888Z] 10:35:01 0.17 0.00 0.17 0.00 0.00 1.78 0.00 [2021-06-09T10:36:47.888Z] 10:36:01 0.28 0.00 0.28 0.00 0.00 3.26 0.00 [2021-06-09T10:36:47.888Z] Average: 0.39 0.00 0.39 0.00 0.00 6.47 0.00 [2021-06-09T10:36:47.888Z] [2021-06-09T10:36:47.888Z] 10:25:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-06-09T10:36:47.888Z] 10:26:01 5460124 0 805696 10.06 2620 1740492 1241552 13.71 577568 1573008 20 [2021-06-09T10:36:47.889Z] 10:27:01 5458144 0 807668 10.08 2620 1740500 1239496 13.68 583568 1568800 12 [2021-06-09T10:36:47.889Z] 10:28:01 5458228 0 807584 10.08 2620 1740500 1238468 13.67 580624 1571676 8 [2021-06-09T10:36:47.889Z] 10:29:01 5457992 0 807816 10.09 2620 1740504 1231284 13.59 580080 1572548 8 [2021-06-09T10:36:47.889Z] 10:30:01 5457944 0 807856 10.09 2620 1740512 1231308 13.59 576748 1576036 8 [2021-06-09T10:36:47.889Z] 10:31:01 5462388 0 803412 10.03 2620 1740512 1206648 13.32 573620 1576036 20 [2021-06-09T10:36:47.889Z] 10:32:01 5462088 0 803704 10.04 2620 1740520 1206600 13.32 573308 1576036 8 [2021-06-09T10:36:47.889Z] 10:33:01 5452612 0 813176 10.15 2620 1740524 1206600 13.32 583072 1576036 8 [2021-06-09T10:36:47.889Z] 10:34:01 5452472 0 813312 10.16 2620 1740528 1206600 13.32 582924 1576036 8 [2021-06-09T10:36:47.889Z] 10:35:01 5449536 0 816244 10.19 2620 1740532 1206672 13.32 587720 1574564 8 [2021-06-09T10:36:47.889Z] 10:36:01 5449224 0 816552 10.20 2620 1740536 1206696 13.32 587732 1574564 8 [2021-06-09T10:36:47.889Z] Average: 5456432 0 809365 10.11 2620 1740515 1220175 13.47 580633 1574122 11 [2021-06-09T10:36:47.889Z] [2021-06-09T10:36:47.889Z] 10:25:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-06-09T10:36:47.889Z] 10:26:01 eth0 3.38 1.23 1.58 0.42 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:27:01 eth0 2.81 0.60 0.73 0.40 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:28:01 eth0 2.15 0.55 0.63 0.40 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:29:01 eth0 0.83 0.30 0.30 0.23 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:30:01 eth0 0.68 0.52 0.36 0.28 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:31:01 eth0 0.13 0.10 0.06 0.01 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:32:01 eth0 0.10 0.07 0.01 0.01 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:33:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:34:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:35:01 eth0 0.25 0.22 0.08 0.05 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:36:01 eth0 0.22 0.12 0.07 0.04 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] 10:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] Average: eth0 0.98 0.35 0.35 0.17 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-09T10:36:47.889Z] [2021-06-09T10:36:47.889Z] [2021-06-09T10:36:47.889Z] ---> sar -P ALL: [2021-06-09T10:36:47.889Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/09/21 _x86_64_ (2 CPU) [2021-06-09T10:36:47.889Z] [2021-06-09T10:36:47.889Z] 10:23:59 LINUX RESTART (2 CPU) [2021-06-09T10:36:47.889Z] [2021-06-09T10:36:47.889Z] 10:25:01 CPU %user %nice %system %iowait %steal %idle [2021-06-09T10:36:47.889Z] 10:26:01 all 0.11 0.00 0.06 0.00 0.04 99.79 [2021-06-09T10:36:47.889Z] 10:26:01 0 0.12 0.00 0.07 0.00 0.03 99.78 [2021-06-09T10:36:47.889Z] 10:26:01 1 0.10 0.00 0.05 0.00 0.05 99.80 [2021-06-09T10:36:47.889Z] 10:27:01 all 0.13 0.00 0.03 0.00 0.03 99.82 [2021-06-09T10:36:47.889Z] 10:27:01 0 0.15 0.00 0.03 0.00 0.02 99.80 [2021-06-09T10:36:47.889Z] 10:27:01 1 0.10 0.00 0.02 0.00 0.05 99.83 [2021-06-09T10:36:47.889Z] 10:28:01 all 0.19 0.00 0.03 0.00 0.03 99.74 [2021-06-09T10:36:47.889Z] 10:28:01 0 0.23 0.00 0.03 0.00 0.03 99.70 [2021-06-09T10:36:47.889Z] 10:28:01 1 0.15 0.00 0.03 0.00 0.03 99.78 [2021-06-09T10:36:47.889Z] 10:29:01 all 0.13 0.00 0.03 0.00 0.03 99.82 [2021-06-09T10:36:47.889Z] 10:29:01 0 0.22 0.00 0.03 0.00 0.02 99.73 [2021-06-09T10:36:47.889Z] 10:29:01 1 0.03 0.00 0.02 0.00 0.03 99.92 [2021-06-09T10:36:47.889Z] 10:30:01 all 0.14 0.00 0.07 0.00 0.03 99.77 [2021-06-09T10:36:47.889Z] 10:30:01 0 0.22 0.00 0.07 0.00 0.02 99.70 [2021-06-09T10:36:47.889Z] 10:30:01 1 0.07 0.00 0.07 0.00 0.03 99.83 [2021-06-09T10:36:47.889Z] 10:31:01 all 0.09 0.00 0.03 0.01 0.03 99.83 [2021-06-09T10:36:47.889Z] 10:31:01 0 0.15 0.00 0.03 0.00 0.02 99.80 [2021-06-09T10:36:47.889Z] 10:31:01 1 0.03 0.00 0.03 0.02 0.05 99.87 [2021-06-09T10:36:47.889Z] 10:32:01 all 0.05 0.00 0.04 0.00 0.02 99.89 [2021-06-09T10:36:47.889Z] 10:32:01 0 0.05 0.00 0.05 0.00 0.00 99.90 [2021-06-09T10:36:47.889Z] 10:32:01 1 0.05 0.00 0.03 0.00 0.03 99.88 [2021-06-09T10:36:47.889Z] 10:33:01 all 0.13 0.00 0.03 0.00 0.03 99.82 [2021-06-09T10:36:47.889Z] 10:33:01 0 0.20 0.00 0.03 0.00 0.02 99.75 [2021-06-09T10:36:47.889Z] 10:33:01 1 0.05 0.00 0.03 0.00 0.03 99.88 [2021-06-09T10:36:47.889Z] 10:34:01 all 0.12 0.00 0.03 0.00 0.03 99.83 [2021-06-09T10:36:47.889Z] 10:34:01 0 0.18 0.00 0.02 0.00 0.00 99.80 [2021-06-09T10:36:47.889Z] 10:34:01 1 0.05 0.00 0.03 0.00 0.05 99.87 [2021-06-09T10:36:47.889Z] 10:35:01 all 0.06 0.00 0.03 0.00 0.03 99.88 [2021-06-09T10:36:47.889Z] 10:35:01 0 0.07 0.00 0.03 0.00 0.03 99.87 [2021-06-09T10:36:47.889Z] 10:35:01 1 0.05 0.00 0.03 0.00 0.02 99.90 [2021-06-09T10:36:47.889Z] 10:36:01 all 0.07 0.00 0.03 0.00 0.02 99.89 [2021-06-09T10:36:47.889Z] 10:36:01 0 0.10 0.00 0.03 0.00 0.02 99.85 [2021-06-09T10:36:47.889Z] 10:36:01 1 0.03 0.00 0.02 0.00 0.02 99.93 [2021-06-09T10:36:47.889Z] [2021-06-09T10:36:47.890Z] Average: CPU %user %nice %system %iowait %steal %idle [2021-06-09T10:36:47.890Z] Average: all 0.11 0.00 0.04 0.00 0.03 99.83 [2021-06-09T10:36:47.890Z] Average: 0 0.15 0.00 0.04 0.00 0.02 99.79 [2021-06-09T10:36:47.890Z] Average: 1 0.07 0.00 0.03 0.00 0.04 99.86 [2021-06-09T10:36:47.890Z] [2021-06-09T10:36:47.890Z] [2021-06-09T10:36:47.890Z]