Pull request #811 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 c6939aed2e2b1cbbf6b23f724c716a1673109002+62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 (2ba6a2b99a6cf479fe6f086a4bebc2b675242572) 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 ‘prd-centos7-docker-4c-2g-28975’ is offline Running on prd-centos7-docker-4c-2g-28976 in /w/workspace/dgexfoundry_device-sdk-go_PR-811 [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-811 # 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 > 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/811/head:refs/remotes/origin/PR-811 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit c6939aed2e2b1cbbf6b23f724c716a1673109002 Merge succeeded, producing c6939aed2e2b1cbbf6b23f724c716a1673109002 Checking out Revision c6939aed2e2b1cbbf6b23f724c716a1673109002 (PR-811) > git config core.sparsecheckout # timeout=10 > git checkout -f c6939aed2e2b1cbbf6b23f724c716a1673109002 # 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 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c6939aed2e2b1cbbf6b23f724c716a1673109002 # timeout=10 Commit message: "refactor: use new CommandValue function/method" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-08T10:10:52.921Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-08T10:10:53.197Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-08T10:10:53.313Z] ========================================================= [2021-03-08T10:10:53.313Z] EdgeX Global Pipelines Version Info [2021-03-08T10:10:53.313Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-08T10:10:54.770Z] ------------------- [2021-03-08T10:10:54.770Z] stable info: [2021-03-08T10:10:54.770Z] ------------------- [2021-03-08T10:10:54.770Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-08T10:10:54.770Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-08T10:10:54.770Z] Message: update stable to v1.0.184 [2021-03-08T10:10:55.716Z] ------------------- [2021-03-08T10:10:55.716Z] experimental info: [2021-03-08T10:10:55.716Z] ------------------- [2021-03-08T10:10:55.716Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-08T10:10:55.716Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-08T10:10:55.716Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-08T10:10:55.992Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-08T10:10:56.089Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-08T10:10:56.180Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-08T10:10:56.297Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-08T10:10:56.393Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-08T10:10:56.484Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-08T10:10:56.576Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-08T10:10:56.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-08T10:10:56.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-08T10:10:56.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-08T10:10:56.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-08T10:10:57.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-08T10:10:57.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-08T10:10:57.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-08T10:10:57.492Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-08T10:10:57.602Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T10:10:57.713Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T10:10:57.824Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T10:10:57.935Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-08T10:10:58.052Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-08T10:10:58.164Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-08T10:10:58.292Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-08T10:10:58.391Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-08T10:10:58.486Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-08T10:10:58.575Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-08T10:10:58.663Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-08T10:10:58.746Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-811 [Pipeline] echo [2021-03-08T10:10:58.916Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-811 [Pipeline] echo [2021-03-08T10:10:59.003Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-811 [Pipeline] echo [2021-03-08T10:10:59.087Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c6939aed2e2b1cbbf6b23f724c716a1673109002 [Pipeline] echo [2021-03-08T10:10:59.171Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c6939ae [Pipeline] echo [2021-03-08T10:10:59.249Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-08T10:10:59.416Z] provisioning config files... [2021-03-08T10:10:59.443Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/config8819720642630528400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-08T10:10:59.797Z] ---> docker-login.sh [2021-03-08T10:10:59.797Z] nexus3.edgexfoundry.org:10001 [2021-03-08T10:11:00.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T10:11:00.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T10:11:00.321Z] Configure a credential helper to remove this warning. See [2021-03-08T10:11:00.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T10:11:00.321Z] [2021-03-08T10:11:00.321Z] Login Succeeded [2021-03-08T10:11:00.321Z] nexus3.edgexfoundry.org:10002 [2021-03-08T10:11:00.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T10:11:00.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T10:11:00.321Z] Configure a credential helper to remove this warning. See [2021-03-08T10:11:00.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T10:11:00.321Z] [2021-03-08T10:11:00.321Z] Login Succeeded [2021-03-08T10:11:00.321Z] nexus3.edgexfoundry.org:10003 [2021-03-08T10:11:00.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T10:11:00.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T10:11:00.586Z] Configure a credential helper to remove this warning. See [2021-03-08T10:11:00.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T10:11:00.586Z] [2021-03-08T10:11:00.586Z] Login Succeeded [2021-03-08T10:11:00.586Z] nexus3.edgexfoundry.org:10004 [2021-03-08T10:11:00.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T10:11:00.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T10:11:00.848Z] Configure a credential helper to remove this warning. See [2021-03-08T10:11:00.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T10:11:00.848Z] [2021-03-08T10:11:00.848Z] Login Succeeded [2021-03-08T10:11:00.848Z] docker.io [2021-03-08T10:11:00.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T10:11:01.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T10:11:01.110Z] Configure a credential helper to remove this warning. See [2021-03-08T10:11:01.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T10:11:01.110Z] [2021-03-08T10:11:01.110Z] Login Succeeded [2021-03-08T10:11:01.110Z] ---> docker-login.sh ends [Pipeline] } [2021-03-08T10:11:01.120Z] 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-03-08T10:11:02.019Z] + git log --format=format:%s -1 c6939aed2e2b1cbbf6b23f724c716a1673109002 [Pipeline] echo [2021-03-08T10:11:02.086Z] GIT_COMMIT: c6939aed2e2b1cbbf6b23f724c716a1673109002, Commit Message: refactor: use new CommandValue function/method [Pipeline] echo [2021-03-08T10:11:02.131Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-08T10:11:03.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T10:11:03.134Z] [2021-03-08T10:11:03.134Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-08T10:11:03.481Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T10:11:03.481Z] latest: Pulling from edgex-devops/git-semver [2021-03-08T10:11:03.481Z] 31603596830f: Pulling fs layer [2021-03-08T10:11:03.481Z] 2a8b12db71e7: Pulling fs layer [2021-03-08T10:11:03.481Z] 6ca5941a6612: Pulling fs layer [2021-03-08T10:11:03.481Z] ecc8261a40a4: Pulling fs layer [2021-03-08T10:11:03.481Z] ecc8261a40a4: Waiting [2021-03-08T10:11:03.481Z] 2a8b12db71e7: Verifying Checksum [2021-03-08T10:11:03.481Z] 2a8b12db71e7: Download complete [2021-03-08T10:11:03.745Z] 31603596830f: Download complete [2021-03-08T10:11:03.745Z] ecc8261a40a4: Verifying Checksum [2021-03-08T10:11:03.745Z] ecc8261a40a4: Download complete [2021-03-08T10:11:03.745Z] 6ca5941a6612: Verifying Checksum [2021-03-08T10:11:03.745Z] 6ca5941a6612: Download complete [2021-03-08T10:11:04.010Z] 31603596830f: Pull complete [2021-03-08T10:11:04.271Z] 2a8b12db71e7: Pull complete [2021-03-08T10:11:05.217Z] 6ca5941a6612: Pull complete [2021-03-08T10:11:05.217Z] ecc8261a40a4: Pull complete [2021-03-08T10:11:05.217Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-08T10:11:05.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T10:11:05.478Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-08T10:11:05.577Z] prd-centos7-docker-4c-2g-28976 does not seem to be running inside a container [2021-03-08T10:11:05.621Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-811 -v /w/workspace/dgexfoundry_device-sdk-go_PR-811:/w/workspace/dgexfoundry_device-sdk-go_PR-811:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-08T10:11:07.898Z] $ docker top cda32685f8e277c57b5479f5d2bd63a2ae340e7155428f9c241da7b30c007147 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-08T10:11:08.205Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-08T10:11:08.205Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-08T10:11:08.421Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-08T10:11:08.422Z] $ docker exec cda32685f8e277c57b5479f5d2bd63a2ae340e7155428f9c241da7b30c007147 ssh-agent [2021-03-08T10:11:08.586Z] SSH_AUTH_SOCK=/tmp/ssh-XCBaGTfVLDb6/agent.11 [2021-03-08T10:11:08.586Z] SSH_AGENT_PID=16 [2021-03-08T10:11:08.596Z] Running ssh-add (command line suppressed) [2021-03-08T10:11:08.707Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/private_key_5652180967349516592.key (/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/private_key_5652180967349516592.key) [2021-03-08T10:11:08.758Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-08T10:11:09.095Z] + git tag --points-at HEAD [Pipeline] } [2021-03-08T10:11:09.114Z] $ docker exec --env ******** --env ******** cda32685f8e277c57b5479f5d2bd63a2ae340e7155428f9c241da7b30c007147 ssh-agent -k [2021-03-08T10:11:09.223Z] unset SSH_AUTH_SOCK; [2021-03-08T10:11:09.223Z] unset SSH_AGENT_PID; [2021-03-08T10:11:09.224Z] echo Agent pid 16 killed; [2021-03-08T10:11:09.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-08T10:11:09.423Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-08T10:11:09.423Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-08T10:11:09.589Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-08T10:11:09.590Z] $ docker exec cda32685f8e277c57b5479f5d2bd63a2ae340e7155428f9c241da7b30c007147 ssh-agent [2021-03-08T10:11:09.758Z] SSH_AUTH_SOCK=/tmp/ssh-LzQjbn5rgY0J/agent.45 [2021-03-08T10:11:09.758Z] SSH_AGENT_PID=50 [2021-03-08T10:11:09.764Z] Running ssh-add (command line suppressed) [2021-03-08T10:11:09.881Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/private_key_2044929780954956583.key (/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/private_key_2044929780954956583.key) [2021-03-08T10:11:09.935Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-08T10:11:10.267Z] + git semver init [2021-03-08T10:11:10.267Z] # -> Open(): unable to determine branch for HEAD [2021-03-08T10:11:10.267Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-811/.git [2021-03-08T10:11:10.267Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-811 [2021-03-08T10:11:10.267Z] # $SEMVER_REMOTE_NAME = origin [2021-03-08T10:11:10.267Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-08T10:11:10.267Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-08T10:11:10.267Z] # $SEMVER_BRANCH = PR-811 [2021-03-08T10:11:10.267Z] # $SEMVER_TEMP = /tmp/semver-524171160 [2021-03-08T10:11:10.267Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-08T10:11:11.214Z] # '/tmp/semver-524171160' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-811/.semver' [2021-03-08T10:11:11.214Z] # -> Force: false [2021-03-08T10:11:11.214Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-811/.semver [Pipeline] } [2021-03-08T10:11:11.230Z] $ docker exec --env ******** --env ******** cda32685f8e277c57b5479f5d2bd63a2ae340e7155428f9c241da7b30c007147 ssh-agent -k [2021-03-08T10:11:11.341Z] unset SSH_AUTH_SOCK; [2021-03-08T10:11:11.342Z] unset SSH_AGENT_PID; [2021-03-08T10:11:11.342Z] echo Agent pid 50 killed; [2021-03-08T10:11:11.389Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-08T10:11:11.864Z] + git semver [Pipeline] } [2021-03-08T10:11:11.880Z] $ docker stop --time=1 cda32685f8e277c57b5479f5d2bd63a2ae340e7155428f9c241da7b30c007147 [2021-03-08T10:11:13.326Z] $ docker rm -f cda32685f8e277c57b5479f5d2bd63a2ae340e7155428f9c241da7b30c007147 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-08T10:11:13.806Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-08T10:11:14.455Z] Stashed 1 file(s) [Pipeline] echo [2021-03-08T10:11:14.458Z] [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-03-08T10:11:29.951Z] Still waiting to schedule task [2021-03-08T10:11:29.951Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-08T10:11:29.953Z] Still waiting to schedule task [2021-03-08T10:11:29.953Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-08T10:13:29.035Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28977 in /w/workspace/dgexfoundry_device-sdk-go_PR-811 [Pipeline] { [Pipeline] ws [2021-03-08T10:13:29.098Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-08T10:13:36.170Z] using credential edgex-jenkins-ssh [2021-03-08T10:13:36.261Z] Cloning the remote Git repository [2021-03-08T10:13:36.325Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T10:13:36.454Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-08T10:13:36.545Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T10:13:36.546Z] > git --version # timeout=10 [2021-03-08T10:13:36.562Z] > git --version # 'git version 2.17.1' [2021-03-08T10:13:36.564Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T10:13:36.626Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T10:13:37.724Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T10:13:37.739Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T10:13:37.775Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T10:13:37.813Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T10:13:37.814Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T10:13:37.825Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/811/head:refs/remotes/origin/PR-811 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-08T10:13:38.471Z] Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit c6939aed2e2b1cbbf6b23f724c716a1673109002 [2021-03-08T10:13:38.711Z] Merge succeeded, producing c6939aed2e2b1cbbf6b23f724c716a1673109002 [2021-03-08T10:13:38.712Z] Checking out Revision c6939aed2e2b1cbbf6b23f724c716a1673109002 (PR-811) [2021-03-08T10:13:38.494Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T10:13:38.508Z] > git checkout -f c6939aed2e2b1cbbf6b23f724c716a1673109002 # timeout=10 [2021-03-08T10:13:38.628Z] > git remote # timeout=10 [2021-03-08T10:13:38.645Z] > git config --get remote.origin.url # timeout=10 [2021-03-08T10:13:38.659Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T10:13:38.669Z] > git merge 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 [2021-03-08T10:13:38.700Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-08T10:13:38.725Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T10:13:38.745Z] > git checkout -f c6939aed2e2b1cbbf6b23f724c716a1673109002 # timeout=10 [2021-03-08T10:13:43.506Z] Commit message: "refactor: use new CommandValue function/method" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T10:13:45.285Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-08T10:13:45.712Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-08T10:13:46.128Z] + true [2021-03-08T10:13:46.128Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-08T10:13:48.219Z] provisioning config files... [2021-03-08T10:13:48.266Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6833855400454187243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-08T10:13:48.707Z] ---> docker-login.sh [2021-03-08T10:13:48.707Z] nexus3.edgexfoundry.org:10001 [2021-03-08T10:13:48.878Z] Running on prd-centos7-docker-4c-2g-28978 in /w/workspace/dgexfoundry_device-sdk-go_PR-811 [Pipeline] { [Pipeline] ws [2021-03-08T10:13:48.934Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-08T10:13:49.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T10:13:50.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T10:13:50.030Z] Configure a credential helper to remove this warning. See [2021-03-08T10:13:50.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T10:13:50.030Z] [2021-03-08T10:13:50.030Z] Login Succeeded [2021-03-08T10:13:50.030Z] nexus3.edgexfoundry.org:10002 [2021-03-08T10:13:50.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T10:13:50.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T10:13:50.592Z] Configure a credential helper to remove this warning. See [2021-03-08T10:13:50.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T10:13:50.592Z] [2021-03-08T10:13:50.592Z] Login Succeeded [2021-03-08T10:13:50.592Z] nexus3.edgexfoundry.org:10003 [2021-03-08T10:13:50.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T10:13:51.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T10:13:51.151Z] Configure a credential helper to remove this warning. See [2021-03-08T10:13:51.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T10:13:51.151Z] [2021-03-08T10:13:51.151Z] Login Succeeded [2021-03-08T10:13:51.151Z] nexus3.edgexfoundry.org:10004 [2021-03-08T10:13:51.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T10:13:51.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T10:13:51.433Z] Configure a credential helper to remove this warning. See [2021-03-08T10:13:51.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T10:13:51.433Z] [2021-03-08T10:13:51.433Z] Login Succeeded [2021-03-08T10:13:51.433Z] docker.io [2021-03-08T10:13:51.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T10:13:52.220Z] using credential edgex-jenkins-ssh [2021-03-08T10:13:52.289Z] Cloning the remote Git repository [2021-03-08T10:13:52.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T10:13:52.312Z] Configure a credential helper to remove this warning. See [2021-03-08T10:13:52.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T10:13:52.312Z] [2021-03-08T10:13:52.312Z] Login Succeeded [2021-03-08T10:13:52.312Z] ---> docker-login.sh ends [Pipeline] } [2021-03-08T10:13:52.341Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [2021-03-08T10:13:52.235Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-08T10:13:52.928Z] ========================================================= [2021-03-08T10:13:52.928Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-08T10:13:52.928Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-08T10:13:53.337Z] + 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-03-08T10:13:52.496Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-08T10:13:52.590Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T10:13:52.590Z] > git --version # timeout=10 [2021-03-08T10:13:52.597Z] > git --version # 'git version 2.24.3' [2021-03-08T10:13:52.598Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T10:13:52.648Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T10:13:53.610Z] Sending build context to Docker daemon 2.328MB [2021-03-08T10:13:53.610Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T10:13:53.610Z] Step 2/8 : FROM ${BASE} [2021-03-08T10:13:53.884Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-08T10:13:53.884Z] 5f621e34cdf4: Pulling fs layer [2021-03-08T10:13:53.884Z] a4357932f1b6: Pulling fs layer [2021-03-08T10:13:53.884Z] 18c013af1878: Pulling fs layer [2021-03-08T10:13:53.884Z] 00ac8860ef70: Pulling fs layer [2021-03-08T10:13:53.884Z] 63d7cb157983: Pulling fs layer [2021-03-08T10:13:53.884Z] b116817d02f9: Pulling fs layer [2021-03-08T10:13:53.884Z] 745a02a5169b: Pulling fs layer [2021-03-08T10:13:53.884Z] 63d7cb157983: Waiting [2021-03-08T10:13:53.884Z] b116817d02f9: Waiting [2021-03-08T10:13:53.884Z] 745a02a5169b: Waiting [2021-03-08T10:13:53.884Z] 00ac8860ef70: Waiting [2021-03-08T10:13:53.884Z] 18c013af1878: Verifying Checksum [2021-03-08T10:13:53.884Z] 18c013af1878: Download complete [2021-03-08T10:13:53.884Z] a4357932f1b6: Verifying Checksum [2021-03-08T10:13:53.884Z] a4357932f1b6: Download complete [2021-03-08T10:13:53.884Z] 63d7cb157983: Verifying Checksum [2021-03-08T10:13:53.884Z] 63d7cb157983: Download complete [2021-03-08T10:13:54.086Z] Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit c6939aed2e2b1cbbf6b23f724c716a1673109002 [2021-03-08T10:13:54.184Z] Merge succeeded, producing c6939aed2e2b1cbbf6b23f724c716a1673109002 [2021-03-08T10:13:54.184Z] Checking out Revision c6939aed2e2b1cbbf6b23f724c716a1673109002 (PR-811) [2021-03-08T10:13:54.481Z] b116817d02f9: Verifying Checksum [2021-03-08T10:13:54.481Z] b116817d02f9: Download complete [2021-03-08T10:13:54.481Z] 5f621e34cdf4: Verifying Checksum [2021-03-08T10:13:54.481Z] 5f621e34cdf4: Download complete [2021-03-08T10:13:53.575Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T10:13:53.582Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T10:13:53.596Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T10:13:53.613Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T10:13:53.614Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T10:13:53.619Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/811/head:refs/remotes/origin/PR-811 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-08T10:13:54.098Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T10:13:54.104Z] > git checkout -f c6939aed2e2b1cbbf6b23f724c716a1673109002 # timeout=10 [2021-03-08T10:13:54.154Z] > git remote # timeout=10 [2021-03-08T10:13:54.159Z] > git config --get remote.origin.url # timeout=10 [2021-03-08T10:13:54.165Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T10:13:54.169Z] > git merge 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 [2021-03-08T10:13:54.179Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-08T10:13:54.189Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T10:13:54.194Z] > git checkout -f c6939aed2e2b1cbbf6b23f724c716a1673109002 # timeout=10 [2021-03-08T10:13:55.377Z] 5f621e34cdf4: Pull complete [2021-03-08T10:13:55.985Z] a4357932f1b6: Pull complete [2021-03-08T10:13:56.261Z] 18c013af1878: Pull complete [2021-03-08T10:13:57.703Z] 745a02a5169b: Verifying Checksum [2021-03-08T10:13:57.704Z] 745a02a5169b: Download complete [2021-03-08T10:13:57.800Z] Commit message: "refactor: use new CommandValue function/method" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-03-08T10:13:58.302Z] 00ac8860ef70: Verifying Checksum [2021-03-08T10:13:58.302Z] 00ac8860ef70: Download complete [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T10:13:59.076Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-08T10:13:59.408Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-08T10:13:59.711Z] + sudo service docker restart [2021-03-08T10:13:59.711Z] + true [2021-03-08T10:13:59.711Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-08T10:14:00.735Z] provisioning config files... [2021-03-08T10:14:00.767Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6999434940219667884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-08T10:14:01.138Z] ---> docker-login.sh [2021-03-08T10:14:01.138Z] nexus3.edgexfoundry.org:10001 [2021-03-08T10:14:01.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T10:14:01.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T10:14:01.411Z] Configure a credential helper to remove this warning. See [2021-03-08T10:14:01.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T10:14:01.411Z] [2021-03-08T10:14:01.411Z] Login Succeeded [2021-03-08T10:14:01.411Z] nexus3.edgexfoundry.org:10002 [2021-03-08T10:14:01.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T10:14:01.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T10:14:01.682Z] Configure a credential helper to remove this warning. See [2021-03-08T10:14:01.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T10:14:01.682Z] [2021-03-08T10:14:01.682Z] Login Succeeded [2021-03-08T10:14:01.682Z] nexus3.edgexfoundry.org:10003 [2021-03-08T10:14:01.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T10:14:01.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T10:14:01.958Z] Configure a credential helper to remove this warning. See [2021-03-08T10:14:01.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T10:14:01.958Z] [2021-03-08T10:14:01.958Z] Login Succeeded [2021-03-08T10:14:01.958Z] nexus3.edgexfoundry.org:10004 [2021-03-08T10:14:01.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T10:14:02.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T10:14:02.232Z] Configure a credential helper to remove this warning. See [2021-03-08T10:14:02.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T10:14:02.232Z] [2021-03-08T10:14:02.232Z] Login Succeeded [2021-03-08T10:14:02.232Z] docker.io [2021-03-08T10:14:02.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T10:14:02.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T10:14:02.504Z] Configure a credential helper to remove this warning. See [2021-03-08T10:14:02.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T10:14:02.504Z] [2021-03-08T10:14:02.504Z] Login Succeeded [2021-03-08T10:14:02.504Z] ---> docker-login.sh ends [Pipeline] } [2021-03-08T10:14:02.525Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-08T10:14:03.024Z] ========================================================= [2021-03-08T10:14:03.024Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-08T10:14:03.024Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-08T10:14:03.461Z] + 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-03-08T10:14:03.461Z] Sending build context to Docker daemon 2.337MB [2021-03-08T10:14:03.461Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T10:14:03.461Z] Step 2/8 : FROM ${BASE} [2021-03-08T10:14:03.461Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-08T10:14:03.461Z] 188c0c94c7c5: Pulling fs layer [2021-03-08T10:14:03.461Z] 0ef7d3d256c8: Pulling fs layer [2021-03-08T10:14:03.461Z] de9db76c5a1d: Pulling fs layer [2021-03-08T10:14:03.461Z] bca2f99d35d6: Pulling fs layer [2021-03-08T10:14:03.461Z] 93359f2a8cfa: Pulling fs layer [2021-03-08T10:14:03.461Z] 7c6f9722023f: Pulling fs layer [2021-03-08T10:14:03.461Z] a35cf1a2eb13: Pulling fs layer [2021-03-08T10:14:03.461Z] bca2f99d35d6: Waiting [2021-03-08T10:14:03.461Z] 93359f2a8cfa: Waiting [2021-03-08T10:14:03.461Z] 7c6f9722023f: Waiting [2021-03-08T10:14:03.461Z] a35cf1a2eb13: Waiting [2021-03-08T10:14:03.730Z] de9db76c5a1d: Verifying Checksum [2021-03-08T10:14:03.730Z] de9db76c5a1d: Download complete [2021-03-08T10:14:03.730Z] 0ef7d3d256c8: Verifying Checksum [2021-03-08T10:14:03.730Z] 0ef7d3d256c8: Download complete [2021-03-08T10:14:03.730Z] 93359f2a8cfa: Verifying Checksum [2021-03-08T10:14:03.730Z] 93359f2a8cfa: Download complete [2021-03-08T10:14:03.730Z] 7c6f9722023f: Verifying Checksum [2021-03-08T10:14:03.730Z] 7c6f9722023f: Download complete [2021-03-08T10:14:03.730Z] 188c0c94c7c5: Verifying Checksum [2021-03-08T10:14:03.730Z] 188c0c94c7c5: Download complete [2021-03-08T10:14:03.996Z] 188c0c94c7c5: Pull complete [2021-03-08T10:14:04.258Z] 0ef7d3d256c8: Pull complete [2021-03-08T10:14:04.258Z] de9db76c5a1d: Pull complete [2021-03-08T10:14:06.195Z] a35cf1a2eb13: Verifying Checksum [2021-03-08T10:14:06.195Z] a35cf1a2eb13: Download complete [2021-03-08T10:14:06.461Z] bca2f99d35d6: Download complete [2021-03-08T10:14:08.547Z] 00ac8860ef70: Pull complete [2021-03-08T10:14:08.547Z] 63d7cb157983: Pull complete [2021-03-08T10:14:08.847Z] b116817d02f9: Pull complete [2021-03-08T10:14:13.136Z] bca2f99d35d6: Pull complete [2021-03-08T10:14:13.136Z] 93359f2a8cfa: Pull complete [2021-03-08T10:14:13.136Z] 7c6f9722023f: Pull complete [2021-03-08T10:14:13.208Z] 745a02a5169b: Pull complete [2021-03-08T10:14:13.208Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-08T10:14:13.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-08T10:14:13.208Z] ---> b7e6874047d6 [2021-03-08T10:14:13.208Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T10:14:15.833Z] ---> Running in d02d917c9fe0 [2021-03-08T10:14:16.441Z] Removing intermediate container d02d917c9fe0 [2021-03-08T10:14:16.441Z] ---> aee6f1f9ec4b [2021-03-08T10:14:16.441Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T10:14:16.441Z] ---> Running in 95f1cb434b70 [2021-03-08T10:14:17.396Z] a35cf1a2eb13: Pull complete [2021-03-08T10:14:17.396Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-08T10:14:17.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-08T10:14:17.396Z] ---> a62c8e92a672 [2021-03-08T10:14:17.396Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T10:14:17.396Z] ---> Running in 4efe69f3acce [2021-03-08T10:14:17.396Z] Removing intermediate container 4efe69f3acce [2021-03-08T10:14:17.396Z] ---> 1047323722d2 [2021-03-08T10:14:17.396Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T10:14:17.396Z] ---> Running in 4f2f8c40c31e [2021-03-08T10:14:18.350Z] Removing intermediate container 4f2f8c40c31e [2021-03-08T10:14:18.350Z] ---> 81fb2997249e [2021-03-08T10:14:18.350Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-08T10:14:18.612Z] ---> Running in a58ba0bf44ab [2021-03-08T10:14:19.112Z] Removing intermediate container 95f1cb434b70 [2021-03-08T10:14:19.112Z] ---> 0ad4ad05321c [2021-03-08T10:14:19.112Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-08T10:14:19.113Z] ---> Running in b72626dceb2a [2021-03-08T10:14:19.190Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-08T10:14:19.766Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-08T10:14:20.097Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-08T10:14:20.342Z] OK: 166 MiB in 39 packages [2021-03-08T10:14:20.698Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-08T10:14:20.923Z] Removing intermediate container a58ba0bf44ab [2021-03-08T10:14:20.923Z] ---> 8b610f562443 [2021-03-08T10:14:20.923Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-08T10:14:20.923Z] ---> Running in da70c3959252 [2021-03-08T10:14:20.923Z] Removing intermediate container da70c3959252 [2021-03-08T10:14:20.923Z] ---> 65c92b92c8f2 [2021-03-08T10:14:20.923Z] Step 7/8 : COPY . . [2021-03-08T10:14:21.303Z] OK: 142 MiB in 39 packages [2021-03-08T10:14:22.325Z] ---> 7ef24902ae02 [2021-03-08T10:14:22.325Z] Step 8/8 : RUN go mod download [2021-03-08T10:14:22.325Z] ---> Running in a2c8352dcca7 [2021-03-08T10:14:22.738Z] Removing intermediate container b72626dceb2a [2021-03-08T10:14:22.738Z] ---> cb02c40753fb [2021-03-08T10:14:22.738Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-08T10:14:22.738Z] ---> Running in c20ac86d3899 [2021-03-08T10:14:23.011Z] Removing intermediate container c20ac86d3899 [2021-03-08T10:14:23.011Z] ---> ff9420068511 [2021-03-08T10:14:23.011Z] Step 7/8 : COPY . . [2021-03-08T10:14:24.445Z] ---> de150814b687 [2021-03-08T10:14:24.445Z] Step 8/8 : RUN go mod download [2021-03-08T10:14:24.445Z] ---> Running in 2d2504612e72 [2021-03-08T10:14:44.375Z] Removing intermediate container a2c8352dcca7 [2021-03-08T10:14:44.375Z] ---> ece23ef06d05 [2021-03-08T10:14:44.375Z] Successfully built ece23ef06d05 [2021-03-08T10:14:44.375Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-08T10:14:44.753Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-08T10:14:44.753Z] . [Pipeline] withDockerContainer [2021-03-08T10:14:45.072Z] prd-centos7-docker-4c-2g-28978 does not seem to be running inside a container [2021-03-08T10:14:45.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-08T10:14:46.003Z] $ docker top bcc33aa24c575658c4b896ea35164ca80f2df192bbcfccb3b5cb203b16f8911c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T10:14:46.562Z] + go version [2021-03-08T10:14:46.562Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-08T10:14:46.591Z] $ docker stop --time=1 bcc33aa24c575658c4b896ea35164ca80f2df192bbcfccb3b5cb203b16f8911c [2021-03-08T10:14:47.967Z] $ docker rm -f bcc33aa24c575658c4b896ea35164ca80f2df192bbcfccb3b5cb203b16f8911c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-08T10:14:48.858Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-08T10:14:48.859Z] . [Pipeline] withDockerContainer [2021-03-08T10:14:48.989Z] prd-centos7-docker-4c-2g-28978 does not seem to be running inside a container [2021-03-08T10:14:49.072Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-08T10:14:49.810Z] $ docker top 138acb93639ef2e571a7decc31551a15f7f674d742a8abd1f193bfc8a2cb884e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T10:14:50.360Z] + make test [2021-03-08T10:14:50.361Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-08T10:14:51.339Z] Removing intermediate container 2d2504612e72 [2021-03-08T10:14:51.340Z] ---> f63e3ed5aed0 [2021-03-08T10:14:51.340Z] Successfully built f63e3ed5aed0 [2021-03-08T10:14:51.340Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-08T10:14:51.832Z] + docker inspect -f . ci-base-image-arm64 [2021-03-08T10:14:51.833Z] . [Pipeline] withDockerContainer [2021-03-08T10:14:52.239Z] prd-ubuntu18.04-docker-arm64-4c-16g-28977 does not seem to be running inside a container [2021-03-08T10:14:52.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-08T10:14:53.944Z] $ docker top 5e92a8a5d8802446d6b43bb3da5a60bd5454aa9488de8b59b3b7b8d6ff910af9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T10:14:55.029Z] + go version [2021-03-08T10:14:55.029Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-08T10:14:55.059Z] $ docker stop --time=1 5e92a8a5d8802446d6b43bb3da5a60bd5454aa9488de8b59b3b7b8d6ff910af9 [2021-03-08T10:14:56.905Z] $ docker rm -f 5e92a8a5d8802446d6b43bb3da5a60bd5454aa9488de8b59b3b7b8d6ff910af9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-08T10:14:57.905Z] + docker inspect -f . ci-base-image-arm64 [2021-03-08T10:14:57.905Z] . [Pipeline] withDockerContainer [2021-03-08T10:14:58.220Z] prd-ubuntu18.04-docker-arm64-4c-16g-28977 does not seem to be running inside a container [2021-03-08T10:14:58.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-08T10:14:58.704Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-08T10:14:59.961Z] $ docker top f9d4548cbfd8d9153fe098862735f1487282fbaf173d385d0c6544c078d4b959 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T10:15:01.081Z] + make test [2021-03-08T10:15:01.081Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-08T10:15:13.866Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-08T10:15:13.866Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-08T10:15:13.866Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-08T10:15:16.501Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 25.5% of statements [2021-03-08T10:15:23.360Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-08T10:15:48.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.078s coverage: 10.5% of statements [2021-03-08T10:15:48.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.069s coverage: 12.5% of statements [2021-03-08T10:15:48.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-08T10:15:48.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.070s coverage: 84.8% of statements [2021-03-08T10:15:48.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-08T10:15:48.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-08T10:15:48.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-08T10:15:48.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 48.2% of statements [2021-03-08T10:15:48.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-08T10:15:48.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.074s coverage: 81.3% of statements [2021-03-08T10:15:48.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.068s coverage: 24.8% of statements [2021-03-08T10:15:48.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.261s coverage: 5.9% of statements [2021-03-08T10:15:48.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.092s coverage: 5.2% of statements [2021-03-08T10:15:48.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-08T10:15:48.731Z] GO111MODULE=on go vet ./... [2021-03-08T10:15:57.009Z] gofmt -l . [2021-03-08T10:15:57.009Z] [ "`gofmt -l .`" = "" ] [2021-03-08T10:15:57.009Z] ./bin/test-attribution-txt.sh [2021-03-08T10:15:57.584Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-08T10:15:57.872Z] $ docker stop --time=1 138acb93639ef2e571a7decc31551a15f7f674d742a8abd1f193bfc8a2cb884e [2021-03-08T10:15:59.815Z] $ docker rm -f 138acb93639ef2e571a7decc31551a15f7f674d742a8abd1f193bfc8a2cb884e [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-08T10:16:00.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-08T10:16:00.986Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-08T10:16:03.814Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-08T10:16:04.111Z] + ls -al . [2021-03-08T10:16:04.111Z] total 188 [2021-03-08T10:16:04.111Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 8 10:15 . [2021-03-08T10:16:04.111Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 8 10:13 .. [2021-03-08T10:16:04.111Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 8 10:13 bin [2021-03-08T10:16:04.111Z] -rw-r--r--. 1 jenkins jenkins 104149 Mar 8 10:15 coverage.out [2021-03-08T10:16:04.111Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 8 10:13 Dockerfile.build [2021-03-08T10:16:04.111Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 8 10:13 .dockerignore [2021-03-08T10:16:04.111Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 8 10:13 example [2021-03-08T10:16:04.111Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 8 10:13 .git [2021-03-08T10:16:04.111Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 8 10:13 .github [2021-03-08T10:16:04.111Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 8 10:13 .gitignore [2021-03-08T10:16:04.111Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 8 10:15 go.mod [2021-03-08T10:16:04.111Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 8 10:15 go.sum [2021-03-08T10:16:04.111Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 8 10:13 internal [2021-03-08T10:16:04.111Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 8 10:13 Jenkinsfile [2021-03-08T10:16:04.111Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 8 10:13 LICENSE [2021-03-08T10:16:04.111Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 8 10:13 Makefile [2021-03-08T10:16:04.111Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 8 10:13 openapi [2021-03-08T10:16:04.111Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 8 10:13 pkg [2021-03-08T10:16:04.111Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 8 10:13 README.md [2021-03-08T10:16:04.111Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 8 10:13 RELEASE-NOTES.txt [2021-03-08T10:16:04.111Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 8 10:13 snap [2021-03-08T10:16:04.111Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 8 10:11 VERSION [2021-03-08T10:16:04.111Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 8 10:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-08T10:16:04.420Z] + 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=c6939aed2e2b1cbbf6b23f724c716a1673109002 --label arch=amd64 --label version=0.0.0 . [2021-03-08T10:16:04.683Z] Sending build context to Docker daemon 2.442MB [2021-03-08T10:16:04.683Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T10:16:04.683Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-08T10:16:04.683Z] ---> ece23ef06d05 [2021-03-08T10:16:04.683Z] Step 3/24 : ARG MAKE='make build' [2021-03-08T10:16:05.256Z] ---> Running in 4e4a1c429ab1 [2021-03-08T10:16:05.517Z] Removing intermediate container 4e4a1c429ab1 [2021-03-08T10:16:05.517Z] ---> d3a3815a818e [2021-03-08T10:16:05.517Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-08T10:16:05.517Z] ---> Running in acd954725599 [2021-03-08T10:16:05.779Z] Removing intermediate container acd954725599 [2021-03-08T10:16:05.779Z] ---> 165c0f085a74 [2021-03-08T10:16:05.779Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T10:16:05.779Z] ---> Running in fd178a46de60 [2021-03-08T10:16:06.042Z] Removing intermediate container fd178a46de60 [2021-03-08T10:16:06.042Z] ---> 7ccd1cefafe7 [2021-03-08T10:16:06.042Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T10:16:06.042Z] ---> Running in 6c4ea980ee1a [2021-03-08T10:16:06.999Z] Removing intermediate container 6c4ea980ee1a [2021-03-08T10:16:06.999Z] ---> eead301297fd [2021-03-08T10:16:06.999Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-08T10:16:06.999Z] ---> Running in 5f6191baa409 [2021-03-08T10:16:07.579Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-08T10:16:08.525Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-08T10:16:08.787Z] OK: 166 MiB in 39 packages [2021-03-08T10:16:09.365Z] Removing intermediate container 5f6191baa409 [2021-03-08T10:16:09.365Z] ---> 585a42786a34 [2021-03-08T10:16:09.365Z] Step 8/24 : COPY . . [2021-03-08T10:16:10.313Z] ---> 36aeb314dc42 [2021-03-08T10:16:10.313Z] Step 9/24 : RUN ${MAKE} [2021-03-08T10:16:10.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-08T10:16:10.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-08T10:16:10.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-08T10:16:10.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.147s coverage: 25.5% of statements [2021-03-08T10:16:10.581Z] ---> Running in cd22fa31d987 [2021-03-08T10:16:11.161Z] CGO_ENABLED=0 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-03-08T10:16:21.313Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-08T10:16:22.263Z] Removing intermediate container cd22fa31d987 [2021-03-08T10:16:22.263Z] ---> 1a9e7ecc6506 [2021-03-08T10:16:22.263Z] Step 10/24 : FROM scratch [2021-03-08T10:16:22.263Z] ---> [2021-03-08T10:16:22.263Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T10:16:22.526Z] ---> Running in 24ee9960ede2 [2021-03-08T10:16:22.526Z] Removing intermediate container 24ee9960ede2 [2021-03-08T10:16:22.526Z] ---> c37f186de840 [2021-03-08T10:16:22.526Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-08T10:16:22.526Z] ---> Running in dc7e2473bc63 [2021-03-08T10:16:22.788Z] Removing intermediate container dc7e2473bc63 [2021-03-08T10:16:22.788Z] ---> bee44e5306cb [2021-03-08T10:16:22.788Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-08T10:16:22.788Z] ---> Running in 7385bae1cc97 [2021-03-08T10:16:23.050Z] Removing intermediate container 7385bae1cc97 [2021-03-08T10:16:23.050Z] ---> 1c51ba49ec8d [2021-03-08T10:16:23.050Z] Step 14/24 : WORKDIR / [2021-03-08T10:16:23.050Z] ---> Running in 502635307aea [2021-03-08T10:16:23.313Z] Removing intermediate container 502635307aea [2021-03-08T10:16:23.313Z] ---> 9ed2f82b9118 [2021-03-08T10:16:23.313Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-08T10:16:23.889Z] ---> f947c29c5e46 [2021-03-08T10:16:23.889Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-08T10:16:24.151Z] ---> e6678bece8fc [2021-03-08T10:16:24.151Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-08T10:16:24.412Z] ---> d7d9f09f374b [2021-03-08T10:16:24.412Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-08T10:16:24.673Z] ---> bf389eebcad9 [2021-03-08T10:16:24.673Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-08T10:16:24.937Z] ---> 50cb4f9b3af2 [2021-03-08T10:16:24.937Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-08T10:16:24.937Z] ---> Running in 50e3e263d699 [2021-03-08T10:16:25.199Z] Removing intermediate container 50e3e263d699 [2021-03-08T10:16:25.199Z] ---> e59ccfd8f4fd [2021-03-08T10:16:25.199Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-08T10:16:25.199Z] ---> Running in a3809560fe83 [2021-03-08T10:16:25.461Z] Removing intermediate container a3809560fe83 [2021-03-08T10:16:25.461Z] ---> 8dad9adc2742 [2021-03-08T10:16:25.461Z] Step 22/24 : LABEL arch=amd64 [2021-03-08T10:16:25.461Z] ---> Running in a50566c1f590 [2021-03-08T10:16:25.724Z] Removing intermediate container a50566c1f590 [2021-03-08T10:16:25.724Z] ---> 70cd8679f96f [2021-03-08T10:16:25.724Z] Step 23/24 : LABEL git_sha=c6939aed2e2b1cbbf6b23f724c716a1673109002 [2021-03-08T10:16:25.724Z] ---> Running in 3bf50044a0e9 [2021-03-08T10:16:25.724Z] Removing intermediate container 3bf50044a0e9 [2021-03-08T10:16:25.724Z] ---> 56907c51b6e6 [2021-03-08T10:16:25.724Z] Step 24/24 : LABEL version=0.0.0 [2021-03-08T10:16:25.987Z] ---> Running in d701093cb939 [2021-03-08T10:16:25.987Z] Removing intermediate container d701093cb939 [2021-03-08T10:16:25.987Z] ---> c22f99c265bf [2021-03-08T10:16:25.987Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-08T10:16:25.987Z] Successfully built c22f99c265bf [2021-03-08T10:16:25.987Z] 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] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-08T10:16:27.279Z] ---> job-cost.sh [2021-03-08T10:16:27.279Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Lo9I [2021-03-08T10:16:37.257Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.141s coverage: 10.5% of statements [2021-03-08T10:16:37.257Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.152s coverage: 12.5% of statements [2021-03-08T10:16:37.257Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-08T10:16:37.257Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.163s coverage: 84.8% of statements [2021-03-08T10:16:37.257Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-08T10:16:37.257Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-08T10:16:37.257Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-08T10:16:37.257Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.183s coverage: 48.2% of statements [2021-03-08T10:16:37.257Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-08T10:16:37.257Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.191s coverage: 81.3% of statements [2021-03-08T10:16:37.257Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.266s coverage: 24.8% of statements [2021-03-08T10:16:37.257Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.873s coverage: 5.9% of statements [2021-03-08T10:16:37.257Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.2% of statements [2021-03-08T10:16:37.257Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-08T10:16:37.257Z] GO111MODULE=on go vet ./... [2021-03-08T10:16:42.214Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-08T10:17:09.673Z] gofmt -l . [2021-03-08T10:17:09.948Z] [ "`gofmt -l .`" = "" ] [2021-03-08T10:17:10.224Z] ./bin/test-attribution-txt.sh [2021-03-08T10:17:11.663Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-08T10:17:11.957Z] $ docker stop --time=1 f9d4548cbfd8d9153fe098862735f1487282fbaf173d385d0c6544c078d4b959 [2021-03-08T10:17:14.284Z] $ docker rm -f f9d4548cbfd8d9153fe098862735f1487282fbaf173d385d0c6544c078d4b959 [2021-03-08T10:17:14.400Z] lf-activate-venv(): INFO: Adding /tmp/venv-Lo9I/bin to PATH [2021-03-08T10:17:14.400Z] INFO: No Stack... [2021-03-08T10:17:14.400Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-08T10:17:14.400Z] INFO: Archiving Costs [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-03-08T10:17:15.381Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-08T10:17:15.381Z] + cut -d, -f6 [2021-03-08T10:17:15.444Z] + sudo chown -R jenkins:jenkins . [Pipeline] lock [2021-03-08T10:17:15.456Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-811-2-stack-cost] [2021-03-08T10:17:15.466Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-811-2-stack-cost] did not exist. Created. [2021-03-08T10:17:15.467Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-811-2-stack-cost] [Pipeline] { [Pipeline] stash [2021-03-08T10:17:15.525Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] unstash [Pipeline] sh [2021-03-08T10:17:15.888Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-08T10:17:16.046Z] Stashed 1 file(s) [Pipeline] } [2021-03-08T10:17:16.062Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-811-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2021-03-08T10:17:16.378Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T10:17:17.389Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-08T10:17:17.717Z] + ls -al . [2021-03-08T10:17:17.717Z] total 224 [2021-03-08T10:17:17.717Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 10:17 . [2021-03-08T10:17:17.717Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 10:13 .. [2021-03-08T10:17:17.717Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 10:13 .dockerignore [2021-03-08T10:17:17.717Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 10:13 .git [2021-03-08T10:17:17.717Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 10:13 .github [2021-03-08T10:17:17.717Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 8 10:13 .gitignore [2021-03-08T10:17:17.717Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 8 10:13 Dockerfile.build [2021-03-08T10:17:17.717Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 8 10:13 Jenkinsfile [2021-03-08T10:17:17.717Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 10:13 LICENSE [2021-03-08T10:17:17.717Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 8 10:13 Makefile [2021-03-08T10:17:17.717Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 8 10:13 README.md [2021-03-08T10:17:17.717Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 8 10:13 RELEASE-NOTES.txt [2021-03-08T10:17:17.717Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 10:11 VERSION [2021-03-08T10:17:17.717Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 10:13 bin [2021-03-08T10:17:17.717Z] -rw-r--r-- 1 jenkins jenkins 104149 Mar 8 10:16 coverage.out [2021-03-08T10:17:17.717Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 10:13 example [2021-03-08T10:17:17.717Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 8 10:17 go.mod [2021-03-08T10:17:17.717Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 8 10:17 go.sum [2021-03-08T10:17:17.717Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 10:13 internal [2021-03-08T10:17:17.717Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 10:13 openapi [2021-03-08T10:17:17.717Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 10:13 pkg [2021-03-08T10:17:17.717Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 10:13 snap [2021-03-08T10:17:17.717Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 10:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-08T10:17:18.053Z] + 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=c6939aed2e2b1cbbf6b23f724c716a1673109002 --label arch=arm64 --label version=0.0.0 . [2021-03-08T10:17:18.326Z] Sending build context to Docker daemon 2.433MB [2021-03-08T10:17:18.326Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T10:17:18.326Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-08T10:17:18.599Z] ---> f63e3ed5aed0 [2021-03-08T10:17:18.599Z] Step 3/24 : ARG MAKE='make build' [2021-03-08T10:17:18.869Z] ---> Running in 0859523e7fbc [2021-03-08T10:17:19.139Z] Removing intermediate container 0859523e7fbc [2021-03-08T10:17:19.139Z] ---> 2870a574b65a [2021-03-08T10:17:19.139Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-08T10:17:19.409Z] ---> Running in 016f2dbc16c6 [2021-03-08T10:17:19.681Z] Removing intermediate container 016f2dbc16c6 [2021-03-08T10:17:19.681Z] ---> 97efe01fc499 [2021-03-08T10:17:19.681Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T10:17:19.952Z] ---> Running in c3bd840a2c9f [2021-03-08T10:17:20.221Z] Removing intermediate container c3bd840a2c9f [2021-03-08T10:17:20.221Z] ---> 91e2a987a4d4 [2021-03-08T10:17:20.221Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T10:17:20.491Z] ---> Running in 74a05ab97635 [2021-03-08T10:17:22.456Z] Removing intermediate container 74a05ab97635 [2021-03-08T10:17:22.456Z] ---> b094a39d0e4a [2021-03-08T10:17:22.456Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-08T10:17:22.731Z] ---> Running in c2341033006e [2021-03-08T10:17:23.710Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-08T10:17:24.317Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-08T10:17:25.310Z] OK: 142 MiB in 39 packages [2021-03-08T10:17:26.290Z] Removing intermediate container c2341033006e [2021-03-08T10:17:26.290Z] ---> d2d73e94bfd9 [2021-03-08T10:17:26.290Z] Step 8/24 : COPY . . [2021-03-08T10:17:27.719Z] ---> 1f4a74942e33 [2021-03-08T10:17:27.719Z] Step 9/24 : RUN ${MAKE} [2021-03-08T10:17:27.719Z] ---> Running in 6229e76814de [2021-03-08T10:17:29.152Z] CGO_ENABLED=0 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-03-08T10:17:55.942Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-08T10:17:57.373Z] Removing intermediate container 6229e76814de [2021-03-08T10:17:57.374Z] ---> e57d629cd766 [2021-03-08T10:17:57.374Z] Step 10/24 : FROM scratch [2021-03-08T10:17:57.374Z] ---> [2021-03-08T10:17:57.374Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T10:17:57.646Z] ---> Running in 3b9b60745d3f [2021-03-08T10:17:57.917Z] Removing intermediate container 3b9b60745d3f [2021-03-08T10:17:57.917Z] ---> 1518b66ccd12 [2021-03-08T10:17:57.917Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-08T10:17:58.190Z] ---> Running in a01ee3b6945d [2021-03-08T10:17:58.463Z] Removing intermediate container a01ee3b6945d [2021-03-08T10:17:58.463Z] ---> 47fb62d5a4fb [2021-03-08T10:17:58.463Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-08T10:17:58.736Z] ---> Running in 95697d0a6a7a [2021-03-08T10:17:59.008Z] Removing intermediate container 95697d0a6a7a [2021-03-08T10:17:59.009Z] ---> ac78fa05725b [2021-03-08T10:17:59.009Z] Step 14/24 : WORKDIR / [2021-03-08T10:17:59.280Z] ---> Running in 9e6a914e52be [2021-03-08T10:17:59.554Z] Removing intermediate container 9e6a914e52be [2021-03-08T10:17:59.554Z] ---> 159b1e3b1915 [2021-03-08T10:17:59.554Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-08T10:18:00.978Z] ---> 18c6eff24ebb [2021-03-08T10:18:00.978Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-08T10:18:01.574Z] ---> b7beaa6c703d [2021-03-08T10:18:01.574Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-08T10:18:02.173Z] ---> 8dd4728c142d [2021-03-08T10:18:02.173Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-08T10:18:03.150Z] ---> 2b6ae0adde6e [2021-03-08T10:18:03.150Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-08T10:18:03.744Z] ---> 029aa5a33af4 [2021-03-08T10:18:03.744Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-08T10:18:03.744Z] ---> Running in d31b6fe8365d [2021-03-08T10:18:04.341Z] Removing intermediate container d31b6fe8365d [2021-03-08T10:18:04.341Z] ---> 9e7878030d9d [2021-03-08T10:18:04.341Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-08T10:18:04.341Z] ---> Running in bbcba7b29949 [2021-03-08T10:18:04.936Z] Removing intermediate container bbcba7b29949 [2021-03-08T10:18:04.936Z] ---> 892510935c71 [2021-03-08T10:18:04.936Z] Step 22/24 : LABEL arch=arm64 [2021-03-08T10:18:05.207Z] ---> Running in 4316e3b28279 [2021-03-08T10:18:05.478Z] Removing intermediate container 4316e3b28279 [2021-03-08T10:18:05.478Z] ---> 78557d2b47df [2021-03-08T10:18:05.478Z] Step 23/24 : LABEL git_sha=c6939aed2e2b1cbbf6b23f724c716a1673109002 [2021-03-08T10:18:05.751Z] ---> Running in 34444e847d8f [2021-03-08T10:18:06.358Z] Removing intermediate container 34444e847d8f [2021-03-08T10:18:06.358Z] ---> 5fc9ade6a647 [2021-03-08T10:18:06.358Z] Step 24/24 : LABEL version=0.0.0 [2021-03-08T10:18:06.358Z] ---> Running in 87142df6ea1b [2021-03-08T10:18:07.001Z] Removing intermediate container 87142df6ea1b [2021-03-08T10:18:07.001Z] ---> 08e4c1926362 [2021-03-08T10:18:07.001Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-08T10:18:07.001Z] Successfully built 08e4c1926362 [2021-03-08T10:18:07.001Z] 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-03-08T10:18:07.792Z] ---> job-cost.sh [2021-03-08T10:18:07.792Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bdl8 [2021-03-08T10:18:46.749Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-08T10:20:53.533Z] lf-activate-venv(): INFO: Adding /tmp/venv-bdl8/bin to PATH [2021-03-08T10:20:53.533Z] INFO: No Stack... [2021-03-08T10:20:53.533Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-08T10:20:53.533Z] INFO: Archiving Costs [Pipeline] sh [2021-03-08T10:20:53.864Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-08T10:20:53.864Z] + cut -d, -f6 [Pipeline] lock [2021-03-08T10:20:53.976Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-811-2-stack-cost] [2021-03-08T10:20:53.986Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-811-2-stack-cost] did not exist. Created. [2021-03-08T10:20:53.986Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-811-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-08T10:20:54.445Z] /w/workspace/device-sdk-go/2@tmp/durable-dd67b18d/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-dd67b18d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-08T10:20:54.787Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-08T10:20:54.808Z] Warning: overwriting stash ‘stack-cost’ [2021-03-08T10:20:54.974Z] Stashed 1 file(s) [Pipeline] } [2021-03-08T10:20:55.045Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-811-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-08T10:20:56.523Z] provisioning config files... [2021-03-08T10:20:56.536Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/config2853480491699743311tmp [Pipeline] { [Pipeline] sh [2021-03-08T10:20:56.926Z] + set +x [2021-03-08T10:20:56.926Z] + curl -s https://codecov.io/bash [2021-03-08T10:20:56.926Z] + bash -s -- [2021-03-08T10:20:57.187Z] [2021-03-08T10:20:57.187Z] _____ _ [2021-03-08T10:20:57.187Z] / ____| | | [2021-03-08T10:20:57.187Z] | | ___ __| | ___ ___ _____ __ [2021-03-08T10:20:57.187Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-08T10:20:57.187Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-08T10:20:57.187Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-08T10:20:57.187Z] Bash-20210226-7100762 [2021-03-08T10:20:57.187Z] [2021-03-08T10:20:57.187Z] [2021-03-08T10:20:57.187Z] ==> git version 2.24.3 found [2021-03-08T10:20:57.187Z] ==> 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-03-08T10:20:57.187Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-08T10:20:57.187Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-08T10:20:57.187Z] ==> Jenkins CI detected. [2021-03-08T10:20:57.187Z] project root: . [2021-03-08T10:20:57.187Z] --> token set from env [2021-03-08T10:20:57.187Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-08T10:20:57.187Z] ==> Running gcov in . (disable via -X gcov) [2021-03-08T10:20:57.187Z] ==> Python coveragepy not found [2021-03-08T10:20:57.187Z] ==> Searching for coverage reports in: [2021-03-08T10:20:57.187Z] + . [2021-03-08T10:20:57.187Z] -> Found 1 reports [2021-03-08T10:20:57.187Z] ==> Detecting git/mercurial file structure [2021-03-08T10:20:57.187Z] ==> Reading reports [2021-03-08T10:20:57.187Z] + ./coverage.out bytes=104149 [2021-03-08T10:20:57.187Z] ==> Appending adjustments [2021-03-08T10:20:57.187Z] https://docs.codecov.io/docs/fixing-reports [2021-03-08T10:20:57.449Z] + Found adjustments [2021-03-08T10:20:57.712Z] ==> Gzipping contents [2021-03-08T10:20:57.712Z] 16K /tmp/codecov.2TWUPZ.gz [2021-03-08T10:20:57.712Z] ==> Uploading reports [2021-03-08T10:20:57.712Z] url: https://codecov.io [2021-03-08T10:20:57.712Z] query: branch=PR-811&commit=c6939aed2e2b1cbbf6b23f724c716a1673109002&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-811%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=811&job=&cmd_args= [2021-03-08T10:20:57.713Z] -> Pinging Codecov [2021-03-08T10:20:57.713Z] https://codecov.io/upload/v4?package=bash-20210226-7100762&token=secret&branch=PR-811&commit=c6939aed2e2b1cbbf6b23f724c716a1673109002&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-811%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=811&job=&cmd_args= [2021-03-08T10:20:57.975Z] -> Uploading to [2021-03-08T10:20:57.975Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-08/7E55EF52A471D76F132DFD9A03CDDE97/c6939aed2e2b1cbbf6b23f724c716a1673109002/7322306d-cd8f-4624-b58e-82b01e17cbf6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210308T102057Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=17a0ec3fd75d3f04d8d68c6598f78d2bdef112963b435356b977172c87cfb7ff [2021-03-08T10:20:57.975Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-08T10:20:57.975Z] Dload Upload Total Spent Left Speed [2021-03-08T10:20:58.551Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15431 0 0 100 15431 0 32076 --:--:-- --:--:-- --:--:-- 32147 [2021-03-08T10:20:58.551Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c6939aed2e2b1cbbf6b23f724c716a1673109002 [Pipeline] } [2021-03-08T10:20:58.561Z] 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-03-08T10:21:01.051Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T10:21:01.376Z] ---> package-listing.sh [2021-03-08T10:21:01.376Z] ++ facter osfamily [2021-03-08T10:21:01.376Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-08T10:21:01.376Z] + OS_FAMILY=redhat [2021-03-08T10:21:01.377Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-811 [2021-03-08T10:21:01.377Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-08T10:21:01.377Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-08T10:21:01.377Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-08T10:21:01.377Z] + PACKAGES=/tmp/packages_start.txt [2021-03-08T10:21:01.377Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-811 ']' [2021-03-08T10:21:01.377Z] + PACKAGES=/tmp/packages_end.txt [2021-03-08T10:21:01.377Z] + case "${OS_FAMILY}" in [2021-03-08T10:21:01.377Z] + rpm -qa [2021-03-08T10:21:01.377Z] + sort [2021-03-08T10:21:06.685Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-08T10:21:06.685Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-08T10:21:06.685Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-08T10:21:06.685Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-811 ']' [2021-03-08T10:21:06.685Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-811/archives/ [2021-03-08T10:21:06.685Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-811/archives/ [Pipeline] echo [2021-03-08T10:21:06.698Z] 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-811/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-08T10:21:06.987Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-08T10:21:07.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T10:21:07.297Z] [2021-03-08T10:21:07.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-08T10:21:07.649Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T10:21:07.649Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-08T10:21:07.649Z] df20fa9351a1: Pulling fs layer [2021-03-08T10:21:07.649Z] 36b3adc4ff6f: Pulling fs layer [2021-03-08T10:21:07.649Z] 8ad3a11d3b57: Pulling fs layer [2021-03-08T10:21:07.649Z] 46f8f816bc3b: Pulling fs layer [2021-03-08T10:21:07.649Z] 93b61091891f: Pulling fs layer [2021-03-08T10:21:07.649Z] 93b9cdb0e59b: Pulling fs layer [2021-03-08T10:21:07.649Z] 5e14af77c1be: Pulling fs layer [2021-03-08T10:21:07.649Z] 01666e4c0597: Pulling fs layer [2021-03-08T10:21:07.649Z] aa168da1d23b: Pulling fs layer [2021-03-08T10:21:07.649Z] 01666e4c0597: Waiting [2021-03-08T10:21:07.649Z] 93b9cdb0e59b: Waiting [2021-03-08T10:21:07.649Z] 5e14af77c1be: Waiting [2021-03-08T10:21:07.649Z] 93b61091891f: Waiting [2021-03-08T10:21:07.649Z] aa168da1d23b: Waiting [2021-03-08T10:21:07.649Z] 46f8f816bc3b: Waiting [2021-03-08T10:21:07.649Z] 36b3adc4ff6f: Verifying Checksum [2021-03-08T10:21:07.649Z] 36b3adc4ff6f: Download complete [2021-03-08T10:21:07.911Z] 46f8f816bc3b: Verifying Checksum [2021-03-08T10:21:07.911Z] 46f8f816bc3b: Download complete [2021-03-08T10:21:07.911Z] df20fa9351a1: Verifying Checksum [2021-03-08T10:21:07.911Z] df20fa9351a1: Download complete [2021-03-08T10:21:07.911Z] 93b9cdb0e59b: Verifying Checksum [2021-03-08T10:21:07.911Z] 93b9cdb0e59b: Download complete [2021-03-08T10:21:07.911Z] 5e14af77c1be: Verifying Checksum [2021-03-08T10:21:07.911Z] 5e14af77c1be: Download complete [2021-03-08T10:21:07.911Z] 93b61091891f: Download complete [2021-03-08T10:21:07.911Z] 01666e4c0597: Verifying Checksum [2021-03-08T10:21:07.911Z] 01666e4c0597: Download complete [2021-03-08T10:21:08.175Z] df20fa9351a1: Pull complete [2021-03-08T10:21:08.437Z] 36b3adc4ff6f: Pull complete [2021-03-08T10:21:09.018Z] 8ad3a11d3b57: Verifying Checksum [2021-03-08T10:21:09.018Z] 8ad3a11d3b57: Download complete [2021-03-08T10:21:09.974Z] 8ad3a11d3b57: Pull complete [2021-03-08T10:21:10.243Z] 46f8f816bc3b: Pull complete [2021-03-08T10:21:10.510Z] aa168da1d23b: Verifying Checksum [2021-03-08T10:21:10.510Z] aa168da1d23b: Download complete [2021-03-08T10:21:10.780Z] 93b61091891f: Pull complete [2021-03-08T10:21:11.043Z] 93b9cdb0e59b: Pull complete [2021-03-08T10:21:11.043Z] 5e14af77c1be: Pull complete [2021-03-08T10:21:11.306Z] 01666e4c0597: Pull complete [2021-03-08T10:21:17.933Z] aa168da1d23b: Pull complete [2021-03-08T10:21:17.933Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-08T10:21:17.933Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T10:21:17.933Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-08T10:21:18.091Z] prd-centos7-docker-4c-2g-28976 does not seem to be running inside a container [2021-03-08T10:21:18.135Z] $ 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-811/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-811 -v /w/workspace/dgexfoundry_device-sdk-go_PR-811:/w/workspace/dgexfoundry_device-sdk-go_PR-811:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-08T10:21:21.966Z] $ docker top b7648eb4a0837048341fc4dc8a15ec231f1113dc01d2081907576bacad1239ee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T10:21:22.498Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-08T10:21:22.798Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-08T10:21:23.097Z] + ls /var/log/sa-host [2021-03-08T10:21:23.097Z] + sadf -c /var/log/sa-host/sa08 [2021-03-08T10:21:23.097Z] file_magic: OK [2021-03-08T10:21:23.097Z] HZ: Using current value: 100 [2021-03-08T10:21:23.097Z] file_header: OK [2021-03-08T10:21:23.097Z] 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-03-08T10:21:23.097Z] Statistics: [2021-03-08T10:21:23.097Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-08T10:21:23.097Z] File successfully converted to sysstat format version 12.2.1 [2021-03-08T10:21:23.097Z] + sadf -c /var/log/sa-host/sa23 [2021-03-08T10:21:23.097Z] file_magic: OK [2021-03-08T10:21:23.097Z] HZ: Using current value: 100 [2021-03-08T10:21:23.097Z] file_header: OK [2021-03-08T10:21:23.097Z] 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-03-08T10:21:23.097Z] Statistics: [2021-03-08T10:21:23.097Z] Hnuu...uuuununununu... [2021-03-08T10:21:23.097Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-08T10:21:23.792Z] provisioning config files... [2021-03-08T10:21:23.811Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/config3533504185542093281tmp [Pipeline] { [Pipeline] echo [2021-03-08T10:21:23.905Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T10:21:24.213Z] ---> create-netrc.sh [Pipeline] } [2021-03-08T10:21:24.223Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-08T10:21:24.323Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T10:21:24.619Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-08T10:21:24.631Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T10:21:24.937Z] ---> sudo-logs.sh [2021-03-08T10:21:24.937Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-08T10:21:25.002Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T10:21:25.304Z] ---> job-cost.sh [2021-03-08T10:21:25.304Z] lf-activate-venv: SKIPPING [2021-03-08T10:21:25.304Z] DEBUG: total: 0.20999999344348907 [2021-03-08T10:21:25.304Z] INFO: Retrieving Stack Cost... [2021-03-08T10:21:26.252Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-08T10:21:26.833Z] INFO: Archiving Costs [Pipeline] echo [2021-03-08T10:21:26.849Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T10:21:27.151Z] ---> logs-deploy.sh [2021-03-08T10:21:27.151Z] lf-activate-venv: SKIPPING [2021-03-08T10:21:27.151Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-811/2 [2021-03-08T10:21:27.151Z] INFO: archiving workspace using pattern(s): [2021-03-08T10:21:29.067Z] Archives upload complete. [2021-03-08T10:21:29.067Z] INFO: archiving logs to Nexus