Pull request #844 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f+119be5743e00329d34d55769b1b512288156e580 (3aec2242bc340e9ab3f7c7c3b66e7c88cb1cb30c) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > 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:docker-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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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-32868 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-844 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 119be5743e00329d34d55769b1b512288156e580 into PR head commit e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f Merge succeeded, producing e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f Checking out Revision e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f (PR-844) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 119be5743e00329d34d55769b1b512288156e580 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f # timeout=10 Commit message: "feat: add capability to load devices from directory" First time build. Skipping changelog. > git rev-list --no-walk 0260a98f875fcc2c542507b1dff7dcd3fafcd118 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-06T02:26:25.403Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-06T02:26:25.698Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-06T02:26:25.806Z] ========================================================= [2021-04-06T02:26:25.806Z] EdgeX Global Pipelines Version Info [2021-04-06T02:26:25.806Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-06T02:26:27.353Z] ------------------- [2021-04-06T02:26:27.353Z] stable info: [2021-04-06T02:26:27.353Z] ------------------- [2021-04-06T02:26:27.353Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-06T02:26:27.353Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-06T02:26:27.353Z] Message: update stable to v1.0.186 [2021-04-06T02:26:28.309Z] ------------------- [2021-04-06T02:26:28.309Z] experimental info: [2021-04-06T02:26:28.309Z] ------------------- [2021-04-06T02:26:28.309Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-06T02:26:28.309Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-06T02:26:28.309Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-06T02:26:28.634Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-06T02:26:28.737Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-06T02:26:28.842Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-06T02:26:28.985Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-06T02:26:29.092Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-06T02:26:29.200Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-06T02:26:29.307Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-06T02:26:29.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-06T02:26:29.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-06T02:26:29.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-06T02:26:29.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-06T02:26:29.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-06T02:26:30.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-06T02:26:30.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-06T02:26:30.311Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-06T02:26:30.500Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T02:26:30.679Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T02:26:30.813Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T02:26:30.966Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-06T02:26:31.089Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-06T02:26:31.247Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-06T02:26:31.401Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-06T02:26:31.509Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-06T02:26:31.614Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-06T02:26:31.709Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-06T02:26:31.808Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-06T02:26:31.918Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-844 [Pipeline] echo [2021-04-06T02:26:32.061Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-844 [Pipeline] echo [2021-04-06T02:26:32.164Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-844 [Pipeline] echo [2021-04-06T02:26:32.260Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f [Pipeline] echo [2021-04-06T02:26:32.430Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2dd6f7 [Pipeline] echo [2021-04-06T02:26:32.567Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T02:26:32.770Z] provisioning config files... [2021-04-06T02:26:32.800Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config3921196391017920770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T02:26:33.157Z] ---> docker-login.sh [2021-04-06T02:26:33.157Z] nexus3.edgexfoundry.org:10001 [2021-04-06T02:26:33.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T02:26:33.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T02:26:33.688Z] Configure a credential helper to remove this warning. See [2021-04-06T02:26:33.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T02:26:33.688Z] [2021-04-06T02:26:33.688Z] Login Succeeded [2021-04-06T02:26:33.688Z] nexus3.edgexfoundry.org:10002 [2021-04-06T02:26:33.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T02:26:33.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T02:26:33.688Z] Configure a credential helper to remove this warning. See [2021-04-06T02:26:33.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T02:26:33.688Z] [2021-04-06T02:26:33.688Z] Login Succeeded [2021-04-06T02:26:33.688Z] nexus3.edgexfoundry.org:10003 [2021-04-06T02:26:33.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T02:26:33.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T02:26:33.954Z] Configure a credential helper to remove this warning. See [2021-04-06T02:26:33.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T02:26:33.955Z] [2021-04-06T02:26:33.955Z] Login Succeeded [2021-04-06T02:26:33.955Z] nexus3.edgexfoundry.org:10004 [2021-04-06T02:26:33.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T02:26:34.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T02:26:34.218Z] Configure a credential helper to remove this warning. See [2021-04-06T02:26:34.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T02:26:34.218Z] [2021-04-06T02:26:34.218Z] Login Succeeded [2021-04-06T02:26:34.218Z] docker.io [2021-04-06T02:26:34.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T02:26:34.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T02:26:34.483Z] Configure a credential helper to remove this warning. See [2021-04-06T02:26:34.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T02:26:34.483Z] [2021-04-06T02:26:34.483Z] Login Succeeded [2021-04-06T02:26:34.483Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T02:26:34.495Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T02:26:35.363Z] + git log --format=format:%s -1 e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f [Pipeline] echo [2021-04-06T02:26:35.445Z] GIT_COMMIT: e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f, Commit Message: feat: add capability to load devices from directory [Pipeline] echo [2021-04-06T02:26:35.494Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-06T02:26:36.551Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T02:26:36.551Z] [2021-04-06T02:26:36.551Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T02:26:36.912Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T02:26:36.912Z] latest: Pulling from edgex-devops/git-semver [2021-04-06T02:26:36.912Z] 31603596830f: Pulling fs layer [2021-04-06T02:26:36.912Z] 2a8b12db71e7: Pulling fs layer [2021-04-06T02:26:36.912Z] 6ca5941a6612: Pulling fs layer [2021-04-06T02:26:36.912Z] ecc8261a40a4: Pulling fs layer [2021-04-06T02:26:36.912Z] ecc8261a40a4: Waiting [2021-04-06T02:26:36.912Z] 2a8b12db71e7: Verifying Checksum [2021-04-06T02:26:36.912Z] 2a8b12db71e7: Download complete [2021-04-06T02:26:37.238Z] 31603596830f: Verifying Checksum [2021-04-06T02:26:37.238Z] 31603596830f: Download complete [2021-04-06T02:26:37.238Z] ecc8261a40a4: Verifying Checksum [2021-04-06T02:26:37.238Z] ecc8261a40a4: Download complete [2021-04-06T02:26:37.238Z] 6ca5941a6612: Verifying Checksum [2021-04-06T02:26:37.238Z] 6ca5941a6612: Download complete [2021-04-06T02:26:37.555Z] 31603596830f: Pull complete [2021-04-06T02:26:37.555Z] 2a8b12db71e7: Pull complete [2021-04-06T02:26:38.523Z] 6ca5941a6612: Pull complete [2021-04-06T02:26:38.523Z] ecc8261a40a4: Pull complete [2021-04-06T02:26:38.523Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-06T02:26:38.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T02:26:38.523Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-06T02:26:38.629Z] prd-centos7-docker-4c-2g-32868 does not seem to be running inside a container [2021-04-06T02:26:38.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-06T02:26:41.103Z] $ docker top 95193487c6f720b766cccde23c4c5264dc0d3abac8a9a1f82dbc73b2e10ffcb7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-06T02:26:41.393Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T02:26:41.393Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T02:26:41.596Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T02:26:41.609Z] $ docker exec 95193487c6f720b766cccde23c4c5264dc0d3abac8a9a1f82dbc73b2e10ffcb7 ssh-agent [2021-04-06T02:26:41.769Z] SSH_AUTH_SOCK=/tmp/ssh-qnZQJJqgwtcs/agent.11 [2021-04-06T02:26:41.769Z] SSH_AGENT_PID=17 [2021-04-06T02:26:41.779Z] Running ssh-add (command line suppressed) [2021-04-06T02:26:41.900Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_3225219879523796545.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_3225219879523796545.key) [2021-04-06T02:26:41.959Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T02:26:42.301Z] + git tag --points-at HEAD [Pipeline] } [2021-04-06T02:26:42.324Z] $ docker exec --env ******** --env ******** 95193487c6f720b766cccde23c4c5264dc0d3abac8a9a1f82dbc73b2e10ffcb7 ssh-agent -k [2021-04-06T02:26:42.433Z] unset SSH_AUTH_SOCK; [2021-04-06T02:26:42.433Z] unset SSH_AGENT_PID; [2021-04-06T02:26:42.433Z] echo Agent pid 17 killed; [2021-04-06T02:26:42.481Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-06T02:26:42.650Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T02:26:42.650Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T02:26:42.814Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T02:26:42.819Z] $ docker exec 95193487c6f720b766cccde23c4c5264dc0d3abac8a9a1f82dbc73b2e10ffcb7 ssh-agent [2021-04-06T02:26:42.992Z] SSH_AUTH_SOCK=/tmp/ssh-D4PET11t3Kbe/agent.47 [2021-04-06T02:26:42.993Z] SSH_AGENT_PID=52 [2021-04-06T02:26:43.000Z] Running ssh-add (command line suppressed) [2021-04-06T02:26:43.119Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_3069682532891854467.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_3069682532891854467.key) [2021-04-06T02:26:43.169Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T02:26:43.521Z] + git semver init [2021-04-06T02:26:43.521Z] # -> Open(): unable to determine branch for HEAD [2021-04-06T02:26:43.521Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.git [2021-04-06T02:26:43.521Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-844 [2021-04-06T02:26:43.521Z] # $SEMVER_REMOTE_NAME = origin [2021-04-06T02:26:43.521Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-06T02:26:43.521Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-06T02:26:43.521Z] # $SEMVER_BRANCH = PR-844 [2021-04-06T02:26:43.521Z] # $SEMVER_TEMP = /tmp/semver-635562974 [2021-04-06T02:26:43.521Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-06T02:26:44.472Z] # '/tmp/semver-635562974' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver' [2021-04-06T02:26:44.472Z] # -> Force: false [2021-04-06T02:26:44.472Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver [Pipeline] } [2021-04-06T02:26:44.486Z] $ docker exec --env ******** --env ******** 95193487c6f720b766cccde23c4c5264dc0d3abac8a9a1f82dbc73b2e10ffcb7 ssh-agent -k [2021-04-06T02:26:44.602Z] unset SSH_AUTH_SOCK; [2021-04-06T02:26:44.602Z] unset SSH_AGENT_PID; [2021-04-06T02:26:44.602Z] echo Agent pid 52 killed; [2021-04-06T02:26:44.653Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-06T02:26:45.145Z] + git semver [Pipeline] } [2021-04-06T02:26:45.168Z] $ docker stop --time=1 95193487c6f720b766cccde23c4c5264dc0d3abac8a9a1f82dbc73b2e10ffcb7 [2021-04-06T02:26:46.619Z] $ docker rm -f 95193487c6f720b766cccde23c4c5264dc0d3abac8a9a1f82dbc73b2e10ffcb7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T02:26:47.101Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-06T02:26:47.528Z] Stashed 1 file(s) [Pipeline] echo [2021-04-06T02:26:47.532Z] [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-04-06T02:27:03.165Z] Still waiting to schedule task [2021-04-06T02:27:03.165Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-06T02:27:03.168Z] Still waiting to schedule task [2021-04-06T02:27:03.168Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-32867’ [2021-04-06T02:29:40.603Z] Running on prd-centos7-docker-4c-2g-32869 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws [2021-04-06T02:29:40.666Z] Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout [2021-04-06T02:29:44.585Z] using credential edgex-jenkins-ssh [2021-04-06T02:29:44.655Z] Cloning the remote Git repository [2021-04-06T02:29:44.684Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T02:29:44.770Z] > git init /w/workspace/device-sdk-go/10 # timeout=10 [2021-04-06T02:29:44.846Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T02:29:44.846Z] > git --version # timeout=10 [2021-04-06T02:29:44.852Z] > git --version # 'git version 2.24.3' [2021-04-06T02:29:44.853Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T02:29:44.898Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T02:29:46.335Z] Merging remotes/origin/master commit 119be5743e00329d34d55769b1b512288156e580 into PR head commit e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f [2021-04-06T02:29:46.454Z] Merge succeeded, producing e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f [2021-04-06T02:29:46.455Z] Checking out Revision e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f (PR-844) [2021-04-06T02:29:45.731Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T02:29:45.759Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T02:29:45.806Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T02:29:45.858Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T02:29:45.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T02:29:45.862Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T02:29:46.344Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T02:29:46.350Z] > git checkout -f e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f # timeout=10 [2021-04-06T02:29:46.411Z] > git remote # timeout=10 [2021-04-06T02:29:46.417Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T02:29:46.422Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T02:29:46.425Z] > git merge 119be5743e00329d34d55769b1b512288156e580 # timeout=10 [2021-04-06T02:29:46.441Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T02:29:46.454Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T02:29:46.459Z] > git checkout -f e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f # timeout=10 [2021-04-06T02:29:50.369Z] Commit message: "feat: add capability to load devices from directory" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T02:29:52.056Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-06T02:29:52.521Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T02:29:52.899Z] + sudo service docker restart [2021-04-06T02:29:52.899Z] + true [2021-04-06T02:29:52.899Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T02:29:54.042Z] provisioning config files... [2021-04-06T02:29:54.149Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config5136477202612236379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T02:29:54.567Z] ---> docker-login.sh [2021-04-06T02:29:54.567Z] nexus3.edgexfoundry.org:10001 [2021-04-06T02:29:54.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T02:29:54.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T02:29:54.852Z] Configure a credential helper to remove this warning. See [2021-04-06T02:29:54.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T02:29:54.852Z] [2021-04-06T02:29:54.852Z] Login Succeeded [2021-04-06T02:29:54.852Z] nexus3.edgexfoundry.org:10002 [2021-04-06T02:29:55.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T02:29:55.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T02:29:55.131Z] Configure a credential helper to remove this warning. See [2021-04-06T02:29:55.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T02:29:55.131Z] [2021-04-06T02:29:55.131Z] Login Succeeded [2021-04-06T02:29:55.131Z] nexus3.edgexfoundry.org:10003 [2021-04-06T02:29:55.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T02:29:55.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T02:29:55.408Z] Configure a credential helper to remove this warning. See [2021-04-06T02:29:55.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T02:29:55.408Z] [2021-04-06T02:29:55.408Z] Login Succeeded [2021-04-06T02:29:55.408Z] nexus3.edgexfoundry.org:10004 [2021-04-06T02:29:55.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T02:29:55.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T02:29:55.408Z] Configure a credential helper to remove this warning. See [2021-04-06T02:29:55.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T02:29:55.408Z] [2021-04-06T02:29:55.408Z] Login Succeeded [2021-04-06T02:29:55.687Z] docker.io [2021-04-06T02:29:55.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T02:29:55.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T02:29:55.967Z] Configure a credential helper to remove this warning. See [2021-04-06T02:29:55.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T02:29:55.967Z] [2021-04-06T02:29:55.967Z] Login Succeeded [2021-04-06T02:29:55.967Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T02:29:55.991Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-06T02:29:56.467Z] ========================================================= [2021-04-06T02:29:56.467Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-06T02:29:56.467Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T02:29:56.884Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-06T02:29:56.884Z] Sending build context to Docker daemon 2.391MB [2021-04-06T02:29:56.884Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T02:29:56.884Z] Step 2/8 : FROM ${BASE} [2021-04-06T02:29:57.177Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-06T02:29:57.177Z] 188c0c94c7c5: Pulling fs layer [2021-04-06T02:29:57.177Z] 0ef7d3d256c8: Pulling fs layer [2021-04-06T02:29:57.177Z] de9db76c5a1d: Pulling fs layer [2021-04-06T02:29:57.177Z] bca2f99d35d6: Pulling fs layer [2021-04-06T02:29:57.177Z] 93359f2a8cfa: Pulling fs layer [2021-04-06T02:29:57.177Z] 7c6f9722023f: Pulling fs layer [2021-04-06T02:29:57.177Z] a35cf1a2eb13: Pulling fs layer [2021-04-06T02:29:57.177Z] 93359f2a8cfa: Waiting [2021-04-06T02:29:57.177Z] 7c6f9722023f: Waiting [2021-04-06T02:29:57.177Z] a35cf1a2eb13: Waiting [2021-04-06T02:29:57.177Z] bca2f99d35d6: Waiting [2021-04-06T02:29:57.177Z] de9db76c5a1d: Verifying Checksum [2021-04-06T02:29:57.177Z] de9db76c5a1d: Download complete [2021-04-06T02:29:57.177Z] 0ef7d3d256c8: Verifying Checksum [2021-04-06T02:29:57.177Z] 0ef7d3d256c8: Download complete [2021-04-06T02:29:57.177Z] 93359f2a8cfa: Verifying Checksum [2021-04-06T02:29:57.177Z] 93359f2a8cfa: Download complete [2021-04-06T02:29:57.177Z] 7c6f9722023f: Verifying Checksum [2021-04-06T02:29:57.177Z] 7c6f9722023f: Download complete [2021-04-06T02:29:57.463Z] 188c0c94c7c5: Verifying Checksum [2021-04-06T02:29:57.463Z] 188c0c94c7c5: Download complete [2021-04-06T02:29:57.750Z] 188c0c94c7c5: Pull complete [2021-04-06T02:29:58.027Z] 0ef7d3d256c8: Pull complete [2021-04-06T02:29:58.027Z] de9db76c5a1d: Pull complete [2021-04-06T02:30:00.016Z] a35cf1a2eb13: Verifying Checksum [2021-04-06T02:30:00.016Z] a35cf1a2eb13: Download complete [2021-04-06T02:30:01.016Z] bca2f99d35d6: Verifying Checksum [2021-04-06T02:30:01.016Z] bca2f99d35d6: Download complete [2021-04-06T02:30:06.473Z] bca2f99d35d6: Pull complete [2021-04-06T02:30:06.473Z] 93359f2a8cfa: Pull complete [2021-04-06T02:30:06.473Z] 7c6f9722023f: Pull complete [2021-04-06T02:30:15.088Z] a35cf1a2eb13: Pull complete [2021-04-06T02:30:15.089Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-06T02:30:15.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-06T02:30:15.089Z] ---> a62c8e92a672 [2021-04-06T02:30:15.089Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T02:30:15.089Z] ---> Running in 7401bd641d21 [2021-04-06T02:30:15.089Z] Removing intermediate container 7401bd641d21 [2021-04-06T02:30:15.089Z] ---> 78eb4fd6a5c7 [2021-04-06T02:30:15.089Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T02:30:15.089Z] ---> Running in 78c52168734d [2021-04-06T02:30:15.411Z] Removing intermediate container 78c52168734d [2021-04-06T02:30:15.411Z] ---> 2abc2b982a86 [2021-04-06T02:30:15.411Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-06T02:30:15.740Z] ---> Running in 369d0e36bc5a [2021-04-06T02:30:16.739Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T02:30:17.557Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T02:30:18.151Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-06T02:30:18.151Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-06T02:30:18.151Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-06T02:30:18.424Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-06T02:30:18.424Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-06T02:30:18.424Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-06T02:30:18.915Z] Executing busybox-1.31.1-r19.trigger [2021-04-06T02:30:18.915Z] OK: 167 MiB in 45 packages [2021-04-06T02:30:19.182Z] Removing intermediate container 369d0e36bc5a [2021-04-06T02:30:19.182Z] ---> 87658494b4ca [2021-04-06T02:30:19.182Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-06T02:30:19.498Z] ---> Running in 71854e3c3b4a [2021-04-06T02:30:19.498Z] Removing intermediate container 71854e3c3b4a [2021-04-06T02:30:19.498Z] ---> dc00f24a94aa [2021-04-06T02:30:19.498Z] Step 7/8 : COPY . . [2021-04-06T02:30:21.021Z] ---> 5a04d6aa30b1 [2021-04-06T02:30:21.021Z] Step 8/8 : RUN go mod download [2021-04-06T02:30:21.021Z] ---> Running in bc6029ba48b5 [2021-04-06T02:30:47.980Z] Removing intermediate container bc6029ba48b5 [2021-04-06T02:30:47.980Z] ---> 3f8a1e645dbe [2021-04-06T02:30:47.980Z] Successfully built 3f8a1e645dbe [2021-04-06T02:30:47.980Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T02:30:48.382Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T02:30:48.382Z] . [Pipeline] withDockerContainer [2021-04-06T02:30:48.784Z] prd-centos7-docker-4c-2g-32869 does not seem to be running inside a container [2021-04-06T02:30:49.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-04-06T02:30:50.221Z] $ docker top b58edbd3bc06944cb25f504280b458d3c0d09c8c1a63d593069d98cde8ebb15e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T02:30:50.812Z] + go version [2021-04-06T02:30:50.813Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-06T02:30:50.843Z] $ docker stop --time=1 b58edbd3bc06944cb25f504280b458d3c0d09c8c1a63d593069d98cde8ebb15e [2021-04-06T02:30:52.254Z] $ docker rm -f b58edbd3bc06944cb25f504280b458d3c0d09c8c1a63d593069d98cde8ebb15e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T02:30:53.490Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T02:30:53.490Z] . [Pipeline] withDockerContainer [2021-04-06T02:30:53.672Z] prd-centos7-docker-4c-2g-32869 does not seem to be running inside a container [2021-04-06T02:30:53.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-04-06T02:30:54.471Z] $ docker top 501296f9b23c4e040a536f2b1877b467b6a9c294bd7c937eb02fedf35b48ca9d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T02:30:55.103Z] + make test [2021-04-06T02:30:55.103Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-06T02:30:56.016Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32870 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws [2021-04-06T02:30:56.075Z] Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout [2021-04-06T02:31:02.610Z] using credential edgex-jenkins-ssh [2021-04-06T02:31:02.714Z] Cloning the remote Git repository [2021-04-06T02:31:03.537Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-06T02:31:02.759Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T02:31:02.875Z] > git init /w/workspace/device-sdk-go/10 # timeout=10 [2021-04-06T02:31:02.964Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T02:31:02.964Z] > git --version # timeout=10 [2021-04-06T02:31:02.978Z] > git --version # 'git version 2.17.1' [2021-04-06T02:31:02.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T02:31:03.034Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T02:31:04.356Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T02:31:04.371Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T02:31:04.396Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T02:31:04.440Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T02:31:04.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T02:31:04.452Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T02:31:05.086Z] Merging remotes/origin/master commit 119be5743e00329d34d55769b1b512288156e580 into PR head commit e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f [2021-04-06T02:31:05.339Z] Merge succeeded, producing e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f [2021-04-06T02:31:05.340Z] Checking out Revision e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f (PR-844) [2021-04-06T02:31:05.125Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T02:31:05.140Z] > git checkout -f e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f # timeout=10 [2021-04-06T02:31:05.261Z] > git remote # timeout=10 [2021-04-06T02:31:05.276Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T02:31:05.290Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T02:31:05.299Z] > git merge 119be5743e00329d34d55769b1b512288156e580 # timeout=10 [2021-04-06T02:31:05.327Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T02:31:05.348Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T02:31:05.364Z] > git checkout -f e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f # timeout=10 [2021-04-06T02:31:10.048Z] Commit message: "feat: add capability to load devices from directory" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T02:31:11.878Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-06T02:31:12.348Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T02:31:12.810Z] + sudo service docker+ restart [2021-04-06T02:31:12.810Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T02:31:15.596Z] provisioning config files... [2021-04-06T02:31:15.636Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config4389350302573144582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T02:31:16.116Z] ---> docker-login.sh [2021-04-06T02:31:16.116Z] nexus3.edgexfoundry.org:10001 [2021-04-06T02:31:16.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T02:31:17.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T02:31:17.363Z] Configure a credential helper to remove this warning. See [2021-04-06T02:31:17.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T02:31:17.363Z] [2021-04-06T02:31:17.363Z] Login Succeeded [2021-04-06T02:31:17.363Z] nexus3.edgexfoundry.org:10002 [2021-04-06T02:31:17.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T02:31:17.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T02:31:17.642Z] Configure a credential helper to remove this warning. See [2021-04-06T02:31:17.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T02:31:17.642Z] [2021-04-06T02:31:17.642Z] Login Succeeded [2021-04-06T02:31:17.642Z] nexus3.edgexfoundry.org:10003 [2021-04-06T02:31:18.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T02:31:18.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T02:31:18.249Z] Configure a credential helper to remove this warning. See [2021-04-06T02:31:18.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T02:31:18.249Z] [2021-04-06T02:31:18.249Z] Login Succeeded [2021-04-06T02:31:18.249Z] nexus3.edgexfoundry.org:10004 [2021-04-06T02:31:18.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T02:31:18.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T02:31:18.860Z] Configure a credential helper to remove this warning. See [2021-04-06T02:31:18.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T02:31:18.860Z] [2021-04-06T02:31:18.860Z] Login Succeeded [2021-04-06T02:31:18.860Z] docker.io [2021-04-06T02:31:19.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T02:31:19.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T02:31:19.793Z] Configure a credential helper to remove this warning. See [2021-04-06T02:31:19.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T02:31:19.793Z] [2021-04-06T02:31:19.793Z] Login Succeeded [2021-04-06T02:31:19.793Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T02:31:19.811Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-06T02:31:20.320Z] ========================================================= [2021-04-06T02:31:20.320Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-06T02:31:20.320Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T02:31:20.761Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-06T02:31:21.061Z] Sending build context to Docker daemon 2.393MB [2021-04-06T02:31:21.061Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T02:31:21.061Z] Step 2/8 : FROM ${BASE} [2021-04-06T02:31:21.355Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-06T02:31:21.355Z] 5f621e34cdf4: Pulling fs layer [2021-04-06T02:31:21.355Z] a4357932f1b6: Pulling fs layer [2021-04-06T02:31:21.355Z] 18c013af1878: Pulling fs layer [2021-04-06T02:31:21.355Z] 00ac8860ef70: Pulling fs layer [2021-04-06T02:31:21.355Z] 63d7cb157983: Pulling fs layer [2021-04-06T02:31:21.355Z] b116817d02f9: Pulling fs layer [2021-04-06T02:31:21.355Z] 745a02a5169b: Pulling fs layer [2021-04-06T02:31:21.355Z] 63d7cb157983: Waiting [2021-04-06T02:31:21.355Z] 00ac8860ef70: Waiting [2021-04-06T02:31:21.355Z] b116817d02f9: Waiting [2021-04-06T02:31:21.355Z] 745a02a5169b: Waiting [2021-04-06T02:31:21.355Z] 18c013af1878: Verifying Checksum [2021-04-06T02:31:21.355Z] 18c013af1878: Download complete [2021-04-06T02:31:21.355Z] a4357932f1b6: Verifying Checksum [2021-04-06T02:31:21.355Z] a4357932f1b6: Download complete [2021-04-06T02:31:21.355Z] 63d7cb157983: Verifying Checksum [2021-04-06T02:31:21.355Z] 63d7cb157983: Download complete [2021-04-06T02:31:21.355Z] b116817d02f9: Verifying Checksum [2021-04-06T02:31:21.666Z] 5f621e34cdf4: Verifying Checksum [2021-04-06T02:31:21.666Z] 5f621e34cdf4: Download complete [2021-04-06T02:31:22.366Z] 5f621e34cdf4: Pull complete [2021-04-06T02:31:23.005Z] a4357932f1b6: Pull complete [2021-04-06T02:31:23.305Z] 18c013af1878: Pull complete [2021-04-06T02:31:24.813Z] 745a02a5169b: Download complete [2021-04-06T02:31:26.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-06T02:31:26.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-06T02:31:26.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-06T02:31:26.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-06T02:31:26.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-06T02:31:26.479Z] 00ac8860ef70: Verifying Checksum [2021-04-06T02:31:26.479Z] 00ac8860ef70: Download complete [2021-04-06T02:31:26.884Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.072s coverage: 28.1% of statements [2021-04-06T02:31:26.884Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.089s coverage: 81.2% of statements [2021-04-06T02:31:27.969Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.109s coverage: 7.8% of statements [2021-04-06T02:31:27.969Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-06T02:31:27.969Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-06T02:31:27.969Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-06T02:31:27.969Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.092s coverage: 32.5% of statements [2021-04-06T02:31:27.969Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-06T02:31:27.969Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-06T02:31:27.969Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-06T02:31:28.661Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 57.3% of statements [2021-04-06T02:31:28.962Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.233s coverage: 6.6% of statements [2021-04-06T02:31:28.962Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 5.0% of statements [2021-04-06T02:31:28.962Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-06T02:31:28.962Z] GO111MODULE=on go vet ./... [2021-04-06T02:31:36.890Z] 00ac8860ef70: Pull complete [2021-04-06T02:31:36.890Z] 63d7cb157983: Pull complete [2021-04-06T02:31:37.181Z] b116817d02f9: Pull complete [2021-04-06T02:31:40.975Z] 745a02a5169b: Pull complete [2021-04-06T02:31:40.975Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-06T02:31:40.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-06T02:31:40.975Z] ---> b7e6874047d6 [2021-04-06T02:31:40.975Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T02:31:44.650Z] ---> Running in b7a7d2aaff03 [2021-04-06T02:31:44.650Z] Removing intermediate container b7a7d2aaff03 [2021-04-06T02:31:44.650Z] ---> 64c76206c611 [2021-04-06T02:31:44.650Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T02:31:44.650Z] ---> Running in 0896b3ec6270 [2021-04-06T02:31:47.475Z] Removing intermediate container 0896b3ec6270 [2021-04-06T02:31:47.475Z] ---> 4520fffbeefb [2021-04-06T02:31:47.475Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-06T02:31:47.475Z] ---> Running in 5db941380925 [2021-04-06T02:31:47.679Z] gofmt -l . [2021-04-06T02:31:47.679Z] [ "`gofmt -l .`" = "" ] [2021-04-06T02:31:47.679Z] ./bin/test-attribution-txt.sh [2021-04-06T02:31:47.679Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-06T02:31:47.738Z] $ docker stop --time=1 501296f9b23c4e040a536f2b1877b467b6a9c294bd7c937eb02fedf35b48ca9d [2021-04-06T02:31:48.580Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T02:31:49.218Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T02:31:49.612Z] $ docker rm -f 501296f9b23c4e040a536f2b1877b467b6a9c294bd7c937eb02fedf35b48ca9d [2021-04-06T02:31:49.890Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-06T02:31:49.890Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-06T02:31:49.890Z] (3/6) Installing pkgconf (1.7.2-r0) [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T02:31:50.188Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-06T02:31:50.188Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-06T02:31:50.188Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-06T02:31:50.500Z] Executing busybox-1.31.1-r19.trigger [2021-04-06T02:31:50.500Z] OK: 144 MiB in 45 packages [2021-04-06T02:31:50.637Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T02:31:51.358Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-04-06T02:31:51.588Z] Removing intermediate container 5db941380925 [2021-04-06T02:31:51.588Z] ---> 7e9d8e46eda2 [2021-04-06T02:31:51.588Z] Step 6/8 : WORKDIR /device-sdk-go [Pipeline] stage [Pipeline] { (Build) [2021-04-06T02:31:51.913Z] ---> Running in 4fb1b37766b7 [2021-04-06T02:31:52.585Z] Removing intermediate container 4fb1b37766b7 [2021-04-06T02:31:52.585Z] ---> deb55f913d36 [2021-04-06T02:31:52.585Z] Step 7/8 : COPY . . [2021-04-06T02:31:53.646Z] ---> f85ed30e23dd [2021-04-06T02:31:53.646Z] Step 8/8 : RUN go mod download [Pipeline] sh [2021-04-06T02:31:53.945Z] ---> Running in 1be7ca35210d [2021-04-06T02:31:54.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-06T02:31:54.593Z] + ls -al . [2021-04-06T02:31:54.593Z] total 188 [2021-04-06T02:31:54.593Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 6 02:31 . [2021-04-06T02:31:54.593Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 6 02:29 .. [2021-04-06T02:31:54.593Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 6 02:29 bin [2021-04-06T02:31:54.593Z] -rw-r--r--. 1 jenkins jenkins 101239 Apr 6 02:31 coverage.out [2021-04-06T02:31:54.593Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 6 02:29 Dockerfile.build [2021-04-06T02:31:54.593Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 6 02:29 .dockerignore [2021-04-06T02:31:54.593Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 6 02:29 example [2021-04-06T02:31:54.593Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 6 02:29 .git [2021-04-06T02:31:54.593Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 6 02:29 .github [2021-04-06T02:31:54.593Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 6 02:29 .gitignore [2021-04-06T02:31:54.593Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 6 02:31 go.mod [2021-04-06T02:31:54.593Z] -rw-r--r--. 1 jenkins jenkins 20946 Apr 6 02:31 go.sum [2021-04-06T02:31:54.593Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 6 02:29 internal [2021-04-06T02:31:54.593Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 6 02:29 Jenkinsfile [2021-04-06T02:31:54.593Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 6 02:29 LICENSE [2021-04-06T02:31:54.594Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 6 02:29 Makefile [2021-04-06T02:31:54.594Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 6 02:29 openapi [2021-04-06T02:31:54.594Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 6 02:29 pkg [2021-04-06T02:31:54.594Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 6 02:29 README.md [2021-04-06T02:31:54.594Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 6 02:29 RELEASE-NOTES.txt [2021-04-06T02:31:54.594Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 6 02:29 snap [2021-04-06T02:31:54.594Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 6 02:26 VERSION [2021-04-06T02:31:54.594Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 6 02:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-06T02:31:55.002Z] + docker build -t docker-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=e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f --label arch=amd64 --label version=0.0.0 . [2021-04-06T02:31:55.284Z] Sending build context to Docker daemon 2.493MB [2021-04-06T02:31:55.284Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T02:31:55.284Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-06T02:31:55.284Z] ---> 3f8a1e645dbe [2021-04-06T02:31:55.284Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-06T02:31:55.909Z] ---> Running in 79b2014c1b87 [2021-04-06T02:31:55.909Z] Removing intermediate container 79b2014c1b87 [2021-04-06T02:31:55.909Z] ---> 721334f88648 [2021-04-06T02:31:55.909Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T02:31:56.208Z] ---> Running in 5c41e5fc8722 [2021-04-06T02:31:56.208Z] Removing intermediate container 5c41e5fc8722 [2021-04-06T02:31:56.208Z] ---> 388b6e47cf7d [2021-04-06T02:31:56.208Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T02:31:56.208Z] ---> Running in aeb8cee5f957 [2021-04-06T02:31:57.676Z] Removing intermediate container aeb8cee5f957 [2021-04-06T02:31:57.676Z] ---> 98105d041994 [2021-04-06T02:31:57.676Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-06T02:31:57.676Z] ---> Running in 9960a70e27d6 [2021-04-06T02:31:57.967Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T02:31:58.608Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T02:31:59.241Z] OK: 167 MiB in 45 packages [2021-04-06T02:31:59.535Z] Removing intermediate container 9960a70e27d6 [2021-04-06T02:31:59.535Z] ---> 24f163df1756 [2021-04-06T02:31:59.535Z] Step 7/23 : COPY . . [2021-04-06T02:32:00.563Z] ---> c6acb7663438 [2021-04-06T02:32:00.563Z] Step 8/23 : RUN go mod download [2021-04-06T02:32:00.563Z] ---> Running in 85630af6f489 [2021-04-06T02:32:01.704Z] Removing intermediate container 85630af6f489 [2021-04-06T02:32:01.704Z] ---> 4e8c1691feaf [2021-04-06T02:32:01.704Z] Step 9/23 : RUN make build [2021-04-06T02:32:01.704Z] ---> Running in 26cb4fedfac1 [2021-04-06T02:32:02.773Z] 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-04-06T02:32:15.544Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-06T02:32:15.824Z] Removing intermediate container 26cb4fedfac1 [2021-04-06T02:32:15.824Z] ---> c21c4aefeddd [2021-04-06T02:32:15.824Z] Step 10/23 : FROM alpine:3.12 [2021-04-06T02:32:16.489Z] 3.12: Pulling from library/alpine [2021-04-06T02:32:16.489Z] 532819f3e44c: Pulling fs layer [2021-04-06T02:32:16.489Z] 532819f3e44c: Verifying Checksum [2021-04-06T02:32:16.489Z] 532819f3e44c: Download complete [2021-04-06T02:32:16.782Z] 532819f3e44c: Pull complete [2021-04-06T02:32:16.782Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-06T02:32:16.782Z] Status: Downloaded newer image for alpine:3.12 [2021-04-06T02:32:16.782Z] ---> 7230e588e954 [2021-04-06T02:32:16.782Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T02:32:17.061Z] ---> Running in 28a396642f51 [2021-04-06T02:32:17.061Z] Removing intermediate container 28a396642f51 [2021-04-06T02:32:17.061Z] ---> 2d0bc491097a [2021-04-06T02:32:17.061Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T02:32:17.345Z] ---> Running in 891bfff7618c [2021-04-06T02:32:18.363Z] Removing intermediate container 891bfff7618c [2021-04-06T02:32:18.363Z] ---> 06417e71c712 [2021-04-06T02:32:18.363Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-06T02:32:18.363Z] ---> Running in 75745a743bc8 [2021-04-06T02:32:18.988Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T02:32:19.596Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T02:32:19.868Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-06T02:32:20.145Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-06T02:32:20.145Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-06T02:32:20.420Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-06T02:32:20.420Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-06T02:32:20.420Z] Executing busybox-1.31.1-r20.trigger [2021-04-06T02:32:20.420Z] OK: 8 MiB in 19 packages [2021-04-06T02:32:21.015Z] Removing intermediate container 75745a743bc8 [2021-04-06T02:32:21.015Z] ---> fbaf10a2ca20 [2021-04-06T02:32:21.015Z] Step 14/23 : WORKDIR / [2021-04-06T02:32:21.289Z] ---> Running in ae9615d9fe0b [2021-04-06T02:32:21.289Z] Removing intermediate container ae9615d9fe0b [2021-04-06T02:32:21.289Z] ---> 2e8caa4410da [2021-04-06T02:32:21.289Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-06T02:32:21.335Z] Removing intermediate container 1be7ca35210d [2021-04-06T02:32:21.335Z] ---> a0c5b92bc4bc [2021-04-06T02:32:21.335Z] Successfully built a0c5b92bc4bc [2021-04-06T02:32:21.335Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T02:32:21.554Z] ---> b79aaf3421c9 [2021-04-06T02:32:21.554Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-06T02:32:21.683Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T02:32:21.683Z] . [Pipeline] withDockerContainer [2021-04-06T02:32:21.964Z] prd-ubuntu18.04-docker-arm64-4c-16g-32870 does not seem to be running inside a container [2021-04-06T02:32:22.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-arm64 cat [2021-04-06T02:32:22.150Z] ---> 8095ae8114b5 [2021-04-06T02:32:22.150Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-06T02:32:22.428Z] ---> 184936f3fed1 [2021-04-06T02:32:22.428Z] Step 18/23 : EXPOSE 49990 [2021-04-06T02:32:22.702Z] ---> Running in abdc66325daa [2021-04-06T02:32:22.702Z] Removing intermediate container abdc66325daa [2021-04-06T02:32:22.702Z] ---> aa1bab6bafd3 [2021-04-06T02:32:22.702Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-06T02:32:22.971Z] ---> Running in d17695ae1c1e [2021-04-06T02:32:22.971Z] Removing intermediate container d17695ae1c1e [2021-04-06T02:32:22.971Z] ---> 1e29a3430297 [2021-04-06T02:32:22.971Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-06T02:32:22.971Z] ---> Running in d0dbfc3899f9 [2021-04-06T02:32:23.241Z] Removing intermediate container d0dbfc3899f9 [2021-04-06T02:32:23.242Z] ---> 21737c2d1b99 [2021-04-06T02:32:23.242Z] Step 21/23 : LABEL arch=amd64 [2021-04-06T02:32:23.242Z] ---> Running in af38abfe6c5a [2021-04-06T02:32:23.523Z] Removing intermediate container af38abfe6c5a [2021-04-06T02:32:23.523Z] ---> aafa373cb313 [2021-04-06T02:32:23.523Z] Step 22/23 : LABEL git_sha=e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f [2021-04-06T02:32:23.523Z] ---> Running in a8efc3cabc0d [2021-04-06T02:32:23.645Z] $ docker top 741b8fe8e463aaf84ff5988757decad896369478bab9fece1c0b37a7aa32f408 -eo pid,comm [2021-04-06T02:32:23.806Z] Removing intermediate container a8efc3cabc0d [2021-04-06T02:32:23.806Z] ---> 29c8da56d801 [2021-04-06T02:32:23.806Z] Step 23/23 : LABEL version=0.0.0 [2021-04-06T02:32:23.806Z] ---> Running in 81d58b1b96f3 [Pipeline] { [Pipeline] sh [2021-04-06T02:32:24.077Z] Removing intermediate container 81d58b1b96f3 [2021-04-06T02:32:24.077Z] ---> 1fbb59ca33bc [2021-04-06T02:32:24.077Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-06T02:32:24.077Z] Successfully built 1fbb59ca33bc [2021-04-06T02:32:24.077Z] Successfully tagged docker-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] } [2021-04-06T02:32:24.717Z] + go version [2021-04-06T02:32:24.717Z] go version go1.15.5 linux/arm64 [Pipeline] // stage Post stage [Pipeline] } [2021-04-06T02:32:24.834Z] $ docker stop --time=1 741b8fe8e463aaf84ff5988757decad896369478bab9fece1c0b37a7aa32f408 [2021-04-06T02:32:26.767Z] $ docker rm -f 741b8fe8e463aaf84ff5988757decad896369478bab9fece1c0b37a7aa32f408 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2021-04-06T02:32:27.737Z] ---> job-cost.sh [2021-04-06T02:32:27.737Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2FPD [Pipeline] isUnix [Pipeline] sh [2021-04-06T02:32:28.074Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T02:32:28.074Z] . [Pipeline] withDockerContainer [2021-04-06T02:32:28.345Z] prd-ubuntu18.04-docker-arm64-4c-16g-32870 does not seem to be running inside a container [2021-04-06T02:32:28.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-arm64 cat [2021-04-06T02:32:29.913Z] $ docker top 8b0560ac896f973728e7b5c21b76e2adbf1e63c98ed4be31249337bc965aa7c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T02:32:30.920Z] + make test [2021-04-06T02:32:30.920Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-06T02:32:45.918Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T02:32:53.151Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-06T02:33:12.579Z] lf-activate-venv(): INFO: Adding /tmp/venv-2FPD/bin to PATH [2021-04-06T02:33:12.579Z] INFO: No Stack... [2021-04-06T02:33:12.579Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T02:33:12.579Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T02:33:12.898Z] + cat /w/workspace/device-sdk-go/10/archives/cost.csv [2021-04-06T02:33:12.899Z] + cut -d, -f6 [Pipeline] lock [2021-04-06T02:33:12.991Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-10-stack-cost] [2021-04-06T02:33:13.002Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-10-stack-cost] did not exist. Created. [2021-04-06T02:33:13.002Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T02:33:13.448Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-06T02:33:13.623Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T02:33:13.635Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-10-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-06T02:33:49.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-06T02:33:49.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-06T02:33:49.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-06T02:33:49.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-06T02:33:49.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-06T02:33:51.915Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.144s coverage: 28.1% of statements [2021-04-06T02:33:53.369Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.190s coverage: 81.2% of statements [2021-04-06T02:33:53.369Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.186s coverage: 7.8% of statements [2021-04-06T02:33:53.369Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-06T02:33:53.369Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-06T02:33:53.369Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-06T02:33:54.360Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.297s coverage: 32.5% of statements [2021-04-06T02:33:54.360Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-06T02:33:54.360Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-06T02:33:54.360Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-06T02:33:58.689Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.283s coverage: 57.3% of statements [2021-04-06T02:33:58.689Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.097s coverage: 6.6% of statements [2021-04-06T02:33:58.689Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.146s coverage: 5.0% of statements [2021-04-06T02:33:58.689Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-06T02:33:58.962Z] GO111MODULE=on go vet ./... [2021-04-06T02:34:45.999Z] gofmt -l . [2021-04-06T02:34:45.999Z] [ "`gofmt -l .`" = "" ] [2021-04-06T02:34:45.999Z] ./bin/test-attribution-txt.sh [2021-04-06T02:34:45.999Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-06T02:34:46.090Z] $ docker stop --time=1 8b0560ac896f973728e7b5c21b76e2adbf1e63c98ed4be31249337bc965aa7c4 [2021-04-06T02:34:48.376Z] $ docker rm -f 8b0560ac896f973728e7b5c21b76e2adbf1e63c98ed4be31249337bc965aa7c4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T02:34:49.506Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T02:34:49.578Z] Warning: overwriting stash ‘coverage-report’ [2021-04-06T02:34:50.547Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T02:34:51.383Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-06T02:34:51.731Z] + ls -al . [2021-04-06T02:34:51.731Z] total 224 [2021-04-06T02:34:51.731Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 02:34 . [2021-04-06T02:34:51.731Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 02:31 .. [2021-04-06T02:34:51.731Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 02:31 .dockerignore [2021-04-06T02:34:51.731Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 02:31 .git [2021-04-06T02:34:51.731Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 02:31 .github [2021-04-06T02:34:51.731Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 6 02:31 .gitignore [2021-04-06T02:34:51.731Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 6 02:31 Dockerfile.build [2021-04-06T02:34:51.731Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 6 02:31 Jenkinsfile [2021-04-06T02:34:51.731Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 02:31 LICENSE [2021-04-06T02:34:51.731Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 6 02:31 Makefile [2021-04-06T02:34:51.731Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 6 02:31 README.md [2021-04-06T02:34:51.731Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 6 02:31 RELEASE-NOTES.txt [2021-04-06T02:34:51.731Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 02:26 VERSION [2021-04-06T02:34:51.731Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 02:31 bin [2021-04-06T02:34:51.731Z] -rw-r--r-- 1 jenkins jenkins 101240 Apr 6 02:33 coverage.out [2021-04-06T02:34:51.731Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 02:31 example [2021-04-06T02:34:51.731Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 6 02:34 go.mod [2021-04-06T02:34:51.731Z] -rw-r--r-- 1 jenkins jenkins 20946 Apr 6 02:34 go.sum [2021-04-06T02:34:51.731Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 6 02:31 internal [2021-04-06T02:34:51.731Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 02:31 openapi [2021-04-06T02:34:51.731Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 02:31 pkg [2021-04-06T02:34:51.731Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 02:31 snap [2021-04-06T02:34:51.731Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 02:31 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-06T02:34:52.074Z] + docker build -t docker-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=e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f --label arch=arm64 --label version=0.0.0 . [2021-04-06T02:34:52.346Z] Sending build context to Docker daemon 2.495MB [2021-04-06T02:34:52.617Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T02:34:52.617Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-06T02:34:52.617Z] ---> a0c5b92bc4bc [2021-04-06T02:34:52.617Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-06T02:34:52.890Z] ---> Running in 42b9a9035da1 [2021-04-06T02:34:53.163Z] Removing intermediate container 42b9a9035da1 [2021-04-06T02:34:53.163Z] ---> df39b126e8a0 [2021-04-06T02:34:53.163Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T02:34:53.435Z] ---> Running in a3aa7e4c6d60 [2021-04-06T02:34:53.709Z] Removing intermediate container a3aa7e4c6d60 [2021-04-06T02:34:53.709Z] ---> 2c62a27809bd [2021-04-06T02:34:53.709Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T02:34:53.981Z] ---> Running in e966cc79f526 [2021-04-06T02:34:55.952Z] Removing intermediate container e966cc79f526 [2021-04-06T02:34:55.952Z] ---> 2ced822a775f [2021-04-06T02:34:55.952Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-06T02:34:56.232Z] ---> Running in 564dd85458f0 [2021-04-06T02:34:57.209Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T02:34:57.802Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T02:34:58.392Z] OK: 144 MiB in 45 packages [2021-04-06T02:34:59.840Z] Removing intermediate container 564dd85458f0 [2021-04-06T02:34:59.840Z] ---> 98b36dd3a264 [2021-04-06T02:34:59.840Z] Step 7/23 : COPY . . [2021-04-06T02:35:00.823Z] ---> a1045d39ae7b [2021-04-06T02:35:00.823Z] Step 8/23 : RUN go mod download [2021-04-06T02:35:01.095Z] ---> Running in e8c29835ad36 [2021-04-06T02:35:03.720Z] Removing intermediate container e8c29835ad36 [2021-04-06T02:35:03.721Z] ---> a61351088637 [2021-04-06T02:35:03.721Z] Step 9/23 : RUN make build [2021-04-06T02:35:03.721Z] ---> Running in 0af06bfd8db0 [2021-04-06T02:35:04.697Z] 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-04-06T02:35:37.072Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-06T02:35:39.698Z] Removing intermediate container 0af06bfd8db0 [2021-04-06T02:35:39.698Z] ---> e925cbe26e6b [2021-04-06T02:35:39.698Z] Step 10/23 : FROM alpine:3.12 [2021-04-06T02:35:39.698Z] 3.12: Pulling from library/alpine [2021-04-06T02:35:41.669Z] 9a219e8acc52: Pulling fs layer [2021-04-06T02:35:41.669Z] 9a219e8acc52: Verifying Checksum [2021-04-06T02:35:41.669Z] 9a219e8acc52: Download complete [2021-04-06T02:35:42.269Z] 9a219e8acc52: Pull complete [2021-04-06T02:35:42.269Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-06T02:35:42.269Z] Status: Downloaded newer image for alpine:3.12 [2021-04-06T02:35:42.269Z] ---> d75e27dfc0a0 [2021-04-06T02:35:42.269Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T02:35:42.866Z] ---> Running in cb39d76729ba [2021-04-06T02:35:43.145Z] Removing intermediate container cb39d76729ba [2021-04-06T02:35:43.145Z] ---> 1bf1ca3774b3 [2021-04-06T02:35:43.145Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T02:35:43.145Z] ---> Running in aeb8ea1e4f45 [2021-04-06T02:35:45.772Z] Removing intermediate container aeb8ea1e4f45 [2021-04-06T02:35:45.772Z] ---> 959f4d0fc972 [2021-04-06T02:35:45.772Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-06T02:35:45.772Z] ---> Running in f6e509e9acf9 [2021-04-06T02:35:46.745Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T02:35:47.338Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T02:35:47.933Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-06T02:35:48.239Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-06T02:35:48.239Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-06T02:35:48.527Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-06T02:35:48.527Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-06T02:35:48.527Z] Executing busybox-1.31.1-r20.trigger [2021-04-06T02:35:48.527Z] OK: 8 MiB in 19 packages [2021-04-06T02:35:49.961Z] Removing intermediate container f6e509e9acf9 [2021-04-06T02:35:49.961Z] ---> 334861472c36 [2021-04-06T02:35:49.961Z] Step 14/23 : WORKDIR / [2021-04-06T02:35:49.961Z] ---> Running in c5fd81d12482 [2021-04-06T02:35:50.555Z] Removing intermediate container c5fd81d12482 [2021-04-06T02:35:50.555Z] ---> f1851f72d79b [2021-04-06T02:35:50.555Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-06T02:35:51.530Z] ---> 8853faca0ed4 [2021-04-06T02:35:51.530Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-06T02:35:52.964Z] ---> e543dbea0a11 [2021-04-06T02:35:52.964Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-06T02:35:53.559Z] ---> 648ee18160d9 [2021-04-06T02:35:53.559Z] Step 18/23 : EXPOSE 49990 [2021-04-06T02:35:53.559Z] ---> Running in 6489b37ec5f8 [2021-04-06T02:35:53.835Z] Removing intermediate container 6489b37ec5f8 [2021-04-06T02:35:53.835Z] ---> 088302aa141f [2021-04-06T02:35:53.835Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-06T02:35:54.108Z] ---> Running in 11fc364cc340 [2021-04-06T02:35:54.704Z] Removing intermediate container 11fc364cc340 [2021-04-06T02:35:54.704Z] ---> 7631bd87a417 [2021-04-06T02:35:54.704Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-06T02:35:54.704Z] ---> Running in 37fbb00e537e [2021-04-06T02:35:55.299Z] Removing intermediate container 37fbb00e537e [2021-04-06T02:35:55.299Z] ---> aa75803c35d1 [2021-04-06T02:35:55.299Z] Step 21/23 : LABEL arch=arm64 [2021-04-06T02:35:55.299Z] ---> Running in 918c287c5803 [2021-04-06T02:35:55.571Z] Removing intermediate container 918c287c5803 [2021-04-06T02:35:55.571Z] ---> f3741ff6c201 [2021-04-06T02:35:55.571Z] Step 22/23 : LABEL git_sha=e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f [2021-04-06T02:35:55.843Z] ---> Running in 554b42add761 [2021-04-06T02:35:56.436Z] Removing intermediate container 554b42add761 [2021-04-06T02:35:56.436Z] ---> 61795f2b009e [2021-04-06T02:35:56.436Z] Step 23/23 : LABEL version=0.0.0 [2021-04-06T02:35:56.436Z] ---> Running in 2fba86c7dbe5 [2021-04-06T02:35:57.030Z] Removing intermediate container 2fba86c7dbe5 [2021-04-06T02:35:57.030Z] ---> 834d123726ff [2021-04-06T02:35:57.030Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-06T02:35:57.030Z] Successfully built 834d123726ff [2021-04-06T02:35:57.030Z] Successfully tagged docker-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-04-06T02:35:57.867Z] ---> job-cost.sh [2021-04-06T02:35:57.867Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Pp0j [2021-04-06T02:36:36.817Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T02:38:13.592Z] lf-activate-venv(): INFO: Adding /tmp/venv-Pp0j/bin to PATH [2021-04-06T02:38:13.592Z] INFO: No Stack... [2021-04-06T02:38:13.592Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-06T02:38:13.592Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T02:38:13.931Z] + cut -d, -f6 [2021-04-06T02:38:13.931Z] + cat /w/workspace/device-sdk-go/10/archives/cost.csv [Pipeline] lock [2021-04-06T02:38:14.049Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-10-stack-cost] [2021-04-06T02:38:14.057Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-10-stack-cost] did not exist. Created. [2021-04-06T02:38:14.057Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T02:38:14.561Z] /w/workspace/device-sdk-go/10@tmp/durable-fe706417/script.sh: 1: /w/workspace/device-sdk-go/10@tmp/durable-fe706417/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-06T02:38:14.956Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-06T02:38:15.020Z] Warning: overwriting stash ‘stack-cost’ [2021-04-06T02:38:15.223Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T02:38:15.239Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-10-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] wrap [2021-04-06T02:38:16.777Z] provisioning config files... [2021-04-06T02:38:16.788Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config8426254366401538697tmp [Pipeline] { [Pipeline] sh [2021-04-06T02:38:17.174Z] + set +x [2021-04-06T02:38:17.174Z] + curl -s https://codecov.io/bash [2021-04-06T02:38:17.174Z] + bash -s -- [2021-04-06T02:38:17.436Z] [2021-04-06T02:38:17.436Z] _____ _ [2021-04-06T02:38:17.436Z] / ____| | | [2021-04-06T02:38:17.436Z] | | ___ __| | ___ ___ _____ __ [2021-04-06T02:38:17.436Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-06T02:38:17.436Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-06T02:38:17.436Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-06T02:38:17.436Z] Bash-20210309-2b87ace [2021-04-06T02:38:17.436Z] [2021-04-06T02:38:17.436Z] [2021-04-06T02:38:17.436Z] ==> git version 2.24.3 found [2021-04-06T02:38:17.436Z] ==> 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-04-06T02:38:17.436Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-06T02:38:17.436Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-06T02:38:17.436Z] ==> Jenkins CI detected. [2021-04-06T02:38:17.436Z] project root: . [2021-04-06T02:38:17.436Z] --> token set from env [2021-04-06T02:38:17.436Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-06T02:38:17.436Z] ==> Running gcov in . (disable via -X gcov) [2021-04-06T02:38:17.436Z] ==> Python coveragepy not found [2021-04-06T02:38:17.436Z] ==> Searching for coverage reports in: [2021-04-06T02:38:17.436Z] + . [2021-04-06T02:38:17.436Z] -> Found 1 reports [2021-04-06T02:38:17.436Z] ==> Detecting git/mercurial file structure [2021-04-06T02:38:17.436Z] ==> Reading reports [2021-04-06T02:38:17.436Z] + ./coverage.out bytes=101240 [2021-04-06T02:38:17.436Z] ==> Appending adjustments [2021-04-06T02:38:17.436Z] https://docs.codecov.io/docs/fixing-reports [2021-04-06T02:38:17.700Z] + Found adjustments [2021-04-06T02:38:17.700Z] ==> Gzipping contents [2021-04-06T02:38:17.700Z] 16K /tmp/codecov.IEyy9Q.gz [2021-04-06T02:38:17.700Z] ==> Uploading reports [2021-04-06T02:38:17.700Z] url: https://codecov.io [2021-04-06T02:38:17.700Z] query: branch=PR-844&commit=e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-844%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=844&job=&cmd_args= [2021-04-06T02:38:17.700Z] -> Pinging Codecov [2021-04-06T02:38:17.700Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-844&commit=e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-844%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=844&job=&cmd_args= [2021-04-06T02:38:18.274Z] -> Uploading to [2021-04-06T02:38:18.274Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-06/7E55EF52A471D76F132DFD9A03CDDE97/e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f/f8c23a66-f7d3-4f80-8f85-0f90685988ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210406T023818Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e84e385d5d57929670f6030d5c533cb2cdbe3384880b0badf01f614ec70f2145 [2021-04-06T02:38:18.274Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-06T02:38:18.274Z] Dload Upload Total Spent Left Speed [2021-04-06T02:38:18.849Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13721 0 0 100 13721 0 28723 --:--:-- --:--:-- --:--:-- 28705 100 13721 0 0 100 13721 0 28713 --:--:-- --:--:-- --:--:-- 28705 [2021-04-06T02:38:18.849Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e2dd6f7d1fc9e569ecdfea1efba54f47bfed7b7f [Pipeline] } [2021-04-06T02:38:18.860Z] Deleting 1 temporary files [Pipeline] // wrap [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-04-06T02:38:21.372Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T02:38:21.685Z] ---> package-listing.sh [2021-04-06T02:38:21.685Z] ++ facter osfamily [2021-04-06T02:38:21.685Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-06T02:38:21.685Z] + OS_FAMILY=redhat [2021-04-06T02:38:21.685Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-844 [2021-04-06T02:38:21.685Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-06T02:38:21.685Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-06T02:38:21.685Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-06T02:38:21.685Z] + PACKAGES=/tmp/packages_start.txt [2021-04-06T02:38:21.685Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' [2021-04-06T02:38:21.685Z] + PACKAGES=/tmp/packages_end.txt [2021-04-06T02:38:21.685Z] + case "${OS_FAMILY}" in [2021-04-06T02:38:21.685Z] + rpm -qa [2021-04-06T02:38:21.685Z] + sort [2021-04-06T02:38:27.008Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-06T02:38:27.008Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-06T02:38:27.008Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-06T02:38:27.008Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' [2021-04-06T02:38:27.008Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ [2021-04-06T02:38:27.008Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ [Pipeline] echo [2021-04-06T02:38:27.024Z] 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-844/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-06T02:38:27.317Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-06T02:38:27.626Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T02:38:27.626Z] [2021-04-06T02:38:27.626Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-06T02:38:27.982Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T02:38:27.982Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-06T02:38:27.982Z] df20fa9351a1: Pulling fs layer [2021-04-06T02:38:27.982Z] 36b3adc4ff6f: Pulling fs layer [2021-04-06T02:38:27.982Z] 8ad3a11d3b57: Pulling fs layer [2021-04-06T02:38:27.982Z] 46f8f816bc3b: Pulling fs layer [2021-04-06T02:38:27.982Z] 93b61091891f: Pulling fs layer [2021-04-06T02:38:27.982Z] 93b9cdb0e59b: Pulling fs layer [2021-04-06T02:38:27.982Z] 5e14af77c1be: Pulling fs layer [2021-04-06T02:38:27.982Z] 01666e4c0597: Pulling fs layer [2021-04-06T02:38:27.982Z] aa168da1d23b: Pulling fs layer [2021-04-06T02:38:27.982Z] 93b61091891f: Waiting [2021-04-06T02:38:27.982Z] 93b9cdb0e59b: Waiting [2021-04-06T02:38:27.982Z] 5e14af77c1be: Waiting [2021-04-06T02:38:27.982Z] 01666e4c0597: Waiting [2021-04-06T02:38:27.982Z] aa168da1d23b: Waiting [2021-04-06T02:38:27.982Z] 46f8f816bc3b: Waiting [2021-04-06T02:38:27.982Z] 36b3adc4ff6f: Verifying Checksum [2021-04-06T02:38:27.982Z] 36b3adc4ff6f: Download complete [2021-04-06T02:38:27.982Z] 46f8f816bc3b: Verifying Checksum [2021-04-06T02:38:27.982Z] 46f8f816bc3b: Download complete [2021-04-06T02:38:28.244Z] df20fa9351a1: Verifying Checksum [2021-04-06T02:38:28.244Z] df20fa9351a1: Download complete [2021-04-06T02:38:28.244Z] 93b9cdb0e59b: Verifying Checksum [2021-04-06T02:38:28.244Z] 93b9cdb0e59b: Download complete [2021-04-06T02:38:28.244Z] 5e14af77c1be: Verifying Checksum [2021-04-06T02:38:28.244Z] 5e14af77c1be: Download complete [2021-04-06T02:38:28.244Z] 93b61091891f: Verifying Checksum [2021-04-06T02:38:28.244Z] 93b61091891f: Download complete [2021-04-06T02:38:28.244Z] 01666e4c0597: Verifying Checksum [2021-04-06T02:38:28.244Z] 01666e4c0597: Download complete [2021-04-06T02:38:28.244Z] 8ad3a11d3b57: Verifying Checksum [2021-04-06T02:38:28.244Z] 8ad3a11d3b57: Download complete [2021-04-06T02:38:28.507Z] df20fa9351a1: Pull complete [2021-04-06T02:38:28.771Z] 36b3adc4ff6f: Pull complete [2021-04-06T02:38:29.347Z] 8ad3a11d3b57: Pull complete [2021-04-06T02:38:29.347Z] 46f8f816bc3b: Pull complete [2021-04-06T02:38:29.937Z] 93b61091891f: Pull complete [2021-04-06T02:38:30.516Z] 93b9cdb0e59b: Pull complete [2021-04-06T02:38:30.516Z] aa168da1d23b: Verifying Checksum [2021-04-06T02:38:30.516Z] aa168da1d23b: Download complete [2021-04-06T02:38:30.778Z] 5e14af77c1be: Pull complete [2021-04-06T02:38:31.042Z] 01666e4c0597: Pull complete [2021-04-06T02:38:37.666Z] aa168da1d23b: Pull complete [2021-04-06T02:38:37.666Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-06T02:38:37.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T02:38:37.666Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-06T02:38:37.797Z] prd-centos7-docker-4c-2g-32868 does not seem to be running inside a container [2021-04-06T02:38:37.844Z] $ 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-844/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-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-06T02:38:41.285Z] $ docker top 7bd1334210572ff35303026f0764c9f444d44241dfb2e723b9096b9daea46430 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T02:38:41.865Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-06T02:38:42.163Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-06T02:38:42.462Z] + ls /var/log/sa-host [2021-04-06T02:38:42.463Z] + sadf -c /var/log/sa-host/sa06 [2021-04-06T02:38:42.463Z] file_magic: OK [2021-04-06T02:38:42.463Z] HZ: Using current value: 100 [2021-04-06T02:38:42.463Z] file_header: OK [2021-04-06T02:38:42.463Z] 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-04-06T02:38:42.463Z] Statistics: [2021-04-06T02:38:42.463Z] 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... [2021-04-06T02:38:42.463Z] File successfully converted to sysstat format version 12.2.1 [2021-04-06T02:38:42.463Z] + sadf -c /var/log/sa-host/sa23 [2021-04-06T02:38:42.463Z] file_magic: OK [2021-04-06T02:38:42.463Z] HZ: Using current value: 100 [2021-04-06T02:38:42.463Z] file_header: OK [2021-04-06T02:38:42.463Z] 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-04-06T02:38:42.463Z] Statistics: [2021-04-06T02:38:42.463Z] Hnuu...uuuununununu... [2021-04-06T02:38:42.463Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-06T02:38:43.189Z] provisioning config files... [2021-04-06T02:38:43.205Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config3090879093818824020tmp [Pipeline] { [Pipeline] echo [2021-04-06T02:38:43.277Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T02:38:43.574Z] ---> create-netrc.sh [Pipeline] } [2021-04-06T02:38:43.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-06T02:38:43.675Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T02:38:43.973Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-06T02:38:43.984Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T02:38:44.282Z] ---> sudo-logs.sh [2021-04-06T02:38:44.283Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-06T02:38:44.346Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T02:38:44.640Z] ---> job-cost.sh [2021-04-06T02:38:44.640Z] lf-activate-venv: SKIPPING [2021-04-06T02:38:44.640Z] DEBUG: total: 0.20999999344348907 [2021-04-06T02:38:44.640Z] INFO: Retrieving Stack Cost... [2021-04-06T02:38:45.584Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T02:38:46.156Z] INFO: Archiving Costs [Pipeline] echo [2021-04-06T02:38:46.169Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T02:38:46.463Z] ---> logs-deploy.sh [2021-04-06T02:38:46.463Z] lf-activate-venv: SKIPPING [2021-04-06T02:38:46.463Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-844/10 [2021-04-06T02:38:46.463Z] INFO: archiving workspace using pattern(s): [2021-04-06T02:38:48.380Z] Archives upload complete. [2021-04-06T02:38:48.380Z] INFO: archiving logs to Nexus