Pull request #971 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9b4d03481ff393d24f9800b7af4a8231e2ff3b04+a0283ea75e3b124ec5b34ddb1bd6fdababf84013 (c30a44da8c3b5f5e239e1108bd805572f9149093) 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-ssh963218455247284259.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2684130242551521912.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1604286417882015380.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh194699599903235728.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-971/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2852979235828268409.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-1673 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-971 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh8436067362074610762.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 a0283ea75e3b124ec5b34ddb1bd6fdababf84013 into PR head commit 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 Merge succeeded, producing 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 Checking out Revision 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 (PR-971) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh2195084835438715651.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh5183850609805183562.key > git merge a0283ea75e3b124ec5b34ddb1bd6fdababf84013 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 1aee5a7dd750857cf7093492ee30a4087f2eec47 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-16T07:16:17.627Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-16T07:16:17.719Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-16T07:16:17.748Z] ========================================================= [2021-06-16T07:16:17.748Z] EdgeX Global Pipelines Version Info [2021-06-16T07:16:17.748Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-16T07:16:19.266Z] ------------------- [2021-06-16T07:16:19.266Z] stable info: [2021-06-16T07:16:19.266Z] ------------------- [2021-06-16T07:16:19.266Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-16T07:16:19.266Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-16T07:16:19.266Z] Message: update stable to v1.0.195 [2021-06-16T07:16:19.839Z] ------------------- [2021-06-16T07:16:19.840Z] experimental info: [2021-06-16T07:16:19.840Z] ------------------- [2021-06-16T07:16:19.840Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-16T07:16:19.840Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-16T07:16:19.840Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-16T07:16:19.961Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-16T07:16:19.985Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-16T07:16:20.010Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-16T07:16:20.035Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-16T07:16:20.059Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-16T07:16:20.082Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-16T07:16:20.107Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-16T07:16:20.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-16T07:16:20.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-16T07:16:20.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-16T07:16:20.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-16T07:16:20.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-16T07:16:20.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-16T07:16:20.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-16T07:16:20.326Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-16T07:16:20.351Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-16T07:16:20.376Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-16T07:16:20.400Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-16T07:16:20.425Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-16T07:16:20.449Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-16T07:16:20.473Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-16T07:16:20.499Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-16T07:16:20.523Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-16T07:16:20.548Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-16T07:16:20.571Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-16T07:16:20.596Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-16T07:16:20.620Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-971 [Pipeline] echo [2021-06-16T07:16:20.669Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-971 [Pipeline] echo [2021-06-16T07:16:20.693Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-971 [Pipeline] echo [2021-06-16T07:16:20.716Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 [Pipeline] echo [2021-06-16T07:16:20.740Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b4d034 [Pipeline] echo [2021-06-16T07:16:20.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-16T07:16:20.844Z] provisioning config files... [2021-06-16T07:16:20.859Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config5619661773814852295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-16T07:16:21.197Z] ---> docker-login.sh [2021-06-16T07:16:21.197Z] nexus3.edgexfoundry.org:10001 [2021-06-16T07:16:21.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T07:16:21.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T07:16:21.729Z] Configure a credential helper to remove this warning. See [2021-06-16T07:16:21.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T07:16:21.729Z] [2021-06-16T07:16:21.729Z] Login Succeeded [2021-06-16T07:16:21.729Z] nexus3.edgexfoundry.org:10002 [2021-06-16T07:16:21.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T07:16:21.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T07:16:21.729Z] Configure a credential helper to remove this warning. See [2021-06-16T07:16:21.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T07:16:21.729Z] [2021-06-16T07:16:21.729Z] Login Succeeded [2021-06-16T07:16:21.729Z] nexus3.edgexfoundry.org:10003 [2021-06-16T07:16:21.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T07:16:21.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T07:16:21.989Z] Configure a credential helper to remove this warning. See [2021-06-16T07:16:21.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T07:16:21.989Z] [2021-06-16T07:16:21.989Z] Login Succeeded [2021-06-16T07:16:21.989Z] nexus3.edgexfoundry.org:10004 [2021-06-16T07:16:21.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T07:16:21.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T07:16:21.989Z] Configure a credential helper to remove this warning. See [2021-06-16T07:16:21.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T07:16:21.989Z] [2021-06-16T07:16:21.989Z] Login Succeeded [2021-06-16T07:16:21.989Z] docker.io [2021-06-16T07:16:21.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T07:16:22.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T07:16:22.263Z] Configure a credential helper to remove this warning. See [2021-06-16T07:16:22.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T07:16:22.263Z] [2021-06-16T07:16:22.263Z] Login Succeeded [2021-06-16T07:16:22.263Z] ---> docker-login.sh ends [Pipeline] } [2021-06-16T07:16:22.271Z] 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-16T07:16:22.784Z] + git log --format=format:%s -1 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 [Pipeline] echo [2021-06-16T07:16:22.823Z] GIT_COMMIT: 9b4d03481ff393d24f9800b7af4a8231e2ff3b04, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3 [Pipeline] echo [2021-06-16T07:16:24.778Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-16T07:16:25.393Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-16T07:16:25.393Z] [2021-06-16T07:16:25.393Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-16T07:16:25.709Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-16T07:16:25.709Z] latest: Pulling from edgex-devops/git-semver [2021-06-16T07:16:25.709Z] 31603596830f: Pulling fs layer [2021-06-16T07:16:25.709Z] 54011a49482f: Pulling fs layer [2021-06-16T07:16:25.709Z] a6820b24f6d8: Pulling fs layer [2021-06-16T07:16:25.709Z] f581987b2513: Pulling fs layer [2021-06-16T07:16:25.709Z] f581987b2513: Waiting [2021-06-16T07:16:25.709Z] 54011a49482f: Download complete [2021-06-16T07:16:25.970Z] 31603596830f: Verifying Checksum [2021-06-16T07:16:25.970Z] 31603596830f: Download complete [2021-06-16T07:16:25.970Z] a6820b24f6d8: Verifying Checksum [2021-06-16T07:16:25.970Z] a6820b24f6d8: Download complete [2021-06-16T07:16:25.970Z] 31603596830f: Pull complete [2021-06-16T07:16:26.233Z] 54011a49482f: Pull complete [2021-06-16T07:16:26.807Z] a6820b24f6d8: Pull complete [2021-06-16T07:16:26.807Z] f581987b2513: Verifying Checksum [2021-06-16T07:16:26.807Z] f581987b2513: Download complete [2021-06-16T07:16:27.068Z] f581987b2513: Pull complete [2021-06-16T07:16:27.068Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-16T07:16:27.068Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-16T07:16:27.068Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-16T07:16:27.147Z] prd-centos7-docker-4c-2g-1673 does not seem to be running inside a container [2021-06-16T07:16:27.189Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-16T07:16:28.450Z] $ docker top 8e644a9d76ab5ed73ecc4acc630a734c4e6b7786607984dfda316461bf0d5107 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-16T07:16:28.575Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-16T07:16:28.575Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-16T07:16:28.691Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-16T07:16:28.691Z] $ docker exec 8e644a9d76ab5ed73ecc4acc630a734c4e6b7786607984dfda316461bf0d5107 ssh-agent [2021-06-16T07:16:28.796Z] SSH_AUTH_SOCK=/tmp/ssh-Rpl0qCe9msYE/agent.15 [2021-06-16T07:16:28.796Z] SSH_AGENT_PID=21 [2021-06-16T07:16:28.807Z] Running ssh-add (command line suppressed) [2021-06-16T07:16:28.907Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_6529596387146646136.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_6529596387146646136.key) [2021-06-16T07:16:28.924Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-16T07:16:29.228Z] + git tag --points-at HEAD [Pipeline] } [2021-06-16T07:16:29.255Z] $ docker exec --env ******** --env ******** 8e644a9d76ab5ed73ecc4acc630a734c4e6b7786607984dfda316461bf0d5107 ssh-agent -k [2021-06-16T07:16:29.349Z] unset SSH_AUTH_SOCK; [2021-06-16T07:16:29.350Z] unset SSH_AGENT_PID; [2021-06-16T07:16:29.350Z] echo Agent pid 21 killed; [2021-06-16T07:16:29.363Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-16T07:16:29.406Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-16T07:16:29.406Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-16T07:16:29.526Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-16T07:16:29.527Z] $ docker exec 8e644a9d76ab5ed73ecc4acc630a734c4e6b7786607984dfda316461bf0d5107 ssh-agent [2021-06-16T07:16:29.639Z] SSH_AUTH_SOCK=/tmp/ssh-7piOSj7xNGqn/agent.55 [2021-06-16T07:16:29.639Z] SSH_AGENT_PID=61 [2021-06-16T07:16:29.644Z] Running ssh-add (command line suppressed) [2021-06-16T07:16:29.750Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_6127367527368145612.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_6127367527368145612.key) [2021-06-16T07:16:29.785Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-16T07:16:30.093Z] + git semver init [2021-06-16T07:16:30.093Z] # -> Open(): unable to determine branch for HEAD [2021-06-16T07:16:30.093Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.git [2021-06-16T07:16:30.093Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-16T07:16:30.093Z] # $SEMVER_REMOTE_NAME = origin [2021-06-16T07:16:30.093Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-16T07:16:30.093Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-16T07:16:30.093Z] # $SEMVER_BRANCH = PR-971 [2021-06-16T07:16:30.093Z] # $SEMVER_TEMP = /tmp/semver-902655575 [2021-06-16T07:16:30.093Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-16T07:16:30.681Z] # '/tmp/semver-902655575' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver' [2021-06-16T07:16:30.681Z] # -> Force: false [2021-06-16T07:16:30.681Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver [Pipeline] } [2021-06-16T07:16:30.688Z] $ docker exec --env ******** --env ******** 8e644a9d76ab5ed73ecc4acc630a734c4e6b7786607984dfda316461bf0d5107 ssh-agent -k [2021-06-16T07:16:30.784Z] unset SSH_AUTH_SOCK; [2021-06-16T07:16:30.785Z] unset SSH_AGENT_PID; [2021-06-16T07:16:30.785Z] echo Agent pid 61 killed; [2021-06-16T07:16:30.798Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-16T07:16:31.148Z] + git semver [Pipeline] } [2021-06-16T07:16:31.161Z] $ docker stop --time=1 8e644a9d76ab5ed73ecc4acc630a734c4e6b7786607984dfda316461bf0d5107 [2021-06-16T07:16:32.502Z] $ docker rm -f 8e644a9d76ab5ed73ecc4acc630a734c4e6b7786607984dfda316461bf0d5107 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-16T07:16:32.867Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-16T07:16:33.140Z] Stashed 1 file(s) [Pipeline] echo [2021-06-16T07:16:33.144Z] [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-16T07:16:48.433Z] Still waiting to schedule task [2021-06-16T07:16:48.434Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-16T07:16:48.437Z] Still waiting to schedule task [2021-06-16T07:16:48.437Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1671’ [2021-06-16T07:19:18.136Z] Running on prd-centos7-docker-4c-2g-1674 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-16T07:19:18.157Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-06-16T07:19:18.290Z] Selected Git installation does not exist. Using Default [2021-06-16T07:19:18.291Z] The recommended git tool is: NONE [2021-06-16T07:19:22.673Z] using credential edgex-jenkins-ssh [2021-06-16T07:19:22.684Z] Cloning the remote Git repository [2021-06-16T07:19:22.540Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-16T07:19:22.608Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-06-16T07:19:22.638Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-16T07:19:22.639Z] > git --version # timeout=10 [2021-06-16T07:19:22.647Z] > git --version # 'git version 2.24.4' [2021-06-16T07:19:22.647Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T07:19:22.671Z] [INFO] Currently running in a labeled security context [2021-06-16T07:19:22.671Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-16T07:19:22.672Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh760262233714995968.key [2021-06-16T07:19:22.685Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-16T07:19:24.130Z] Merging remotes/origin/master commit a0283ea75e3b124ec5b34ddb1bd6fdababf84013 into PR head commit 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 [2021-06-16T07:19:24.225Z] Merge succeeded, producing 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 [2021-06-16T07:19:24.225Z] Checking out Revision 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 (PR-971) [2021-06-16T07:19:23.591Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-16T07:19:23.600Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-16T07:19:23.612Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-16T07:19:23.625Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-16T07:19:23.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T07:19:23.626Z] [INFO] Currently running in a labeled security context [2021-06-16T07:19:23.626Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-16T07:19:23.626Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh8847429119416154724.key [2021-06-16T07:19:23.633Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-16T07:19:24.095Z] > git config core.sparsecheckout # timeout=10 [2021-06-16T07:19:24.105Z] > git checkout -f 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 # timeout=10 [2021-06-16T07:19:24.146Z] > git remote # timeout=10 [2021-06-16T07:19:24.157Z] > git config --get remote.origin.url # timeout=10 [2021-06-16T07:19:24.163Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T07:19:24.164Z] [INFO] Currently running in a labeled security context [2021-06-16T07:19:24.164Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-16T07:19:24.164Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh5291146546772654660.key [2021-06-16T07:19:24.172Z] > git merge a0283ea75e3b124ec5b34ddb1bd6fdababf84013 # timeout=10 [2021-06-16T07:19:24.183Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-16T07:19:24.192Z] > git config core.sparsecheckout # timeout=10 [2021-06-16T07:19:24.198Z] > git checkout -f 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 # timeout=10 [2021-06-16T07:19:27.848Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-16T07:19:28.971Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-16T07:19:29.298Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-16T07:19:29.604Z] + true [2021-06-16T07:19:29.604Z] + sudo service docker restart [2021-06-16T07:19:29.605Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-16T07:19:47.773Z] provisioning config files... [2021-06-16T07:19:47.791Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config98438068454271785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-16T07:19:48.122Z] ---> docker-login.sh [2021-06-16T07:19:48.122Z] nexus3.edgexfoundry.org:10001 [2021-06-16T07:19:48.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T07:19:48.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T07:19:48.386Z] Configure a credential helper to remove this warning. See [2021-06-16T07:19:48.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T07:19:48.386Z] [2021-06-16T07:19:48.386Z] Login Succeeded [2021-06-16T07:19:48.386Z] nexus3.edgexfoundry.org:10002 [2021-06-16T07:19:48.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T07:19:48.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T07:19:48.386Z] Configure a credential helper to remove this warning. See [2021-06-16T07:19:48.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T07:19:48.386Z] [2021-06-16T07:19:48.386Z] Login Succeeded [2021-06-16T07:19:48.386Z] nexus3.edgexfoundry.org:10003 [2021-06-16T07:19:48.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T07:19:48.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T07:19:48.650Z] Configure a credential helper to remove this warning. See [2021-06-16T07:19:48.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T07:19:48.650Z] [2021-06-16T07:19:48.650Z] Login Succeeded [2021-06-16T07:19:48.650Z] nexus3.edgexfoundry.org:10004 [2021-06-16T07:19:48.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T07:19:48.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T07:19:48.650Z] Configure a credential helper to remove this warning. See [2021-06-16T07:19:48.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T07:19:48.650Z] [2021-06-16T07:19:48.650Z] Login Succeeded [2021-06-16T07:19:48.650Z] docker.io [2021-06-16T07:19:48.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T07:19:49.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T07:19:49.172Z] Configure a credential helper to remove this warning. See [2021-06-16T07:19:49.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T07:19:49.172Z] [2021-06-16T07:19:49.172Z] Login Succeeded [2021-06-16T07:19:49.172Z] ---> docker-login.sh ends [Pipeline] } [2021-06-16T07:19:49.181Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-16T07:19:49.350Z] ========================================================= [2021-06-16T07:19:49.351Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-16T07:19:49.351Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-16T07:19:49.665Z] + 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-16T07:19:49.665Z] Sending build context to Docker daemon 2.679MB [2021-06-16T07:19:49.665Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-16T07:19:49.665Z] Step 2/8 : FROM ${BASE} [2021-06-16T07:19:49.665Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-16T07:19:49.665Z] 540db60ca938: Pulling fs layer [2021-06-16T07:19:49.665Z] adcc1eea9eea: Pulling fs layer [2021-06-16T07:19:49.665Z] 4c4ab2625f07: Pulling fs layer [2021-06-16T07:19:49.665Z] 0510c868ecb4: Pulling fs layer [2021-06-16T07:19:49.665Z] afea3b2eda06: Pulling fs layer [2021-06-16T07:19:49.665Z] 7809a108b3ef: Pulling fs layer [2021-06-16T07:19:49.665Z] f706445af74f: Pulling fs layer [2021-06-16T07:19:49.665Z] 0510c868ecb4: Waiting [2021-06-16T07:19:49.665Z] afea3b2eda06: Waiting [2021-06-16T07:19:49.665Z] 7809a108b3ef: Waiting [2021-06-16T07:19:49.665Z] f706445af74f: Waiting [2021-06-16T07:19:49.926Z] 4c4ab2625f07: Verifying Checksum [2021-06-16T07:19:49.926Z] 4c4ab2625f07: Download complete [2021-06-16T07:19:49.926Z] adcc1eea9eea: Verifying Checksum [2021-06-16T07:19:49.926Z] adcc1eea9eea: Download complete [2021-06-16T07:19:49.926Z] afea3b2eda06: Verifying Checksum [2021-06-16T07:19:49.926Z] afea3b2eda06: Download complete [2021-06-16T07:19:49.926Z] 540db60ca938: Verifying Checksum [2021-06-16T07:19:49.926Z] 540db60ca938: Download complete [2021-06-16T07:19:49.926Z] 7809a108b3ef: Verifying Checksum [2021-06-16T07:19:49.926Z] 7809a108b3ef: Download complete [2021-06-16T07:19:50.189Z] 540db60ca938: Pull complete [2021-06-16T07:19:50.189Z] adcc1eea9eea: Pull complete [2021-06-16T07:19:52.219Z] 4c4ab2625f07: Pull complete [2021-06-16T07:19:52.219Z] f706445af74f: Verifying Checksum [2021-06-16T07:19:52.219Z] f706445af74f: Download complete [2021-06-16T07:19:52.219Z] 0510c868ecb4: Verifying Checksum [2021-06-16T07:19:52.219Z] 0510c868ecb4: Download complete [2021-06-16T07:19:55.574Z] 0510c868ecb4: Pull complete [2021-06-16T07:19:55.575Z] afea3b2eda06: Pull complete [2021-06-16T07:19:55.575Z] 7809a108b3ef: Pull complete [2021-06-16T07:19:56.530Z] f706445af74f: Pull complete [2021-06-16T07:19:56.530Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-16T07:19:56.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-16T07:19:56.791Z] ---> b068be0155e3 [2021-06-16T07:19:56.791Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-16T07:20:01.012Z] ---> Running in 352570c4487b [2021-06-16T07:20:01.012Z] Removing intermediate container 352570c4487b [2021-06-16T07:20:01.012Z] ---> e9e13ccb6677 [2021-06-16T07:20:01.012Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-16T07:20:01.012Z] ---> Running in afcc656edec3 [2021-06-16T07:20:01.592Z] Removing intermediate container afcc656edec3 [2021-06-16T07:20:01.592Z] ---> 13416894188d [2021-06-16T07:20:01.592Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-16T07:20:01.592Z] ---> Running in a37148f71c75 [2021-06-16T07:20:01.854Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-16T07:20:03.246Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-16T07:20:04.637Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-16T07:20:04.637Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-16T07:20:04.897Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-16T07:20:04.897Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-16T07:20:05.157Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-16T07:20:05.417Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-16T07:20:05.417Z] Executing busybox-1.32.1-r6.trigger [2021-06-16T07:20:05.417Z] OK: 150 MiB in 46 packages [2021-06-16T07:20:05.679Z] Removing intermediate container a37148f71c75 [2021-06-16T07:20:05.679Z] ---> a89404502c88 [2021-06-16T07:20:05.679Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-16T07:20:05.940Z] ---> Running in b4972196c98e [2021-06-16T07:20:05.940Z] Removing intermediate container b4972196c98e [2021-06-16T07:20:05.940Z] ---> c9b11388be2a [2021-06-16T07:20:05.940Z] Step 7/8 : COPY . . [2021-06-16T07:20:06.200Z] ---> 58502075b4ff [2021-06-16T07:20:06.200Z] Step 8/8 : RUN go mod download [2021-06-16T07:20:06.200Z] ---> Running in b57a1581ef00 [2021-06-16T07:20:18.471Z] Removing intermediate container b57a1581ef00 [2021-06-16T07:20:18.471Z] ---> b00a95a721af [2021-06-16T07:20:18.471Z] Successfully built b00a95a721af [2021-06-16T07:20:18.471Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-16T07:20:18.776Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-16T07:20:18.776Z] . [Pipeline] withDockerContainer [2021-06-16T07:20:18.850Z] prd-centos7-docker-4c-2g-1674 does not seem to be running inside a container [2021-06-16T07:20:18.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-16T07:20:19.254Z] $ docker top 14b962744d1de410bd57c16b172e3570abb908a7801cdeee9794a17feaa2cf5e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-16T07:20:19.659Z] + go version [2021-06-16T07:20:19.659Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-16T07:20:19.669Z] $ docker stop --time=1 14b962744d1de410bd57c16b172e3570abb908a7801cdeee9794a17feaa2cf5e [2021-06-16T07:20:20.858Z] $ docker rm -f 14b962744d1de410bd57c16b172e3570abb908a7801cdeee9794a17feaa2cf5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-16T07:20:21.487Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-16T07:20:21.487Z] . [Pipeline] withDockerContainer [2021-06-16T07:20:21.564Z] prd-centos7-docker-4c-2g-1674 does not seem to be running inside a container [2021-06-16T07:20:21.603Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-16T07:20:22.000Z] $ docker top 8339e50928d4cc7e1013490df22478cbd26d2a1d0147f705009fc37001765bc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-16T07:20:22.564Z] + go mod tidy [Pipeline] sh [2021-06-16T07:20:25.149Z] + make test [2021-06-16T07:20:25.149Z] go mod tidy [2021-06-16T07:20:25.149Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-16T07:20:30.531Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-16T07:20:48.453Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1675 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-16T07:20:48.483Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-06-16T07:20:48.731Z] Selected Git installation does not exist. Using Default [2021-06-16T07:20:48.732Z] The recommended git tool is: NONE [2021-06-16T07:20:53.007Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-16T07:20:53.007Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-16T07:20:53.007Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-16T07:20:54.415Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.051s coverage: 25.4% of statements [2021-06-16T07:20:54.415Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-16T07:20:54.415Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 28.1% of statements [2021-06-16T07:20:54.680Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.074s coverage: 78.9% of statements [2021-06-16T07:20:54.966Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.044s coverage: 9.0% of statements [2021-06-16T07:20:54.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-16T07:20:54.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-16T07:20:54.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-16T07:20:55.571Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.057s coverage: 29.2% of statements [2021-06-16T07:20:55.571Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-16T07:20:56.172Z] using credential edgex-jenkins-ssh [2021-06-16T07:20:56.198Z] Cloning the remote Git repository [2021-06-16T07:20:56.279Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-16T07:20:56.970Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.051s coverage: 83.3% of statements [2021-06-16T07:20:56.970Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-16T07:20:56.970Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-16T07:20:56.970Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 58.0% of statements [2021-06-16T07:20:56.383Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-06-16T07:20:56.458Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-16T07:20:56.459Z] > git --version # timeout=10 [2021-06-16T07:20:56.486Z] > git --version # 'git version 2.17.1' [2021-06-16T07:20:56.488Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T07:20:56.566Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-16T07:20:57.925Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.818s coverage: 89.2% of statements [2021-06-16T07:20:57.925Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-16T07:20:57.925Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.046s coverage: 5.0% of statements [2021-06-16T07:20:57.925Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-16T07:20:57.925Z] GO111MODULE=on go vet ./... [2021-06-16T07:20:58.557Z] Merging remotes/origin/master commit a0283ea75e3b124ec5b34ddb1bd6fdababf84013 into PR head commit 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 [2021-06-16T07:20:58.825Z] Merge succeeded, producing 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 [2021-06-16T07:20:58.825Z] Checking out Revision 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 (PR-971) [2021-06-16T07:20:57.846Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-16T07:20:57.869Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-16T07:20:57.892Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-16T07:20:57.928Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-16T07:20:57.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T07:20:57.942Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-16T07:20:58.586Z] > git config core.sparsecheckout # timeout=10 [2021-06-16T07:20:58.601Z] > git checkout -f 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 # timeout=10 [2021-06-16T07:20:58.721Z] > git remote # timeout=10 [2021-06-16T07:20:58.741Z] > git config --get remote.origin.url # timeout=10 [2021-06-16T07:20:58.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T07:20:58.780Z] > git merge a0283ea75e3b124ec5b34ddb1bd6fdababf84013 # timeout=10 [2021-06-16T07:20:58.803Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-16T07:20:58.842Z] > git config core.sparsecheckout # timeout=10 [2021-06-16T07:20:58.860Z] > git checkout -f 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 # timeout=10 [2021-06-16T07:21:03.119Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-16T07:21:04.548Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-16T07:21:04.973Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-16T07:21:05.321Z] + sudo service+ docker restart [2021-06-16T07:21:05.322Z] true [2021-06-16T07:21:16.219Z] gofmt -l . [2021-06-16T07:21:16.219Z] [ "`gofmt -l .`" = "" ] [2021-06-16T07:21:16.219Z] ./bin/test-attribution-txt.sh [2021-06-16T07:21:16.219Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-16T07:21:16.231Z] $ docker stop --time=1 8339e50928d4cc7e1013490df22478cbd26d2a1d0147f705009fc37001765bc1 [2021-06-16T07:21:17.737Z] $ docker rm -f 8339e50928d4cc7e1013490df22478cbd26d2a1d0147f705009fc37001765bc1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-16T07:21:18.259Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-16T07:21:18.475Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-16T07:21:21.657Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-16T07:21:21.969Z] + ls -al . [2021-06-16T07:21:21.969Z] total 208 [2021-06-16T07:21:21.969Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 16 07:21 . [2021-06-16T07:21:21.969Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 16 07:19 .. [2021-06-16T07:21:21.969Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 16 07:19 bin [2021-06-16T07:21:21.969Z] -rw-r--r--. 1 jenkins jenkins 126073 Jun 16 07:20 coverage.out [2021-06-16T07:21:21.969Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 16 07:19 Dockerfile.build [2021-06-16T07:21:21.969Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 16 07:19 .dockerignore [2021-06-16T07:21:21.969Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 16 07:19 example [2021-06-16T07:21:21.969Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 16 07:19 .git [2021-06-16T07:21:21.969Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 16 07:19 .github [2021-06-16T07:21:21.969Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 16 07:19 .gitignore [2021-06-16T07:21:21.969Z] -rw-r--r--. 1 jenkins jenkins 576 Jun 16 07:21 go.mod [2021-06-16T07:21:21.969Z] -rw-r--r--. 1 jenkins jenkins 20385 Jun 16 07:20 go.sum [2021-06-16T07:21:21.969Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 16 07:19 internal [2021-06-16T07:21:21.969Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 16 07:19 Jenkinsfile [2021-06-16T07:21:21.969Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 16 07:19 LICENSE [2021-06-16T07:21:21.969Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 16 07:19 Makefile [2021-06-16T07:21:21.969Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 16 07:19 openapi [2021-06-16T07:21:21.969Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 16 07:19 pkg [2021-06-16T07:21:21.969Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 16 07:19 README.md [2021-06-16T07:21:21.969Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 16 07:19 RELEASE-NOTES.txt [2021-06-16T07:21:21.969Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 16 07:19 snap [2021-06-16T07:21:21.969Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 16 07:16 VERSION [2021-06-16T07:21:21.969Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 16 07:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-16T07:21:22.278Z] + 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=9b4d03481ff393d24f9800b7af4a8231e2ff3b04 --label arch=amd64 --label version=0.0.0 . [2021-06-16T07:21:22.278Z] Sending build context to Docker daemon 2.806MB [2021-06-16T07:21:22.278Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-16T07:21:22.278Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-16T07:21:22.278Z] ---> b00a95a721af [2021-06-16T07:21:22.278Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-16T07:21:22.278Z] ---> Running in dbd904dec397 [2021-06-16T07:21:22.540Z] Removing intermediate container dbd904dec397 [2021-06-16T07:21:22.540Z] ---> 1dcf50db489e [2021-06-16T07:21:22.540Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-16T07:21:22.540Z] ---> Running in 5d678a9cafea [2021-06-16T07:21:22.540Z] Removing intermediate container 5d678a9cafea [2021-06-16T07:21:22.540Z] ---> 6cc00a789bd5 [2021-06-16T07:21:22.540Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-16T07:21:22.540Z] ---> Running in 6516aeab024b [2021-06-16T07:21:23.120Z] Removing intermediate container 6516aeab024b [2021-06-16T07:21:23.120Z] ---> 11e7d2ac64d3 [2021-06-16T07:21:23.120Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-16T07:21:23.120Z] ---> Running in 9cbdc233d080 [2021-06-16T07:21:23.381Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-16T07:21:24.326Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [2021-06-16T07:21:24.591Z] OK: 150 MiB in 46 packages [Pipeline] configFileProvider [2021-06-16T07:21:24.597Z] provisioning config files... [2021-06-16T07:21:24.623Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config988736069042884570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-16T07:21:24.852Z] Removing intermediate container 9cbdc233d080 [2021-06-16T07:21:24.852Z] ---> 5918b01ce8c0 [2021-06-16T07:21:24.853Z] Step 7/23 : COPY . . [2021-06-16T07:21:24.999Z] ---> docker-login.sh [2021-06-16T07:21:24.999Z] nexus3.edgexfoundry.org:10001 [2021-06-16T07:21:25.119Z] ---> 6700c6caee68 [2021-06-16T07:21:25.119Z] Step 8/23 : RUN go mod download [2021-06-16T07:21:25.119Z] ---> Running in d4b74d887672 [2021-06-16T07:21:25.700Z] Removing intermediate container d4b74d887672 [2021-06-16T07:21:25.700Z] ---> 2532f4bc6f81 [2021-06-16T07:21:25.700Z] Step 9/23 : RUN make build [2021-06-16T07:21:25.700Z] ---> Running in 7b3e71a86105 [2021-06-16T07:21:25.968Z] go mod tidy [2021-06-16T07:21:25.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T07:21:26.234Z] 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-16T07:21:26.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T07:21:26.253Z] Configure a credential helper to remove this warning. See [2021-06-16T07:21:26.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T07:21:26.253Z] [2021-06-16T07:21:26.253Z] Login Succeeded [2021-06-16T07:21:26.253Z] nexus3.edgexfoundry.org:10002 [2021-06-16T07:21:26.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T07:21:26.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T07:21:26.802Z] Configure a credential helper to remove this warning. See [2021-06-16T07:21:26.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T07:21:26.802Z] [2021-06-16T07:21:26.802Z] Login Succeeded [2021-06-16T07:21:26.802Z] nexus3.edgexfoundry.org:10003 [2021-06-16T07:21:27.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T07:21:27.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T07:21:27.354Z] Configure a credential helper to remove this warning. See [2021-06-16T07:21:27.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T07:21:27.354Z] [2021-06-16T07:21:27.354Z] Login Succeeded [2021-06-16T07:21:27.354Z] nexus3.edgexfoundry.org:10004 [2021-06-16T07:21:27.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T07:21:27.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T07:21:27.952Z] Configure a credential helper to remove this warning. See [2021-06-16T07:21:27.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T07:21:27.952Z] [2021-06-16T07:21:27.952Z] Login Succeeded [2021-06-16T07:21:27.952Z] docker.io [2021-06-16T07:21:28.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T07:21:28.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T07:21:28.835Z] Configure a credential helper to remove this warning. See [2021-06-16T07:21:28.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T07:21:28.835Z] [2021-06-16T07:21:28.835Z] Login Succeeded [2021-06-16T07:21:28.835Z] ---> docker-login.sh ends [Pipeline] } [2021-06-16T07:21:28.853Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-16T07:21:29.158Z] ========================================================= [2021-06-16T07:21:29.158Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-16T07:21:29.158Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-16T07:21:29.501Z] + 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-16T07:21:30.101Z] Sending build context to Docker daemon 2.676MB [2021-06-16T07:21:30.101Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-16T07:21:30.101Z] Step 2/8 : FROM ${BASE} [2021-06-16T07:21:30.375Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-16T07:21:30.375Z] 595b0fe564bb: Pulling fs layer [2021-06-16T07:21:30.375Z] 3088b5b3c5c0: Pulling fs layer [2021-06-16T07:21:30.375Z] 5b7225fbf94c: Pulling fs layer [2021-06-16T07:21:30.375Z] ba82ee9f976e: Pulling fs layer [2021-06-16T07:21:30.376Z] 506bd15cee9f: Pulling fs layer [2021-06-16T07:21:30.376Z] 75a0a4a0db45: Pulling fs layer [2021-06-16T07:21:30.376Z] 618dc40b7e24: Pulling fs layer [2021-06-16T07:21:30.376Z] 506bd15cee9f: Waiting [2021-06-16T07:21:30.376Z] ba82ee9f976e: Waiting [2021-06-16T07:21:30.376Z] 5b7225fbf94c: Verifying Checksum [2021-06-16T07:21:30.376Z] 5b7225fbf94c: Download complete [2021-06-16T07:21:30.376Z] 3088b5b3c5c0: Verifying Checksum [2021-06-16T07:21:30.376Z] 3088b5b3c5c0: Download complete [2021-06-16T07:21:30.376Z] 506bd15cee9f: Verifying Checksum [2021-06-16T07:21:30.376Z] 506bd15cee9f: Download complete [2021-06-16T07:21:30.376Z] 595b0fe564bb: Download complete [2021-06-16T07:21:30.376Z] 75a0a4a0db45: Verifying Checksum [2021-06-16T07:21:30.376Z] 75a0a4a0db45: Download complete [2021-06-16T07:21:30.981Z] 595b0fe564bb: Pull complete [2021-06-16T07:21:31.595Z] 3088b5b3c5c0: Pull complete [2021-06-16T07:21:32.200Z] 5b7225fbf94c: Pull complete [2021-06-16T07:21:32.484Z] 618dc40b7e24: Verifying Checksum [2021-06-16T07:21:32.484Z] 618dc40b7e24: Download complete [2021-06-16T07:21:33.934Z] ba82ee9f976e: Download complete [2021-06-16T07:21:36.279Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-16T07:21:37.223Z] Removing intermediate container 7b3e71a86105 [2021-06-16T07:21:37.223Z] ---> 27cae6b3314f [2021-06-16T07:21:37.223Z] Step 10/23 : FROM alpine:3.12 [2021-06-16T07:21:37.488Z] 3.12: Pulling from library/alpine [2021-06-16T07:21:37.752Z] 339de151aab4: Pulling fs layer [2021-06-16T07:21:38.012Z] 339de151aab4: Verifying Checksum [2021-06-16T07:21:38.012Z] 339de151aab4: Download complete [2021-06-16T07:21:38.012Z] 339de151aab4: Pull complete [2021-06-16T07:21:38.012Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-16T07:21:38.012Z] Status: Downloaded newer image for alpine:3.12 [2021-06-16T07:21:38.012Z] ---> 13621d1b12d4 [2021-06-16T07:21:38.012Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-16T07:21:38.275Z] ---> Running in b6a4f53be8e9 [2021-06-16T07:21:38.275Z] Removing intermediate container b6a4f53be8e9 [2021-06-16T07:21:38.275Z] ---> edb867a0505f [2021-06-16T07:21:38.275Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-16T07:21:38.275Z] ---> Running in 4c9d91f0396f [2021-06-16T07:21:38.866Z] Removing intermediate container 4c9d91f0396f [2021-06-16T07:21:38.866Z] ---> 17b30dba8de2 [2021-06-16T07:21:38.866Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-16T07:21:38.866Z] ---> Running in 384dba91ea47 [2021-06-16T07:21:38.866Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-16T07:21:39.805Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-16T07:21:40.065Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-16T07:21:40.065Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-16T07:21:40.065Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-16T07:21:41.006Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-16T07:21:41.006Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-16T07:21:41.006Z] Executing busybox-1.31.1-r20.trigger [2021-06-16T07:21:41.006Z] OK: 8 MiB in 19 packages [2021-06-16T07:21:41.277Z] Removing intermediate container 384dba91ea47 [2021-06-16T07:21:41.277Z] ---> b249bd94a11c [2021-06-16T07:21:41.277Z] Step 14/23 : WORKDIR / [2021-06-16T07:21:41.538Z] ---> Running in fe3a0e668d53 [2021-06-16T07:21:41.538Z] Removing intermediate container fe3a0e668d53 [2021-06-16T07:21:41.538Z] ---> 84eaf655b79e [2021-06-16T07:21:41.538Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-16T07:21:41.805Z] ---> bbecf7f28c3e [2021-06-16T07:21:41.805Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-16T07:21:42.378Z] ---> 10c2336a180f [2021-06-16T07:21:42.378Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-16T07:21:42.378Z] ---> c22121e122e2 [2021-06-16T07:21:42.378Z] Step 18/23 : EXPOSE 59999 [2021-06-16T07:21:42.378Z] ---> Running in 237cb80e1fde [2021-06-16T07:21:42.639Z] Removing intermediate container 237cb80e1fde [2021-06-16T07:21:42.639Z] ---> 9bf4cb898cb1 [2021-06-16T07:21:42.639Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-16T07:21:42.639Z] ---> Running in 4a337d65a557 [2021-06-16T07:21:42.639Z] Removing intermediate container 4a337d65a557 [2021-06-16T07:21:42.639Z] ---> 57a2900c1c2e [2021-06-16T07:21:42.639Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-16T07:21:42.639Z] ---> Running in bac9861e3070 [2021-06-16T07:21:42.639Z] Removing intermediate container bac9861e3070 [2021-06-16T07:21:42.639Z] ---> 919c087cfefa [2021-06-16T07:21:42.639Z] Step 21/23 : LABEL arch=amd64 [2021-06-16T07:21:42.903Z] ---> Running in 7b937fa472f6 [2021-06-16T07:21:42.903Z] Removing intermediate container 7b937fa472f6 [2021-06-16T07:21:42.903Z] ---> 5e756677bd00 [2021-06-16T07:21:42.903Z] Step 22/23 : LABEL git_sha=9b4d03481ff393d24f9800b7af4a8231e2ff3b04 [2021-06-16T07:21:42.903Z] ---> Running in 04e9f7f8cb6b [2021-06-16T07:21:42.903Z] Removing intermediate container 04e9f7f8cb6b [2021-06-16T07:21:42.903Z] ---> 6e35adfe9af2 [2021-06-16T07:21:42.903Z] Step 23/23 : LABEL version=0.0.0 [2021-06-16T07:21:42.903Z] ---> Running in 943d0a7bdf4d [2021-06-16T07:21:43.170Z] Removing intermediate container 943d0a7bdf4d [2021-06-16T07:21:43.170Z] ---> aa12dffed95e [2021-06-16T07:21:43.170Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-16T07:21:43.170Z] Successfully built aa12dffed95e [2021-06-16T07:21:43.170Z] 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-16T07:21:43.911Z] ---> job-cost.sh [2021-06-16T07:21:43.911Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ONJ2 [2021-06-16T07:21:44.116Z] ba82ee9f976e: Pull complete [2021-06-16T07:21:44.116Z] 506bd15cee9f: Pull complete [2021-06-16T07:21:44.392Z] 75a0a4a0db45: Pull complete [2021-06-16T07:21:48.723Z] 618dc40b7e24: Pull complete [2021-06-16T07:21:48.724Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-16T07:21:48.724Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-16T07:21:48.724Z] ---> a36622ca3599 [2021-06-16T07:21:48.724Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-16T07:21:50.714Z] ---> Running in 87771509a2a0 [2021-06-16T07:21:51.048Z] Removing intermediate container 87771509a2a0 [2021-06-16T07:21:51.048Z] ---> 70c458072b94 [2021-06-16T07:21:51.048Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-16T07:21:51.048Z] ---> Running in 99c5e7418309 [2021-06-16T07:21:53.703Z] Removing intermediate container 99c5e7418309 [2021-06-16T07:21:53.703Z] ---> cd03dfc987b7 [2021-06-16T07:21:53.703Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-16T07:21:53.704Z] ---> Running in 8ec71d33119d [2021-06-16T07:21:53.935Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-16T07:21:55.145Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-16T07:21:56.153Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-16T07:21:56.752Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-16T07:21:56.752Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-16T07:21:57.026Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-16T07:21:57.026Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-16T07:21:57.026Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-16T07:21:57.301Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-16T07:21:57.301Z] Executing busybox-1.32.1-r6.trigger [2021-06-16T07:21:57.301Z] OK: 139 MiB in 46 packages [2021-06-16T07:21:59.938Z] Removing intermediate container 8ec71d33119d [2021-06-16T07:21:59.939Z] ---> 5c59e97a2628 [2021-06-16T07:21:59.939Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-16T07:21:59.939Z] ---> Running in b29128831ea2 [2021-06-16T07:21:59.939Z] Removing intermediate container b29128831ea2 [2021-06-16T07:21:59.939Z] ---> bb2cf912c45c [2021-06-16T07:21:59.939Z] Step 7/8 : COPY . . [2021-06-16T07:22:00.917Z] ---> c3400b8341e0 [2021-06-16T07:22:00.917Z] Step 8/8 : RUN go mod download [2021-06-16T07:22:00.917Z] ---> Running in 1c92c6227f8f [2021-06-16T07:22:07.963Z] lf-activate-venv(): INFO: Adding /tmp/venv-ONJ2/bin to PATH [2021-06-16T07:22:07.963Z] INFO: No Stack... [2021-06-16T07:22:07.963Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-16T07:22:07.963Z] INFO: Archiving Costs [Pipeline] sh [2021-06-16T07:22:08.271Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-06-16T07:22:08.271Z] + cut -d, -f6 [Pipeline] lock [2021-06-16T07:22:08.306Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-3-stack-cost] [2021-06-16T07:22:08.315Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-3-stack-cost] did not exist. Created. [2021-06-16T07:22:08.316Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-16T07:22:08.648Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-16T07:22:08.713Z] Stashed 1 file(s) [Pipeline] } [2021-06-16T07:22:08.727Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-16T07:22:27.759Z] Removing intermediate container 1c92c6227f8f [2021-06-16T07:22:27.759Z] ---> b8571467614c [2021-06-16T07:22:27.759Z] Successfully built b8571467614c [2021-06-16T07:22:27.759Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-16T07:22:28.107Z] + docker inspect -f . ci-base-image-arm64 [2021-06-16T07:22:28.107Z] . [Pipeline] withDockerContainer [2021-06-16T07:22:28.331Z] prd-ubuntu18.04-docker-arm64-4c-16g-1675 does not seem to be running inside a container [2021-06-16T07:22:28.426Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-16T07:22:30.070Z] $ docker top d7d49a47d164ccc50391f8036cda2f7436b7eaded12eac4eba0e7d1758519d1e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-16T07:22:31.044Z] + go version [2021-06-16T07:22:31.044Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-16T07:22:31.076Z] $ docker stop --time=1 d7d49a47d164ccc50391f8036cda2f7436b7eaded12eac4eba0e7d1758519d1e [2021-06-16T07:22:32.863Z] $ docker rm -f d7d49a47d164ccc50391f8036cda2f7436b7eaded12eac4eba0e7d1758519d1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-16T07:22:33.694Z] + docker inspect -f . ci-base-image-arm64 [2021-06-16T07:22:33.694Z] . [Pipeline] withDockerContainer [2021-06-16T07:22:33.914Z] prd-ubuntu18.04-docker-arm64-4c-16g-1675 does not seem to be running inside a container [2021-06-16T07:22:34.005Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-16T07:22:35.559Z] $ docker top e4bc4f01ce6ca46d4f1f2c2a5a921ba5c75ea56e06792a6d9ce8b24134707788 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-16T07:22:36.596Z] + go mod tidy [Pipeline] sh [2021-06-16T07:22:37.859Z] + make test [2021-06-16T07:22:37.859Z] go mod tidy [2021-06-16T07:22:38.135Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-16T07:23:01.492Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-16T07:23:59.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-16T07:23:59.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-16T07:23:59.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-16T07:24:18.258Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.300s coverage: 25.4% of statements [2021-06-16T07:24:18.258Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-16T07:24:18.258Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.208s coverage: 28.1% of statements [2021-06-16T07:24:18.258Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.218s coverage: 78.9% of statements [2021-06-16T07:24:18.258Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.249s coverage: 9.0% of statements [2021-06-16T07:24:18.258Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-16T07:24:18.258Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-16T07:24:18.258Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-16T07:24:18.258Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.298s coverage: 29.2% of statements [2021-06-16T07:24:18.258Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-16T07:24:18.258Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.231s coverage: 83.3% of statements [2021-06-16T07:24:18.258Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-16T07:24:18.258Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-16T07:24:18.258Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.383s coverage: 58.0% of statements [2021-06-16T07:24:22.572Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.013s coverage: 89.2% of statements [2021-06-16T07:24:22.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-16T07:24:22.572Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.181s coverage: 5.0% of statements [2021-06-16T07:24:22.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-16T07:24:22.572Z] GO111MODULE=on go vet ./... [2021-06-16T07:25:19.165Z] gofmt -l . [2021-06-16T07:25:19.165Z] [ "`gofmt -l .`" = "" ] [2021-06-16T07:25:19.166Z] ./bin/test-attribution-txt.sh [2021-06-16T07:25:19.443Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-16T07:25:20.099Z] $ docker stop --time=1 e4bc4f01ce6ca46d4f1f2c2a5a921ba5c75ea56e06792a6d9ce8b24134707788 [2021-06-16T07:25:22.271Z] $ docker rm -f e4bc4f01ce6ca46d4f1f2c2a5a921ba5c75ea56e06792a6d9ce8b24134707788 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-16T07:25:23.381Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-16T07:25:23.423Z] Warning: overwriting stash ‘coverage-report’ [2021-06-16T07:25:24.021Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-16T07:25:24.638Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-16T07:25:25.040Z] + ls -al . [2021-06-16T07:25:25.040Z] total 244 [2021-06-16T07:25:25.040Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 16 07:25 . [2021-06-16T07:25:25.040Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 07:20 .. [2021-06-16T07:25:25.040Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 16 07:20 .dockerignore [2021-06-16T07:25:25.040Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 16 07:21 .git [2021-06-16T07:25:25.040Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 16 07:20 .github [2021-06-16T07:25:25.040Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 16 07:20 .gitignore [2021-06-16T07:25:25.040Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 16 07:20 Dockerfile.build [2021-06-16T07:25:25.040Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 16 07:20 Jenkinsfile [2021-06-16T07:25:25.040Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 16 07:20 LICENSE [2021-06-16T07:25:25.040Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 16 07:20 Makefile [2021-06-16T07:25:25.040Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 16 07:20 README.md [2021-06-16T07:25:25.040Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 16 07:20 RELEASE-NOTES.txt [2021-06-16T07:25:25.040Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 16 07:16 VERSION [2021-06-16T07:25:25.040Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 16 07:20 bin [2021-06-16T07:25:25.040Z] -rw-r--r-- 1 jenkins jenkins 126074 Jun 16 07:24 coverage.out [2021-06-16T07:25:25.040Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 16 07:20 example [2021-06-16T07:25:25.040Z] -rw-r--r-- 1 jenkins jenkins 576 Jun 16 07:25 go.mod [2021-06-16T07:25:25.040Z] -rw-r--r-- 1 jenkins jenkins 20385 Jun 16 07:22 go.sum [2021-06-16T07:25:25.040Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 16 07:20 internal [2021-06-16T07:25:25.040Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 07:20 openapi [2021-06-16T07:25:25.040Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 16 07:20 pkg [2021-06-16T07:25:25.040Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 07:20 snap [2021-06-16T07:25:25.040Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 16 07:20 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-16T07:25:25.399Z] + 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=9b4d03481ff393d24f9800b7af4a8231e2ff3b04 --label arch=arm64 --label version=0.0.0 . [2021-06-16T07:25:26.066Z] Sending build context to Docker daemon 2.803MB [2021-06-16T07:25:26.066Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-16T07:25:26.066Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-16T07:25:26.066Z] ---> b8571467614c [2021-06-16T07:25:26.066Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-16T07:25:26.337Z] ---> Running in b8e30fd3eec8 [2021-06-16T07:25:26.756Z] Removing intermediate container b8e30fd3eec8 [2021-06-16T07:25:26.756Z] ---> 2f730c8b5778 [2021-06-16T07:25:26.756Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-16T07:25:27.027Z] ---> Running in e34228d42bdd [2021-06-16T07:25:27.302Z] Removing intermediate container e34228d42bdd [2021-06-16T07:25:27.302Z] ---> b99ff90d9cbd [2021-06-16T07:25:27.302Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-16T07:25:27.577Z] ---> Running in 6239e2963f5b [2021-06-16T07:25:29.565Z] Removing intermediate container 6239e2963f5b [2021-06-16T07:25:29.565Z] ---> e49cfcb92c91 [2021-06-16T07:25:29.565Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-16T07:25:29.837Z] ---> Running in a4284a5c912c [2021-06-16T07:25:30.835Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-16T07:25:31.816Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-16T07:25:32.810Z] OK: 139 MiB in 46 packages [2021-06-16T07:25:33.788Z] Removing intermediate container a4284a5c912c [2021-06-16T07:25:33.788Z] ---> a7763bd4acf6 [2021-06-16T07:25:33.788Z] Step 7/23 : COPY . . [2021-06-16T07:25:35.277Z] ---> 55f1740f9ce8 [2021-06-16T07:25:35.277Z] Step 8/23 : RUN go mod download [2021-06-16T07:25:35.277Z] ---> Running in 0df14a68e929 [2021-06-16T07:25:37.920Z] Removing intermediate container 0df14a68e929 [2021-06-16T07:25:37.920Z] ---> 2eb681ce7b60 [2021-06-16T07:25:37.920Z] Step 9/23 : RUN make build [2021-06-16T07:25:37.920Z] ---> Running in 7174d87327d8 [2021-06-16T07:25:39.374Z] go mod tidy [2021-06-16T07:25:39.654Z] 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-16T07:26:12.075Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-16T07:26:14.691Z] Removing intermediate container 7174d87327d8 [2021-06-16T07:26:14.691Z] ---> 9a7f245dc7ef [2021-06-16T07:26:14.692Z] Step 10/23 : FROM alpine:3.12 [2021-06-16T07:26:14.973Z] 3.12: Pulling from library/alpine [2021-06-16T07:26:15.250Z] d2f70382dc9a: Pulling fs layer [2021-06-16T07:26:15.528Z] d2f70382dc9a: Verifying Checksum [2021-06-16T07:26:15.528Z] d2f70382dc9a: Download complete [2021-06-16T07:26:17.815Z] d2f70382dc9a: Pull complete [2021-06-16T07:26:17.815Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-16T07:26:17.815Z] Status: Downloaded newer image for alpine:3.12 [2021-06-16T07:26:17.815Z] ---> c4fd0aeabfcf [2021-06-16T07:26:17.815Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-16T07:26:17.815Z] ---> Running in 40b032c530fd [2021-06-16T07:26:17.815Z] Removing intermediate container 40b032c530fd [2021-06-16T07:26:17.815Z] ---> 2fe9d12fd1f1 [2021-06-16T07:26:17.815Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-16T07:26:17.815Z] ---> Running in 09ddc9947137 [2021-06-16T07:26:19.261Z] Removing intermediate container 09ddc9947137 [2021-06-16T07:26:19.261Z] ---> d766bd0e1f16 [2021-06-16T07:26:19.261Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-16T07:26:19.261Z] ---> Running in 500496dbff43 [2021-06-16T07:26:20.695Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-16T07:26:21.302Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-16T07:26:21.893Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-16T07:26:22.164Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-16T07:26:22.164Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-16T07:26:22.439Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-16T07:26:22.439Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-16T07:26:22.439Z] Executing busybox-1.31.1-r20.trigger [2021-06-16T07:26:22.439Z] OK: 8 MiB in 19 packages [2021-06-16T07:26:23.878Z] Removing intermediate container 500496dbff43 [2021-06-16T07:26:23.878Z] ---> 72b93d9bf398 [2021-06-16T07:26:23.878Z] Step 14/23 : WORKDIR / [2021-06-16T07:26:23.878Z] ---> Running in 54f6abb7026b [2021-06-16T07:26:24.475Z] Removing intermediate container 54f6abb7026b [2021-06-16T07:26:24.475Z] ---> 85b05c9e81bf [2021-06-16T07:26:24.475Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-16T07:26:25.456Z] ---> 260743115b09 [2021-06-16T07:26:25.456Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-16T07:26:26.443Z] ---> 36a3f0b8d419 [2021-06-16T07:26:26.443Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-16T07:26:27.426Z] ---> 1b104ac51de6 [2021-06-16T07:26:27.426Z] Step 18/23 : EXPOSE 59999 [2021-06-16T07:26:27.426Z] ---> Running in 68a06cb94a76 [2021-06-16T07:26:28.022Z] Removing intermediate container 68a06cb94a76 [2021-06-16T07:26:28.022Z] ---> e82edb66716d [2021-06-16T07:26:28.022Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-16T07:26:28.022Z] ---> Running in a29859fb2153 [2021-06-16T07:26:28.615Z] Removing intermediate container a29859fb2153 [2021-06-16T07:26:28.615Z] ---> 874408272d07 [2021-06-16T07:26:28.615Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-16T07:26:28.615Z] ---> Running in 143fc9fe4d23 [2021-06-16T07:26:29.213Z] Removing intermediate container 143fc9fe4d23 [2021-06-16T07:26:29.213Z] ---> eeab5b33475e [2021-06-16T07:26:29.213Z] Step 21/23 : LABEL arch=arm64 [2021-06-16T07:26:29.213Z] ---> Running in a3aba42ef0a8 [2021-06-16T07:26:29.488Z] Removing intermediate container a3aba42ef0a8 [2021-06-16T07:26:29.488Z] ---> db176b13bb98 [2021-06-16T07:26:29.488Z] Step 22/23 : LABEL git_sha=9b4d03481ff393d24f9800b7af4a8231e2ff3b04 [2021-06-16T07:26:29.765Z] ---> Running in 642abb018ca1 [2021-06-16T07:26:30.360Z] Removing intermediate container 642abb018ca1 [2021-06-16T07:26:30.360Z] ---> b68cc9ab6aa5 [2021-06-16T07:26:30.360Z] Step 23/23 : LABEL version=0.0.0 [2021-06-16T07:26:30.360Z] ---> Running in 3bbc43a0745c [2021-06-16T07:26:30.956Z] Removing intermediate container 3bbc43a0745c [2021-06-16T07:26:30.956Z] ---> e695cb0b26b7 [2021-06-16T07:26:30.956Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-16T07:26:30.956Z] Successfully built e695cb0b26b7 [2021-06-16T07:26:30.956Z] 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-16T07:26:31.632Z] ---> job-cost.sh [2021-06-16T07:26:31.632Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wooL [2021-06-16T07:27:11.809Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-16T07:29:05.396Z] lf-activate-venv(): INFO: Adding /tmp/venv-wooL/bin to PATH [2021-06-16T07:29:05.396Z] INFO: No Stack... [2021-06-16T07:29:05.396Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-16T07:29:05.396Z] INFO: Archiving Costs [Pipeline] sh [2021-06-16T07:29:05.744Z] + + cutcat -d, /w/workspace/device-sdk-go/3/archives/cost.csv -f6 [2021-06-16T07:29:05.744Z] [Pipeline] lock [2021-06-16T07:29:05.812Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-3-stack-cost] [2021-06-16T07:29:05.825Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-3-stack-cost] did not exist. Created. [2021-06-16T07:29:05.825Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-16T07:29:06.208Z] /w/workspace/device-sdk-go/3@tmp/durable-ed171727/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-ed171727/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-16T07:29:06.556Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-16T07:29:06.588Z] Warning: overwriting stash ‘stack-cost’ [2021-06-16T07:29:06.757Z] Stashed 1 file(s) [Pipeline] } [2021-06-16T07:29:06.771Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-3-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-16T07:29:09.522Z] provisioning config files... [2021-06-16T07:29:09.530Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config4234382761210439799tmp [Pipeline] { [Pipeline] sh [2021-06-16T07:29:09.848Z] + set +x [2021-06-16T07:29:09.848Z] + bash -s -- [2021-06-16T07:29:09.848Z] + curl -s https://codecov.io/bash [2021-06-16T07:29:09.848Z] [2021-06-16T07:29:09.848Z] _____ _ [2021-06-16T07:29:09.848Z] / ____| | | [2021-06-16T07:29:09.848Z] | | ___ __| | ___ ___ _____ __ [2021-06-16T07:29:09.848Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-16T07:29:09.848Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-16T07:29:09.848Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-16T07:29:09.848Z] Bash-1.0.3 [2021-06-16T07:29:09.848Z] [2021-06-16T07:29:09.848Z] [2021-06-16T07:29:09.848Z] ==> git version 2.24.4 found [2021-06-16T07:29:09.848Z] ==> 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-16T07:29:09.848Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-16T07:29:09.848Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-16T07:29:09.848Z] ==> Jenkins CI detected. [2021-06-16T07:29:09.848Z] project root: . [2021-06-16T07:29:09.848Z] --> token set from env [2021-06-16T07:29:09.848Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-16T07:29:10.122Z] ==> Running gcov in . (disable via -X gcov) [2021-06-16T07:29:10.122Z] ==> Python coveragepy not found [2021-06-16T07:29:10.122Z] ==> Searching for coverage reports in: [2021-06-16T07:29:10.122Z] + . [2021-06-16T07:29:10.122Z] -> Found 1 reports [2021-06-16T07:29:10.122Z] ==> Detecting git/mercurial file structure [2021-06-16T07:29:10.122Z] ==> Reading reports [2021-06-16T07:29:10.122Z] + ./coverage.out bytes=126074 [2021-06-16T07:29:10.122Z] ==> Appending adjustments [2021-06-16T07:29:10.122Z] https://docs.codecov.io/docs/fixing-reports [2021-06-16T07:29:10.382Z] + Found adjustments [2021-06-16T07:29:10.382Z] ==> Gzipping contents [2021-06-16T07:29:10.382Z] 20K /tmp/codecov.V2WDI7.gz [2021-06-16T07:29:10.382Z] ==> Uploading reports [2021-06-16T07:29:10.382Z] url: https://codecov.io [2021-06-16T07:29:10.382Z] query: branch=PR-971&commit=9b4d03481ff393d24f9800b7af4a8231e2ff3b04&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-16T07:29:10.382Z] -> Pinging Codecov [2021-06-16T07:29:10.382Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-971&commit=9b4d03481ff393d24f9800b7af4a8231e2ff3b04&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-16T07:29:10.954Z] -> Uploading to [2021-06-16T07:29:10.954Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-16/7E55EF52A471D76F132DFD9A03CDDE97/9b4d03481ff393d24f9800b7af4a8231e2ff3b04/90cdee81-dfa3-4992-ba06-45878bf63bab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210616%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210616T072910Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8fc484f16ee77134d21d0bd0418f1dfa176f928200a77c1dc44bd9c308cb02c4 [2021-06-16T07:29:10.954Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-16T07:29:10.955Z] Dload Upload Total Spent Left Speed [2021-06-16T07:29:11.216Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16411 0 0 100 16411 0 46747 --:--:-- --:--:-- --:--:-- 46888 [2021-06-16T07:29:11.216Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9b4d03481ff393d24f9800b7af4a8231e2ff3b04 [Pipeline] } [2021-06-16T07:29:11.226Z] 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-16T07:29:12.815Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-16T07:29:13.381Z] ---> package-listing.sh [2021-06-16T07:29:13.381Z] ++ facter osfamily [2021-06-16T07:29:13.381Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-16T07:29:13.893Z] + OS_FAMILY=redhat [2021-06-16T07:29:13.893Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-16T07:29:13.893Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-16T07:29:13.893Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-16T07:29:13.893Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-16T07:29:13.893Z] + PACKAGES=/tmp/packages_start.txt [2021-06-16T07:29:13.893Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-16T07:29:13.893Z] + PACKAGES=/tmp/packages_end.txt [2021-06-16T07:29:13.893Z] + case "${OS_FAMILY}" in [2021-06-16T07:29:13.893Z] + rpm -qa [2021-06-16T07:29:13.893Z] + sort [2021-06-16T07:29:14.526Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-16T07:29:14.526Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-16T07:29:14.526Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-16T07:29:14.526Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-16T07:29:14.526Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [2021-06-16T07:29:14.526Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [Pipeline] echo [2021-06-16T07:29:14.540Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-971/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-16T07:29:14.831Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-16T07:29:15.393Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-16T07:29:15.393Z] [2021-06-16T07:29:15.393Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-16T07:29:15.878Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-16T07:29:15.878Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-16T07:29:15.878Z] df20fa9351a1: Pulling fs layer [2021-06-16T07:29:15.878Z] 36b3adc4ff6f: Pulling fs layer [2021-06-16T07:29:15.878Z] 8ad3a11d3b57: Pulling fs layer [2021-06-16T07:29:15.878Z] 46f8f816bc3b: Pulling fs layer [2021-06-16T07:29:15.878Z] 93b61091891f: Pulling fs layer [2021-06-16T07:29:15.878Z] 93b9cdb0e59b: Pulling fs layer [2021-06-16T07:29:15.878Z] 5e14af77c1be: Pulling fs layer [2021-06-16T07:29:15.878Z] 01666e4c0597: Pulling fs layer [2021-06-16T07:29:15.878Z] aa168da1d23b: Pulling fs layer [2021-06-16T07:29:15.878Z] 46f8f816bc3b: Waiting [2021-06-16T07:29:15.878Z] 93b61091891f: Waiting [2021-06-16T07:29:15.878Z] 93b9cdb0e59b: Waiting [2021-06-16T07:29:15.878Z] 5e14af77c1be: Waiting [2021-06-16T07:29:15.878Z] 01666e4c0597: Waiting [2021-06-16T07:29:15.878Z] aa168da1d23b: Waiting [2021-06-16T07:29:15.878Z] 36b3adc4ff6f: Verifying Checksum [2021-06-16T07:29:15.878Z] 36b3adc4ff6f: Download complete [2021-06-16T07:29:15.878Z] 46f8f816bc3b: Verifying Checksum [2021-06-16T07:29:15.878Z] 46f8f816bc3b: Download complete [2021-06-16T07:29:15.878Z] df20fa9351a1: Verifying Checksum [2021-06-16T07:29:15.878Z] df20fa9351a1: Download complete [2021-06-16T07:29:16.141Z] 8ad3a11d3b57: Verifying Checksum [2021-06-16T07:29:16.142Z] 8ad3a11d3b57: Download complete [2021-06-16T07:29:16.142Z] 93b61091891f: Verifying Checksum [2021-06-16T07:29:16.142Z] 93b61091891f: Download complete [2021-06-16T07:29:16.142Z] df20fa9351a1: Pull complete [2021-06-16T07:29:16.142Z] 5e14af77c1be: Verifying Checksum [2021-06-16T07:29:16.142Z] 5e14af77c1be: Download complete [2021-06-16T07:29:16.142Z] 01666e4c0597: Verifying Checksum [2021-06-16T07:29:16.142Z] 01666e4c0597: Download complete [2021-06-16T07:29:16.142Z] 93b9cdb0e59b: Verifying Checksum [2021-06-16T07:29:16.142Z] 93b9cdb0e59b: Download complete [2021-06-16T07:29:16.142Z] 36b3adc4ff6f: Pull complete [2021-06-16T07:29:16.749Z] 8ad3a11d3b57: Pull complete [2021-06-16T07:29:17.011Z] 46f8f816bc3b: Pull complete [2021-06-16T07:29:17.273Z] 93b61091891f: Pull complete [2021-06-16T07:29:17.536Z] 93b9cdb0e59b: Pull complete [2021-06-16T07:29:17.536Z] 5e14af77c1be: Pull complete [2021-06-16T07:29:17.803Z] 01666e4c0597: Pull complete [2021-06-16T07:29:17.803Z] aa168da1d23b: Verifying Checksum [2021-06-16T07:29:17.803Z] aa168da1d23b: Download complete [2021-06-16T07:29:22.041Z] aa168da1d23b: Pull complete [2021-06-16T07:29:22.041Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-16T07:29:22.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-16T07:29:22.041Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-16T07:29:22.116Z] prd-centos7-docker-4c-2g-1673 does not seem to be running inside a container [2021-06-16T07:29:22.155Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-971/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-16T07:29:26.579Z] $ docker top 01178a78b8b8d33f01a5bc535894c0396f97ee65fae7a5cb31a430bb2bc67620 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-16T07:29:26.971Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-16T07:29:27.277Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-16T07:29:27.584Z] + ls /var/log/sa-host [2021-06-16T07:29:27.584Z] + sadf -c /var/log/sa-host/sa05 [2021-06-16T07:29:27.584Z] file_magic: OK [2021-06-16T07:29:27.584Z] HZ: Using current value: 100 [2021-06-16T07:29:27.584Z] file_header: OK [2021-06-16T07:29:27.584Z] 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-16T07:29:27.584Z] Statistics: [2021-06-16T07:29:27.584Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-16T07:29:27.584Z] File successfully converted to sysstat format version 12.2.1 [2021-06-16T07:29:27.584Z] + sadf -c /var/log/sa-host/sa16 [2021-06-16T07:29:27.584Z] file_magic: OK [2021-06-16T07:29:27.584Z] HZ: Using current value: 100 [2021-06-16T07:29:27.584Z] file_header: OK [2021-06-16T07:29:27.584Z] 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-16T07:29:27.584Z] Statistics: [2021-06-16T07:29:27.584Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...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-16T07:29:27.584Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-16T07:29:27.803Z] provisioning config files... [2021-06-16T07:29:27.815Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config4150884409300311159tmp [Pipeline] { [Pipeline] echo [2021-06-16T07:29:27.838Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-16T07:29:28.139Z] ---> create-netrc.sh [Pipeline] } [2021-06-16T07:29:28.149Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-16T07:29:28.532Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-16T07:29:28.544Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-16T07:29:28.841Z] ---> sudo-logs.sh [2021-06-16T07:29:28.841Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-16T07:29:28.885Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-16T07:29:29.192Z] ---> job-cost.sh [2021-06-16T07:29:29.192Z] lf-activate-venv: SKIPPING [2021-06-16T07:29:29.192Z] DEBUG: total: 0.18000000715255737 [2021-06-16T07:29:29.192Z] INFO: Retrieving Stack Cost... [2021-06-16T07:29:30.140Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-16T07:29:30.715Z] INFO: Archiving Costs [Pipeline] echo [2021-06-16T07:29:30.729Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-16T07:29:31.030Z] ---> logs-deploy.sh [2021-06-16T07:29:31.030Z] lf-activate-venv: SKIPPING [2021-06-16T07:29:31.030Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-971/3 [2021-06-16T07:29:31.030Z] INFO: archiving workspace using pattern(s): [2021-06-16T07:29:31.978Z] Archives upload complete. [2021-06-16T07:29:31.978Z] INFO: archiving logs to Nexus [2021-06-16T07:29:32.550Z] ---> uname -a: [2021-06-16T07:29:32.551Z] Linux prd-centos7-docker-4c-2g-1673.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-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] ---> lscpu: [2021-06-16T07:29:32.551Z] Architecture: x86_64 [2021-06-16T07:29:32.551Z] CPU op-mode(s): 32-bit, 64-bit [2021-06-16T07:29:32.551Z] Byte Order: Little Endian [2021-06-16T07:29:32.551Z] Address sizes: 40 bits physical, 48 bits virtual [2021-06-16T07:29:32.551Z] CPU(s): 2 [2021-06-16T07:29:32.551Z] On-line CPU(s) list: 0,1 [2021-06-16T07:29:32.551Z] Thread(s) per core: 1 [2021-06-16T07:29:32.551Z] Core(s) per socket: 1 [2021-06-16T07:29:32.551Z] Socket(s): 2 [2021-06-16T07:29:32.551Z] NUMA node(s): 1 [2021-06-16T07:29:32.551Z] Vendor ID: AuthenticAMD [2021-06-16T07:29:32.551Z] CPU family: 23 [2021-06-16T07:29:32.551Z] Model: 49 [2021-06-16T07:29:32.551Z] Model name: AMD EPYC-Rome Processor [2021-06-16T07:29:32.551Z] Stepping: 0 [2021-06-16T07:29:32.551Z] CPU MHz: 2800.000 [2021-06-16T07:29:32.551Z] BogoMIPS: 5600.00 [2021-06-16T07:29:32.551Z] Virtualization: AMD-V [2021-06-16T07:29:32.551Z] Hypervisor vendor: KVM [2021-06-16T07:29:32.551Z] Virtualization type: full [2021-06-16T07:29:32.551Z] L1d cache: 64 KiB [2021-06-16T07:29:32.551Z] L1i cache: 64 KiB [2021-06-16T07:29:32.551Z] L2 cache: 1 MiB [2021-06-16T07:29:32.551Z] L3 cache: 32 MiB [2021-06-16T07:29:32.551Z] NUMA node0 CPU(s): 0,1 [2021-06-16T07:29:32.551Z] Vulnerability Itlb multihit: Not affected [2021-06-16T07:29:32.551Z] Vulnerability L1tf: Not affected [2021-06-16T07:29:32.551Z] Vulnerability Mds: Not affected [2021-06-16T07:29:32.551Z] Vulnerability Meltdown: Not affected [2021-06-16T07:29:32.551Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-06-16T07:29:32.551Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-06-16T07:29:32.551Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-06-16T07:29:32.551Z] Vulnerability Srbds: Not affected [2021-06-16T07:29:32.551Z] Vulnerability Tsx async abort: Not affected [2021-06-16T07:29:32.551Z] 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-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] ---> nproc: [2021-06-16T07:29:32.551Z] 2 [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] ---> df -h: [2021-06-16T07:29:32.551Z] Filesystem Size Used Available Use% Mounted on [2021-06-16T07:29:32.551Z] overlay 40.0G 7.6G 32.4G 19% / [2021-06-16T07:29:32.551Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-06-16T07:29:32.551Z] tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup [2021-06-16T07:29:32.551Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-06-16T07:29:32.551Z] /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os [2021-06-16T07:29:32.551Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf [2021-06-16T07:29:32.551Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname [2021-06-16T07:29:32.551Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts [2021-06-16T07:29:32.551Z] /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json [2021-06-16T07:29:32.551Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-16T07:29:32.551Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp [2021-06-16T07:29:32.551Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host [2021-06-16T07:29:32.551Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure [2021-06-16T07:29:32.551Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] ---> free -m: [2021-06-16T07:29:32.551Z] total used free shared buff/cache available [2021-06-16T07:29:32.551Z] Mem: 7821 921 4801 0 2098 6722 [2021-06-16T07:29:32.551Z] Swap: 1023 0 1023 [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] ---> ip addr: [2021-06-16T07:29:32.551Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-06-16T07:29:32.551Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-06-16T07:29:32.551Z] inet 127.0.0.1/8 scope host lo [2021-06-16T07:29:32.551Z] valid_lft forever preferred_lft forever [2021-06-16T07:29:32.551Z] inet6 ::1/128 scope host [2021-06-16T07:29:32.551Z] valid_lft forever preferred_lft forever [2021-06-16T07:29:32.551Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-06-16T07:29:32.551Z] link/ether fa:16:3e:82:d0:58 brd ff:ff:ff:ff:ff:ff [2021-06-16T07:29:32.551Z] inet 10.30.122.234/23 brd 10.30.123.255 scope global dynamic eth0 [2021-06-16T07:29:32.551Z] valid_lft 85572sec preferred_lft 85572sec [2021-06-16T07:29:32.551Z] inet6 fe80::f816:3eff:fe82:d058/64 scope link [2021-06-16T07:29:32.551Z] valid_lft forever preferred_lft forever [2021-06-16T07:29:32.551Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-06-16T07:29:32.551Z] link/ether 02:42:9e:d0:59:de brd ff:ff:ff:ff:ff:ff [2021-06-16T07:29:32.551Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-06-16T07:29:32.551Z] valid_lft forever preferred_lft forever [2021-06-16T07:29:32.551Z] inet6 fe80::42:9eff:fed0:59de/64 scope link [2021-06-16T07:29:32.551Z] valid_lft forever preferred_lft forever [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] ---> sar -b -r -n DEV: [2021-06-16T07:29:32.551Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/16/21 _x86_64_ (2 CPU) [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] 07:15:34 LINUX RESTART (2 CPU) [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] 07:16:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-06-16T07:29:32.551Z] 07:17:01 104.56 14.61 89.95 0.00 4767.24 4714.41 0.00 [2021-06-16T07:29:32.551Z] 07:18:01 1.62 0.00 1.62 0.00 0.00 33.84 0.00 [2021-06-16T07:29:32.551Z] 07:19:01 0.43 0.00 0.43 0.00 0.00 6.55 0.00 [2021-06-16T07:29:32.551Z] 07:20:01 0.20 0.00 0.20 0.00 0.00 2.97 0.00 [2021-06-16T07:29:32.551Z] 07:21:01 0.18 0.00 0.18 0.00 0.00 2.17 0.00 [2021-06-16T07:29:32.551Z] 07:22:01 0.33 0.00 0.33 0.00 0.00 4.75 0.00 [2021-06-16T07:29:32.551Z] 07:23:01 0.20 0.00 0.20 0.00 0.00 2.87 0.00 [2021-06-16T07:29:32.551Z] 07:24:01 0.30 0.00 0.30 0.00 0.00 3.76 0.00 [2021-06-16T07:29:32.551Z] 07:25:01 0.28 0.00 0.28 0.00 0.00 2.76 0.00 [2021-06-16T07:29:32.551Z] 07:26:01 0.18 0.00 0.18 0.00 0.00 2.67 0.00 [2021-06-16T07:29:32.551Z] 07:27:01 0.28 0.00 0.28 0.00 0.00 3.95 0.00 [2021-06-16T07:29:32.551Z] 07:28:01 0.25 0.00 0.25 0.00 0.00 2.58 0.00 [2021-06-16T07:29:32.551Z] 07:29:01 0.27 0.00 0.27 0.00 0.00 3.48 0.00 [2021-06-16T07:29:32.551Z] Average: 8.40 1.12 7.27 0.00 366.99 368.49 0.00 [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] 07:16:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-06-16T07:29:32.551Z] 07:17:01 5468088 0 797612 9.96 2620 1740620 1296108 14.31 568104 1573076 132 [2021-06-16T07:29:32.551Z] 07:18:01 5480716 0 784976 9.80 2620 1740628 1195948 13.20 557944 1573040 16 [2021-06-16T07:29:32.551Z] 07:19:01 5478884 0 786804 9.82 2620 1740632 1196224 13.21 560084 1572360 20 [2021-06-16T07:29:32.551Z] 07:20:01 5476712 0 788968 9.85 2620 1740640 1196224 13.21 562064 1572364 16 [2021-06-16T07:29:32.551Z] 07:21:01 5478000 0 787676 9.83 2620 1740644 1196068 13.21 557208 1576416 20 [2021-06-16T07:29:32.551Z] 07:22:01 5477688 0 787988 9.84 2620 1740644 1196116 13.21 557468 1576416 12 [2021-06-16T07:29:32.551Z] 07:23:01 5477540 0 788128 9.84 2620 1740652 1196140 13.21 557632 1576416 12 [2021-06-16T07:29:32.551Z] 07:24:01 5470456 0 795208 9.93 2620 1740656 1195948 13.20 565000 1576416 12 [2021-06-16T07:29:32.551Z] 07:25:01 5467856 0 797804 9.96 2620 1740660 1195948 13.20 567508 1576416 16 [2021-06-16T07:29:32.551Z] 07:26:01 5467868 0 797788 9.96 2620 1740664 1195948 13.20 569328 1574616 16 [2021-06-16T07:29:32.551Z] 07:27:01 5463596 0 802056 10.01 2620 1740668 1196164 13.21 573240 1574620 8 [2021-06-16T07:29:32.551Z] 07:28:01 5464188 0 801460 10.01 2620 1740672 1196104 13.21 579632 1567848 8 [2021-06-16T07:29:32.551Z] 07:29:01 5465436 0 800208 9.99 2620 1740676 1195948 13.20 578728 1567848 16 [2021-06-16T07:29:32.551Z] Average: 5472079 0 793590 9.91 2620 1740650 1203761 13.29 565688 1573681 23 [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] 07:16:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-06-16T07:29:32.551Z] 07:17:01 eth0 550.05 388.90 1106.42 86.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:17:01 docker0 9.44 5.91 1.90 28.21 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:18:01 eth0 0.12 0.08 0.01 0.03 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:19:01 eth0 3.60 1.95 3.04 0.13 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:20:01 eth0 1.12 0.25 0.33 0.19 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:21:01 eth0 0.58 0.32 0.27 0.20 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:22:01 eth0 1.23 0.50 0.46 0.24 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:23:01 eth0 0.97 0.40 0.32 0.21 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:24:01 eth0 0.13 0.08 0.01 0.04 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:25:01 eth0 0.77 0.08 0.06 0.01 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:26:01 eth0 0.35 0.08 0.02 0.01 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:27:01 eth0 1.12 0.45 0.45 0.27 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:28:01 eth0 0.52 0.30 0.27 0.20 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:29:01 eth0 0.05 0.03 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] 07:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] Average: eth0 43.15 30.29 85.58 6.74 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] Average: docker0 0.73 0.45 0.15 2.17 0.00 0.00 0.00 0.00 [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] ---> sar -P ALL: [2021-06-16T07:29:32.551Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/16/21 _x86_64_ (2 CPU) [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] 07:15:34 LINUX RESTART (2 CPU) [2021-06-16T07:29:32.551Z] [2021-06-16T07:29:32.551Z] 07:16:01 CPU %user %nice %system %iowait %steal %idle [2021-06-16T07:29:32.551Z] 07:17:01 all 11.75 0.00 3.33 3.49 0.07 81.36 [2021-06-16T07:29:32.551Z] 07:17:01 0 12.21 0.00 3.61 3.44 0.07 80.68 [2021-06-16T07:29:32.551Z] 07:17:01 1 11.30 0.00 3.05 3.55 0.07 82.04 [2021-06-16T07:29:32.552Z] 07:18:01 all 0.16 0.00 0.05 0.00 0.03 99.76 [2021-06-16T07:29:32.552Z] 07:18:01 0 0.25 0.00 0.05 0.00 0.02 99.68 [2021-06-16T07:29:32.552Z] 07:18:01 1 0.07 0.00 0.05 0.00 0.05 99.83 [2021-06-16T07:29:32.552Z] 07:19:01 all 0.21 0.00 0.04 0.00 0.03 99.72 [2021-06-16T07:29:32.552Z] 07:19:01 0 0.33 0.00 0.05 0.00 0.05 99.57 [2021-06-16T07:29:32.552Z] 07:19:01 1 0.08 0.00 0.03 0.00 0.02 99.87 [2021-06-16T07:29:32.552Z] 07:20:01 all 0.12 0.00 0.03 0.00 0.01 99.85 [2021-06-16T07:29:32.552Z] 07:20:01 0 0.22 0.00 0.03 0.00 0.02 99.73 [2021-06-16T07:29:32.552Z] 07:20:01 1 0.02 0.00 0.02 0.00 0.00 99.97 [2021-06-16T07:29:32.552Z] 07:21:01 all 0.23 0.00 0.04 0.00 0.03 99.70 [2021-06-16T07:29:32.552Z] 07:21:01 0 0.37 0.00 0.03 0.00 0.03 99.57 [2021-06-16T07:29:32.552Z] 07:21:01 1 0.08 0.00 0.05 0.00 0.03 99.83 [2021-06-16T07:29:32.552Z] 07:22:01 all 0.15 0.00 0.03 0.00 0.01 99.81 [2021-06-16T07:29:32.552Z] 07:22:01 0 0.27 0.00 0.03 0.00 0.00 99.70 [2021-06-16T07:29:32.552Z] 07:22:01 1 0.03 0.00 0.03 0.00 0.02 99.92 [2021-06-16T07:29:32.552Z] 07:23:01 all 0.13 0.00 0.03 0.00 0.03 99.81 [2021-06-16T07:29:32.552Z] 07:23:01 0 0.22 0.00 0.03 0.00 0.03 99.72 [2021-06-16T07:29:32.552Z] 07:23:01 1 0.05 0.00 0.02 0.00 0.03 99.90 [2021-06-16T07:29:32.552Z] 07:24:01 all 0.13 0.00 0.04 0.00 0.03 99.81 [2021-06-16T07:29:32.552Z] 07:24:01 0 0.10 0.00 0.05 0.00 0.02 99.83 [2021-06-16T07:29:32.552Z] 07:24:01 1 0.15 0.00 0.03 0.00 0.03 99.78 [2021-06-16T07:29:32.552Z] 07:25:01 all 0.14 0.00 0.03 0.00 0.02 99.81 [2021-06-16T07:29:32.552Z] 07:25:01 0 0.22 0.00 0.03 0.00 0.02 99.73 [2021-06-16T07:29:32.552Z] 07:25:01 1 0.07 0.00 0.03 0.00 0.02 99.88 [2021-06-16T07:29:32.552Z] 07:26:01 all 0.03 0.00 0.03 0.00 0.03 99.92 [2021-06-16T07:29:32.552Z] 07:26:01 0 0.05 0.00 0.03 0.00 0.02 99.90 [2021-06-16T07:29:32.552Z] 07:26:01 1 0.00 0.00 0.03 0.00 0.03 99.93 [2021-06-16T07:29:32.552Z] 07:27:01 all 0.11 0.00 0.03 0.00 0.03 99.83 [2021-06-16T07:29:32.552Z] 07:27:01 0 0.17 0.00 0.03 0.00 0.02 99.78 [2021-06-16T07:29:32.552Z] 07:27:01 1 0.05 0.00 0.03 0.00 0.03 99.88 [2021-06-16T07:29:32.552Z] [2021-06-16T07:29:32.552Z] 07:27:01 CPU %user %nice %system %iowait %steal %idle [2021-06-16T07:29:32.552Z] 07:28:01 all 0.13 0.00 0.04 0.00 0.02 99.81 [2021-06-16T07:29:32.552Z] 07:28:01 0 0.23 0.00 0.03 0.00 0.00 99.73 [2021-06-16T07:29:32.552Z] 07:28:01 1 0.03 0.00 0.05 0.00 0.03 99.88 [2021-06-16T07:29:32.552Z] 07:29:01 all 0.12 0.00 0.02 0.00 0.03 99.84 [2021-06-16T07:29:32.552Z] 07:29:01 0 0.18 0.00 0.02 0.00 0.02 99.78 [2021-06-16T07:29:32.552Z] 07:29:01 1 0.05 0.00 0.02 0.00 0.03 99.90 [2021-06-16T07:29:32.552Z] Average: all 1.01 0.00 0.28 0.26 0.03 98.42 [2021-06-16T07:29:32.552Z] Average: 0 1.12 0.00 0.30 0.26 0.02 98.30 [2021-06-16T07:29:32.552Z] Average: 1 0.90 0.00 0.26 0.27 0.03 98.54 [2021-06-16T07:29:32.552Z] [2021-06-16T07:29:32.552Z] [2021-06-16T07:29:32.552Z]