Pull request #940 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a+e8c677d1df210277adef4aff331a8a81997773cd (bd33e5f68b5a8ea58c811bd9e2aff7974258ab2b) 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-ssh624344029650639170.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5861227282226430984.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-940/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-940/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5220539043187473225.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8606361059899829581.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-940/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-940/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1805618907408692396.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15607 in /w/workspace/dgexfoundry_device-sdk-go_PR-940 [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-940 # 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-940@tmp/jenkins-gitclient-ssh2188828437852038912.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-940@tmp/jenkins-gitclient-ssh8458191340253064990.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/940/head:refs/remotes/origin/PR-940 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e8c677d1df210277adef4aff331a8a81997773cd into PR head commit a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a Merge succeeded, producing a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a Checking out Revision a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a (PR-940) > git config core.sparsecheckout # timeout=10 > git checkout -f a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a # 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-940@tmp/jenkins-gitclient-ssh7560194726196320181.key > git merge e8c677d1df210277adef4aff331a8a81997773cd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a # timeout=10 Commit message: "refactor: Use common ServiceInfo struct and adjust code/configuration" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-22T00:27:30.228Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-22T00:27:30.364Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-22T00:27:30.425Z] ========================================================= [2021-05-22T00:27:30.425Z] EdgeX Global Pipelines Version Info [2021-05-22T00:27:30.425Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-22T00:27:31.872Z] ------------------- [2021-05-22T00:27:31.872Z] stable info: [2021-05-22T00:27:31.872Z] ------------------- [2021-05-22T00:27:31.872Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-22T00:27:31.872Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-22T00:27:31.872Z] Message: update stable to v1.0.192 [2021-05-22T00:27:32.444Z] ------------------- [2021-05-22T00:27:32.444Z] experimental info: [2021-05-22T00:27:32.444Z] ------------------- [2021-05-22T00:27:32.444Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-22T00:27:32.444Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-22T00:27:32.444Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-22T00:27:32.577Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-22T00:27:32.602Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-22T00:27:32.628Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-22T00:27:32.655Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-22T00:27:32.679Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-22T00:27:32.715Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-22T00:27:32.740Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-22T00:27:32.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-22T00:27:32.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-22T00:27:32.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-22T00:27:32.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-22T00:27:32.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-22T00:27:32.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-22T00:27:32.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-22T00:27:32.947Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-22T00:27:32.973Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-22T00:27:32.999Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-22T00:27:33.024Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-22T00:27:33.049Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-22T00:27:33.075Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-22T00:27:33.099Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-22T00:27:33.123Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-22T00:27:33.150Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-22T00:27:33.174Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-22T00:27:33.198Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-22T00:27:33.223Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-22T00:27:33.247Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-940 [Pipeline] echo [2021-05-22T00:27:33.272Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-940 [Pipeline] echo [2021-05-22T00:27:33.297Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-940 [Pipeline] echo [2021-05-22T00:27:33.362Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a [Pipeline] echo [2021-05-22T00:27:33.387Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3cc839 [Pipeline] echo [2021-05-22T00:27:33.416Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-22T00:27:33.516Z] provisioning config files... [2021-05-22T00:27:33.533Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-940@tmp/config5140304998740477446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-22T00:27:33.855Z] ---> docker-login.sh [2021-05-22T00:27:33.855Z] nexus3.edgexfoundry.org:10001 [2021-05-22T00:27:33.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-22T00:27:34.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-22T00:27:34.118Z] Configure a credential helper to remove this warning. See [2021-05-22T00:27:34.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-22T00:27:34.118Z] [2021-05-22T00:27:34.118Z] Login Succeeded [2021-05-22T00:27:34.118Z] nexus3.edgexfoundry.org:10002 [2021-05-22T00:27:34.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-22T00:27:34.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-22T00:27:34.118Z] Configure a credential helper to remove this warning. See [2021-05-22T00:27:34.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-22T00:27:34.118Z] [2021-05-22T00:27:34.118Z] Login Succeeded [2021-05-22T00:27:34.118Z] nexus3.edgexfoundry.org:10003 [2021-05-22T00:27:34.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-22T00:27:34.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-22T00:27:34.379Z] Configure a credential helper to remove this warning. See [2021-05-22T00:27:34.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-22T00:27:34.379Z] [2021-05-22T00:27:34.379Z] Login Succeeded [2021-05-22T00:27:34.379Z] nexus3.edgexfoundry.org:10004 [2021-05-22T00:27:34.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-22T00:27:34.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-22T00:27:34.643Z] Configure a credential helper to remove this warning. See [2021-05-22T00:27:34.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-22T00:27:34.643Z] [2021-05-22T00:27:34.643Z] Login Succeeded [2021-05-22T00:27:34.643Z] docker.io [2021-05-22T00:27:34.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-22T00:27:34.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-22T00:27:34.905Z] Configure a credential helper to remove this warning. See [2021-05-22T00:27:34.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-22T00:27:34.905Z] [2021-05-22T00:27:34.905Z] Login Succeeded [2021-05-22T00:27:34.905Z] ---> docker-login.sh ends [Pipeline] } [2021-05-22T00:27:34.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-22T00:27:37.292Z] + git log --format=format:%s -1 a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a [Pipeline] echo [2021-05-22T00:27:37.332Z] GIT_COMMIT: a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a, Commit Message: refactor: Use common ServiceInfo struct and adjust code/configuration [Pipeline] echo [2021-05-22T00:27:37.346Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-22T00:27:38.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-22T00:27:38.370Z] [2021-05-22T00:27:38.370Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-22T00:27:38.689Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-22T00:27:38.689Z] latest: Pulling from edgex-devops/git-semver [2021-05-22T00:27:38.689Z] 31603596830f: Pulling fs layer [2021-05-22T00:27:38.689Z] 54011a49482f: Pulling fs layer [2021-05-22T00:27:38.689Z] a6820b24f6d8: Pulling fs layer [2021-05-22T00:27:38.689Z] f581987b2513: Pulling fs layer [2021-05-22T00:27:38.689Z] f581987b2513: Waiting [2021-05-22T00:27:38.689Z] 54011a49482f: Verifying Checksum [2021-05-22T00:27:38.689Z] 54011a49482f: Download complete [2021-05-22T00:27:38.689Z] 31603596830f: Verifying Checksum [2021-05-22T00:27:38.689Z] 31603596830f: Download complete [2021-05-22T00:27:38.954Z] f581987b2513: Verifying Checksum [2021-05-22T00:27:38.954Z] f581987b2513: Download complete [2021-05-22T00:27:38.954Z] a6820b24f6d8: Verifying Checksum [2021-05-22T00:27:38.954Z] a6820b24f6d8: Download complete [2021-05-22T00:27:38.954Z] 31603596830f: Pull complete [2021-05-22T00:27:38.954Z] 54011a49482f: Pull complete [2021-05-22T00:27:39.528Z] a6820b24f6d8: Pull complete [2021-05-22T00:27:39.797Z] f581987b2513: Pull complete [2021-05-22T00:27:39.797Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-22T00:27:39.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-22T00:27:39.797Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-22T00:27:39.893Z] prd-centos7-docker-4c-2g-15607 does not seem to be running inside a container [2021-05-22T00:27:39.935Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-940 -v /w/workspace/dgexfoundry_device-sdk-go_PR-940:/w/workspace/dgexfoundry_device-sdk-go_PR-940:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-940@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-940@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:10004/edgex-devops/git-semver:latest cat [2021-05-22T00:27:41.018Z] $ docker top 6c4cf7096fd910932a23ed97e1279eb1d645627af15c701eaba1f5cc2c983b9b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-22T00:27:41.163Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-22T00:27:41.163Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-22T00:27:41.282Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-22T00:27:41.284Z] $ docker exec 6c4cf7096fd910932a23ed97e1279eb1d645627af15c701eaba1f5cc2c983b9b ssh-agent [2021-05-22T00:27:41.405Z] SSH_AUTH_SOCK=/tmp/ssh-h3V5Fkyl2Z0z/agent.13 [2021-05-22T00:27:41.405Z] SSH_AGENT_PID=19 [2021-05-22T00:27:41.416Z] Running ssh-add (command line suppressed) [2021-05-22T00:27:41.519Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-940@tmp/private_key_810901701234830741.key (/w/workspace/dgexfoundry_device-sdk-go_PR-940@tmp/private_key_810901701234830741.key) [2021-05-22T00:27:41.535Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-22T00:27:41.850Z] + git tag --points-at HEAD [Pipeline] } [2021-05-22T00:27:41.866Z] $ docker exec --env ******** --env ******** 6c4cf7096fd910932a23ed97e1279eb1d645627af15c701eaba1f5cc2c983b9b ssh-agent -k [2021-05-22T00:27:41.972Z] unset SSH_AUTH_SOCK; [2021-05-22T00:27:41.972Z] unset SSH_AGENT_PID; [2021-05-22T00:27:41.972Z] echo Agent pid 19 killed; [2021-05-22T00:27:41.986Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-22T00:27:42.026Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-22T00:27:42.026Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-22T00:27:42.150Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-22T00:27:42.152Z] $ docker exec 6c4cf7096fd910932a23ed97e1279eb1d645627af15c701eaba1f5cc2c983b9b ssh-agent [2021-05-22T00:27:42.265Z] SSH_AUTH_SOCK=/tmp/ssh-tZc7NP1Owj6k/agent.51 [2021-05-22T00:27:42.265Z] SSH_AGENT_PID=57 [2021-05-22T00:27:42.271Z] Running ssh-add (command line suppressed) [2021-05-22T00:27:42.395Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-940@tmp/private_key_5820481588316463813.key (/w/workspace/dgexfoundry_device-sdk-go_PR-940@tmp/private_key_5820481588316463813.key) [2021-05-22T00:27:42.415Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-22T00:27:42.723Z] + git semver init [2021-05-22T00:27:42.723Z] # -> Open(): unable to determine branch for HEAD [2021-05-22T00:27:42.723Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-940/.git [2021-05-22T00:27:42.723Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-940 [2021-05-22T00:27:42.723Z] # $SEMVER_REMOTE_NAME = origin [2021-05-22T00:27:42.723Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-22T00:27:42.723Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-22T00:27:42.723Z] # $SEMVER_BRANCH = PR-940 [2021-05-22T00:27:42.723Z] # $SEMVER_TEMP = /tmp/semver-639063047 [2021-05-22T00:27:42.723Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-22T00:27:43.302Z] # '/tmp/semver-639063047' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-940/.semver' [2021-05-22T00:27:43.302Z] # -> Force: false [2021-05-22T00:27:43.302Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-940/.semver [Pipeline] } [2021-05-22T00:27:43.314Z] $ docker exec --env ******** --env ******** 6c4cf7096fd910932a23ed97e1279eb1d645627af15c701eaba1f5cc2c983b9b ssh-agent -k [2021-05-22T00:27:43.415Z] unset SSH_AUTH_SOCK; [2021-05-22T00:27:43.415Z] unset SSH_AGENT_PID; [2021-05-22T00:27:43.416Z] echo Agent pid 57 killed; [2021-05-22T00:27:43.471Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-22T00:27:43.804Z] + git semver [Pipeline] } [2021-05-22T00:27:43.823Z] $ docker stop --time=1 6c4cf7096fd910932a23ed97e1279eb1d645627af15c701eaba1f5cc2c983b9b [2021-05-22T00:27:45.106Z] $ docker rm -f 6c4cf7096fd910932a23ed97e1279eb1d645627af15c701eaba1f5cc2c983b9b [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-22T00:27:45.468Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-22T00:27:45.736Z] Stashed 1 file(s) [Pipeline] echo [2021-05-22T00:27:45.742Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-22T00:28:00.987Z] Still waiting to schedule task [2021-05-22T00:28:00.987Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-22T00:28:00.988Z] ‘prd-centos7-docker-4c-2g-15599’ is offline [2021-05-22T00:28:00.988Z] ‘prd-centos7-docker-4c-2g-15604’ is offline [2021-05-22T00:28:00.988Z] ‘prd-centos7-docker-4c-2g-15606’ is offline [2021-05-22T00:28:00.988Z] ‘prd-centos7-docker-4c-2g-15608’ is offline [2021-05-22T00:28:00.988Z] ‘prd-centos7-docker-4c-2g-309’ is offline [2021-05-22T00:28:00.989Z] Still waiting to schedule task [2021-05-22T00:28:00.990Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-15605’ [2021-05-22T00:31:14.595Z] Running on prd-centos7-docker-4c-2g-15610 in /w/workspace/dgexfoundry_device-sdk-go_PR-940 [Pipeline] { [Pipeline] ws [2021-05-22T00:31:14.614Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-22T00:31:14.719Z] Selected Git installation does not exist. Using Default [2021-05-22T00:31:14.720Z] The recommended git tool is: NONE [2021-05-22T00:31:16.815Z] using credential edgex-jenkins-ssh [2021-05-22T00:31:16.827Z] Cloning the remote Git repository [2021-05-22T00:31:16.164Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-22T00:31:16.237Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-22T00:31:16.272Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-22T00:31:16.272Z] > git --version # timeout=10 [2021-05-22T00:31:16.287Z] > git --version # 'git version 2.24.4' [2021-05-22T00:31:16.287Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-22T00:31:16.314Z] [INFO] Currently running in a labeled security context [2021-05-22T00:31:16.315Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-22T00:31:16.315Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh6176371073648330825.key [2021-05-22T00:31:16.369Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-22T00:31:17.099Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-22T00:31:17.105Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-22T00:31:17.119Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-22T00:31:17.131Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-22T00:31:17.132Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-22T00:31:17.133Z] [INFO] Currently running in a labeled security context [2021-05-22T00:31:17.133Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-22T00:31:17.133Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1106781930221013270.key [2021-05-22T00:31:17.141Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/940/head:refs/remotes/origin/PR-940 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-22T00:31:18.235Z] Merging remotes/origin/master commit e8c677d1df210277adef4aff331a8a81997773cd into PR head commit a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a [2021-05-22T00:31:18.343Z] Merge succeeded, producing a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a [2021-05-22T00:31:18.344Z] Checking out Revision a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a (PR-940) [2021-05-22T00:31:17.676Z] > git config core.sparsecheckout # timeout=10 [2021-05-22T00:31:17.691Z] > git checkout -f a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a # timeout=10 [2021-05-22T00:31:17.743Z] > git remote # timeout=10 [2021-05-22T00:31:17.749Z] > git config --get remote.origin.url # timeout=10 [2021-05-22T00:31:17.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-22T00:31:17.758Z] [INFO] Currently running in a labeled security context [2021-05-22T00:31:17.758Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-22T00:31:17.758Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh5370277696623052904.key [2021-05-22T00:31:17.766Z] > git merge e8c677d1df210277adef4aff331a8a81997773cd # timeout=10 [2021-05-22T00:31:17.778Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-22T00:31:17.788Z] > git config core.sparsecheckout # timeout=10 [2021-05-22T00:31:17.793Z] > git checkout -f a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a # timeout=10 [2021-05-22T00:31:21.667Z] Commit message: "refactor: Use common ServiceInfo struct and adjust code/configuration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-22T00:31:22.829Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-22T00:31:23.154Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-22T00:31:23.450Z] + true [2021-05-22T00:31:23.450Z] + sudo service docker restart [2021-05-22T00:31:23.450Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-22T00:31:39.848Z] provisioning config files... [2021-05-22T00:31:39.863Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7800727975709262015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-22T00:31:40.202Z] ---> docker-login.sh [2021-05-22T00:31:40.202Z] nexus3.edgexfoundry.org:10001 [2021-05-22T00:31:40.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-22T00:31:40.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-22T00:31:40.471Z] Configure a credential helper to remove this warning. See [2021-05-22T00:31:40.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-22T00:31:40.471Z] [2021-05-22T00:31:40.471Z] Login Succeeded [2021-05-22T00:31:40.471Z] nexus3.edgexfoundry.org:10002 [2021-05-22T00:31:40.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-22T00:31:40.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-22T00:31:40.471Z] Configure a credential helper to remove this warning. See [2021-05-22T00:31:40.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-22T00:31:40.471Z] [2021-05-22T00:31:40.471Z] Login Succeeded [2021-05-22T00:31:40.471Z] nexus3.edgexfoundry.org:10003 [2021-05-22T00:31:40.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-22T00:31:40.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-22T00:31:40.732Z] Configure a credential helper to remove this warning. See [2021-05-22T00:31:40.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-22T00:31:40.732Z] [2021-05-22T00:31:40.732Z] Login Succeeded [2021-05-22T00:31:40.732Z] nexus3.edgexfoundry.org:10004 [2021-05-22T00:31:40.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-22T00:31:40.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-22T00:31:40.732Z] Configure a credential helper to remove this warning. See [2021-05-22T00:31:40.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-22T00:31:40.732Z] [2021-05-22T00:31:40.732Z] Login Succeeded [2021-05-22T00:31:40.732Z] docker.io [2021-05-22T00:31:40.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-22T00:31:41.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-22T00:31:41.303Z] Configure a credential helper to remove this warning. See [2021-05-22T00:31:41.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-22T00:31:41.303Z] [2021-05-22T00:31:41.303Z] Login Succeeded [2021-05-22T00:31:41.303Z] ---> docker-login.sh ends [Pipeline] } [2021-05-22T00:31:41.313Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-22T00:31:41.485Z] ========================================================= [2021-05-22T00:31:41.485Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-22T00:31:41.485Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-22T00:31:41.807Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-22T00:31:41.807Z] Sending build context to Docker daemon 2.648MB [2021-05-22T00:31:41.807Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-22T00:31:41.807Z] Step 2/8 : FROM ${BASE} [2021-05-22T00:31:41.807Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-22T00:31:41.807Z] 540db60ca938: Pulling fs layer [2021-05-22T00:31:41.807Z] adcc1eea9eea: Pulling fs layer [2021-05-22T00:31:41.807Z] 4c4ab2625f07: Pulling fs layer [2021-05-22T00:31:41.807Z] 0510c868ecb4: Pulling fs layer [2021-05-22T00:31:41.807Z] afea3b2eda06: Pulling fs layer [2021-05-22T00:31:41.807Z] 7809a108b3ef: Pulling fs layer [2021-05-22T00:31:41.807Z] f706445af74f: Pulling fs layer [2021-05-22T00:31:41.807Z] 0510c868ecb4: Waiting [2021-05-22T00:31:41.807Z] afea3b2eda06: Waiting [2021-05-22T00:31:41.807Z] 7809a108b3ef: Waiting [2021-05-22T00:31:41.807Z] f706445af74f: Waiting [2021-05-22T00:31:42.069Z] 4c4ab2625f07: Download complete [2021-05-22T00:31:42.069Z] adcc1eea9eea: Verifying Checksum [2021-05-22T00:31:42.069Z] adcc1eea9eea: Download complete [2021-05-22T00:31:42.069Z] afea3b2eda06: Verifying Checksum [2021-05-22T00:31:42.070Z] afea3b2eda06: Download complete [2021-05-22T00:31:42.070Z] 540db60ca938: Verifying Checksum [2021-05-22T00:31:42.070Z] 540db60ca938: Download complete [2021-05-22T00:31:42.070Z] 7809a108b3ef: Verifying Checksum [2021-05-22T00:31:42.070Z] 7809a108b3ef: Download complete [2021-05-22T00:31:42.333Z] 540db60ca938: Pull complete [2021-05-22T00:31:42.333Z] adcc1eea9eea: Pull complete [2021-05-22T00:31:42.594Z] 4c4ab2625f07: Pull complete [2021-05-22T00:31:43.990Z] f706445af74f: Verifying Checksum [2021-05-22T00:31:43.990Z] f706445af74f: Download complete [2021-05-22T00:31:44.253Z] 0510c868ecb4: Verifying Checksum [2021-05-22T00:31:44.253Z] 0510c868ecb4: Download complete [2021-05-22T00:31:47.570Z] 0510c868ecb4: Pull complete [2021-05-22T00:31:47.570Z] afea3b2eda06: Pull complete [2021-05-22T00:31:47.832Z] 7809a108b3ef: Pull complete [2021-05-22T00:31:49.223Z] f706445af74f: Pull complete [2021-05-22T00:31:49.223Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-22T00:31:49.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-22T00:31:49.223Z] ---> b068be0155e3 [2021-05-22T00:31:49.223Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-22T00:31:53.438Z] ---> Running in b8d1cdfc200d [2021-05-22T00:31:53.438Z] Removing intermediate container b8d1cdfc200d [2021-05-22T00:31:53.438Z] ---> 808c7c938790 [2021-05-22T00:31:53.438Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-22T00:31:53.438Z] ---> Running in 8d03d4fa74fe [2021-05-22T00:31:53.702Z] Removing intermediate container 8d03d4fa74fe [2021-05-22T00:31:53.702Z] ---> 81eb8a531971 [2021-05-22T00:31:53.702Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-22T00:31:53.702Z] ---> Running in 77e71d9ac086 [2021-05-22T00:31:53.964Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-22T00:31:54.906Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-22T00:31:55.481Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-22T00:31:55.481Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-22T00:31:55.481Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-22T00:31:55.481Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-22T00:31:55.743Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-22T00:31:55.743Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-22T00:31:55.743Z] Executing busybox-1.32.1-r6.trigger [2021-05-22T00:31:56.004Z] OK: 150 MiB in 46 packages [2021-05-22T00:31:56.265Z] Removing intermediate container 77e71d9ac086 [2021-05-22T00:31:56.266Z] ---> 679f03f798a4 [2021-05-22T00:31:56.266Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-22T00:31:56.266Z] ---> Running in 74f22f41ecfb [2021-05-22T00:31:56.266Z] Removing intermediate container 74f22f41ecfb [2021-05-22T00:31:56.266Z] ---> f2793b8f4315 [2021-05-22T00:31:56.266Z] Step 7/8 : COPY . . [2021-05-22T00:31:56.525Z] ---> 0e11b2285f4e [2021-05-22T00:31:56.525Z] Step 8/8 : RUN go mod download [2021-05-22T00:31:56.785Z] ---> Running in 4ed9f56385bd [2021-05-22T00:32:02.414Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15609 in /w/workspace/dgexfoundry_device-sdk-go_PR-940 [Pipeline] { [Pipeline] ws [2021-05-22T00:32:02.433Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-22T00:32:02.673Z] Selected Git installation does not exist. Using Default [2021-05-22T00:32:02.673Z] The recommended git tool is: NONE [2021-05-22T00:32:07.681Z] Removing intermediate container 4ed9f56385bd [2021-05-22T00:32:07.681Z] ---> ab71daeba9a1 [2021-05-22T00:32:07.681Z] Successfully built ab71daeba9a1 [2021-05-22T00:32:07.681Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-22T00:32:07.987Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-22T00:32:07.987Z] . [Pipeline] withDockerContainer [2021-05-22T00:32:08.072Z] prd-centos7-docker-4c-2g-15610 does not seem to be running inside a container [2021-05-22T00:32:08.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-22T00:32:08.490Z] $ docker top ae2747baf0f2b7d1461c3b0d638cd2659d7dcf025bd064265294b538d5ba6ef7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-22T00:32:08.861Z] + go version [2021-05-22T00:32:08.861Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-22T00:32:08.879Z] $ docker stop --time=1 ae2747baf0f2b7d1461c3b0d638cd2659d7dcf025bd064265294b538d5ba6ef7 [2021-05-22T00:32:09.620Z] using credential edgex-jenkins-ssh [2021-05-22T00:32:09.644Z] Cloning the remote Git repository [2021-05-22T00:32:10.067Z] $ docker rm -f ae2747baf0f2b7d1461c3b0d638cd2659d7dcf025bd064265294b538d5ba6ef7 [2021-05-22T00:32:09.694Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-22T00:32:09.798Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-22T00:32:09.863Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-22T00:32:09.864Z] > git --version # timeout=10 [2021-05-22T00:32:09.878Z] > git --version # 'git version 2.17.1' [2021-05-22T00:32:09.879Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-22T00:32:09.974Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-22T00:32:10.644Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-22T00:32:10.644Z] . [Pipeline] withDockerContainer [2021-05-22T00:32:10.718Z] prd-centos7-docker-4c-2g-15610 does not seem to be running inside a container [2021-05-22T00:32:10.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-22T00:32:11.145Z] $ docker top d9a8444695af168f1458f17feab4da4b2eb5c490d438b03f6dcd6ff7e2304b9c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-22T00:32:11.135Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-22T00:32:11.152Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-22T00:32:11.175Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-22T00:32:11.207Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-22T00:32:11.208Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-22T00:32:11.219Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/940/head:refs/remotes/origin/PR-940 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-22T00:32:11.536Z] + go mod tidy [Pipeline] sh [2021-05-22T00:32:11.867Z] Merging remotes/origin/master commit e8c677d1df210277adef4aff331a8a81997773cd into PR head commit a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a [2021-05-22T00:32:12.095Z] + make test [2021-05-22T00:32:12.095Z] go mod tidy [2021-05-22T00:32:12.095Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-22T00:32:12.101Z] Merge succeeded, producing a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a [2021-05-22T00:32:12.102Z] Checking out Revision a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a (PR-940) [2021-05-22T00:32:11.893Z] > git config core.sparsecheckout # timeout=10 [2021-05-22T00:32:11.911Z] > git checkout -f a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a # timeout=10 [2021-05-22T00:32:12.022Z] > git remote # timeout=10 [2021-05-22T00:32:12.039Z] > git config --get remote.origin.url # timeout=10 [2021-05-22T00:32:12.059Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-22T00:32:12.070Z] > git merge e8c677d1df210277adef4aff331a8a81997773cd # timeout=10 [2021-05-22T00:32:12.093Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-22T00:32:12.115Z] > git config core.sparsecheckout # timeout=10 [2021-05-22T00:32:12.131Z] > git checkout -f a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a # timeout=10 [2021-05-22T00:32:16.299Z] Commit message: "refactor: Use common ServiceInfo struct and adjust code/configuration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-22T00:32:17.420Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-22T00:32:17.667Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-22T00:32:18.082Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-22T00:32:20.036Z] + true [2021-05-22T00:32:20.036Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-22T00:32:38.382Z] provisioning config files... [2021-05-22T00:32:38.412Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4698808619465540576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-22T00:32:38.793Z] ---> docker-login.sh [2021-05-22T00:32:38.793Z] nexus3.edgexfoundry.org:10001 [2021-05-22T00:32:39.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-22T00:32:40.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-22T00:32:40.052Z] Configure a credential helper to remove this warning. See [2021-05-22T00:32:40.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-22T00:32:40.052Z] [2021-05-22T00:32:40.052Z] Login Succeeded [2021-05-22T00:32:40.052Z] nexus3.edgexfoundry.org:10002 [2021-05-22T00:32:40.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-22T00:32:40.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-22T00:32:40.657Z] Configure a credential helper to remove this warning. See [2021-05-22T00:32:40.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-22T00:32:40.657Z] [2021-05-22T00:32:40.657Z] Login Succeeded [2021-05-22T00:32:40.657Z] nexus3.edgexfoundry.org:10003 [2021-05-22T00:32:40.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-22T00:32:41.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-22T00:32:41.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-22T00:32:41.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-22T00:32:41.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.055s coverage: 25.4% of statements [2021-05-22T00:32:41.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-22T00:32:41.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 28.1% of statements [2021-05-22T00:32:41.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-22T00:32:41.209Z] Configure a credential helper to remove this warning. See [2021-05-22T00:32:41.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-22T00:32:41.209Z] [2021-05-22T00:32:41.209Z] Login Succeeded [2021-05-22T00:32:41.209Z] nexus3.edgexfoundry.org:10004 [2021-05-22T00:32:41.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.048s coverage: 78.9% of statements [2021-05-22T00:32:41.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.044s coverage: 9.0% of statements [2021-05-22T00:32:41.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-22T00:32:41.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-22T00:32:41.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-22T00:32:41.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-22T00:32:41.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-22T00:32:41.768Z] Configure a credential helper to remove this warning. See [2021-05-22T00:32:41.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-22T00:32:41.768Z] [2021-05-22T00:32:41.768Z] Login Succeeded [2021-05-22T00:32:41.768Z] docker.io [2021-05-22T00:32:42.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-22T00:32:42.360Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.062s coverage: 30.2% of statements [2021-05-22T00:32:42.360Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-22T00:32:42.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-22T00:32:42.647Z] Configure a credential helper to remove this warning. See [2021-05-22T00:32:42.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-22T00:32:42.647Z] [2021-05-22T00:32:42.647Z] Login Succeeded [2021-05-22T00:32:42.647Z] ---> docker-login.sh ends [Pipeline] } [2021-05-22T00:32:42.665Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-22T00:32:42.976Z] ========================================================= [2021-05-22T00:32:42.976Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-22T00:32:42.976Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-22T00:32:43.317Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-22T00:32:43.754Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.056s coverage: 83.3% of statements [2021-05-22T00:32:43.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-22T00:32:43.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-22T00:32:43.754Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 58.0% of statements [2021-05-22T00:32:43.917Z] Sending build context to Docker daemon 2.651MB [2021-05-22T00:32:43.917Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-22T00:32:43.917Z] Step 2/8 : FROM ${BASE} [2021-05-22T00:32:44.017Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.793s coverage: 89.2% of statements [2021-05-22T00:32:44.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-22T00:32:44.193Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-22T00:32:44.193Z] 595b0fe564bb: Pulling fs layer [2021-05-22T00:32:44.193Z] 7186ed65a4f7: Pulling fs layer [2021-05-22T00:32:44.193Z] 316046926c0a: Pulling fs layer [2021-05-22T00:32:44.193Z] 4ebd0625c992: Pulling fs layer [2021-05-22T00:32:44.193Z] 207e8628e3a3: Pulling fs layer [2021-05-22T00:32:44.193Z] c791037a9be2: Pulling fs layer [2021-05-22T00:32:44.193Z] ffd874e62e21: Pulling fs layer [2021-05-22T00:32:44.193Z] 207e8628e3a3: Waiting [2021-05-22T00:32:44.193Z] c791037a9be2: Waiting [2021-05-22T00:32:44.193Z] 4ebd0625c992: Waiting [2021-05-22T00:32:44.193Z] 316046926c0a: Verifying Checksum [2021-05-22T00:32:44.193Z] 316046926c0a: Download complete [2021-05-22T00:32:44.193Z] 7186ed65a4f7: Verifying Checksum [2021-05-22T00:32:44.193Z] 207e8628e3a3: Verifying Checksum [2021-05-22T00:32:44.193Z] 207e8628e3a3: Download complete [2021-05-22T00:32:44.193Z] c791037a9be2: Verifying Checksum [2021-05-22T00:32:44.193Z] c791037a9be2: Download complete [2021-05-22T00:32:44.193Z] 595b0fe564bb: Verifying Checksum [2021-05-22T00:32:44.193Z] 595b0fe564bb: Download complete [2021-05-22T00:32:44.280Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.046s coverage: 5.0% of statements [2021-05-22T00:32:44.280Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-22T00:32:44.280Z] GO111MODULE=on go vet ./... [2021-05-22T00:32:44.816Z] 595b0fe564bb: Pull complete [2021-05-22T00:32:45.420Z] 7186ed65a4f7: Pull complete [2021-05-22T00:32:46.033Z] 316046926c0a: Pull complete [2021-05-22T00:32:46.308Z] ffd874e62e21: Verifying Checksum [2021-05-22T00:32:46.308Z] ffd874e62e21: Download complete [2021-05-22T00:32:47.742Z] 4ebd0625c992: Verifying Checksum [2021-05-22T00:32:47.742Z] 4ebd0625c992: Download complete [2021-05-22T00:32:57.915Z] 4ebd0625c992: Pull complete [2021-05-22T00:32:57.915Z] 207e8628e3a3: Pull complete [2021-05-22T00:32:58.188Z] c791037a9be2: Pull complete [2021-05-22T00:33:02.456Z] gofmt -l . [2021-05-22T00:33:02.456Z] [ "`gofmt -l .`" = "" ] [2021-05-22T00:33:02.456Z] ./bin/test-attribution-txt.sh [2021-05-22T00:33:02.456Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-22T00:33:02.470Z] $ docker stop --time=1 d9a8444695af168f1458f17feab4da4b2eb5c490d438b03f6dcd6ff7e2304b9c [2021-05-22T00:33:02.500Z] ffd874e62e21: Pull complete [2021-05-22T00:33:02.500Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-22T00:33:02.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-22T00:33:02.500Z] ---> cfc18b08335c [2021-05-22T00:33:02.500Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-22T00:33:03.954Z] ---> Running in 0dcea5abdfe5 [2021-05-22T00:33:04.103Z] $ docker rm -f d9a8444695af168f1458f17feab4da4b2eb5c490d438b03f6dcd6ff7e2304b9c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-22T00:33:04.554Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-22T00:33:04.588Z] Removing intermediate container 0dcea5abdfe5 [2021-05-22T00:33:04.588Z] ---> 4ffedfdf6f81 [2021-05-22T00:33:04.588Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-22T00:33:04.588Z] ---> Running in 6c4c7d822fc2 [2021-05-22T00:33:04.778Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-22T00:33:07.158Z] Removing intermediate container 6c4c7d822fc2 [2021-05-22T00:33:07.158Z] ---> 343ecdc000ac [2021-05-22T00:33:07.158Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-22T00:33:07.158Z] ---> Running in 44b7184f12e5 [2021-05-22T00:33:10.372Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-22T00:33:10.372Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-22T00:33:10.372Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-22T00:33:10.372Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-22T00:33:10.372Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-22T00:33:10.372Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-22T00:33:10.644Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-22T00:33:10.644Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-22T00:33:10.917Z] Executing busybox-1.32.1-r6.trigger [2021-05-22T00:33:10.917Z] OK: 139 MiB in 46 packages [Pipeline] sh [2021-05-22T00:33:11.243Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-22T00:33:11.545Z] + ls -al . [2021-05-22T00:33:11.545Z] total 212 [2021-05-22T00:33:11.545Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 22 00:33 . [2021-05-22T00:33:11.545Z] drwxrwxr-x. 4 jenkins jenkins 28 May 22 00:31 .. [2021-05-22T00:33:11.545Z] drwxrwxr-x. 2 jenkins jenkins 64 May 22 00:31 bin [2021-05-22T00:33:11.545Z] -rw-r--r--. 1 jenkins jenkins 126353 May 22 00:32 coverage.out [2021-05-22T00:33:11.545Z] -rw-rw-r--. 1 jenkins jenkins 987 May 22 00:31 Dockerfile.build [2021-05-22T00:33:11.545Z] -rw-rw-r--. 1 jenkins jenkins 140 May 22 00:31 .dockerignore [2021-05-22T00:33:11.545Z] drwxrwxr-x. 5 jenkins jenkins 62 May 22 00:31 example [2021-05-22T00:33:11.545Z] drwxrwxr-x. 8 jenkins jenkins 179 May 22 00:31 .git [2021-05-22T00:33:11.545Z] drwxrwxr-x. 2 jenkins jenkins 103 May 22 00:31 .github [2021-05-22T00:33:11.545Z] -rw-rw-r--. 1 jenkins jenkins 138 May 22 00:31 .gitignore [2021-05-22T00:33:11.545Z] -rw-r--r--. 1 jenkins jenkins 575 May 22 00:33 go.mod [2021-05-22T00:33:11.545Z] -rw-r--r--. 1 jenkins jenkins 20803 May 22 00:32 go.sum [2021-05-22T00:33:11.545Z] drwxrwxr-x. 15 jenkins jenkins 224 May 22 00:31 internal [2021-05-22T00:33:11.545Z] -rw-rw-r--. 1 jenkins jenkins 894 May 22 00:31 Jenkinsfile [2021-05-22T00:33:11.545Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 22 00:31 LICENSE [2021-05-22T00:33:11.545Z] -rw-rw-r--. 1 jenkins jenkins 1026 May 22 00:31 Makefile [2021-05-22T00:33:11.545Z] drwxrwxr-x. 4 jenkins jenkins 26 May 22 00:31 openapi [2021-05-22T00:33:11.545Z] drwxrwxr-x. 5 jenkins jenkins 50 May 22 00:31 pkg [2021-05-22T00:33:11.545Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 22 00:31 README.md [2021-05-22T00:33:11.545Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 22 00:31 RELEASE-NOTES.txt [2021-05-22T00:33:11.545Z] drwxrwxr-x. 4 jenkins jenkins 54 May 22 00:31 snap [2021-05-22T00:33:11.545Z] -rw-rw-r--. 1 jenkins jenkins 5 May 22 00:27 VERSION [2021-05-22T00:33:11.545Z] -rw-rw-r--. 1 jenkins jenkins 222 May 22 00:31 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-22T00:33:11.848Z] + 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=a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a --label arch=amd64 --label version=0.0.0 . [2021-05-22T00:33:11.848Z] Sending build context to Docker daemon 2.775MB [2021-05-22T00:33:11.848Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-22T00:33:11.848Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-22T00:33:11.848Z] ---> ab71daeba9a1 [2021-05-22T00:33:11.848Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-22T00:33:11.848Z] ---> Running in 5d305a17c501 [2021-05-22T00:33:12.118Z] Removing intermediate container 5d305a17c501 [2021-05-22T00:33:12.118Z] ---> b50ac00d305d [2021-05-22T00:33:12.118Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-22T00:33:12.118Z] ---> Running in 4e2e0a0c5668 [2021-05-22T00:33:12.118Z] Removing intermediate container 4e2e0a0c5668 [2021-05-22T00:33:12.118Z] ---> 0781bf45d81c [2021-05-22T00:33:12.118Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-22T00:33:12.118Z] ---> Running in ec662a32bf8e [2021-05-22T00:33:12.359Z] Removing intermediate container 44b7184f12e5 [2021-05-22T00:33:12.359Z] ---> 5ebb72869c6d [2021-05-22T00:33:12.359Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-22T00:33:12.359Z] ---> Running in 3486e082df8c [2021-05-22T00:33:12.637Z] Removing intermediate container 3486e082df8c [2021-05-22T00:33:12.637Z] ---> b0f50efdddf1 [2021-05-22T00:33:12.637Z] Step 7/8 : COPY . . [2021-05-22T00:33:12.690Z] Removing intermediate container ec662a32bf8e [2021-05-22T00:33:12.690Z] ---> 30b4f6b8b408 [2021-05-22T00:33:12.690Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-22T00:33:12.690Z] ---> Running in 3a168444b359 [2021-05-22T00:33:12.950Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-22T00:33:13.893Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-22T00:33:14.089Z] ---> cef22e81a8e4 [2021-05-22T00:33:14.089Z] Step 8/8 : RUN go mod download [2021-05-22T00:33:14.089Z] ---> Running in ff6629f3f79a [2021-05-22T00:33:14.155Z] OK: 150 MiB in 46 packages [2021-05-22T00:33:14.417Z] Removing intermediate container 3a168444b359 [2021-05-22T00:33:14.417Z] ---> 2c95dc5822ef [2021-05-22T00:33:14.417Z] Step 7/23 : COPY . . [2021-05-22T00:33:14.678Z] ---> bbb095d3006b [2021-05-22T00:33:14.678Z] Step 8/23 : RUN go mod download [2021-05-22T00:33:14.678Z] ---> Running in f5781af01866 [2021-05-22T00:33:15.256Z] Removing intermediate container f5781af01866 [2021-05-22T00:33:15.256Z] ---> ca2f5335e07b [2021-05-22T00:33:15.256Z] Step 9/23 : RUN make build [2021-05-22T00:33:15.256Z] ---> Running in dd7b562c671b [2021-05-22T00:33:15.522Z] go mod tidy [2021-05-22T00:33:15.785Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-22T00:33:25.893Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-22T00:33:27.280Z] Removing intermediate container dd7b562c671b [2021-05-22T00:33:27.280Z] ---> b378d42cb689 [2021-05-22T00:33:27.280Z] Step 10/23 : FROM alpine:3.12 [2021-05-22T00:33:27.540Z] 3.12: Pulling from library/alpine [2021-05-22T00:33:27.541Z] 339de151aab4: Pulling fs layer [2021-05-22T00:33:27.804Z] 339de151aab4: Verifying Checksum [2021-05-22T00:33:27.804Z] 339de151aab4: Download complete [2021-05-22T00:33:28.065Z] 339de151aab4: Pull complete [2021-05-22T00:33:28.065Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-22T00:33:28.065Z] Status: Downloaded newer image for alpine:3.12 [2021-05-22T00:33:28.065Z] ---> 13621d1b12d4 [2021-05-22T00:33:28.065Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-22T00:33:28.065Z] ---> Running in 5ede0159477f [2021-05-22T00:33:28.338Z] Removing intermediate container 5ede0159477f [2021-05-22T00:33:28.338Z] ---> a069168551e9 [2021-05-22T00:33:28.338Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-22T00:33:28.338Z] ---> Running in 343a65dc12b4 [2021-05-22T00:33:28.916Z] Removing intermediate container 343a65dc12b4 [2021-05-22T00:33:28.916Z] ---> 7521467d7123 [2021-05-22T00:33:28.916Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-22T00:33:28.916Z] ---> Running in 4e8a2fb0a31c [2021-05-22T00:33:29.176Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-22T00:33:29.750Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-22T00:33:30.011Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-22T00:33:30.271Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-22T00:33:30.271Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-22T00:33:31.213Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-22T00:33:31.213Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-22T00:33:31.213Z] Executing busybox-1.31.1-r20.trigger [2021-05-22T00:33:31.213Z] OK: 8 MiB in 19 packages [2021-05-22T00:33:31.474Z] Removing intermediate container 4e8a2fb0a31c [2021-05-22T00:33:31.474Z] ---> 6e13883971e9 [2021-05-22T00:33:31.474Z] Step 14/23 : WORKDIR / [2021-05-22T00:33:31.736Z] ---> Running in 2f7f6d52eac4 [2021-05-22T00:33:31.736Z] Removing intermediate container 2f7f6d52eac4 [2021-05-22T00:33:31.736Z] ---> e9c35d0e2cfd [2021-05-22T00:33:31.736Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-22T00:33:31.736Z] ---> 1ae3d156fa1f [2021-05-22T00:33:31.736Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-22T00:33:32.307Z] ---> ca663c58123d [2021-05-22T00:33:32.307Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-22T00:33:32.570Z] ---> 25d0d0dee5a5 [2021-05-22T00:33:32.570Z] Step 18/23 : EXPOSE 59999 [2021-05-22T00:33:32.570Z] ---> Running in 9e1bbfc78f97 [2021-05-22T00:33:32.570Z] Removing intermediate container 9e1bbfc78f97 [2021-05-22T00:33:32.570Z] ---> 915f10ef5bb7 [2021-05-22T00:33:32.570Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-22T00:33:32.570Z] ---> Running in 275b00a3f68d [2021-05-22T00:33:32.570Z] Removing intermediate container 275b00a3f68d [2021-05-22T00:33:32.570Z] ---> 9fe5fec6cb00 [2021-05-22T00:33:32.570Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-22T00:33:32.570Z] ---> Running in a08c895b0a69 [2021-05-22T00:33:32.830Z] Removing intermediate container a08c895b0a69 [2021-05-22T00:33:32.830Z] ---> ecfc180c2548 [2021-05-22T00:33:32.830Z] Step 21/23 : LABEL arch=amd64 [2021-05-22T00:33:32.830Z] ---> Running in e6065b062951 [2021-05-22T00:33:32.830Z] Removing intermediate container e6065b062951 [2021-05-22T00:33:32.830Z] ---> 81d2203330ac [2021-05-22T00:33:32.830Z] Step 22/23 : LABEL git_sha=a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a [2021-05-22T00:33:32.830Z] ---> Running in 00e729739fc4 [2021-05-22T00:33:33.089Z] Removing intermediate container 00e729739fc4 [2021-05-22T00:33:33.089Z] ---> 584beddf529a [2021-05-22T00:33:33.089Z] Step 23/23 : LABEL version=0.0.0 [2021-05-22T00:33:33.089Z] ---> Running in e1c09372e660 [2021-05-22T00:33:33.089Z] Removing intermediate container e1c09372e660 [2021-05-22T00:33:33.089Z] ---> 296ed1f9df1c [2021-05-22T00:33:33.089Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-22T00:33:33.089Z] Successfully built 296ed1f9df1c [2021-05-22T00:33:33.089Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-22T00:33:33.974Z] ---> job-cost.sh [2021-05-22T00:33:33.974Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RXdV [2021-05-22T00:33:40.912Z] Removing intermediate container ff6629f3f79a [2021-05-22T00:33:40.912Z] ---> 0d9d0c6096c9 [2021-05-22T00:33:40.912Z] Successfully built 0d9d0c6096c9 [2021-05-22T00:33:40.912Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-22T00:33:41.253Z] + docker inspect -f . ci-base-image-arm64 [2021-05-22T00:33:41.254Z] . [Pipeline] withDockerContainer [2021-05-22T00:33:41.555Z] prd-ubuntu18.04-docker-arm64-4c-16g-15609 does not seem to be running inside a container [2021-05-22T00:33:41.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-05-22T00:33:45.537Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-22T00:33:45.541Z] $ docker top 99137d117d6eafc2477fb6c78ee399056d8907afb69a937e79f275fd61424643 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-22T00:33:46.517Z] + go version [2021-05-22T00:33:46.517Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-22T00:33:46.540Z] $ docker stop --time=1 99137d117d6eafc2477fb6c78ee399056d8907afb69a937e79f275fd61424643 [2021-05-22T00:33:48.399Z] $ docker rm -f 99137d117d6eafc2477fb6c78ee399056d8907afb69a937e79f275fd61424643 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-22T00:33:49.148Z] + docker inspect -f . ci-base-image-arm64 [2021-05-22T00:33:49.149Z] . [Pipeline] withDockerContainer [2021-05-22T00:33:49.411Z] prd-ubuntu18.04-docker-arm64-4c-16g-15609 does not seem to be running inside a container [2021-05-22T00:33:49.491Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-05-22T00:33:51.109Z] $ docker top d88a0f815d60aeb6fb5d11e5b96f33f26e759b56f1ac8d52b28719441f87108f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-22T00:33:52.081Z] + go mod tidy [Pipeline] sh [2021-05-22T00:33:53.342Z] + make test [2021-05-22T00:33:53.342Z] go mod tidy [2021-05-22T00:33:53.950Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-22T00:33:55.577Z] lf-activate-venv(): INFO: Adding /tmp/venv-RXdV/bin to PATH [2021-05-22T00:33:55.577Z] INFO: No Stack... [2021-05-22T00:33:56.523Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-22T00:33:57.094Z] INFO: Archiving Costs [Pipeline] sh [2021-05-22T00:33:57.396Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-05-22T00:33:57.396Z] + cut -d, -f6 [Pipeline] lock [2021-05-22T00:33:57.427Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-940-2-stack-cost] [2021-05-22T00:33:57.437Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-940-2-stack-cost] did not exist. Created. [2021-05-22T00:33:57.437Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-940-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-22T00:33:57.776Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-22T00:33:57.853Z] Stashed 1 file(s) [Pipeline] } [2021-05-22T00:33:57.863Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-940-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-22T00:34:16.144Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-22T00:35:24.242Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-22T00:35:24.242Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-22T00:35:24.242Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-22T00:35:30.994Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.251s coverage: 25.4% of statements [2021-05-22T00:35:30.994Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-22T00:35:30.994Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.234s coverage: 28.1% of statements [2021-05-22T00:35:30.994Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.215s coverage: 78.9% of statements [2021-05-22T00:35:30.994Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.194s coverage: 9.0% of statements [2021-05-22T00:35:30.994Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-22T00:35:30.994Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-22T00:35:30.994Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-22T00:35:32.438Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.275s coverage: 30.2% of statements [2021-05-22T00:35:32.438Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-22T00:35:33.054Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.243s coverage: 83.3% of statements [2021-05-22T00:35:33.054Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-22T00:35:33.054Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-22T00:35:33.330Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.350s coverage: 58.0% of statements [2021-05-22T00:35:37.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.007s coverage: 89.2% of statements [2021-05-22T00:35:37.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-22T00:35:37.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.187s coverage: 5.0% of statements [2021-05-22T00:35:37.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-22T00:35:37.962Z] GO111MODULE=on go vet ./... [2021-05-22T00:36:34.570Z] gofmt -l . [2021-05-22T00:36:34.570Z] [ "`gofmt -l .`" = "" ] [2021-05-22T00:36:34.570Z] ./bin/test-attribution-txt.sh [2021-05-22T00:36:34.570Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-22T00:36:35.186Z] $ docker stop --time=1 d88a0f815d60aeb6fb5d11e5b96f33f26e759b56f1ac8d52b28719441f87108f [2021-05-22T00:36:37.228Z] $ docker rm -f d88a0f815d60aeb6fb5d11e5b96f33f26e759b56f1ac8d52b28719441f87108f [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-22T00:36:38.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-22T00:36:38.354Z] Warning: overwriting stash ‘coverage-report’ [2021-05-22T00:36:39.066Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-22T00:36:39.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-22T00:36:40.014Z] + ls -al . [2021-05-22T00:36:40.014Z] total 248 [2021-05-22T00:36:40.014Z] drwxrwxr-x 10 jenkins jenkins 4096 May 22 00:36 . [2021-05-22T00:36:40.014Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 00:32 .. [2021-05-22T00:36:40.014Z] -rw-rw-r-- 1 jenkins jenkins 140 May 22 00:32 .dockerignore [2021-05-22T00:36:40.014Z] drwxrwxr-x 8 jenkins jenkins 4096 May 22 00:32 .git [2021-05-22T00:36:40.014Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 00:32 .github [2021-05-22T00:36:40.014Z] -rw-rw-r-- 1 jenkins jenkins 138 May 22 00:32 .gitignore [2021-05-22T00:36:40.014Z] -rw-rw-r-- 1 jenkins jenkins 987 May 22 00:32 Dockerfile.build [2021-05-22T00:36:40.014Z] -rw-rw-r-- 1 jenkins jenkins 894 May 22 00:32 Jenkinsfile [2021-05-22T00:36:40.014Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 22 00:32 LICENSE [2021-05-22T00:36:40.014Z] -rw-rw-r-- 1 jenkins jenkins 1026 May 22 00:32 Makefile [2021-05-22T00:36:40.014Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 22 00:32 README.md [2021-05-22T00:36:40.014Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 22 00:32 RELEASE-NOTES.txt [2021-05-22T00:36:40.014Z] -rw-rw-r-- 1 jenkins jenkins 5 May 22 00:27 VERSION [2021-05-22T00:36:40.014Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 00:32 bin [2021-05-22T00:36:40.014Z] -rw-r--r-- 1 jenkins jenkins 126353 May 22 00:35 coverage.out [2021-05-22T00:36:40.014Z] drwxrwxr-x 5 jenkins jenkins 4096 May 22 00:32 example [2021-05-22T00:36:40.014Z] -rw-r--r-- 1 jenkins jenkins 575 May 22 00:36 go.mod [2021-05-22T00:36:40.014Z] -rw-r--r-- 1 jenkins jenkins 20803 May 22 00:33 go.sum [2021-05-22T00:36:40.014Z] drwxrwxr-x 15 jenkins jenkins 4096 May 22 00:32 internal [2021-05-22T00:36:40.014Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 00:32 openapi [2021-05-22T00:36:40.014Z] drwxrwxr-x 5 jenkins jenkins 4096 May 22 00:32 pkg [2021-05-22T00:36:40.014Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 00:32 snap [2021-05-22T00:36:40.014Z] -rw-rw-r-- 1 jenkins jenkins 222 May 22 00:32 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-22T00:36:40.375Z] + 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=a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a --label arch=arm64 --label version=0.0.0 . [2021-05-22T00:36:41.016Z] Sending build context to Docker daemon 2.778MB [2021-05-22T00:36:41.016Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-22T00:36:41.016Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-22T00:36:41.016Z] ---> 0d9d0c6096c9 [2021-05-22T00:36:41.016Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-22T00:36:41.294Z] ---> Running in 4c035d92f23d [2021-05-22T00:36:41.913Z] Removing intermediate container 4c035d92f23d [2021-05-22T00:36:41.913Z] ---> 511571cac91d [2021-05-22T00:36:41.913Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-22T00:36:41.913Z] ---> Running in 5cacf5544fca [2021-05-22T00:36:42.511Z] Removing intermediate container 5cacf5544fca [2021-05-22T00:36:42.511Z] ---> 0640369e670a [2021-05-22T00:36:42.511Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-22T00:36:42.511Z] ---> Running in e53c8f5c6a1f [2021-05-22T00:36:44.487Z] Removing intermediate container e53c8f5c6a1f [2021-05-22T00:36:44.487Z] ---> 8b6ca271863c [2021-05-22T00:36:44.487Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-22T00:36:44.761Z] ---> Running in d19edb8f1e54 [2021-05-22T00:36:45.741Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-22T00:36:46.711Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-22T00:36:47.685Z] OK: 139 MiB in 46 packages [2021-05-22T00:36:48.660Z] Removing intermediate container d19edb8f1e54 [2021-05-22T00:36:48.660Z] ---> 3ab3d3b60bf3 [2021-05-22T00:36:48.660Z] Step 7/23 : COPY . . [2021-05-22T00:36:50.105Z] ---> ae294f70218c [2021-05-22T00:36:50.105Z] Step 8/23 : RUN go mod download [2021-05-22T00:36:50.105Z] ---> Running in 86c849820580 [2021-05-22T00:36:52.741Z] Removing intermediate container 86c849820580 [2021-05-22T00:36:52.741Z] ---> bc8def431873 [2021-05-22T00:36:52.742Z] Step 9/23 : RUN make build [2021-05-22T00:36:52.742Z] ---> Running in 4c87fd6550ad [2021-05-22T00:36:53.721Z] go mod tidy [2021-05-22T00:36:54.320Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-22T00:37:26.701Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-22T00:37:28.679Z] Removing intermediate container 4c87fd6550ad [2021-05-22T00:37:28.679Z] ---> a43d83c2040f [2021-05-22T00:37:28.679Z] Step 10/23 : FROM alpine:3.12 [2021-05-22T00:37:29.268Z] 3.12: Pulling from library/alpine [2021-05-22T00:37:29.541Z] d2f70382dc9a: Pulling fs layer [2021-05-22T00:37:29.541Z] d2f70382dc9a: Verifying Checksum [2021-05-22T00:37:29.541Z] d2f70382dc9a: Download complete [2021-05-22T00:37:30.146Z] d2f70382dc9a: Pull complete [2021-05-22T00:37:30.146Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-22T00:37:30.427Z] Status: Downloaded newer image for alpine:3.12 [2021-05-22T00:37:30.427Z] ---> 9852663dfa18 [2021-05-22T00:37:30.427Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-22T00:37:30.427Z] ---> Running in 636fed75d9a2 [2021-05-22T00:37:31.022Z] Removing intermediate container 636fed75d9a2 [2021-05-22T00:37:31.022Z] ---> 2aa43b7882cb [2021-05-22T00:37:31.022Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-22T00:37:31.301Z] ---> Running in 307a2ebdd851 [2021-05-22T00:37:33.571Z] Removing intermediate container 307a2ebdd851 [2021-05-22T00:37:33.571Z] ---> 1b869bed86ad [2021-05-22T00:37:33.571Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-22T00:37:33.844Z] ---> Running in f6f23b7adee1 [2021-05-22T00:37:35.274Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-22T00:37:35.868Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-22T00:37:36.841Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-22T00:37:36.841Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-22T00:37:36.841Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-22T00:37:37.113Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-22T00:37:37.113Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-22T00:37:37.394Z] Executing busybox-1.31.1-r20.trigger [2021-05-22T00:37:37.394Z] OK: 8 MiB in 19 packages [2021-05-22T00:37:38.378Z] Removing intermediate container f6f23b7adee1 [2021-05-22T00:37:38.379Z] ---> c2d5e25ebeea [2021-05-22T00:37:38.379Z] Step 14/23 : WORKDIR / [2021-05-22T00:37:38.653Z] ---> Running in f89d081936b8 [2021-05-22T00:37:39.250Z] Removing intermediate container f89d081936b8 [2021-05-22T00:37:39.250Z] ---> d40e039c70de [2021-05-22T00:37:39.250Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-22T00:37:40.235Z] ---> 685885af4d43 [2021-05-22T00:37:40.235Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-22T00:37:41.214Z] ---> 13b8b3151ab5 [2021-05-22T00:37:41.214Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-22T00:37:42.192Z] ---> 0a7163e73c39 [2021-05-22T00:37:42.192Z] Step 18/23 : EXPOSE 59999 [2021-05-22T00:37:42.192Z] ---> Running in 98634f967465 [2021-05-22T00:37:42.787Z] Removing intermediate container 98634f967465 [2021-05-22T00:37:42.787Z] ---> 2f773cd720c9 [2021-05-22T00:37:42.787Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-22T00:37:42.787Z] ---> Running in dde372b71885 [2021-05-22T00:37:43.387Z] Removing intermediate container dde372b71885 [2021-05-22T00:37:43.387Z] ---> a2cb005b51af [2021-05-22T00:37:43.387Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-22T00:37:43.387Z] ---> Running in f5aa4ed7b0cf [2021-05-22T00:37:43.984Z] Removing intermediate container f5aa4ed7b0cf [2021-05-22T00:37:43.984Z] ---> d84b6c1207c1 [2021-05-22T00:37:43.984Z] Step 21/23 : LABEL arch=arm64 [2021-05-22T00:37:43.984Z] ---> Running in 3a90145a6f3b [2021-05-22T00:37:44.579Z] Removing intermediate container 3a90145a6f3b [2021-05-22T00:37:44.579Z] ---> ee038f965cd0 [2021-05-22T00:37:44.579Z] Step 22/23 : LABEL git_sha=a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a [2021-05-22T00:37:44.579Z] ---> Running in 9bc7a2214dbb [2021-05-22T00:37:45.185Z] Removing intermediate container 9bc7a2214dbb [2021-05-22T00:37:45.185Z] ---> 3cd84ba94aa8 [2021-05-22T00:37:45.185Z] Step 23/23 : LABEL version=0.0.0 [2021-05-22T00:37:45.185Z] ---> Running in e8cd07b1ad5b [2021-05-22T00:37:45.777Z] Removing intermediate container e8cd07b1ad5b [2021-05-22T00:37:45.777Z] ---> dc22ed521d2a [2021-05-22T00:37:45.777Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-22T00:37:45.777Z] Successfully built dc22ed521d2a [2021-05-22T00:37:45.777Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-22T00:37:48.484Z] ---> job-cost.sh [2021-05-22T00:37:48.485Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WtgG [2021-05-22T00:38:27.441Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-22T00:40:04.235Z] lf-activate-venv(): INFO: Adding /tmp/venv-WtgG/bin to PATH [2021-05-22T00:40:04.235Z] INFO: No Stack... [2021-05-22T00:40:04.235Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-22T00:40:04.235Z] INFO: Archiving Costs [Pipeline] sh [2021-05-22T00:40:04.602Z] + cut -d, -f6 [2021-05-22T00:40:04.602Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-05-22T00:40:04.688Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-940-2-stack-cost] [2021-05-22T00:40:04.695Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-940-2-stack-cost] did not exist. Created. [2021-05-22T00:40:04.696Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-940-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-22T00:40:10.230Z] /w/workspace/device-sdk-go/2@tmp/durable-117cb435/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-117cb435/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-22T00:40:10.587Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-22T00:40:10.627Z] Warning: overwriting stash ‘stack-cost’ [2021-05-22T00:40:10.849Z] Stashed 1 file(s) [Pipeline] } [2021-05-22T00:40:10.912Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-940-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-05-22T00:40:11.956Z] provisioning config files... [2021-05-22T00:40:11.968Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-940@tmp/config3645489447980815420tmp [Pipeline] { [Pipeline] sh [2021-05-22T00:40:12.279Z] + set +x [2021-05-22T00:40:12.279Z] + curl -s https://codecov.io/bash [2021-05-22T00:40:12.279Z] + bash -s -- [2021-05-22T00:40:12.279Z] [2021-05-22T00:40:12.279Z] _____ _ [2021-05-22T00:40:12.279Z] / ____| | | [2021-05-22T00:40:12.279Z] | | ___ __| | ___ ___ _____ __ [2021-05-22T00:40:12.279Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-22T00:40:12.279Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-22T00:40:12.279Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-22T00:40:12.279Z] Bash-1.0.2 [2021-05-22T00:40:12.279Z] [2021-05-22T00:40:12.279Z] [2021-05-22T00:40:12.279Z] ==> git version 2.24.4 found [2021-05-22T00:40:12.279Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-22T00:40:12.279Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-22T00:40:12.279Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-22T00:40:12.279Z] ==> Jenkins CI detected. [2021-05-22T00:40:12.542Z] project root: . [2021-05-22T00:40:12.542Z] --> token set from env [2021-05-22T00:40:12.542Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-22T00:40:12.542Z] ==> Running gcov in . (disable via -X gcov) [2021-05-22T00:40:12.542Z] ==> Python coveragepy not found [2021-05-22T00:40:12.542Z] ==> Searching for coverage reports in: [2021-05-22T00:40:12.542Z] + . [2021-05-22T00:40:12.542Z] -> Found 1 reports [2021-05-22T00:40:12.542Z] ==> Detecting git/mercurial file structure [2021-05-22T00:40:12.542Z] ==> Reading reports [2021-05-22T00:40:12.542Z] + ./coverage.out bytes=126353 [2021-05-22T00:40:12.542Z] ==> Appending adjustments [2021-05-22T00:40:12.542Z] https://docs.codecov.io/docs/fixing-reports [2021-05-22T00:40:12.931Z] + Found adjustments [2021-05-22T00:40:12.931Z] ==> Gzipping contents [2021-05-22T00:40:12.931Z] 20K /tmp/codecov.XOQraF.gz [2021-05-22T00:40:12.931Z] ==> Uploading reports [2021-05-22T00:40:12.931Z] url: https://codecov.io [2021-05-22T00:40:12.931Z] query: branch=PR-940&commit=a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-940%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=940&job=&cmd_args= [2021-05-22T00:40:12.931Z] -> Pinging Codecov [2021-05-22T00:40:12.931Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-940&commit=a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-940%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=940&job=&cmd_args= [2021-05-22T00:40:13.212Z] -> Uploading to [2021-05-22T00:40:13.212Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-22/7E55EF52A471D76F132DFD9A03CDDE97/a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a/3abdae81-f473-4f75-ac8e-b4ea5170c073.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210522%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210522T004012Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e83ed3751fc39389d179f24adfac053f09345a22981778852fa4767f3c40070a [2021-05-22T00:40:13.212Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-22T00:40:13.212Z] Dload Upload Total Spent Left Speed [2021-05-22T00:40:13.473Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16453 0 0 100 16453 0 44015 --:--:-- --:--:-- --:--:-- 43991 100 16453 0 0 100 16453 0 44000 --:--:-- --:--:-- --:--:-- 43991 [2021-05-22T00:40:13.473Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a3cc839c5d9610488b50d00dc6bdb9c21e17cf5a [Pipeline] } [2021-05-22T00:40:13.482Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-22T00:40:15.230Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-22T00:40:17.406Z] ---> package-listing.sh [2021-05-22T00:40:17.406Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-22T00:40:17.406Z] ++ facter osfamily [2021-05-22T00:40:17.406Z] + OS_FAMILY=redhat [2021-05-22T00:40:17.406Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-940 [2021-05-22T00:40:17.406Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-22T00:40:17.406Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-22T00:40:17.406Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-22T00:40:17.406Z] + PACKAGES=/tmp/packages_start.txt [2021-05-22T00:40:17.406Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-940 ']' [2021-05-22T00:40:17.406Z] + PACKAGES=/tmp/packages_end.txt [2021-05-22T00:40:17.406Z] + case "${OS_FAMILY}" in [2021-05-22T00:40:17.406Z] + sort [2021-05-22T00:40:17.406Z] + rpm -qa [2021-05-22T00:40:17.406Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-22T00:40:17.406Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-22T00:40:17.406Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-22T00:40:17.406Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-940 ']' [2021-05-22T00:40:17.406Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-940/archives/ [2021-05-22T00:40:17.406Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-940/archives/ [Pipeline] echo [2021-05-22T00:40:17.422Z] 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-940/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-22T00:40:17.707Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-22T00:40:18.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-22T00:40:18.268Z] [2021-05-22T00:40:18.268Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-22T00:40:18.585Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-22T00:40:18.585Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-22T00:40:18.585Z] df20fa9351a1: Pulling fs layer [2021-05-22T00:40:18.585Z] 36b3adc4ff6f: Pulling fs layer [2021-05-22T00:40:18.585Z] 8ad3a11d3b57: Pulling fs layer [2021-05-22T00:40:18.585Z] 46f8f816bc3b: Pulling fs layer [2021-05-22T00:40:18.585Z] 93b61091891f: Pulling fs layer [2021-05-22T00:40:18.585Z] 93b9cdb0e59b: Pulling fs layer [2021-05-22T00:40:18.585Z] 5e14af77c1be: Pulling fs layer [2021-05-22T00:40:18.585Z] 01666e4c0597: Pulling fs layer [2021-05-22T00:40:18.585Z] aa168da1d23b: Pulling fs layer [2021-05-22T00:40:18.585Z] 46f8f816bc3b: Waiting [2021-05-22T00:40:18.585Z] 93b61091891f: Waiting [2021-05-22T00:40:18.585Z] 93b9cdb0e59b: Waiting [2021-05-22T00:40:18.585Z] 01666e4c0597: Waiting [2021-05-22T00:40:18.585Z] aa168da1d23b: Waiting [2021-05-22T00:40:18.585Z] 5e14af77c1be: Waiting [2021-05-22T00:40:18.585Z] 36b3adc4ff6f: Verifying Checksum [2021-05-22T00:40:18.585Z] 36b3adc4ff6f: Download complete [2021-05-22T00:40:18.585Z] 46f8f816bc3b: Verifying Checksum [2021-05-22T00:40:18.585Z] 46f8f816bc3b: Download complete [2021-05-22T00:40:18.860Z] df20fa9351a1: Verifying Checksum [2021-05-22T00:40:18.860Z] df20fa9351a1: Download complete [2021-05-22T00:40:18.860Z] 93b9cdb0e59b: Verifying Checksum [2021-05-22T00:40:18.860Z] 93b9cdb0e59b: Download complete [2021-05-22T00:40:18.860Z] 5e14af77c1be: Verifying Checksum [2021-05-22T00:40:18.860Z] 5e14af77c1be: Download complete [2021-05-22T00:40:18.860Z] 93b61091891f: Verifying Checksum [2021-05-22T00:40:18.860Z] 93b61091891f: Download complete [2021-05-22T00:40:18.860Z] 01666e4c0597: Verifying Checksum [2021-05-22T00:40:18.860Z] 01666e4c0597: Download complete [2021-05-22T00:40:18.860Z] df20fa9351a1: Pull complete [2021-05-22T00:40:19.123Z] 36b3adc4ff6f: Pull complete [2021-05-22T00:40:19.385Z] 8ad3a11d3b57: Verifying Checksum [2021-05-22T00:40:19.385Z] 8ad3a11d3b57: Download complete [2021-05-22T00:40:19.960Z] 8ad3a11d3b57: Pull complete [2021-05-22T00:40:19.960Z] 46f8f816bc3b: Pull complete [2021-05-22T00:40:20.220Z] 93b61091891f: Pull complete [2021-05-22T00:40:20.220Z] 93b9cdb0e59b: Pull complete [2021-05-22T00:40:20.480Z] 5e14af77c1be: Pull complete [2021-05-22T00:40:20.480Z] 01666e4c0597: Pull complete [2021-05-22T00:40:20.742Z] aa168da1d23b: Verifying Checksum [2021-05-22T00:40:20.742Z] aa168da1d23b: Download complete [2021-05-22T00:40:24.982Z] aa168da1d23b: Pull complete [2021-05-22T00:40:24.983Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-22T00:40:24.983Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-22T00:40:24.983Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-22T00:40:25.056Z] prd-centos7-docker-4c-2g-15607 does not seem to be running inside a container [2021-05-22T00:40:25.101Z] $ 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-940/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-940 -v /w/workspace/dgexfoundry_device-sdk-go_PR-940:/w/workspace/dgexfoundry_device-sdk-go_PR-940:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-940@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-940@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-22T00:40:28.006Z] $ docker top c4f1093aaf37a51487d3ee7ef7c33a784969af3f7994888b4328f5ba348f7901 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-22T00:40:28.377Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-22T00:40:28.670Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-22T00:40:28.963Z] + ls /var/log/sa-host [2021-05-22T00:40:28.963Z] + sadf -c /var/log/sa-host/sa05 [2021-05-22T00:40:28.963Z] file_magic: OK [2021-05-22T00:40:28.963Z] HZ: Using current value: 100 [2021-05-22T00:40:28.963Z] file_header: OK [2021-05-22T00:40:28.963Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-22T00:40:28.963Z] Statistics: [2021-05-22T00:40:28.963Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-22T00:40:28.963Z] File successfully converted to sysstat format version 12.2.1 [2021-05-22T00:40:28.963Z] + sadf -c /var/log/sa-host/sa22 [2021-05-22T00:40:28.963Z] file_magic: OK [2021-05-22T00:40:28.963Z] HZ: Using current value: 100 [2021-05-22T00:40:28.963Z] file_header: OK [2021-05-22T00:40:28.963Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-22T00:40:28.963Z] Statistics: [2021-05-22T00:40:28.963Z] 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-05-22T00:40:28.963Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-22T00:40:29.583Z] provisioning config files... [2021-05-22T00:40:29.596Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-940@tmp/config5102831246127035207tmp [Pipeline] { [Pipeline] echo [2021-05-22T00:40:29.620Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-22T00:40:29.917Z] ---> create-netrc.sh [Pipeline] } [2021-05-22T00:40:29.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-22T00:40:29.955Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-22T00:40:30.259Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-22T00:40:30.273Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-22T00:40:30.574Z] ---> sudo-logs.sh [2021-05-22T00:40:30.574Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-22T00:40:30.608Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-22T00:40:30.916Z] ---> job-cost.sh [2021-05-22T00:40:30.916Z] lf-activate-venv: SKIPPING [2021-05-22T00:40:30.916Z] DEBUG: total: 0.18000000715255737 [2021-05-22T00:40:30.916Z] INFO: Retrieving Stack Cost... [2021-05-22T00:40:31.859Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-22T00:40:33.784Z] INFO: Archiving Costs [Pipeline] echo [2021-05-22T00:40:33.797Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-22T00:40:34.093Z] ---> logs-deploy.sh [2021-05-22T00:40:34.094Z] lf-activate-venv: SKIPPING [2021-05-22T00:40:34.094Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-940/2 [2021-05-22T00:40:34.094Z] INFO: archiving workspace using pattern(s): [2021-05-22T00:40:35.044Z] Archives upload complete. [2021-05-22T00:40:35.044Z] INFO: archiving logs to Nexus [2021-05-22T00:40:35.621Z] ---> uname -a: [2021-05-22T00:40:35.621Z] Linux prd-centos7-docker-4c-2g-15607.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-05-22T00:40:35.621Z] [2021-05-22T00:40:35.621Z] [2021-05-22T00:40:35.621Z] ---> lscpu: [2021-05-22T00:40:35.621Z] Architecture: x86_64 [2021-05-22T00:40:35.621Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-22T00:40:35.621Z] Byte Order: Little Endian [2021-05-22T00:40:35.621Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-22T00:40:35.621Z] CPU(s): 2 [2021-05-22T00:40:35.621Z] On-line CPU(s) list: 0,1 [2021-05-22T00:40:35.621Z] Thread(s) per core: 1 [2021-05-22T00:40:35.621Z] Core(s) per socket: 1 [2021-05-22T00:40:35.621Z] Socket(s): 2 [2021-05-22T00:40:35.621Z] NUMA node(s): 1 [2021-05-22T00:40:35.621Z] Vendor ID: AuthenticAMD [2021-05-22T00:40:35.621Z] CPU family: 23 [2021-05-22T00:40:35.621Z] Model: 49 [2021-05-22T00:40:35.621Z] Model name: AMD EPYC-Rome Processor [2021-05-22T00:40:35.621Z] Stepping: 0 [2021-05-22T00:40:35.621Z] CPU MHz: 2800.000 [2021-05-22T00:40:35.621Z] BogoMIPS: 5600.00 [2021-05-22T00:40:35.621Z] Virtualization: AMD-V [2021-05-22T00:40:35.621Z] Hypervisor vendor: KVM [2021-05-22T00:40:35.621Z] Virtualization type: full [2021-05-22T00:40:35.621Z] L1d cache: 64 KiB [2021-05-22T00:40:35.621Z] L1i cache: 64 KiB [2021-05-22T00:40:35.621Z] L2 cache: 1 MiB [2021-05-22T00:40:35.621Z] L3 cache: 32 MiB [2021-05-22T00:40:35.621Z] NUMA node0 CPU(s): 0,1 [2021-05-22T00:40:35.621Z] Vulnerability Itlb multihit: Not affected [2021-05-22T00:40:35.621Z] Vulnerability L1tf: Not affected [2021-05-22T00:40:35.621Z] Vulnerability Mds: Not affected [2021-05-22T00:40:35.621Z] Vulnerability Meltdown: Not affected [2021-05-22T00:40:35.621Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-22T00:40:35.621Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-22T00:40:35.621Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-22T00:40:35.621Z] Vulnerability Srbds: Not affected [2021-05-22T00:40:35.621Z] Vulnerability Tsx async abort: Not affected [2021-05-22T00:40:35.621Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp [2021-05-22T00:40:35.621Z] [2021-05-22T00:40:35.621Z] [2021-05-22T00:40:35.621Z] ---> nproc: [2021-05-22T00:40:35.621Z] 2 [2021-05-22T00:40:35.621Z] [2021-05-22T00:40:35.621Z] [2021-05-22T00:40:35.621Z] ---> df -h: [2021-05-22T00:40:35.621Z] Filesystem Size Used Available Use% Mounted on [2021-05-22T00:40:35.621Z] overlay 40.0G 7.6G 32.4G 19% / [2021-05-22T00:40:35.621Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-05-22T00:40:35.621Z] tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup [2021-05-22T00:40:35.621Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-05-22T00:40:35.621Z] /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os [2021-05-22T00:40:35.621Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf [2021-05-22T00:40:35.621Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname [2021-05-22T00:40:35.621Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts [2021-05-22T00:40:35.621Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log [2021-05-22T00:40:35.621Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-940 [2021-05-22T00:40:35.621Z] /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json [2021-05-22T00:40:35.621Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-940@tmp [2021-05-22T00:40:35.621Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host [2021-05-22T00:40:35.621Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure [2021-05-22T00:40:35.621Z] [2021-05-22T00:40:35.621Z] [2021-05-22T00:40:35.621Z] ---> free -m: [2021-05-22T00:40:35.621Z] total used free shared buff/cache available [2021-05-22T00:40:35.621Z] Mem: 7821 933 4789 0 2097 6710 [2021-05-22T00:40:35.621Z] Swap: 1023 0 1023 [2021-05-22T00:40:35.621Z] [2021-05-22T00:40:35.621Z] [2021-05-22T00:40:35.621Z] ---> ip addr: [2021-05-22T00:40:35.621Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-05-22T00:40:35.621Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-05-22T00:40:35.621Z] inet 127.0.0.1/8 scope host lo [2021-05-22T00:40:35.621Z] valid_lft forever preferred_lft forever [2021-05-22T00:40:35.621Z] inet6 ::1/128 scope host [2021-05-22T00:40:35.621Z] valid_lft forever preferred_lft forever [2021-05-22T00:40:35.621Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-05-22T00:40:35.621Z] link/ether fa:16:3e:8f:c0:f8 brd ff:ff:ff:ff:ff:ff [2021-05-22T00:40:35.621Z] inet 10.30.122.188/23 brd 10.30.123.255 scope global dynamic eth0 [2021-05-22T00:40:35.621Z] valid_lft 85583sec preferred_lft 85583sec [2021-05-22T00:40:35.621Z] inet6 fe80::f816:3eff:fe8f:c0f8/64 scope link [2021-05-22T00:40:35.621Z] valid_lft forever preferred_lft forever [2021-05-22T00:40:35.621Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-05-22T00:40:35.621Z] link/ether 02:42:e9:d3:a6:0a brd ff:ff:ff:ff:ff:ff [2021-05-22T00:40:35.621Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-05-22T00:40:35.621Z] valid_lft forever preferred_lft forever [2021-05-22T00:40:35.621Z] inet6 fe80::42:e9ff:fed3:a60a/64 scope link [2021-05-22T00:40:35.621Z] valid_lft forever preferred_lft forever [2021-05-22T00:40:35.621Z] [2021-05-22T00:40:35.621Z] [2021-05-22T00:40:35.621Z] ---> sar -b -r -n DEV: [2021-05-22T00:40:35.621Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/22/21 _x86_64_ (2 CPU) [2021-05-22T00:40:35.621Z] [2021-05-22T00:40:35.621Z] 00:26:47 LINUX RESTART (2 CPU) [2021-05-22T00:40:35.621Z] [2021-05-22T00:40:35.621Z] 00:27:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-05-22T00:40:35.621Z] 00:28:01 234.25 106.14 128.11 0.00 10906.24 39930.32 0.00 [2021-05-22T00:40:35.621Z] 00:29:01 1.63 0.00 1.63 0.00 0.00 35.76 0.00 [2021-05-22T00:40:35.621Z] 00:30:01 0.42 0.00 0.42 0.00 0.00 5.75 0.00 [2021-05-22T00:40:35.621Z] 00:31:01 0.23 0.00 0.23 0.00 0.00 3.46 0.00 [2021-05-22T00:40:35.621Z] 00:32:01 0.27 0.00 0.27 0.00 0.00 3.60 0.00 [2021-05-22T00:40:35.621Z] 00:33:01 0.28 0.00 0.28 0.00 0.00 4.13 0.00 [2021-05-22T00:40:35.621Z] 00:34:01 0.30 0.00 0.30 0.00 0.00 4.01 0.00 [2021-05-22T00:40:35.621Z] 00:35:01 0.23 0.00 0.23 0.00 0.00 2.72 0.00 [2021-05-22T00:40:35.621Z] 00:36:01 0.20 0.00 0.20 0.00 0.00 1.62 0.00 [2021-05-22T00:40:35.621Z] 00:37:02 0.23 0.00 0.23 0.00 0.00 2.83 0.00 [2021-05-22T00:40:35.621Z] 00:38:01 0.36 0.00 0.36 0.00 0.00 4.56 0.00 [2021-05-22T00:40:35.621Z] 00:39:01 0.25 0.00 0.25 0.00 0.00 2.93 0.00 [2021-05-22T00:40:35.621Z] 00:40:01 0.23 0.00 0.23 0.00 0.00 2.85 0.00 [2021-05-22T00:40:35.621Z] Average: 18.40 8.18 10.23 0.00 840.24 3082.04 0.00 [2021-05-22T00:40:35.621Z] [2021-05-22T00:40:35.621Z] 00:27:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-05-22T00:40:35.621Z] 00:28:01 5465096 0 800748 10.00 2620 1740476 1273232 14.06 573216 1570692 132 [2021-05-22T00:40:35.621Z] 00:29:01 5472544 0 793292 9.91 2620 1740484 1219904 13.47 567388 1570656 16 [2021-05-22T00:40:35.621Z] 00:30:01 5475488 0 790348 9.87 2620 1740484 1197288 13.22 564904 1570744 16 [2021-05-22T00:40:35.621Z] 00:31:01 5474216 0 791612 9.88 2620 1740492 1197288 13.22 565944 1570744 8 [2021-05-22T00:40:35.621Z] 00:32:01 5472580 0 793244 9.90 2620 1740496 1197528 13.22 563052 1575136 8 [2021-05-22T00:40:35.621Z] 00:33:01 5469012 0 796808 9.95 2620 1740500 1197552 13.22 566876 1575140 8 [2021-05-22T00:40:35.621Z] 00:34:01 5470736 0 795080 9.93 2620 1740504 1197288 13.22 565544 1575136 8 [2021-05-22T00:40:35.621Z] 00:35:01 5467376 0 798436 9.97 2620 1740508 1197288 13.22 568572 1575136 8 [2021-05-22T00:40:35.621Z] 00:36:01 5458256 0 807552 10.08 2620 1740512 1197288 13.22 578088 1575136 20 [2021-05-22T00:40:35.621Z] 00:37:02 5458020 0 807784 10.09 2620 1740516 1197288 13.22 579536 1573592 8 [2021-05-22T00:40:35.621Z] 00:38:01 5457520 0 808280 10.09 2620 1740520 1197396 13.22 580236 1573592 8 [2021-05-22T00:40:35.621Z] 00:39:01 5457968 0 807828 10.09 2620 1740524 1197288 13.22 587432 1565704 8 [2021-05-22T00:40:35.621Z] 00:40:01 5458068 0 807664 10.08 2620 1740588 1197288 13.22 587504 1565720 20 [2021-05-22T00:40:35.621Z] Average: 5465914 0 799898 9.99 2620 1740508 1204917 13.30 572946 1572087 21 [2021-05-22T00:40:35.621Z] [2021-05-22T00:40:35.621Z] 00:27:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-05-22T00:40:35.621Z] 00:28:01 eth0 624.46 447.33 1116.94 90.45 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.621Z] 00:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.621Z] 00:28:01 docker0 11.96 8.11 1.91 27.17 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.621Z] 00:29:01 eth0 3.98 2.20 3.38 0.37 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.621Z] 00:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.621Z] 00:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.621Z] 00:30:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.621Z] 00:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.621Z] 00:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.621Z] 00:31:01 eth0 1.22 0.08 0.11 0.01 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.621Z] 00:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.621Z] 00:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.621Z] 00:32:01 eth0 0.57 0.32 0.27 0.20 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.621Z] 00:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.621Z] 00:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.621Z] 00:33:01 eth0 0.70 0.43 0.40 0.27 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:34:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:35:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:36:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:37:02 eth0 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:37:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:37:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:38:01 eth0 0.32 0.25 0.15 0.08 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:39:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:40:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] 00:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] Average: eth0 48.68 34.75 86.39 7.04 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] Average: docker0 0.92 0.62 0.15 2.09 0.00 0.00 0.00 0.00 [2021-05-22T00:40:35.622Z] [2021-05-22T00:40:35.622Z] [2021-05-22T00:40:35.622Z] ---> sar -P ALL: [2021-05-22T00:40:35.622Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/22/21 _x86_64_ (2 CPU) [2021-05-22T00:40:35.622Z] [2021-05-22T00:40:35.622Z] 00:26:47 LINUX RESTART (2 CPU) [2021-05-22T00:40:35.622Z] [2021-05-22T00:40:35.622Z] 00:27:01 CPU %user %nice %system %iowait %steal %idle [2021-05-22T00:40:35.622Z] 00:28:01 all 21.38 0.00 8.16 7.91 0.07 62.48 [2021-05-22T00:40:35.622Z] 00:28:01 0 22.19 0.00 8.11 6.73 0.07 62.91 [2021-05-22T00:40:35.622Z] 00:28:01 1 20.56 0.00 8.21 9.10 0.07 62.06 [2021-05-22T00:40:35.622Z] 00:29:01 all 0.09 0.00 0.04 0.00 0.03 99.83 [2021-05-22T00:40:35.622Z] 00:29:01 0 0.05 0.00 0.03 0.00 0.05 99.87 [2021-05-22T00:40:35.622Z] 00:29:01 1 0.13 0.00 0.05 0.00 0.02 99.80 [2021-05-22T00:40:35.622Z] 00:30:01 all 0.08 0.00 0.02 0.00 0.03 99.87 [2021-05-22T00:40:35.622Z] 00:30:01 0 0.07 0.00 0.02 0.00 0.03 99.88 [2021-05-22T00:40:35.622Z] 00:30:01 1 0.10 0.00 0.02 0.00 0.02 99.87 [2021-05-22T00:40:35.622Z] 00:31:01 all 0.08 0.00 0.03 0.00 0.03 99.87 [2021-05-22T00:40:35.622Z] 00:31:01 0 0.02 0.00 0.03 0.00 0.05 99.90 [2021-05-22T00:40:35.622Z] 00:31:01 1 0.13 0.00 0.02 0.00 0.00 99.85 [2021-05-22T00:40:35.622Z] 00:32:01 all 0.08 0.00 0.13 0.00 0.03 99.77 [2021-05-22T00:40:35.622Z] 00:32:01 0 0.07 0.00 0.12 0.00 0.03 99.78 [2021-05-22T00:40:35.622Z] 00:32:01 1 0.08 0.00 0.13 0.00 0.03 99.75 [2021-05-22T00:40:35.622Z] 00:33:01 all 0.08 0.00 0.03 0.00 0.03 99.87 [2021-05-22T00:40:35.622Z] 00:33:01 0 0.02 0.00 0.02 0.00 0.03 99.93 [2021-05-22T00:40:35.622Z] 00:33:01 1 0.15 0.00 0.03 0.00 0.02 99.80 [2021-05-22T00:40:35.622Z] 00:34:01 all 0.11 0.00 0.03 0.00 0.02 99.84 [2021-05-22T00:40:35.622Z] 00:34:01 0 0.07 0.00 0.05 0.00 0.03 99.85 [2021-05-22T00:40:35.622Z] 00:34:01 1 0.15 0.00 0.02 0.00 0.00 99.83 [2021-05-22T00:40:35.622Z] 00:35:01 all 0.07 0.00 0.03 0.00 0.03 99.87 [2021-05-22T00:40:35.622Z] 00:35:01 0 0.03 0.00 0.03 0.00 0.05 99.88 [2021-05-22T00:40:35.622Z] 00:35:01 1 0.10 0.00 0.02 0.00 0.02 99.87 [2021-05-22T00:40:35.622Z] 00:36:01 all 0.09 0.00 0.03 0.00 0.01 99.87 [2021-05-22T00:40:35.622Z] 00:36:01 0 0.03 0.00 0.03 0.00 0.02 99.92 [2021-05-22T00:40:35.622Z] 00:36:01 1 0.15 0.00 0.02 0.00 0.00 99.83 [2021-05-22T00:40:35.622Z] 00:37:02 all 0.13 0.00 0.02 0.00 0.03 99.82 [2021-05-22T00:40:35.622Z] 00:37:02 0 0.07 0.00 0.02 0.00 0.03 99.88 [2021-05-22T00:40:35.622Z] 00:37:02 1 0.20 0.00 0.02 0.00 0.02 99.77 [2021-05-22T00:40:35.622Z] 00:38:01 all 0.13 0.00 0.03 0.00 0.02 99.83 [2021-05-22T00:40:35.622Z] 00:38:01 0 0.24 0.00 0.02 0.00 0.02 99.73 [2021-05-22T00:40:35.622Z] 00:38:01 1 0.02 0.00 0.03 0.00 0.02 99.93 [2021-05-22T00:40:35.622Z] [2021-05-22T00:40:35.622Z] 00:38:01 CPU %user %nice %system %iowait %steal %idle [2021-05-22T00:40:35.622Z] 00:39:01 all 0.13 0.00 0.02 0.00 0.03 99.83 [2021-05-22T00:40:35.622Z] 00:39:01 0 0.22 0.00 0.02 0.00 0.03 99.73 [2021-05-22T00:40:35.622Z] 00:39:01 1 0.03 0.00 0.02 0.00 0.02 99.93 [2021-05-22T00:40:35.622Z] 00:40:01 all 0.12 0.00 0.03 0.00 0.03 99.83 [2021-05-22T00:40:35.622Z] 00:40:01 0 0.22 0.00 0.03 0.00 0.03 99.72 [2021-05-22T00:40:35.622Z] 00:40:01 1 0.02 0.00 0.02 0.00 0.02 99.95 [2021-05-22T00:40:35.622Z] Average: all 1.67 0.00 0.63 0.59 0.03 97.08 [2021-05-22T00:40:35.622Z] Average: 0 1.73 0.00 0.63 0.50 0.04 97.11 [2021-05-22T00:40:35.622Z] Average: 1 1.62 0.00 0.64 0.67 0.02 97.05 [2021-05-22T00:40:35.622Z] [2021-05-22T00:40:35.622Z] [2021-05-22T00:40:35.622Z]