Pull request #816 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 rather than 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 Obtained Jenkinsfile from 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29781 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [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-816 # 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/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 Merge succeeded, producing 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 Checking out Revision 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 (PR-816) > git config core.sparsecheckout # timeout=10 > git checkout -f 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 # 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 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 # timeout=10 Commit message: "refactor: Update example device config and api doc" > git rev-list --no-walk ee37646d93806932af97a1dbec2aa3ea91e5802d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-15T05:39:26.533Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-15T05:39:26.848Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-15T05:39:26.954Z] ========================================================= [2021-03-15T05:39:26.954Z] EdgeX Global Pipelines Version Info [2021-03-15T05:39:26.954Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:39:28.836Z] ------------------- [2021-03-15T05:39:28.836Z] stable info: [2021-03-15T05:39:28.836Z] ------------------- [2021-03-15T05:39:28.836Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-15T05:39:28.836Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-15T05:39:28.836Z] Message: update stable to v1.0.184 [2021-03-15T05:39:29.790Z] ------------------- [2021-03-15T05:39:29.790Z] experimental info: [2021-03-15T05:39:29.790Z] ------------------- [2021-03-15T05:39:29.790Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-15T05:39:29.790Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-15T05:39:29.790Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-15T05:39:30.131Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-15T05:39:30.298Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-15T05:39:30.400Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-15T05:39:30.499Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-15T05:39:30.594Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-15T05:39:30.742Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-15T05:39:30.851Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-15T05:39:30.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-15T05:39:31.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-15T05:39:31.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-15T05:39:31.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-15T05:39:31.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-15T05:39:31.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-15T05:39:31.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-15T05:39:31.661Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-15T05:39:31.757Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T05:39:31.853Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T05:39:31.944Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T05:39:32.040Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-15T05:39:32.151Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-15T05:39:32.240Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-15T05:39:32.339Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-15T05:39:32.433Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-15T05:39:32.523Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-15T05:39:32.610Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-15T05:39:32.782Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-15T05:39:32.873Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-816 [Pipeline] echo [2021-03-15T05:39:32.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-816 [Pipeline] echo [2021-03-15T05:39:33.101Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-816 [Pipeline] echo [2021-03-15T05:39:33.205Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 [Pipeline] echo [2021-03-15T05:39:33.295Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2880e22 [Pipeline] echo [2021-03-15T05:39:33.384Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T05:39:33.555Z] provisioning config files... [2021-03-15T05:39:33.584Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config1654690878612729483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:39:33.938Z] ---> docker-login.sh [2021-03-15T05:39:33.938Z] nexus3.edgexfoundry.org:10001 [2021-03-15T05:39:34.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:39:34.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:39:34.462Z] Configure a credential helper to remove this warning. See [2021-03-15T05:39:34.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:39:34.462Z] [2021-03-15T05:39:34.462Z] Login Succeeded [2021-03-15T05:39:34.462Z] nexus3.edgexfoundry.org:10002 [2021-03-15T05:39:34.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:39:34.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:39:34.462Z] Configure a credential helper to remove this warning. See [2021-03-15T05:39:34.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:39:34.462Z] [2021-03-15T05:39:34.462Z] Login Succeeded [2021-03-15T05:39:34.462Z] nexus3.edgexfoundry.org:10003 [2021-03-15T05:39:34.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:39:34.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:39:34.724Z] Configure a credential helper to remove this warning. See [2021-03-15T05:39:34.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:39:34.724Z] [2021-03-15T05:39:34.724Z] Login Succeeded [2021-03-15T05:39:34.724Z] nexus3.edgexfoundry.org:10004 [2021-03-15T05:39:34.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:39:34.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:39:34.986Z] Configure a credential helper to remove this warning. See [2021-03-15T05:39:34.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:39:34.986Z] [2021-03-15T05:39:34.986Z] Login Succeeded [2021-03-15T05:39:34.986Z] docker.io [2021-03-15T05:39:34.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:39:35.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:39:35.248Z] Configure a credential helper to remove this warning. See [2021-03-15T05:39:35.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:39:35.248Z] [2021-03-15T05:39:35.248Z] Login Succeeded [2021-03-15T05:39:35.248Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T05:39:35.258Z] 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-15T05:39:36.120Z] + git log --format=format:%s -1 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 [Pipeline] echo [2021-03-15T05:39:36.184Z] GIT_COMMIT: 2880e2238917e15b05fdefa4b92a9c92cf8f3af9, Commit Message: refactor: Update example device config and api doc [Pipeline] echo [2021-03-15T05:39:36.236Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:39:37.354Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T05:39:37.354Z] [2021-03-15T05:39:37.354Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:39:37.717Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T05:39:37.717Z] latest: Pulling from edgex-devops/git-semver [2021-03-15T05:39:37.717Z] 31603596830f: Pulling fs layer [2021-03-15T05:39:37.717Z] 2a8b12db71e7: Pulling fs layer [2021-03-15T05:39:37.717Z] 6ca5941a6612: Pulling fs layer [2021-03-15T05:39:37.717Z] ecc8261a40a4: Pulling fs layer [2021-03-15T05:39:37.717Z] ecc8261a40a4: Waiting [2021-03-15T05:39:37.717Z] 2a8b12db71e7: Verifying Checksum [2021-03-15T05:39:37.717Z] 2a8b12db71e7: Download complete [2021-03-15T05:39:37.979Z] 31603596830f: Verifying Checksum [2021-03-15T05:39:37.979Z] 31603596830f: Download complete [2021-03-15T05:39:37.979Z] ecc8261a40a4: Verifying Checksum [2021-03-15T05:39:37.979Z] ecc8261a40a4: Download complete [2021-03-15T05:39:37.979Z] 6ca5941a6612: Verifying Checksum [2021-03-15T05:39:37.979Z] 6ca5941a6612: Download complete [2021-03-15T05:39:38.240Z] 31603596830f: Pull complete [2021-03-15T05:39:38.503Z] 2a8b12db71e7: Pull complete [2021-03-15T05:39:39.088Z] 6ca5941a6612: Pull complete [2021-03-15T05:39:39.352Z] ecc8261a40a4: Pull complete [2021-03-15T05:39:39.352Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-15T05:39:39.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T05:39:39.352Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-15T05:39:39.459Z] prd-centos7-docker-4c-2g-29781 does not seem to be running inside a container [2021-03-15T05:39:39.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-816 -v /w/workspace/dgexfoundry_device-sdk-go_PR-816:/w/workspace/dgexfoundry_device-sdk-go_PR-816:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-15T05:39:41.839Z] $ docker top 21f0a4a5bd4d3f469ec45605db10186a93f69ea7e4d17166a72dbb49dca2d73f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-15T05:39:42.143Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T05:39:42.143Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T05:39:42.369Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T05:39:42.373Z] $ docker exec 21f0a4a5bd4d3f469ec45605db10186a93f69ea7e4d17166a72dbb49dca2d73f ssh-agent [2021-03-15T05:39:42.545Z] SSH_AUTH_SOCK=/tmp/ssh-O0LcVM5w5NGs/agent.12 [2021-03-15T05:39:42.545Z] SSH_AGENT_PID=17 [2021-03-15T05:39:42.557Z] Running ssh-add (command line suppressed) [2021-03-15T05:39:42.691Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_7681305165287653735.key (/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_7681305165287653735.key) [2021-03-15T05:39:42.740Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T05:39:43.097Z] + git tag --points-at HEAD [Pipeline] } [2021-03-15T05:39:43.117Z] $ docker exec --env ******** --env ******** 21f0a4a5bd4d3f469ec45605db10186a93f69ea7e4d17166a72dbb49dca2d73f ssh-agent -k [2021-03-15T05:39:43.229Z] unset SSH_AUTH_SOCK; [2021-03-15T05:39:43.229Z] unset SSH_AGENT_PID; [2021-03-15T05:39:43.230Z] echo Agent pid 17 killed; [2021-03-15T05:39:43.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-15T05:39:43.425Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T05:39:43.425Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T05:39:43.591Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T05:39:43.595Z] $ docker exec 21f0a4a5bd4d3f469ec45605db10186a93f69ea7e4d17166a72dbb49dca2d73f ssh-agent [2021-03-15T05:39:43.754Z] SSH_AUTH_SOCK=/tmp/ssh-fC1w1JB3GYC1/agent.45 [2021-03-15T05:39:43.754Z] SSH_AGENT_PID=51 [2021-03-15T05:39:43.762Z] Running ssh-add (command line suppressed) [2021-03-15T05:39:43.885Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_2353883140996078500.key (/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_2353883140996078500.key) [2021-03-15T05:39:43.939Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T05:39:44.274Z] + git semver init [2021-03-15T05:39:44.275Z] # -> Open(): unable to determine branch for HEAD [2021-03-15T05:39:44.275Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-816/.git [2021-03-15T05:39:44.275Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-816 [2021-03-15T05:39:44.275Z] # $SEMVER_REMOTE_NAME = origin [2021-03-15T05:39:44.275Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-15T05:39:44.275Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-15T05:39:44.275Z] # $SEMVER_BRANCH = PR-816 [2021-03-15T05:39:44.275Z] # $SEMVER_TEMP = /tmp/semver-993582948 [2021-03-15T05:39:44.275Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-15T05:39:44.847Z] # '/tmp/semver-993582948' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-816/.semver' [2021-03-15T05:39:44.847Z] # -> Force: false [2021-03-15T05:39:44.847Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-816/.semver [Pipeline] } [2021-03-15T05:39:44.859Z] $ docker exec --env ******** --env ******** 21f0a4a5bd4d3f469ec45605db10186a93f69ea7e4d17166a72dbb49dca2d73f ssh-agent -k [2021-03-15T05:39:44.969Z] unset SSH_AUTH_SOCK; [2021-03-15T05:39:44.969Z] unset SSH_AGENT_PID; [2021-03-15T05:39:44.969Z] echo Agent pid 51 killed; [2021-03-15T05:39:45.014Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-15T05:39:45.484Z] + git semver [Pipeline] } [2021-03-15T05:39:45.502Z] $ docker stop --time=1 21f0a4a5bd4d3f469ec45605db10186a93f69ea7e4d17166a72dbb49dca2d73f [2021-03-15T05:39:46.898Z] $ docker rm -f 21f0a4a5bd4d3f469ec45605db10186a93f69ea7e4d17166a72dbb49dca2d73f [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-15T05:39:47.369Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-15T05:39:47.769Z] Stashed 1 file(s) [Pipeline] echo [2021-03-15T05:39:47.772Z] [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-15T05:40:03.386Z] Still waiting to schedule task [2021-03-15T05:40:03.386Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-15T05:40:03.389Z] Still waiting to schedule task [2021-03-15T05:40:03.389Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-15T05:41:22.224Z] Running on prd-centos7-docker-4c-2g-29783 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [Pipeline] { [Pipeline] ws [2021-03-15T05:41:22.281Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-03-15T05:41:24.645Z] using credential edgex-jenkins-ssh [2021-03-15T05:41:24.706Z] Cloning the remote Git repository [2021-03-15T05:41:24.638Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T05:41:24.725Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-03-15T05:41:24.790Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T05:41:24.790Z] > git --version # timeout=10 [2021-03-15T05:41:24.796Z] > git --version # 'git version 2.24.3' [2021-03-15T05:41:24.797Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T05:41:24.825Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T05:41:25.536Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T05:41:25.542Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T05:41:25.555Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T05:41:25.570Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T05:41:25.570Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T05:41:25.575Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-15T05:41:26.082Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 [2021-03-15T05:41:26.178Z] Merge succeeded, producing 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 [2021-03-15T05:41:26.178Z] Checking out Revision 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 (PR-816) [2021-03-15T05:41:26.090Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T05:41:26.095Z] > git checkout -f 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 # timeout=10 [2021-03-15T05:41:26.140Z] > git remote # timeout=10 [2021-03-15T05:41:26.145Z] > git config --get remote.origin.url # timeout=10 [2021-03-15T05:41:26.151Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T05:41:26.155Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-15T05:41:26.165Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-15T05:41:26.181Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T05:41:26.187Z] > git checkout -f 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 # timeout=10 [2021-03-15T05:41:29.860Z] Commit message: "refactor: Update example device config and api doc" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T05:41:31.246Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-15T05:41:31.584Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-15T05:41:31.886Z] + true [2021-03-15T05:41:31.886Z] + sudo service docker restart [2021-03-15T05:41:31.886Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T05:41:32.908Z] provisioning config files... [2021-03-15T05:41:32.935Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config10016665763088966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:41:33.351Z] ---> docker-login.sh [2021-03-15T05:41:33.351Z] nexus3.edgexfoundry.org:10001 [2021-03-15T05:41:33.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:41:33.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:41:33.614Z] Configure a credential helper to remove this warning. See [2021-03-15T05:41:33.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:41:33.614Z] [2021-03-15T05:41:33.614Z] Login Succeeded [2021-03-15T05:41:33.614Z] nexus3.edgexfoundry.org:10002 [2021-03-15T05:41:33.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:41:33.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:41:33.877Z] Configure a credential helper to remove this warning. See [2021-03-15T05:41:33.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:41:33.877Z] [2021-03-15T05:41:33.877Z] Login Succeeded [2021-03-15T05:41:33.877Z] nexus3.edgexfoundry.org:10003 [2021-03-15T05:41:33.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:41:34.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:41:34.141Z] Configure a credential helper to remove this warning. See [2021-03-15T05:41:34.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:41:34.141Z] [2021-03-15T05:41:34.141Z] Login Succeeded [2021-03-15T05:41:34.141Z] nexus3.edgexfoundry.org:10004 [2021-03-15T05:41:34.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:41:34.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:41:34.141Z] Configure a credential helper to remove this warning. See [2021-03-15T05:41:34.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:41:34.141Z] [2021-03-15T05:41:34.141Z] Login Succeeded [2021-03-15T05:41:34.141Z] docker.io [2021-03-15T05:41:34.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:41:34.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:41:34.667Z] Configure a credential helper to remove this warning. See [2021-03-15T05:41:34.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:41:34.667Z] [2021-03-15T05:41:34.667Z] Login Succeeded [2021-03-15T05:41:34.667Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T05:41:34.678Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-15T05:41:35.038Z] ========================================================= [2021-03-15T05:41:35.038Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-15T05:41:35.038Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:41:35.388Z] + 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-15T05:41:35.388Z] Sending build context to Docker daemon 2.346MB [2021-03-15T05:41:35.388Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T05:41:35.388Z] Step 2/8 : FROM ${BASE} [2021-03-15T05:41:35.652Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-15T05:41:35.652Z] 188c0c94c7c5: Pulling fs layer [2021-03-15T05:41:35.652Z] 0ef7d3d256c8: Pulling fs layer [2021-03-15T05:41:35.652Z] de9db76c5a1d: Pulling fs layer [2021-03-15T05:41:35.652Z] bca2f99d35d6: Pulling fs layer [2021-03-15T05:41:35.652Z] 93359f2a8cfa: Pulling fs layer [2021-03-15T05:41:35.652Z] 7c6f9722023f: Pulling fs layer [2021-03-15T05:41:35.652Z] a35cf1a2eb13: Pulling fs layer [2021-03-15T05:41:35.652Z] bca2f99d35d6: Waiting [2021-03-15T05:41:35.652Z] 7c6f9722023f: Waiting [2021-03-15T05:41:35.652Z] a35cf1a2eb13: Waiting [2021-03-15T05:41:35.652Z] 93359f2a8cfa: Waiting [2021-03-15T05:41:35.652Z] de9db76c5a1d: Verifying Checksum [2021-03-15T05:41:35.652Z] de9db76c5a1d: Download complete [2021-03-15T05:41:35.652Z] 0ef7d3d256c8: Download complete [2021-03-15T05:41:35.652Z] 93359f2a8cfa: Verifying Checksum [2021-03-15T05:41:35.652Z] 93359f2a8cfa: Download complete [2021-03-15T05:41:35.652Z] 188c0c94c7c5: Verifying Checksum [2021-03-15T05:41:35.652Z] 188c0c94c7c5: Download complete [2021-03-15T05:41:35.652Z] 7c6f9722023f: Verifying Checksum [2021-03-15T05:41:35.652Z] 7c6f9722023f: Download complete [2021-03-15T05:41:35.915Z] 188c0c94c7c5: Pull complete [2021-03-15T05:41:36.179Z] 0ef7d3d256c8: Pull complete [2021-03-15T05:41:36.179Z] de9db76c5a1d: Pull complete [2021-03-15T05:41:38.764Z] a35cf1a2eb13: Verifying Checksum [2021-03-15T05:41:38.764Z] a35cf1a2eb13: Download complete [2021-03-15T05:41:39.026Z] bca2f99d35d6: Verifying Checksum [2021-03-15T05:41:39.026Z] bca2f99d35d6: Download complete [2021-03-15T05:41:44.365Z] bca2f99d35d6: Pull complete [2021-03-15T05:41:44.365Z] 93359f2a8cfa: Pull complete [2021-03-15T05:41:44.631Z] 7c6f9722023f: Pull complete [2021-03-15T05:41:52.813Z] a35cf1a2eb13: Pull complete [2021-03-15T05:41:52.813Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-15T05:41:52.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-15T05:41:52.813Z] ---> a62c8e92a672 [2021-03-15T05:41:52.813Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T05:41:52.813Z] ---> Running in ef16fdfa4b47 [2021-03-15T05:41:52.813Z] Removing intermediate container ef16fdfa4b47 [2021-03-15T05:41:52.813Z] ---> 24bc28d99935 [2021-03-15T05:41:52.813Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T05:41:52.813Z] ---> Running in 80bfa3846e97 [2021-03-15T05:41:53.079Z] Removing intermediate container 80bfa3846e97 [2021-03-15T05:41:53.079Z] ---> a57b28249b7b [2021-03-15T05:41:53.079Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-15T05:41:53.079Z] ---> Running in 8c544fa3844d [2021-03-15T05:41:54.027Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-15T05:41:54.206Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29782 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [Pipeline] { [Pipeline] ws [2021-03-15T05:41:54.280Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-03-15T05:41:54.601Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-15T05:41:54.870Z] OK: 166 MiB in 39 packages [2021-03-15T05:41:55.442Z] Removing intermediate container 8c544fa3844d [2021-03-15T05:41:55.442Z] ---> 6e351741b97d [2021-03-15T05:41:55.442Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-15T05:41:55.442Z] ---> Running in 5ceb33ae0c80 [2021-03-15T05:41:55.704Z] Removing intermediate container 5ceb33ae0c80 [2021-03-15T05:41:55.704Z] ---> c116eb1f618b [2021-03-15T05:41:55.704Z] Step 7/8 : COPY . . [2021-03-15T05:41:56.660Z] ---> ae6429427392 [2021-03-15T05:41:56.660Z] Step 8/8 : RUN go mod download [2021-03-15T05:41:56.925Z] ---> Running in 4427b18bf794 [2021-03-15T05:41:59.552Z] using credential edgex-jenkins-ssh [2021-03-15T05:41:59.638Z] Cloning the remote Git repository [2021-03-15T05:41:59.686Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T05:41:59.799Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-03-15T05:41:59.875Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T05:41:59.876Z] > git --version # timeout=10 [2021-03-15T05:41:59.902Z] > git --version # 'git version 2.17.1' [2021-03-15T05:41:59.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T05:41:59.948Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T05:42:01.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T05:42:01.092Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T05:42:01.124Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T05:42:01.175Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T05:42:01.176Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T05:42:01.193Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-15T05:42:02.123Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 [2021-03-15T05:42:02.462Z] Merge succeeded, producing 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 [2021-03-15T05:42:02.463Z] Checking out Revision 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 (PR-816) [2021-03-15T05:42:02.140Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T05:42:02.164Z] > git checkout -f 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 # timeout=10 [2021-03-15T05:42:02.278Z] > git remote # timeout=10 [2021-03-15T05:42:02.298Z] > git config --get remote.origin.url # timeout=10 [2021-03-15T05:42:02.367Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T05:42:02.387Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-15T05:42:02.423Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-15T05:42:02.457Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T05:42:02.494Z] > git checkout -f 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 # timeout=10 [2021-03-15T05:42:06.827Z] Commit message: "refactor: Update example device config and api doc" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T05:42:08.230Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-15T05:42:08.652Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-15T05:42:09.039Z] + + true [2021-03-15T05:42:09.039Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T05:42:11.741Z] provisioning config files... [2021-03-15T05:42:11.776Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config1620962135908934304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:42:12.260Z] ---> docker-login.sh [2021-03-15T05:42:12.260Z] nexus3.edgexfoundry.org:10001 [2021-03-15T05:42:12.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:42:13.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:42:13.471Z] Configure a credential helper to remove this warning. See [2021-03-15T05:42:13.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:42:13.471Z] [2021-03-15T05:42:13.471Z] Login Succeeded [2021-03-15T05:42:13.471Z] nexus3.edgexfoundry.org:10002 [2021-03-15T05:42:13.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:42:14.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:42:14.022Z] Configure a credential helper to remove this warning. See [2021-03-15T05:42:14.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:42:14.022Z] [2021-03-15T05:42:14.022Z] Login Succeeded [2021-03-15T05:42:14.022Z] nexus3.edgexfoundry.org:10003 [2021-03-15T05:42:14.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:42:14.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:42:14.566Z] Configure a credential helper to remove this warning. See [2021-03-15T05:42:14.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:42:14.566Z] [2021-03-15T05:42:14.566Z] Login Succeeded [2021-03-15T05:42:14.566Z] nexus3.edgexfoundry.org:10004 [2021-03-15T05:42:14.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:42:14.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:42:14.841Z] Configure a credential helper to remove this warning. See [2021-03-15T05:42:14.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:42:14.841Z] [2021-03-15T05:42:14.841Z] Login Succeeded [2021-03-15T05:42:14.841Z] docker.io [2021-03-15T05:42:15.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:42:15.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:42:15.719Z] Configure a credential helper to remove this warning. See [2021-03-15T05:42:15.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:42:15.719Z] [2021-03-15T05:42:15.719Z] Login Succeeded [2021-03-15T05:42:15.719Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T05:42:15.737Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-15T05:42:16.144Z] ========================================================= [2021-03-15T05:42:16.144Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-15T05:42:16.144Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:42:16.523Z] + 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-15T05:42:17.141Z] Sending build context to Docker daemon 2.345MB [2021-03-15T05:42:17.141Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T05:42:17.141Z] Step 2/8 : FROM ${BASE} [2021-03-15T05:42:17.141Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-15T05:42:17.141Z] 5f621e34cdf4: Pulling fs layer [2021-03-15T05:42:17.141Z] a4357932f1b6: Pulling fs layer [2021-03-15T05:42:17.141Z] 18c013af1878: Pulling fs layer [2021-03-15T05:42:17.141Z] 00ac8860ef70: Pulling fs layer [2021-03-15T05:42:17.141Z] 63d7cb157983: Pulling fs layer [2021-03-15T05:42:17.141Z] b116817d02f9: Pulling fs layer [2021-03-15T05:42:17.141Z] 745a02a5169b: Pulling fs layer [2021-03-15T05:42:17.141Z] 00ac8860ef70: Waiting [2021-03-15T05:42:17.141Z] 63d7cb157983: Waiting [2021-03-15T05:42:17.141Z] 745a02a5169b: Waiting [2021-03-15T05:42:17.141Z] b116817d02f9: Waiting [2021-03-15T05:42:17.141Z] 18c013af1878: Verifying Checksum [2021-03-15T05:42:17.141Z] 18c013af1878: Download complete [2021-03-15T05:42:17.141Z] a4357932f1b6: Verifying Checksum [2021-03-15T05:42:17.141Z] a4357932f1b6: Download complete [2021-03-15T05:42:17.141Z] 63d7cb157983: Verifying Checksum [2021-03-15T05:42:17.141Z] 63d7cb157983: Download complete [2021-03-15T05:42:17.141Z] b116817d02f9: Verifying Checksum [2021-03-15T05:42:17.141Z] b116817d02f9: Download complete [2021-03-15T05:42:17.141Z] 5f621e34cdf4: Verifying Checksum [2021-03-15T05:42:17.141Z] 5f621e34cdf4: Download complete [2021-03-15T05:42:18.126Z] 5f621e34cdf4: Pull complete [2021-03-15T05:42:18.402Z] a4357932f1b6: Pull complete [2021-03-15T05:42:18.957Z] Removing intermediate container 4427b18bf794 [2021-03-15T05:42:18.957Z] ---> c2f6fb18ae76 [2021-03-15T05:42:18.957Z] Successfully built c2f6fb18ae76 [2021-03-15T05:42:18.957Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:42:19.014Z] 18c013af1878: Pull complete [2021-03-15T05:42:19.268Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-15T05:42:19.268Z] . [Pipeline] withDockerContainer [2021-03-15T05:42:19.291Z] 745a02a5169b: Verifying Checksum [2021-03-15T05:42:19.291Z] 745a02a5169b: Download complete [2021-03-15T05:42:19.487Z] prd-centos7-docker-4c-2g-29783 does not seem to be running inside a container [2021-03-15T05:42:19.572Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-15T05:42:20.208Z] $ docker top 1a34f9ecf8b2d0c542ad92afaffc0251a015ca63d38ecff94ec4cb2bcfbfea0a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T05:42:20.727Z] 00ac8860ef70: Verifying Checksum [2021-03-15T05:42:20.728Z] 00ac8860ef70: Download complete [2021-03-15T05:42:20.759Z] + go version [2021-03-15T05:42:20.759Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-15T05:42:20.773Z] $ docker stop --time=1 1a34f9ecf8b2d0c542ad92afaffc0251a015ca63d38ecff94ec4cb2bcfbfea0a [2021-03-15T05:42:22.803Z] $ docker rm -f 1a34f9ecf8b2d0c542ad92afaffc0251a015ca63d38ecff94ec4cb2bcfbfea0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:42:23.629Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-15T05:42:23.629Z] . [Pipeline] withDockerContainer [2021-03-15T05:42:23.724Z] prd-centos7-docker-4c-2g-29783 does not seem to be running inside a container [2021-03-15T05:42:23.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-15T05:42:24.409Z] $ docker top e3b906c4211695a943130bcdfaca5b6be2c5f98d5756e4fedacde8fb4617a7e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T05:42:24.936Z] + make test [2021-03-15T05:42:24.936Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-15T05:42:30.882Z] 00ac8860ef70: Pull complete [2021-03-15T05:42:30.882Z] 63d7cb157983: Pull complete [2021-03-15T05:42:30.882Z] b116817d02f9: Pull complete [2021-03-15T05:42:33.146Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-15T05:42:34.278Z] 745a02a5169b: Pull complete [2021-03-15T05:42:34.278Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-15T05:42:34.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-15T05:42:34.278Z] ---> b7e6874047d6 [2021-03-15T05:42:34.278Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T05:42:36.899Z] ---> Running in 42229dda9982 [2021-03-15T05:42:37.500Z] Removing intermediate container 42229dda9982 [2021-03-15T05:42:37.500Z] ---> ab370622a436 [2021-03-15T05:42:37.500Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T05:42:37.500Z] ---> Running in 5e35f0c629b7 [2021-03-15T05:42:40.127Z] Removing intermediate container 5e35f0c629b7 [2021-03-15T05:42:40.127Z] ---> 09a3b3f426c8 [2021-03-15T05:42:40.127Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-15T05:42:40.127Z] ---> Running in f5e70a5c97ac [2021-03-15T05:42:41.113Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-15T05:42:41.708Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-15T05:42:42.305Z] OK: 142 MiB in 39 packages [2021-03-15T05:42:43.285Z] Removing intermediate container f5e70a5c97ac [2021-03-15T05:42:43.286Z] ---> 04d73d46930e [2021-03-15T05:42:43.286Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-15T05:42:43.559Z] ---> Running in 9ae8a2a5efea [2021-03-15T05:42:44.155Z] Removing intermediate container 9ae8a2a5efea [2021-03-15T05:42:44.155Z] ---> 45fe2a6eb92f [2021-03-15T05:42:44.155Z] Step 7/8 : COPY . . [2021-03-15T05:42:45.590Z] ---> 74582047b919 [2021-03-15T05:42:45.590Z] Step 8/8 : RUN go mod download [2021-03-15T05:42:45.590Z] ---> Running in d5e3ab55c453 [2021-03-15T05:42:48.231Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-15T05:42:48.231Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-15T05:42:48.232Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-15T05:42:49.198Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 25.5% of statements [2021-03-15T05:43:12.368Z] Removing intermediate container d5e3ab55c453 [2021-03-15T05:43:12.368Z] ---> 2274a3275e06 [2021-03-15T05:43:12.368Z] Successfully built 2274a3275e06 [2021-03-15T05:43:12.368Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:43:12.720Z] + docker inspect -f . ci-base-image-arm64 [2021-03-15T05:43:12.720Z] . [Pipeline] withDockerContainer [2021-03-15T05:43:12.981Z] prd-ubuntu18.04-docker-arm64-4c-16g-29782 does not seem to be running inside a container [2021-03-15T05:43:13.079Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-15T05:43:14.517Z] $ docker top 4dedd695fd9d85f94347184bb3db6cb5a7244452eb2f6a9a21de6ce1ac272cdd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T05:43:15.569Z] + go version [2021-03-15T05:43:15.569Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-15T05:43:15.597Z] $ docker stop --time=1 4dedd695fd9d85f94347184bb3db6cb5a7244452eb2f6a9a21de6ce1ac272cdd [2021-03-15T05:43:17.486Z] $ docker rm -f 4dedd695fd9d85f94347184bb3db6cb5a7244452eb2f6a9a21de6ce1ac272cdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:43:18.536Z] + docker inspect -f . ci-base-image-arm64 [2021-03-15T05:43:18.536Z] . [Pipeline] withDockerContainer [2021-03-15T05:43:18.759Z] prd-ubuntu18.04-docker-arm64-4c-16g-29782 does not seem to be running inside a container [2021-03-15T05:43:18.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-15T05:43:20.299Z] $ docker top 965d008625b931e38bdd839d6f96bbf66192dd9ed9858b4f00a1118c38757980 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T05:43:21.324Z] + make test [2021-03-15T05:43:21.325Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-15T05:43:21.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.063s coverage: 10.5% of statements [2021-03-15T05:43:21.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.056s coverage: 12.5% of statements [2021-03-15T05:43:21.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-15T05:43:21.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.059s coverage: 84.8% of statements [2021-03-15T05:43:21.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-15T05:43:21.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-15T05:43:21.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-15T05:43:21.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 47.6% of statements [2021-03-15T05:43:21.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-15T05:43:21.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.070s coverage: 81.2% of statements [2021-03-15T05:43:21.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.074s coverage: 24.8% of statements [2021-03-15T05:43:21.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.133s coverage: 6.4% of statements [2021-03-15T05:43:21.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 5.2% of statements [2021-03-15T05:43:21.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-15T05:43:21.386Z] GO111MODULE=on go vet ./... [2021-03-15T05:43:31.528Z] gofmt -l . [2021-03-15T05:43:31.529Z] [ "`gofmt -l .`" = "" ] [2021-03-15T05:43:31.529Z] ./bin/test-attribution-txt.sh [2021-03-15T05:43:31.529Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-15T05:43:31.545Z] $ docker stop --time=1 e3b906c4211695a943130bcdfaca5b6be2c5f98d5756e4fedacde8fb4617a7e6 [2021-03-15T05:43:33.572Z] $ docker rm -f e3b906c4211695a943130bcdfaca5b6be2c5f98d5756e4fedacde8fb4617a7e6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-15T05:43:34.246Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-15T05:43:34.639Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-15T05:43:36.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-15T05:43:37.034Z] + ls -al . [2021-03-15T05:43:37.034Z] total 184 [2021-03-15T05:43:37.034Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 15 05:43 . [2021-03-15T05:43:37.034Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 15 05:41 .. [2021-03-15T05:43:37.034Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 15 05:41 bin [2021-03-15T05:43:37.034Z] -rw-r--r--. 1 jenkins jenkins 102032 Mar 15 05:43 coverage.out [2021-03-15T05:43:37.034Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 15 05:41 Dockerfile.build [2021-03-15T05:43:37.034Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 15 05:41 .dockerignore [2021-03-15T05:43:37.034Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 15 05:41 example [2021-03-15T05:43:37.034Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 15 05:41 .git [2021-03-15T05:43:37.034Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 15 05:41 .github [2021-03-15T05:43:37.034Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 15 05:41 .gitignore [2021-03-15T05:43:37.034Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 15 05:43 go.mod [2021-03-15T05:43:37.034Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 15 05:43 go.sum [2021-03-15T05:43:37.034Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 15 05:41 internal [2021-03-15T05:43:37.034Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 15 05:41 Jenkinsfile [2021-03-15T05:43:37.034Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 15 05:41 LICENSE [2021-03-15T05:43:37.034Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 15 05:41 Makefile [2021-03-15T05:43:37.034Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 15 05:41 openapi [2021-03-15T05:43:37.034Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 15 05:41 pkg [2021-03-15T05:43:37.034Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 15 05:41 README.md [2021-03-15T05:43:37.034Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 15 05:41 RELEASE-NOTES.txt [2021-03-15T05:43:37.034Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 15 05:41 snap [2021-03-15T05:43:37.034Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 15 05:39 VERSION [2021-03-15T05:43:37.034Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 15 05:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:43:37.341Z] + 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=2880e2238917e15b05fdefa4b92a9c92cf8f3af9 --label arch=amd64 --label version=0.0.0 . [2021-03-15T05:43:37.605Z] Sending build context to Docker daemon 2.449MB [2021-03-15T05:43:37.605Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T05:43:37.605Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-15T05:43:37.605Z] ---> c2f6fb18ae76 [2021-03-15T05:43:37.605Z] Step 3/24 : ARG MAKE='make build' [2021-03-15T05:43:38.187Z] ---> Running in 7b54ee26d981 [2021-03-15T05:43:38.187Z] Removing intermediate container 7b54ee26d981 [2021-03-15T05:43:38.187Z] ---> 24595d746c69 [2021-03-15T05:43:38.187Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-15T05:43:38.450Z] ---> Running in 582d702531dc [2021-03-15T05:43:38.450Z] Removing intermediate container 582d702531dc [2021-03-15T05:43:38.450Z] ---> e13b436e70f9 [2021-03-15T05:43:38.450Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T05:43:38.722Z] ---> Running in 1b46a63c0964 [2021-03-15T05:43:38.722Z] Removing intermediate container 1b46a63c0964 [2021-03-15T05:43:38.722Z] ---> f3d9ee1ce549 [2021-03-15T05:43:38.722Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T05:43:38.722Z] ---> Running in 12ab9acd1493 [2021-03-15T05:43:39.671Z] Removing intermediate container 12ab9acd1493 [2021-03-15T05:43:39.671Z] ---> 0d76baf99e21 [2021-03-15T05:43:39.671Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-15T05:43:39.671Z] ---> Running in 5940519d2da3 [2021-03-15T05:43:40.245Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-15T05:43:40.819Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-15T05:43:41.394Z] OK: 166 MiB in 39 packages [2021-03-15T05:43:41.658Z] Removing intermediate container 5940519d2da3 [2021-03-15T05:43:41.658Z] ---> bc1f25b15755 [2021-03-15T05:43:41.658Z] Step 8/24 : COPY . . [2021-03-15T05:43:42.604Z] ---> 9fbd067d0181 [2021-03-15T05:43:42.604Z] Step 9/24 : RUN ${MAKE} [2021-03-15T05:43:42.872Z] ---> Running in 01e1cc8a44af [2021-03-15T05:43:43.139Z] 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-15T05:43:43.528Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-15T05:43:53.322Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-15T05:43:53.901Z] Removing intermediate container 01e1cc8a44af [2021-03-15T05:43:53.901Z] ---> d1dcba2201c4 [2021-03-15T05:43:53.901Z] Step 10/24 : FROM scratch [2021-03-15T05:43:53.901Z] ---> [2021-03-15T05:43:53.901Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T05:43:54.164Z] ---> Running in a3d5ac885103 [2021-03-15T05:43:54.164Z] Removing intermediate container a3d5ac885103 [2021-03-15T05:43:54.164Z] ---> 6afd192614fd [2021-03-15T05:43:54.164Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-15T05:43:54.164Z] ---> Running in eb8b0a362ff6 [2021-03-15T05:43:54.427Z] Removing intermediate container eb8b0a362ff6 [2021-03-15T05:43:54.427Z] ---> e5eea131dfe0 [2021-03-15T05:43:54.427Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-15T05:43:54.427Z] ---> Running in 64da56d90bdc [2021-03-15T05:43:54.689Z] Removing intermediate container 64da56d90bdc [2021-03-15T05:43:54.689Z] ---> f2f4a273f0b0 [2021-03-15T05:43:54.689Z] Step 14/24 : WORKDIR / [2021-03-15T05:43:54.689Z] ---> Running in d5a9646cf46d [2021-03-15T05:43:54.689Z] Removing intermediate container d5a9646cf46d [2021-03-15T05:43:54.689Z] ---> 190dffcda7ee [2021-03-15T05:43:54.689Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-15T05:43:55.263Z] ---> 2da2c53cf478 [2021-03-15T05:43:55.263Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-15T05:43:55.525Z] ---> f3c5e4cfdbcf [2021-03-15T05:43:55.525Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-15T05:43:55.786Z] ---> bbb1db3ac3f1 [2021-03-15T05:43:55.786Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-15T05:43:56.048Z] ---> e3975aa1dd6c [2021-03-15T05:43:56.048Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-15T05:43:56.310Z] ---> 90612814135e [2021-03-15T05:43:56.310Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-15T05:43:56.310Z] ---> Running in 4970fb93691a [2021-03-15T05:43:56.572Z] Removing intermediate container 4970fb93691a [2021-03-15T05:43:56.572Z] ---> d32e06e88bc3 [2021-03-15T05:43:56.572Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-15T05:43:56.572Z] ---> Running in fade899d226a [2021-03-15T05:43:56.572Z] Removing intermediate container fade899d226a [2021-03-15T05:43:56.572Z] ---> d11bc717f86c [2021-03-15T05:43:56.572Z] Step 22/24 : LABEL arch=amd64 [2021-03-15T05:43:56.836Z] ---> Running in cea9091299fa [2021-03-15T05:43:56.836Z] Removing intermediate container cea9091299fa [2021-03-15T05:43:56.836Z] ---> 4daddaac2e88 [2021-03-15T05:43:56.836Z] Step 23/24 : LABEL git_sha=2880e2238917e15b05fdefa4b92a9c92cf8f3af9 [2021-03-15T05:43:57.100Z] ---> Running in c14cb74eb3df [2021-03-15T05:43:57.100Z] Removing intermediate container c14cb74eb3df [2021-03-15T05:43:57.100Z] ---> e780169cc30f [2021-03-15T05:43:57.100Z] Step 24/24 : LABEL version=0.0.0 [2021-03-15T05:43:57.100Z] ---> Running in bbd6d904ca02 [2021-03-15T05:43:57.363Z] Removing intermediate container bbd6d904ca02 [2021-03-15T05:43:57.363Z] ---> 167b02c7c13b [2021-03-15T05:43:57.363Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-15T05:43:57.363Z] Successfully built 167b02c7c13b [2021-03-15T05:43:57.363Z] 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-15T05:43:58.353Z] ---> job-cost.sh [2021-03-15T05:43:58.353Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-HbdK [2021-03-15T05:44:13.294Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-15T05:44:22.616Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-15T05:44:22.616Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-15T05:44:22.616Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-15T05:44:26.946Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.119s coverage: 25.5% of statements [2021-03-15T05:44:45.447Z] lf-activate-venv(): INFO: Adding /tmp/venv-HbdK/bin to PATH [2021-03-15T05:44:45.447Z] INFO: No Stack... [2021-03-15T05:44:45.447Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-15T05:44:45.447Z] INFO: Archiving Costs [Pipeline] sh [2021-03-15T05:44:45.754Z] + cut -d, -f6 [2021-03-15T05:44:45.754Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [Pipeline] lock [2021-03-15T05:44:45.827Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-816-5-stack-cost] [2021-03-15T05:44:45.836Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-816-5-stack-cost] did not exist. Created. [2021-03-15T05:44:45.836Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-816-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-15T05:44:46.238Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-15T05:44:46.340Z] Stashed 1 file(s) [Pipeline] } [2021-03-15T05:44:46.354Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-816-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-15T05:44:59.307Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.124s coverage: 10.5% of statements [2021-03-15T05:44:59.307Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.122s coverage: 12.5% of statements [2021-03-15T05:44:59.307Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-15T05:44:59.307Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.140s coverage: 84.8% of statements [2021-03-15T05:44:59.307Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-15T05:44:59.307Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-15T05:44:59.307Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-15T05:44:59.307Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.213s coverage: 47.6% of statements [2021-03-15T05:44:59.307Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-15T05:44:59.307Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.160s coverage: 81.2% of statements [2021-03-15T05:44:59.307Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.169s coverage: 24.8% of statements [2021-03-15T05:44:59.307Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.805s coverage: 6.4% of statements [2021-03-15T05:44:59.307Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.132s coverage: 5.2% of statements [2021-03-15T05:44:59.307Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-15T05:44:59.307Z] GO111MODULE=on go vet ./... [2021-03-15T05:45:31.721Z] gofmt -l . [2021-03-15T05:45:31.721Z] [ "`gofmt -l .`" = "" ] [2021-03-15T05:45:31.721Z] ./bin/test-attribution-txt.sh [2021-03-15T05:45:31.721Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-15T05:45:31.762Z] $ docker stop --time=1 965d008625b931e38bdd839d6f96bbf66192dd9ed9858b4f00a1118c38757980 [2021-03-15T05:45:34.000Z] $ docker rm -f 965d008625b931e38bdd839d6f96bbf66192dd9ed9858b4f00a1118c38757980 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-15T05:45:35.122Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-15T05:45:35.194Z] Warning: overwriting stash ‘coverage-report’ [2021-03-15T05:45:36.177Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T05:45:36.971Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-15T05:45:37.341Z] + ls -al . [2021-03-15T05:45:37.341Z] total 220 [2021-03-15T05:45:37.341Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 05:45 . [2021-03-15T05:45:37.341Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 05:41 .. [2021-03-15T05:45:37.341Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 05:42 .dockerignore [2021-03-15T05:45:37.341Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 05:42 .git [2021-03-15T05:45:37.341Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 05:42 .github [2021-03-15T05:45:37.341Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 15 05:42 .gitignore [2021-03-15T05:45:37.341Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 15 05:42 Dockerfile.build [2021-03-15T05:45:37.341Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 15 05:42 Jenkinsfile [2021-03-15T05:45:37.341Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 05:42 LICENSE [2021-03-15T05:45:37.341Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 15 05:42 Makefile [2021-03-15T05:45:37.341Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 15 05:42 README.md [2021-03-15T05:45:37.341Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 15 05:42 RELEASE-NOTES.txt [2021-03-15T05:45:37.341Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 05:39 VERSION [2021-03-15T05:45:37.341Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 05:42 bin [2021-03-15T05:45:37.341Z] -rw-r--r-- 1 jenkins jenkins 102032 Mar 15 05:44 coverage.out [2021-03-15T05:45:37.341Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 05:42 example [2021-03-15T05:45:37.341Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 15 05:45 go.mod [2021-03-15T05:45:37.341Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 15 05:45 go.sum [2021-03-15T05:45:37.341Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 05:42 internal [2021-03-15T05:45:37.341Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 05:42 openapi [2021-03-15T05:45:37.341Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 05:42 pkg [2021-03-15T05:45:37.341Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 05:42 snap [2021-03-15T05:45:37.341Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 05:42 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:45:37.706Z] + 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=2880e2238917e15b05fdefa4b92a9c92cf8f3af9 --label arch=arm64 --label version=0.0.0 . [2021-03-15T05:45:38.357Z] Sending build context to Docker daemon 2.448MB [2021-03-15T05:45:38.357Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T05:45:38.357Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-15T05:45:38.357Z] ---> 2274a3275e06 [2021-03-15T05:45:38.357Z] Step 3/24 : ARG MAKE='make build' [2021-03-15T05:45:38.674Z] ---> Running in 44c8b9c8317d [2021-03-15T05:45:38.960Z] Removing intermediate container 44c8b9c8317d [2021-03-15T05:45:38.960Z] ---> 2906ee5a8ccc [2021-03-15T05:45:38.960Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-15T05:45:39.232Z] ---> Running in e8d0c337ab14 [2021-03-15T05:45:39.505Z] Removing intermediate container e8d0c337ab14 [2021-03-15T05:45:39.505Z] ---> a03fc5084f90 [2021-03-15T05:45:39.505Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T05:45:39.779Z] ---> Running in 43b435aec32b [2021-03-15T05:45:40.056Z] Removing intermediate container 43b435aec32b [2021-03-15T05:45:40.056Z] ---> 77af8674abe1 [2021-03-15T05:45:40.056Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T05:45:40.331Z] ---> Running in cc27d39f7a37 [2021-03-15T05:45:42.307Z] Removing intermediate container cc27d39f7a37 [2021-03-15T05:45:42.307Z] ---> e73746ceda09 [2021-03-15T05:45:42.307Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-15T05:45:42.307Z] ---> Running in 29296d6f103a [2021-03-15T05:45:43.742Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-15T05:45:44.013Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-15T05:45:44.607Z] OK: 142 MiB in 39 packages [2021-03-15T05:45:46.037Z] Removing intermediate container 29296d6f103a [2021-03-15T05:45:46.037Z] ---> ab9d0a82b4a9 [2021-03-15T05:45:46.037Z] Step 8/24 : COPY . . [2021-03-15T05:45:47.485Z] ---> 1e6fcb6dd90e [2021-03-15T05:45:47.485Z] Step 9/24 : RUN ${MAKE} [2021-03-15T05:45:47.485Z] ---> Running in 7c91cc044e30 [2021-03-15T05:45:48.461Z] 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-15T05:46:15.274Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-15T05:46:15.548Z] Removing intermediate container 7c91cc044e30 [2021-03-15T05:46:15.548Z] ---> a84b2e584ce9 [2021-03-15T05:46:15.548Z] Step 10/24 : FROM scratch [2021-03-15T05:46:15.548Z] ---> [2021-03-15T05:46:15.548Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T05:46:15.548Z] ---> Running in 2e8e12c8e8d5 [2021-03-15T05:46:16.144Z] Removing intermediate container 2e8e12c8e8d5 [2021-03-15T05:46:16.144Z] ---> 60f9205773c4 [2021-03-15T05:46:16.144Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-15T05:46:16.144Z] ---> Running in fd2881011fb6 [2021-03-15T05:46:16.414Z] Removing intermediate container fd2881011fb6 [2021-03-15T05:46:16.414Z] ---> 437b7715c270 [2021-03-15T05:46:16.414Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-15T05:46:16.685Z] ---> Running in a20b648c62b9 [2021-03-15T05:46:16.954Z] Removing intermediate container a20b648c62b9 [2021-03-15T05:46:16.954Z] ---> 802484762477 [2021-03-15T05:46:16.954Z] Step 14/24 : WORKDIR / [2021-03-15T05:46:16.954Z] ---> Running in 5b07bf6d6646 [2021-03-15T05:46:17.548Z] Removing intermediate container 5b07bf6d6646 [2021-03-15T05:46:17.548Z] ---> 510dbf8d361d [2021-03-15T05:46:17.548Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-15T05:46:18.527Z] ---> 3663b8c06a7e [2021-03-15T05:46:18.527Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-15T05:46:19.130Z] ---> 8075dba1efb2 [2021-03-15T05:46:19.130Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-15T05:46:19.730Z] ---> c12111dba856 [2021-03-15T05:46:19.730Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-15T05:46:20.709Z] ---> 3cf5c06c8e54 [2021-03-15T05:46:20.709Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-15T05:46:21.302Z] ---> 10206e56f80b [2021-03-15T05:46:21.302Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-15T05:46:21.574Z] ---> Running in 17791b7da8e9 [2021-03-15T05:46:21.846Z] Removing intermediate container 17791b7da8e9 [2021-03-15T05:46:21.846Z] ---> 8111bd48a26d [2021-03-15T05:46:21.846Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-15T05:46:22.117Z] ---> Running in c3bcbadee55b [2021-03-15T05:46:22.389Z] Removing intermediate container c3bcbadee55b [2021-03-15T05:46:22.389Z] ---> 03bcc9a1225c [2021-03-15T05:46:22.389Z] Step 22/24 : LABEL arch=arm64 [2021-03-15T05:46:22.661Z] ---> Running in f4b001767835 [2021-03-15T05:46:22.932Z] Removing intermediate container f4b001767835 [2021-03-15T05:46:22.932Z] ---> 5e44d07b0a03 [2021-03-15T05:46:22.932Z] Step 23/24 : LABEL git_sha=2880e2238917e15b05fdefa4b92a9c92cf8f3af9 [2021-03-15T05:46:23.204Z] ---> Running in 8e2272084f7e [2021-03-15T05:46:23.476Z] Removing intermediate container 8e2272084f7e [2021-03-15T05:46:23.476Z] ---> 48beff8176dc [2021-03-15T05:46:23.476Z] Step 24/24 : LABEL version=0.0.0 [2021-03-15T05:46:23.748Z] ---> Running in d7e54e1d2588 [2021-03-15T05:46:24.021Z] Removing intermediate container d7e54e1d2588 [2021-03-15T05:46:24.021Z] ---> ec9301b12235 [2021-03-15T05:46:24.021Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-15T05:46:24.021Z] Successfully built ec9301b12235 [2021-03-15T05:46:24.021Z] 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-15T05:46:24.927Z] ---> job-cost.sh [2021-03-15T05:46:24.927Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sxm7 [2021-03-15T05:47:03.882Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-15T05:48:40.623Z] lf-activate-venv(): INFO: Adding /tmp/venv-sxm7/bin to PATH [2021-03-15T05:48:40.623Z] INFO: No Stack... [2021-03-15T05:48:40.623Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-15T05:48:40.623Z] INFO: Archiving Costs [Pipeline] sh [2021-03-15T05:48:40.958Z] + cut -d, -f6 [2021-03-15T05:48:40.958Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [Pipeline] lock [2021-03-15T05:48:41.068Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-816-5-stack-cost] [2021-03-15T05:48:41.077Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-816-5-stack-cost] did not exist. Created. [2021-03-15T05:48:41.077Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-816-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-15T05:48:41.559Z] /w/workspace/device-sdk-go/5@tmp/durable-4e1144cd/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-4e1144cd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-15T05:48:41.898Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-15T05:48:41.995Z] Warning: overwriting stash ‘stack-cost’ [2021-03-15T05:48:42.144Z] Stashed 1 file(s) [Pipeline] } [2021-03-15T05:48:42.156Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-816-5-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-15T05:48:43.651Z] provisioning config files... [2021-03-15T05:48:43.663Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config911939097283745073tmp [Pipeline] { [Pipeline] sh [2021-03-15T05:48:44.113Z] + set +x [2021-03-15T05:48:44.113Z] + curl -s https://codecov.io/bash [2021-03-15T05:48:44.113Z] + bash -s -- [2021-03-15T05:48:44.377Z] [2021-03-15T05:48:44.377Z] _____ _ [2021-03-15T05:48:44.377Z] / ____| | | [2021-03-15T05:48:44.377Z] | | ___ __| | ___ ___ _____ __ [2021-03-15T05:48:44.377Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-15T05:48:44.377Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-15T05:48:44.377Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-15T05:48:44.377Z] Bash-20210309-2b87ace [2021-03-15T05:48:44.377Z] [2021-03-15T05:48:44.377Z] [2021-03-15T05:48:44.377Z] ==> git version 2.24.3 found [2021-03-15T05:48:44.377Z] ==> 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-15T05:48:44.377Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-15T05:48:44.377Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-15T05:48:44.377Z] ==> Jenkins CI detected. [2021-03-15T05:48:44.377Z] project root: . [2021-03-15T05:48:44.377Z] --> token set from env [2021-03-15T05:48:44.377Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-15T05:48:44.377Z] ==> Running gcov in . (disable via -X gcov) [2021-03-15T05:48:44.377Z] ==> Python coveragepy not found [2021-03-15T05:48:44.377Z] ==> Searching for coverage reports in: [2021-03-15T05:48:44.377Z] + . [2021-03-15T05:48:44.377Z] -> Found 1 reports [2021-03-15T05:48:44.377Z] ==> Detecting git/mercurial file structure [2021-03-15T05:48:44.377Z] ==> Reading reports [2021-03-15T05:48:44.377Z] + ./coverage.out bytes=102032 [2021-03-15T05:48:44.377Z] ==> Appending adjustments [2021-03-15T05:48:44.377Z] https://docs.codecov.io/docs/fixing-reports [2021-03-15T05:48:44.642Z] + Found adjustments [2021-03-15T05:48:44.642Z] ==> Gzipping contents [2021-03-15T05:48:44.907Z] 16K /tmp/codecov.5BV2ST.gz [2021-03-15T05:48:44.907Z] ==> Uploading reports [2021-03-15T05:48:44.907Z] url: https://codecov.io [2021-03-15T05:48:44.907Z] query: branch=PR-816&commit=2880e2238917e15b05fdefa4b92a9c92cf8f3af9&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-816%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=816&job=&cmd_args= [2021-03-15T05:48:44.907Z] -> Pinging Codecov [2021-03-15T05:48:44.907Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-816&commit=2880e2238917e15b05fdefa4b92a9c92cf8f3af9&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-816%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=816&job=&cmd_args= [2021-03-15T05:48:45.169Z] -> Uploading to [2021-03-15T05:48:45.169Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-15/7E55EF52A471D76F132DFD9A03CDDE97/2880e2238917e15b05fdefa4b92a9c92cf8f3af9/d1f57aeb-a0cb-4d77-a882-1ef0fab45e2d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210315T054844Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0b8e51c7535e6800a8772ec481ef5cafd6eec0dc3a3a2adbc973a632b222ee04 [2021-03-15T05:48:45.169Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-15T05:48:45.169Z] Dload Upload Total Spent Left Speed [2021-03-15T05:48:45.748Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15189 0 0 100 15189 0 31495 --:--:-- --:--:-- --:--:-- 31512 [2021-03-15T05:48:45.748Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2880e2238917e15b05fdefa4b92a9c92cf8f3af9 [Pipeline] } [2021-03-15T05:48:45.758Z] 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-15T05:48:48.184Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:48:48.489Z] ---> package-listing.sh [2021-03-15T05:48:48.489Z] ++ facter osfamily [2021-03-15T05:48:48.489Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-15T05:48:48.489Z] + OS_FAMILY=redhat [2021-03-15T05:48:48.489Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-816 [2021-03-15T05:48:48.489Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-15T05:48:48.489Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-15T05:48:48.489Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-15T05:48:48.489Z] + PACKAGES=/tmp/packages_start.txt [2021-03-15T05:48:48.489Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-816 ']' [2021-03-15T05:48:48.489Z] + PACKAGES=/tmp/packages_end.txt [2021-03-15T05:48:48.489Z] + case "${OS_FAMILY}" in [2021-03-15T05:48:48.489Z] + rpm -qa [2021-03-15T05:48:48.489Z] + sort [2021-03-15T05:48:53.803Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-15T05:48:53.803Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-15T05:48:53.803Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-15T05:48:53.803Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-816 ']' [2021-03-15T05:48:53.803Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-816/archives/ [2021-03-15T05:48:53.803Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-816/archives/ [Pipeline] echo [2021-03-15T05:48:53.818Z] 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-816/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-15T05:48:54.112Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:48:54.428Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T05:48:54.428Z] [2021-03-15T05:48:54.428Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:48:54.790Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T05:48:54.790Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-15T05:48:54.790Z] df20fa9351a1: Pulling fs layer [2021-03-15T05:48:54.790Z] 36b3adc4ff6f: Pulling fs layer [2021-03-15T05:48:54.790Z] 8ad3a11d3b57: Pulling fs layer [2021-03-15T05:48:54.790Z] 46f8f816bc3b: Pulling fs layer [2021-03-15T05:48:54.790Z] 93b61091891f: Pulling fs layer [2021-03-15T05:48:54.790Z] 93b9cdb0e59b: Pulling fs layer [2021-03-15T05:48:54.790Z] 5e14af77c1be: Pulling fs layer [2021-03-15T05:48:54.790Z] 01666e4c0597: Pulling fs layer [2021-03-15T05:48:54.790Z] aa168da1d23b: Pulling fs layer [2021-03-15T05:48:54.790Z] 46f8f816bc3b: Waiting [2021-03-15T05:48:54.790Z] 93b61091891f: Waiting [2021-03-15T05:48:54.790Z] 93b9cdb0e59b: Waiting [2021-03-15T05:48:54.790Z] 01666e4c0597: Waiting [2021-03-15T05:48:54.790Z] 5e14af77c1be: Waiting [2021-03-15T05:48:54.790Z] 36b3adc4ff6f: Verifying Checksum [2021-03-15T05:48:54.790Z] 36b3adc4ff6f: Download complete [2021-03-15T05:48:54.790Z] 46f8f816bc3b: Download complete [2021-03-15T05:48:55.052Z] df20fa9351a1: Verifying Checksum [2021-03-15T05:48:55.052Z] df20fa9351a1: Download complete [2021-03-15T05:48:55.052Z] 93b9cdb0e59b: Verifying Checksum [2021-03-15T05:48:55.052Z] 93b9cdb0e59b: Download complete [2021-03-15T05:48:55.052Z] 5e14af77c1be: Verifying Checksum [2021-03-15T05:48:55.052Z] 5e14af77c1be: Download complete [2021-03-15T05:48:55.052Z] 93b61091891f: Verifying Checksum [2021-03-15T05:48:55.052Z] 93b61091891f: Download complete [2021-03-15T05:48:55.052Z] 01666e4c0597: Verifying Checksum [2021-03-15T05:48:55.052Z] 01666e4c0597: Download complete [2021-03-15T05:48:55.316Z] df20fa9351a1: Pull complete [2021-03-15T05:48:55.578Z] 36b3adc4ff6f: Pull complete [2021-03-15T05:48:56.161Z] 8ad3a11d3b57: Verifying Checksum [2021-03-15T05:48:56.161Z] 8ad3a11d3b57: Download complete [2021-03-15T05:48:56.760Z] 8ad3a11d3b57: Pull complete [2021-03-15T05:48:56.760Z] 46f8f816bc3b: Pull complete [2021-03-15T05:48:57.710Z] 93b61091891f: Pull complete [2021-03-15T05:48:57.710Z] aa168da1d23b: Verifying Checksum [2021-03-15T05:48:57.710Z] aa168da1d23b: Download complete [2021-03-15T05:48:57.710Z] 93b9cdb0e59b: Pull complete [2021-03-15T05:48:57.974Z] 5e14af77c1be: Pull complete [2021-03-15T05:48:58.548Z] 01666e4c0597: Pull complete [2021-03-15T05:49:05.192Z] aa168da1d23b: Pull complete [2021-03-15T05:49:05.192Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-15T05:49:05.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T05:49:05.192Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-15T05:49:05.400Z] prd-centos7-docker-4c-2g-29781 does not seem to be running inside a container [2021-03-15T05:49:05.453Z] $ 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-816/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-816 -v /w/workspace/dgexfoundry_device-sdk-go_PR-816:/w/workspace/dgexfoundry_device-sdk-go_PR-816:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-15T05:49:09.084Z] $ docker top ec76673d84a1c43e811ad8e5b163933c80819dfac8ff0b7afe60ec5380ec373a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T05:49:09.613Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-15T05:49:09.917Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-15T05:49:10.220Z] + ls /var/log/sa-host [2021-03-15T05:49:10.220Z] + sadf -c /var/log/sa-host/sa15 [2021-03-15T05:49:10.220Z] file_magic: OK [2021-03-15T05:49:10.220Z] HZ: Using current value: 100 [2021-03-15T05:49:10.220Z] file_header: OK [2021-03-15T05:49:10.220Z] 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-15T05:49:10.220Z] Statistics: [2021-03-15T05:49:10.220Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-15T05:49:10.220Z] File successfully converted to sysstat format version 12.2.1 [2021-03-15T05:49:10.220Z] + sadf -c /var/log/sa-host/sa23 [2021-03-15T05:49:10.220Z] file_magic: OK [2021-03-15T05:49:10.220Z] HZ: Using current value: 100 [2021-03-15T05:49:10.220Z] file_header: OK [2021-03-15T05:49:10.220Z] 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-15T05:49:10.220Z] Statistics: [2021-03-15T05:49:10.220Z] Hnuu...uuuununununu... [2021-03-15T05:49:10.220Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-15T05:49:10.488Z] provisioning config files... [2021-03-15T05:49:10.505Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config6324511296959928807tmp [Pipeline] { [Pipeline] echo [2021-03-15T05:49:10.636Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:49:10.938Z] ---> create-netrc.sh [Pipeline] } [2021-03-15T05:49:10.949Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-15T05:49:11.053Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:49:11.364Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-15T05:49:11.377Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:49:11.678Z] ---> sudo-logs.sh [2021-03-15T05:49:11.678Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-15T05:49:11.748Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:49:12.048Z] ---> job-cost.sh [2021-03-15T05:49:12.049Z] lf-activate-venv: SKIPPING [2021-03-15T05:49:12.049Z] DEBUG: total: 0.20999999344348907 [2021-03-15T05:49:12.049Z] INFO: Retrieving Stack Cost... [2021-03-15T05:49:13.440Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-15T05:49:13.701Z] INFO: Archiving Costs [Pipeline] echo [2021-03-15T05:49:13.715Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:49:14.016Z] ---> logs-deploy.sh [2021-03-15T05:49:14.016Z] lf-activate-venv: SKIPPING [2021-03-15T05:49:14.016Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-816/5 [2021-03-15T05:49:14.016Z] INFO: archiving workspace using pattern(s): [2021-03-15T05:49:15.932Z] Archives upload complete. [2021-03-15T05:49:15.932Z] INFO: archiving logs to Nexus