Branch indexing 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 ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+4a48ed36b56f70f387819c322f1a51e9c7883451 (f4f3885663b65a75f39abd88e64bb9d54faa1258) 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: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: 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 Running on prd-centos7-docker-4c-2g-29903 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # 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/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4a48ed36b56f70f387819c322f1a51e9c7883451 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 7cbecbb3357f4fad9a0f7f795cc02cb112067614 Checking out Revision 7cbecbb3357f4fad9a0f7f795cc02cb112067614 (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # 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 4a48ed36b56f70f387819c322f1a51e9c7883451 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cbecbb3357f4fad9a0f7f795cc02cb112067614 # timeout=10 Commit message: "Merge commit '4a48ed36b56f70f387819c322f1a51e9c7883451' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-16T02:40:26.234Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-16T02:40:26.514Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-16T02:40:26.621Z] ========================================================= [2021-03-16T02:40:26.621Z] EdgeX Global Pipelines Version Info [2021-03-16T02:40:26.621Z] ========================================================= [Pipeline] libraryResource > git rev-list --no-walk d3bf9c36920b917ddbb5b6097c4ac0b3e90eb114 # timeout=10 [Pipeline] sh [2021-03-16T02:40:28.271Z] ------------------- [2021-03-16T02:40:28.271Z] stable info: [2021-03-16T02:40:28.271Z] ------------------- [2021-03-16T02:40:28.271Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-16T02:40:28.271Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-16T02:40:28.271Z] Message: update stable to v1.0.184 [2021-03-16T02:40:29.221Z] ------------------- [2021-03-16T02:40:29.221Z] experimental info: [2021-03-16T02:40:29.221Z] ------------------- [2021-03-16T02:40:29.221Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-16T02:40:29.221Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-16T02:40:29.221Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-16T02:40:29.562Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-16T02:40:29.663Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-16T02:40:29.782Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-16T02:40:29.883Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-16T02:40:29.986Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-16T02:40:30.135Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-16T02:40:30.283Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-16T02:40:30.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-16T02:40:30.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-16T02:40:30.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-16T02:40:30.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-16T02:40:30.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-03-16T02:40:31.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-16T02:40:31.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-16T02:40:31.293Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-16T02:40:31.416Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T02:40:31.520Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T02:40:31.619Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T02:40:31.713Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-16T02:40:31.831Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-16T02:40:31.963Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-16T02:40:32.058Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-16T02:40:32.150Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-16T02:40:32.261Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-16T02:40:32.358Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-16T02:40:32.455Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-16T02:40:32.564Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-03-16T02:40:32.663Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-03-16T02:40:32.760Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-03-16T02:40:32.854Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cbecbb3357f4fad9a0f7f795cc02cb112067614 [Pipeline] echo [2021-03-16T02:40:33.046Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cbecbb [Pipeline] echo [2021-03-16T02:40:33.140Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T02:40:33.380Z] provisioning config files... [2021-03-16T02:40:33.419Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config7077237114986250238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T02:40:33.778Z] ---> docker-login.sh [2021-03-16T02:40:33.778Z] nexus3.edgexfoundry.org:10001 [2021-03-16T02:40:34.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T02:40:34.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T02:40:34.309Z] Configure a credential helper to remove this warning. See [2021-03-16T02:40:34.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T02:40:34.309Z] [2021-03-16T02:40:34.309Z] Login Succeeded [2021-03-16T02:40:34.309Z] nexus3.edgexfoundry.org:10002 [2021-03-16T02:40:34.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T02:40:34.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T02:40:34.575Z] Configure a credential helper to remove this warning. See [2021-03-16T02:40:34.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T02:40:34.575Z] [2021-03-16T02:40:34.575Z] Login Succeeded [2021-03-16T02:40:34.575Z] nexus3.edgexfoundry.org:10003 [2021-03-16T02:40:34.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T02:40:34.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T02:40:34.575Z] Configure a credential helper to remove this warning. See [2021-03-16T02:40:34.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T02:40:34.575Z] [2021-03-16T02:40:34.575Z] Login Succeeded [2021-03-16T02:40:34.575Z] nexus3.edgexfoundry.org:10004 [2021-03-16T02:40:34.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T02:40:34.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T02:40:34.840Z] Configure a credential helper to remove this warning. See [2021-03-16T02:40:34.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T02:40:34.840Z] [2021-03-16T02:40:34.840Z] Login Succeeded [2021-03-16T02:40:34.840Z] docker.io [2021-03-16T02:40:35.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T02:40:35.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T02:40:35.367Z] Configure a credential helper to remove this warning. See [2021-03-16T02:40:35.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T02:40:35.367Z] [2021-03-16T02:40:35.367Z] Login Succeeded [2021-03-16T02:40:35.367Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T02:40:35.379Z] 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-16T02:40:36.234Z] + git log --format=format:%s -1 7cbecbb3357f4fad9a0f7f795cc02cb112067614 [Pipeline] echo [2021-03-16T02:40:36.308Z] GIT_COMMIT: 7cbecbb3357f4fad9a0f7f795cc02cb112067614, Commit Message: Merge commit '4a48ed36b56f70f387819c322f1a51e9c7883451' into HEAD [Pipeline] echo [2021-03-16T02:40:36.357Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-16T02:40:37.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T02:40:37.415Z] [2021-03-16T02:40:37.415Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T02:40:37.776Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T02:40:37.777Z] latest: Pulling from edgex-devops/git-semver [2021-03-16T02:40:37.777Z] 31603596830f: Pulling fs layer [2021-03-16T02:40:37.777Z] 2a8b12db71e7: Pulling fs layer [2021-03-16T02:40:37.777Z] 6ca5941a6612: Pulling fs layer [2021-03-16T02:40:37.777Z] ecc8261a40a4: Pulling fs layer [2021-03-16T02:40:37.777Z] ecc8261a40a4: Waiting [2021-03-16T02:40:37.777Z] 2a8b12db71e7: Download complete [2021-03-16T02:40:38.040Z] 31603596830f: Verifying Checksum [2021-03-16T02:40:38.040Z] 31603596830f: Download complete [2021-03-16T02:40:38.305Z] 6ca5941a6612: Verifying Checksum [2021-03-16T02:40:38.305Z] 6ca5941a6612: Download complete [2021-03-16T02:40:38.305Z] ecc8261a40a4: Verifying Checksum [2021-03-16T02:40:38.305Z] ecc8261a40a4: Download complete [2021-03-16T02:40:38.568Z] 31603596830f: Pull complete [2021-03-16T02:40:38.568Z] 2a8b12db71e7: Pull complete [2021-03-16T02:40:39.520Z] 6ca5941a6612: Pull complete [2021-03-16T02:40:39.783Z] ecc8261a40a4: Pull complete [2021-03-16T02:40:39.783Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-16T02:40:39.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T02:40:39.783Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-16T02:40:39.892Z] prd-centos7-docker-4c-2g-29903 does not seem to be running inside a container [2021-03-16T02:40:39.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-16T02:40:42.168Z] $ docker top 70bdec05c35e5b09516ec6d3ba007d138b310a8aef41024f5889c7d451906fbb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-16T02:40:42.493Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T02:40:42.493Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T02:40:42.718Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T02:40:42.721Z] $ docker exec 70bdec05c35e5b09516ec6d3ba007d138b310a8aef41024f5889c7d451906fbb ssh-agent [2021-03-16T02:40:42.896Z] SSH_AUTH_SOCK=/tmp/ssh-G5hpLTPsssOU/agent.12 [2021-03-16T02:40:42.896Z] SSH_AGENT_PID=18 [2021-03-16T02:40:42.906Z] Running ssh-add (command line suppressed) [2021-03-16T02:40:43.027Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5360849562178778111.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5360849562178778111.key) [2021-03-16T02:40:43.080Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T02:40:43.510Z] + git tag --points-at HEAD [Pipeline] } [2021-03-16T02:40:43.533Z] $ docker exec --env ******** --env ******** 70bdec05c35e5b09516ec6d3ba007d138b310a8aef41024f5889c7d451906fbb ssh-agent -k [2021-03-16T02:40:43.645Z] unset SSH_AUTH_SOCK; [2021-03-16T02:40:43.645Z] unset SSH_AGENT_PID; [2021-03-16T02:40:43.645Z] echo Agent pid 18 killed; [2021-03-16T02:40:43.693Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-16T02:40:43.875Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T02:40:43.875Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T02:40:44.057Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T02:40:44.060Z] $ docker exec 70bdec05c35e5b09516ec6d3ba007d138b310a8aef41024f5889c7d451906fbb ssh-agent [2021-03-16T02:40:44.229Z] SSH_AUTH_SOCK=/tmp/ssh-LuLiJQMkCzyo/agent.46 [2021-03-16T02:40:44.229Z] SSH_AGENT_PID=52 [2021-03-16T02:40:44.236Z] Running ssh-add (command line suppressed) [2021-03-16T02:40:44.356Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4049626827791130447.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4049626827791130447.key) [2021-03-16T02:40:44.411Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T02:40:44.753Z] + git semver init [2021-03-16T02:40:44.753Z] # -> Open(): unable to determine branch for HEAD [2021-03-16T02:40:44.753Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-03-16T02:40:44.753Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-03-16T02:40:44.753Z] # $SEMVER_REMOTE_NAME = origin [2021-03-16T02:40:44.753Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-16T02:40:44.753Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-16T02:40:44.753Z] # $SEMVER_BRANCH = PR-725 [2021-03-16T02:40:44.753Z] # $SEMVER_TEMP = /tmp/semver-708349616 [2021-03-16T02:40:44.753Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-16T02:40:45.706Z] # '/tmp/semver-708349616' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-03-16T02:40:45.706Z] # -> Force: false [2021-03-16T02:40:45.706Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-03-16T02:40:45.718Z] $ docker exec --env ******** --env ******** 70bdec05c35e5b09516ec6d3ba007d138b310a8aef41024f5889c7d451906fbb ssh-agent -k [2021-03-16T02:40:45.828Z] unset SSH_AUTH_SOCK; [2021-03-16T02:40:45.829Z] unset SSH_AGENT_PID; [2021-03-16T02:40:45.829Z] echo Agent pid 52 killed; [2021-03-16T02:40:45.879Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-16T02:40:46.356Z] + git semver [Pipeline] } [2021-03-16T02:40:46.372Z] $ docker stop --time=1 70bdec05c35e5b09516ec6d3ba007d138b310a8aef41024f5889c7d451906fbb [2021-03-16T02:40:47.790Z] $ docker rm -f 70bdec05c35e5b09516ec6d3ba007d138b310a8aef41024f5889c7d451906fbb [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T02:40:48.267Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-16T02:40:48.725Z] Stashed 1 file(s) [Pipeline] echo [2021-03-16T02:40:48.728Z] [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-16T02:41:04.257Z] Still waiting to schedule task [2021-03-16T02:41:04.257Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29903’ [2021-03-16T02:41:04.260Z] Still waiting to schedule task [2021-03-16T02:41:04.260Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-16T02:42:48.752Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29907 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-03-16T02:42:48.819Z] Running in /w/workspace/device-sdk-go/19 [Pipeline] { [Pipeline] checkout [2021-03-16T02:42:53.683Z] using credential edgex-jenkins-ssh [2021-03-16T02:42:53.739Z] Cloning the remote Git repository [2021-03-16T02:42:53.795Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T02:42:53.894Z] > git init /w/workspace/device-sdk-go/19 # timeout=10 [2021-03-16T02:42:53.957Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T02:42:53.958Z] > git --version # timeout=10 [2021-03-16T02:42:53.975Z] > git --version # 'git version 2.17.1' [2021-03-16T02:42:53.977Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T02:42:54.046Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T02:42:55.206Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T02:42:55.221Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T02:42:55.242Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T02:42:55.270Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T02:42:55.270Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T02:42:55.281Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-16T02:42:55.860Z] Merging remotes/origin/master commit 4a48ed36b56f70f387819c322f1a51e9c7883451 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-03-16T02:42:56.259Z] Merge succeeded, producing 95606082c249da84937fbaeb26b751e0b98ff6d4 [2021-03-16T02:42:56.260Z] Checking out Revision 95606082c249da84937fbaeb26b751e0b98ff6d4 (PR-725) [2021-03-16T02:42:55.882Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T02:42:55.895Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-03-16T02:42:56.004Z] > git remote # timeout=10 [2021-03-16T02:42:56.022Z] > git config --get remote.origin.url # timeout=10 [2021-03-16T02:42:56.035Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T02:42:56.045Z] > git merge 4a48ed36b56f70f387819c322f1a51e9c7883451 # timeout=10 [2021-03-16T02:42:56.211Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-16T02:42:56.270Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T02:42:56.288Z] > git checkout -f 95606082c249da84937fbaeb26b751e0b98ff6d4 # timeout=10 [2021-03-16T02:43:00.512Z] Commit message: "Merge commit '4a48ed36b56f70f387819c322f1a51e9c7883451' into HEAD" [2021-03-16T02:43:00.537Z] First time build. Skipping changelog. [2021-03-16T02:43:00.522Z] > git rev-list --no-walk d3bf9c36920b917ddbb5b6097c4ac0b3e90eb114 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T02:43:02.267Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-16T02:43:02.679Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-16T02:43:03.087Z] + true [2021-03-16T02:43:03.087Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T02:43:05.838Z] provisioning config files... [2021-03-16T02:43:05.884Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/19@tmp/config6894325792269057226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T02:43:06.291Z] ---> docker-login.sh [2021-03-16T02:43:06.291Z] nexus3.edgexfoundry.org:10001 [2021-03-16T02:43:07.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T02:43:07.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T02:43:07.549Z] Configure a credential helper to remove this warning. See [2021-03-16T02:43:07.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T02:43:07.549Z] [2021-03-16T02:43:07.549Z] Login Succeeded [2021-03-16T02:43:07.549Z] nexus3.edgexfoundry.org:10002 [2021-03-16T02:43:08.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T02:43:08.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T02:43:08.145Z] Configure a credential helper to remove this warning. See [2021-03-16T02:43:08.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T02:43:08.145Z] [2021-03-16T02:43:08.145Z] Login Succeeded [2021-03-16T02:43:08.145Z] nexus3.edgexfoundry.org:10003 [2021-03-16T02:43:08.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T02:43:08.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T02:43:08.691Z] Configure a credential helper to remove this warning. See [2021-03-16T02:43:08.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T02:43:08.691Z] [2021-03-16T02:43:08.691Z] Login Succeeded [2021-03-16T02:43:08.691Z] nexus3.edgexfoundry.org:10004 [2021-03-16T02:43:09.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T02:43:09.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T02:43:09.287Z] Configure a credential helper to remove this warning. See [2021-03-16T02:43:09.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T02:43:09.287Z] [2021-03-16T02:43:09.287Z] Login Succeeded [2021-03-16T02:43:09.287Z] docker.io [2021-03-16T02:43:12.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T02:43:12.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T02:43:12.666Z] Configure a credential helper to remove this warning. See [2021-03-16T02:43:12.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T02:43:12.666Z] [2021-03-16T02:43:12.666Z] Login Succeeded [2021-03-16T02:43:12.937Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T02:43:12.954Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-16T02:43:13.442Z] ========================================================= [2021-03-16T02:43:13.442Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-16T02:43:13.442Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-16T02:43:13.822Z] + 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-16T02:43:14.100Z] Sending build context to Docker daemon 2.272MB [2021-03-16T02:43:14.376Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T02:43:14.376Z] Step 2/8 : FROM ${BASE} [2021-03-16T02:43:14.376Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-16T02:43:14.376Z] 5f621e34cdf4: Pulling fs layer [2021-03-16T02:43:14.376Z] a4357932f1b6: Pulling fs layer [2021-03-16T02:43:14.376Z] 18c013af1878: Pulling fs layer [2021-03-16T02:43:14.376Z] 00ac8860ef70: Pulling fs layer [2021-03-16T02:43:14.376Z] 63d7cb157983: Pulling fs layer [2021-03-16T02:43:14.376Z] b116817d02f9: Pulling fs layer [2021-03-16T02:43:14.376Z] 745a02a5169b: Pulling fs layer [2021-03-16T02:43:14.376Z] 00ac8860ef70: Waiting [2021-03-16T02:43:14.376Z] 63d7cb157983: Waiting [2021-03-16T02:43:14.376Z] b116817d02f9: Waiting [2021-03-16T02:43:14.376Z] 745a02a5169b: Waiting [2021-03-16T02:43:14.376Z] 18c013af1878: Download complete [2021-03-16T02:43:14.376Z] a4357932f1b6: Download complete [2021-03-16T02:43:14.376Z] 63d7cb157983: Verifying Checksum [2021-03-16T02:43:14.376Z] 63d7cb157983: Download complete [2021-03-16T02:43:14.376Z] b116817d02f9: Verifying Checksum [2021-03-16T02:43:14.376Z] b116817d02f9: Download complete [2021-03-16T02:43:14.652Z] 5f621e34cdf4: Download complete [2021-03-16T02:43:15.250Z] 5f621e34cdf4: Pull complete [2021-03-16T02:43:15.526Z] a4357932f1b6: Pull complete [2021-03-16T02:43:16.123Z] 18c013af1878: Pull complete [2021-03-16T02:43:17.568Z] 745a02a5169b: Verifying Checksum [2021-03-16T02:43:17.568Z] 745a02a5169b: Download complete [2021-03-16T02:43:18.547Z] 00ac8860ef70: Verifying Checksum [2021-03-16T02:43:18.547Z] 00ac8860ef70: Download complete [2021-03-16T02:43:28.713Z] 00ac8860ef70: Pull complete [2021-03-16T02:43:28.987Z] 63d7cb157983: Pull complete [2021-03-16T02:43:29.261Z] b116817d02f9: Pull complete [2021-03-16T02:43:33.585Z] 745a02a5169b: Pull complete [2021-03-16T02:43:33.585Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-16T02:43:33.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-16T02:43:33.585Z] ---> b7e6874047d6 [2021-03-16T02:43:33.585Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T02:43:35.562Z] ---> Running in 3f4544419217 [2021-03-16T02:43:36.157Z] Removing intermediate container 3f4544419217 [2021-03-16T02:43:36.157Z] ---> 4051ba18fdc1 [2021-03-16T02:43:36.157Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T02:43:36.157Z] ---> Running in ab0a3133b69f [2021-03-16T02:43:38.785Z] Removing intermediate container ab0a3133b69f [2021-03-16T02:43:38.785Z] ---> 3f3514f8e5af [2021-03-16T02:43:38.785Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-16T02:43:38.785Z] ---> Running in 8962c1c870ce [2021-03-16T02:43:39.765Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-16T02:43:40.367Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-16T02:43:40.961Z] OK: 142 MiB in 39 packages [2021-03-16T02:43:42.406Z] Removing intermediate container 8962c1c870ce [2021-03-16T02:43:42.406Z] ---> a878524dceee [2021-03-16T02:43:42.406Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-16T02:43:42.406Z] ---> Running in 2b17d5ad9400 [2021-03-16T02:43:42.680Z] Removing intermediate container 2b17d5ad9400 [2021-03-16T02:43:42.680Z] ---> f81bb7bd6c91 [2021-03-16T02:43:42.680Z] Step 7/8 : COPY . . [2021-03-16T02:43:44.120Z] ---> de4436112ade [2021-03-16T02:43:44.120Z] Step 8/8 : RUN go mod download [2021-03-16T02:43:44.120Z] ---> Running in 6626214ef6e0 [2021-03-16T02:44:10.965Z] Removing intermediate container 6626214ef6e0 [2021-03-16T02:44:10.965Z] ---> 70dfb9ee55c8 [2021-03-16T02:44:10.965Z] Successfully built 70dfb9ee55c8 [2021-03-16T02:44:10.965Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T02:44:11.312Z] + docker inspect -f . ci-base-image-arm64 [2021-03-16T02:44:11.312Z] . [Pipeline] withDockerContainer [2021-03-16T02:44:11.546Z] prd-ubuntu18.04-docker-arm64-4c-16g-29907 does not seem to be running inside a container [2021-03-16T02:44:11.632Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-16T02:44:13.117Z] $ docker top d3710e7f9c4930150c94cef45bf392e2ee0a6343413a5cdf38b2247cf55c99e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T02:44:14.138Z] + go version [2021-03-16T02:44:14.138Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-16T02:44:14.164Z] $ docker stop --time=1 d3710e7f9c4930150c94cef45bf392e2ee0a6343413a5cdf38b2247cf55c99e6 [2021-03-16T02:44:16.000Z] $ docker rm -f d3710e7f9c4930150c94cef45bf392e2ee0a6343413a5cdf38b2247cf55c99e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-16T02:44:17.001Z] + docker inspect -f . ci-base-image-arm64 [2021-03-16T02:44:17.001Z] . [Pipeline] withDockerContainer [2021-03-16T02:44:17.238Z] prd-ubuntu18.04-docker-arm64-4c-16g-29907 does not seem to be running inside a container [2021-03-16T02:44:17.315Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-16T02:44:18.827Z] $ docker top b365bfe15066e0d93f36ed17f8107a7525ac3bacfd8809d9f7b06eac34af38ab -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T02:44:19.855Z] + make test [2021-03-16T02:44:19.856Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-16T02:44:42.022Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-16T02:45:01.690Z] Running on prd-centos7-docker-4c-2g-29908 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-03-16T02:45:01.815Z] Running in /w/workspace/device-sdk-go/19 [Pipeline] { [Pipeline] checkout [2021-03-16T02:45:04.497Z] using credential edgex-jenkins-ssh [2021-03-16T02:45:04.580Z] Cloning the remote Git repository [2021-03-16T02:45:04.624Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T02:45:04.705Z] > git init /w/workspace/device-sdk-go/19 # timeout=10 [2021-03-16T02:45:04.785Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T02:45:04.785Z] > git --version # timeout=10 [2021-03-16T02:45:04.798Z] > git --version # 'git version 2.24.3' [2021-03-16T02:45:04.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T02:45:04.830Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T02:45:06.192Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T02:45:06.200Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T02:45:06.216Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T02:45:06.232Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T02:45:06.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T02:45:06.236Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-16T02:45:06.731Z] Merging remotes/origin/master commit 4a48ed36b56f70f387819c322f1a51e9c7883451 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-03-16T02:45:06.900Z] Merge succeeded, producing b2e14cd5983da4b2ab1230acb74eabcf417b18a9 [2021-03-16T02:45:06.901Z] Checking out Revision b2e14cd5983da4b2ab1230acb74eabcf417b18a9 (PR-725) [2021-03-16T02:45:06.740Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T02:45:06.747Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-03-16T02:45:06.806Z] > git remote # timeout=10 [2021-03-16T02:45:06.813Z] > git config --get remote.origin.url # timeout=10 [2021-03-16T02:45:06.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T02:45:06.823Z] > git merge 4a48ed36b56f70f387819c322f1a51e9c7883451 # timeout=10 [2021-03-16T02:45:06.894Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-16T02:45:06.903Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T02:45:06.910Z] > git checkout -f b2e14cd5983da4b2ab1230acb74eabcf417b18a9 # timeout=10 [2021-03-16T02:45:10.590Z] Commit message: "Merge commit '4a48ed36b56f70f387819c322f1a51e9c7883451' into HEAD" [2021-03-16T02:45:10.602Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T02:45:10.594Z] > git rev-list --no-walk d3bf9c36920b917ddbb5b6097c4ac0b3e90eb114 # timeout=10 [2021-03-16T02:45:11.880Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-16T02:45:12.209Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-16T02:45:12.505Z] + sudo service docker restart [2021-03-16T02:45:12.505Z] + true [2021-03-16T02:45:12.505Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T02:45:13.969Z] provisioning config files... [2021-03-16T02:45:13.995Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/19@tmp/config6315317833425619713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T02:45:14.360Z] ---> docker-login.sh [2021-03-16T02:45:14.360Z] nexus3.edgexfoundry.org:10001 [2021-03-16T02:45:14.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T02:45:14.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T02:45:14.622Z] Configure a credential helper to remove this warning. See [2021-03-16T02:45:14.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T02:45:14.622Z] [2021-03-16T02:45:14.622Z] Login Succeeded [2021-03-16T02:45:14.622Z] nexus3.edgexfoundry.org:10002 [2021-03-16T02:45:14.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T02:45:14.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T02:45:14.893Z] Configure a credential helper to remove this warning. See [2021-03-16T02:45:14.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T02:45:14.893Z] [2021-03-16T02:45:14.893Z] Login Succeeded [2021-03-16T02:45:14.893Z] nexus3.edgexfoundry.org:10003 [2021-03-16T02:45:14.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T02:45:15.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T02:45:15.155Z] Configure a credential helper to remove this warning. See [2021-03-16T02:45:15.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T02:45:15.155Z] [2021-03-16T02:45:15.155Z] Login Succeeded [2021-03-16T02:45:15.155Z] nexus3.edgexfoundry.org:10004 [2021-03-16T02:45:15.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T02:45:15.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T02:45:15.155Z] Configure a credential helper to remove this warning. See [2021-03-16T02:45:15.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T02:45:15.155Z] [2021-03-16T02:45:15.155Z] Login Succeeded [2021-03-16T02:45:15.155Z] docker.io [2021-03-16T02:45:15.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T02:45:15.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T02:45:15.680Z] Configure a credential helper to remove this warning. See [2021-03-16T02:45:15.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T02:45:15.680Z] [2021-03-16T02:45:15.680Z] Login Succeeded [2021-03-16T02:45:15.680Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T02:45:15.688Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-16T02:45:15.991Z] ========================================================= [2021-03-16T02:45:15.991Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-16T02:45:15.991Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-16T02:45:16.332Z] + 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-16T02:45:16.598Z] Sending build context to Docker daemon 2.266MB [2021-03-16T02:45:16.598Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T02:45:16.598Z] Step 2/8 : FROM ${BASE} [2021-03-16T02:45:16.598Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-16T02:45:16.598Z] 188c0c94c7c5: Pulling fs layer [2021-03-16T02:45:16.598Z] 0ef7d3d256c8: Pulling fs layer [2021-03-16T02:45:16.598Z] de9db76c5a1d: Pulling fs layer [2021-03-16T02:45:16.598Z] bca2f99d35d6: Pulling fs layer [2021-03-16T02:45:16.598Z] 93359f2a8cfa: Pulling fs layer [2021-03-16T02:45:16.598Z] 7c6f9722023f: Pulling fs layer [2021-03-16T02:45:16.598Z] a35cf1a2eb13: Pulling fs layer [2021-03-16T02:45:16.598Z] 93359f2a8cfa: Waiting [2021-03-16T02:45:16.598Z] bca2f99d35d6: Waiting [2021-03-16T02:45:16.598Z] 7c6f9722023f: Waiting [2021-03-16T02:45:16.598Z] a35cf1a2eb13: Waiting [2021-03-16T02:45:16.598Z] de9db76c5a1d: Verifying Checksum [2021-03-16T02:45:16.598Z] de9db76c5a1d: Download complete [2021-03-16T02:45:16.598Z] 0ef7d3d256c8: Download complete [2021-03-16T02:45:16.598Z] 93359f2a8cfa: Verifying Checksum [2021-03-16T02:45:16.598Z] 93359f2a8cfa: Download complete [2021-03-16T02:45:16.598Z] 188c0c94c7c5: Verifying Checksum [2021-03-16T02:45:16.598Z] 188c0c94c7c5: Download complete [2021-03-16T02:45:16.598Z] 7c6f9722023f: Verifying Checksum [2021-03-16T02:45:16.598Z] 7c6f9722023f: Download complete [2021-03-16T02:45:16.862Z] 188c0c94c7c5: Pull complete [2021-03-16T02:45:17.133Z] 0ef7d3d256c8: Pull complete [2021-03-16T02:45:17.395Z] de9db76c5a1d: Pull complete [2021-03-16T02:45:18.792Z] a35cf1a2eb13: Verifying Checksum [2021-03-16T02:45:18.792Z] a35cf1a2eb13: Download complete [2021-03-16T02:45:19.369Z] bca2f99d35d6: Verifying Checksum [2021-03-16T02:45:19.369Z] bca2f99d35d6: Download complete [2021-03-16T02:45:24.685Z] bca2f99d35d6: Pull complete [2021-03-16T02:45:24.685Z] 93359f2a8cfa: Pull complete [2021-03-16T02:45:24.685Z] 7c6f9722023f: Pull complete [2021-03-16T02:45:29.046Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-16T02:45:29.046Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-16T02:45:29.046Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-16T02:45:29.046Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.126s coverage: 25.5% of statements [2021-03-16T02:45:32.859Z] a35cf1a2eb13: Pull complete [2021-03-16T02:45:32.859Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-16T02:45:32.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-16T02:45:32.859Z] ---> a62c8e92a672 [2021-03-16T02:45:32.859Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T02:45:32.859Z] ---> Running in 2a498f8c7305 [2021-03-16T02:45:32.859Z] Removing intermediate container 2a498f8c7305 [2021-03-16T02:45:32.859Z] ---> 541e35468586 [2021-03-16T02:45:32.859Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T02:45:33.141Z] ---> Running in ba70e2c3fd18 [2021-03-16T02:45:34.098Z] Removing intermediate container ba70e2c3fd18 [2021-03-16T02:45:34.098Z] ---> 553531e34531 [2021-03-16T02:45:34.098Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-16T02:45:34.098Z] ---> Running in 553681ce85e7 [2021-03-16T02:45:35.047Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-16T02:45:35.996Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-16T02:45:36.259Z] OK: 166 MiB in 39 packages [2021-03-16T02:45:36.834Z] Removing intermediate container 553681ce85e7 [2021-03-16T02:45:36.834Z] ---> c35c917899a2 [2021-03-16T02:45:36.834Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-16T02:45:36.834Z] ---> Running in ef6ea69cbe4e [2021-03-16T02:45:37.098Z] Removing intermediate container ef6ea69cbe4e [2021-03-16T02:45:37.098Z] ---> f414e53de719 [2021-03-16T02:45:37.098Z] Step 7/8 : COPY . . [2021-03-16T02:45:38.055Z] ---> 96c8bb938db5 [2021-03-16T02:45:38.055Z] Step 8/8 : RUN go mod download [2021-03-16T02:45:38.055Z] ---> Running in ac600f1198c7 [2021-03-16T02:45:55.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.134s coverage: 10.5% of statements [2021-03-16T02:45:55.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.128s coverage: 12.5% of statements [2021-03-16T02:45:55.826Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-16T02:45:55.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.153s coverage: 84.8% of statements [2021-03-16T02:45:55.826Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-16T02:45:55.826Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-16T02:45:55.826Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-16T02:45:55.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.260s coverage: 57.3% of statements [2021-03-16T02:45:55.826Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-16T02:45:55.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.187s coverage: 81.2% of statements [2021-03-16T02:45:55.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.173s coverage: 24.8% of statements [2021-03-16T02:45:55.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.798s coverage: 6.4% of statements [2021-03-16T02:45:55.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.2% of statements [2021-03-16T02:45:55.826Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-16T02:45:56.420Z] GO111MODULE=on go vet ./... [2021-03-16T02:46:04.750Z] Removing intermediate container ac600f1198c7 [2021-03-16T02:46:04.750Z] ---> f5d2acf6b35d [2021-03-16T02:46:04.750Z] Successfully built f5d2acf6b35d [2021-03-16T02:46:04.750Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T02:46:05.059Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-16T02:46:05.059Z] . [Pipeline] withDockerContainer [2021-03-16T02:46:05.167Z] prd-centos7-docker-4c-2g-29908 does not seem to be running inside a container [2021-03-16T02:46:05.231Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@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-x86_64 cat [2021-03-16T02:46:06.015Z] $ docker top 76d58d96823b10a0aa2907883316211a5babe628b20a4113459306225a967631 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T02:46:06.559Z] + go version [2021-03-16T02:46:06.559Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-16T02:46:06.575Z] $ docker stop --time=1 76d58d96823b10a0aa2907883316211a5babe628b20a4113459306225a967631 [2021-03-16T02:46:07.977Z] $ docker rm -f 76d58d96823b10a0aa2907883316211a5babe628b20a4113459306225a967631 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-16T02:46:08.808Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-16T02:46:08.808Z] . [Pipeline] withDockerContainer [2021-03-16T02:46:08.902Z] prd-centos7-docker-4c-2g-29908 does not seem to be running inside a container [2021-03-16T02:46:08.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@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-x86_64 cat [2021-03-16T02:46:09.609Z] $ docker top b0584232efcc7eb177e5615bc9ba26170c87506a255571eaecae8bb5d6e12e0a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T02:46:10.086Z] + make test [2021-03-16T02:46:10.086Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-16T02:46:18.290Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-16T02:46:33.361Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-16T02:46:33.361Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-16T02:46:33.361Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-16T02:46:35.304Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 25.5% of statements [2021-03-16T02:46:35.609Z] gofmt -l . [2021-03-16T02:46:35.609Z] [ "`gofmt -l .`" = "" ] [2021-03-16T02:46:35.609Z] ./bin/test-attribution-txt.sh [2021-03-16T02:46:35.609Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-16T02:46:35.630Z] $ docker stop --time=1 b365bfe15066e0d93f36ed17f8107a7525ac3bacfd8809d9f7b06eac34af38ab [2021-03-16T02:46:37.913Z] $ docker rm -f b365bfe15066e0d93f36ed17f8107a7525ac3bacfd8809d9f7b06eac34af38ab [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T02:46:39.075Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-16T02:46:39.873Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T02:46:42.667Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-16T02:46:42.993Z] + ls -al . [2021-03-16T02:46:42.993Z] total 224 [2021-03-16T02:46:42.993Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 02:46 . [2021-03-16T02:46:42.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 02:42 .. [2021-03-16T02:46:42.993Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 02:42 .dockerignore [2021-03-16T02:46:42.993Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 02:43 .git [2021-03-16T02:46:42.993Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 02:42 .github [2021-03-16T02:46:42.993Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 16 02:42 .gitignore [2021-03-16T02:46:42.993Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 16 02:42 Dockerfile.build [2021-03-16T02:46:42.993Z] -rw-rw-r-- 1 jenkins jenkins 894 Mar 16 02:42 Jenkinsfile [2021-03-16T02:46:42.993Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 16 02:42 LICENSE [2021-03-16T02:46:42.993Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 16 02:42 Makefile [2021-03-16T02:46:42.993Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 16 02:42 README.md [2021-03-16T02:46:42.993Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 16 02:42 RELEASE-NOTES.txt [2021-03-16T02:46:42.993Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 02:40 VERSION [2021-03-16T02:46:42.993Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 02:42 bin [2021-03-16T02:46:42.993Z] -rw-r--r-- 1 jenkins jenkins 103401 Mar 16 02:45 coverage.out [2021-03-16T02:46:42.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 02:42 example [2021-03-16T02:46:42.993Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 16 02:46 go.mod [2021-03-16T02:46:42.993Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 16 02:46 go.sum [2021-03-16T02:46:42.993Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 02:42 internal [2021-03-16T02:46:42.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 02:42 openapi [2021-03-16T02:46:42.993Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 02:42 pkg [2021-03-16T02:46:42.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 02:42 snap [2021-03-16T02:46:42.993Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 16 02:42 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-16T02:46:43.325Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7cbecbb3357f4fad9a0f7f795cc02cb112067614 --label arch=arm64 --label version=0.0.0 . [2021-03-16T02:46:43.596Z] Sending build context to Docker daemon 2.376MB [2021-03-16T02:46:43.596Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T02:46:43.596Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-16T02:46:43.596Z] ---> 70dfb9ee55c8 [2021-03-16T02:46:43.596Z] Step 3/24 : ARG MAKE='make build' [2021-03-16T02:46:43.868Z] ---> Running in 5e2769780849 [2021-03-16T02:46:44.459Z] Removing intermediate container 5e2769780849 [2021-03-16T02:46:44.459Z] ---> 31815d3d73da [2021-03-16T02:46:44.459Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-16T02:46:44.459Z] ---> Running in 473c80e554d5 [2021-03-16T02:46:45.050Z] Removing intermediate container 473c80e554d5 [2021-03-16T02:46:45.050Z] ---> 00657b53212a [2021-03-16T02:46:45.050Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T02:46:45.050Z] ---> Running in c15f10a00351 [2021-03-16T02:46:45.323Z] Removing intermediate container c15f10a00351 [2021-03-16T02:46:45.323Z] ---> f3d62fa7b72d [2021-03-16T02:46:45.323Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T02:46:45.594Z] ---> Running in 669848eeb75f [2021-03-16T02:46:47.564Z] Removing intermediate container 669848eeb75f [2021-03-16T02:46:47.564Z] ---> 59837e23b4c8 [2021-03-16T02:46:47.564Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-16T02:46:47.841Z] ---> Running in d54856b86465 [2021-03-16T02:46:48.822Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-16T02:46:49.416Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-16T02:46:50.013Z] OK: 142 MiB in 39 packages [2021-03-16T02:46:51.446Z] Removing intermediate container d54856b86465 [2021-03-16T02:46:51.446Z] ---> 59e5356ef475 [2021-03-16T02:46:51.446Z] Step 8/24 : COPY . . [2021-03-16T02:46:52.420Z] ---> ac61a3b4d507 [2021-03-16T02:46:52.420Z] Step 9/24 : RUN ${MAKE} [2021-03-16T02:46:52.420Z] ---> Running in e69479726480 [2021-03-16T02:46:53.398Z] 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-16T02:47:07.488Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.057s coverage: 10.5% of statements [2021-03-16T02:47:07.489Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.047s coverage: 12.5% of statements [2021-03-16T02:47:07.489Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-16T02:47:07.489Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.068s coverage: 84.8% of statements [2021-03-16T02:47:07.489Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-16T02:47:07.489Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-16T02:47:07.489Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-16T02:47:07.489Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.117s coverage: 57.3% of statements [2021-03-16T02:47:07.489Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-16T02:47:07.489Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.086s coverage: 81.2% of statements [2021-03-16T02:47:07.489Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.076s coverage: 24.8% of statements [2021-03-16T02:47:07.489Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.164s coverage: 6.4% of statements [2021-03-16T02:47:07.489Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.2% of statements [2021-03-16T02:47:07.489Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-16T02:47:07.489Z] GO111MODULE=on go vet ./... [2021-03-16T02:47:15.749Z] gofmt -l . [2021-03-16T02:47:15.749Z] [ "`gofmt -l .`" = "" ] [2021-03-16T02:47:15.749Z] ./bin/test-attribution-txt.sh [2021-03-16T02:47:15.749Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-16T02:47:15.766Z] $ docker stop --time=1 b0584232efcc7eb177e5615bc9ba26170c87506a255571eaecae8bb5d6e12e0a [2021-03-16T02:47:17.723Z] $ docker rm -f b0584232efcc7eb177e5615bc9ba26170c87506a255571eaecae8bb5d6e12e0a [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T02:47:18.484Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-16T02:47:18.542Z] Warning: overwriting stash ‘coverage-report’ [2021-03-16T02:47:18.907Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-16T02:47:19.486Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-16T02:47:19.792Z] + ls -al . [2021-03-16T02:47:19.792Z] total 188 [2021-03-16T02:47:19.792Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 16 02:47 . [2021-03-16T02:47:19.792Z] drwxrwxr-x. 4 jenkins jenkins 30 Mar 16 02:45 .. [2021-03-16T02:47:19.792Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 16 02:45 bin [2021-03-16T02:47:19.792Z] -rw-r--r--. 1 jenkins jenkins 103401 Mar 16 02:47 coverage.out [2021-03-16T02:47:19.792Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 16 02:45 Dockerfile.build [2021-03-16T02:47:19.792Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 16 02:45 .dockerignore [2021-03-16T02:47:19.792Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 16 02:45 example [2021-03-16T02:47:19.792Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 16 02:45 .git [2021-03-16T02:47:19.792Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 16 02:45 .github [2021-03-16T02:47:19.792Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 16 02:45 .gitignore [2021-03-16T02:47:19.792Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 16 02:47 go.mod [2021-03-16T02:47:19.792Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 16 02:47 go.sum [2021-03-16T02:47:19.792Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 16 02:45 internal [2021-03-16T02:47:19.792Z] -rw-rw-r--. 1 jenkins jenkins 894 Mar 16 02:45 Jenkinsfile [2021-03-16T02:47:19.792Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 16 02:45 LICENSE [2021-03-16T02:47:19.792Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 16 02:45 Makefile [2021-03-16T02:47:19.792Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 16 02:45 openapi [2021-03-16T02:47:19.792Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 16 02:45 pkg [2021-03-16T02:47:19.792Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 16 02:45 README.md [2021-03-16T02:47:19.792Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 16 02:45 RELEASE-NOTES.txt [2021-03-16T02:47:19.792Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 16 02:45 snap [2021-03-16T02:47:19.792Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 16 02:40 VERSION [2021-03-16T02:47:19.792Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 16 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-16T02:47:20.101Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=7cbecbb3357f4fad9a0f7f795cc02cb112067614 --label arch=amd64 --label version=0.0.0 . [2021-03-16T02:47:20.200Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-16T02:47:20.363Z] Sending build context to Docker daemon 2.37MB [2021-03-16T02:47:20.363Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T02:47:20.363Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-16T02:47:20.363Z] ---> f5d2acf6b35d [2021-03-16T02:47:20.363Z] Step 3/24 : ARG MAKE='make build' [2021-03-16T02:47:20.939Z] ---> Running in 5cb896b173e1 [2021-03-16T02:47:20.939Z] Removing intermediate container 5cb896b173e1 [2021-03-16T02:47:20.939Z] ---> 2c70c42189da [2021-03-16T02:47:20.939Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-16T02:47:20.939Z] ---> Running in 7b81a06d437b [2021-03-16T02:47:21.173Z] Removing intermediate container e69479726480 [2021-03-16T02:47:21.173Z] ---> a67221e6df86 [2021-03-16T02:47:21.173Z] Step 10/24 : FROM scratch [2021-03-16T02:47:21.173Z] ---> [2021-03-16T02:47:21.173Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T02:47:21.173Z] ---> Running in 78d6c9f615a7 [2021-03-16T02:47:21.201Z] Removing intermediate container 7b81a06d437b [2021-03-16T02:47:21.201Z] ---> 55f3eab6d8fe [2021-03-16T02:47:21.201Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T02:47:21.201Z] ---> Running in e5fd3b7033a0 [2021-03-16T02:47:21.444Z] Removing intermediate container 78d6c9f615a7 [2021-03-16T02:47:21.444Z] ---> 32fb508f1f2d [2021-03-16T02:47:21.444Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-16T02:47:21.464Z] Removing intermediate container e5fd3b7033a0 [2021-03-16T02:47:21.464Z] ---> 576041b39749 [2021-03-16T02:47:21.464Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T02:47:21.464Z] ---> Running in d9b98e1709e5 [2021-03-16T02:47:21.715Z] ---> Running in 1c96e272be3a [2021-03-16T02:47:21.991Z] Removing intermediate container 1c96e272be3a [2021-03-16T02:47:21.991Z] ---> 6e5d83bce845 [2021-03-16T02:47:21.991Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-16T02:47:22.263Z] ---> Running in d350b7cc918f [2021-03-16T02:47:22.413Z] Removing intermediate container d9b98e1709e5 [2021-03-16T02:47:22.414Z] ---> d92d36cf9b41 [2021-03-16T02:47:22.414Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-16T02:47:22.414Z] ---> Running in 79b34ac2f17a [2021-03-16T02:47:22.537Z] Removing intermediate container d350b7cc918f [2021-03-16T02:47:22.537Z] ---> af596803226b [2021-03-16T02:47:22.537Z] Step 14/24 : WORKDIR / [2021-03-16T02:47:22.814Z] ---> Running in 69b284bc06df [2021-03-16T02:47:22.989Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-16T02:47:23.087Z] Removing intermediate container 69b284bc06df [2021-03-16T02:47:23.087Z] ---> efb487e444f0 [2021-03-16T02:47:23.087Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-16T02:47:24.517Z] ---> ef0abc0057b7 [2021-03-16T02:47:24.517Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-16T02:47:24.910Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-16T02:47:25.109Z] ---> 228ad549e3be [2021-03-16T02:47:25.109Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-16T02:47:25.172Z] OK: 166 MiB in 39 packages [2021-03-16T02:47:25.441Z] Removing intermediate container 79b34ac2f17a [2021-03-16T02:47:25.441Z] ---> 7cfb8a80fb64 [2021-03-16T02:47:25.441Z] Step 8/24 : COPY . . [2021-03-16T02:47:25.702Z] ---> 8c32cf162f64 [2021-03-16T02:47:25.702Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-16T02:47:26.298Z] ---> b7a1f82c029a [2021-03-16T02:47:26.298Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-16T02:47:26.387Z] ---> dbddf94f9cbf [2021-03-16T02:47:26.387Z] Step 9/24 : RUN ${MAKE} [2021-03-16T02:47:26.651Z] ---> Running in 7e6b43835f2d [2021-03-16T02:47:26.919Z] 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-16T02:47:27.275Z] ---> 8bf02a931d1d [2021-03-16T02:47:27.275Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-16T02:47:27.275Z] ---> Running in 3ecf30cd0d20 [2021-03-16T02:47:27.869Z] Removing intermediate container 3ecf30cd0d20 [2021-03-16T02:47:27.869Z] ---> 217abd142704 [2021-03-16T02:47:27.869Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-16T02:47:27.869Z] ---> Running in 821165a6feed [2021-03-16T02:47:28.144Z] Removing intermediate container 821165a6feed [2021-03-16T02:47:28.144Z] ---> 7b09e63f3193 [2021-03-16T02:47:28.144Z] Step 22/24 : LABEL arch=arm64 [2021-03-16T02:47:28.422Z] ---> Running in 46921ea1602a [2021-03-16T02:47:29.016Z] Removing intermediate container 46921ea1602a [2021-03-16T02:47:29.016Z] ---> ff97d88f5d60 [2021-03-16T02:47:29.016Z] Step 23/24 : LABEL git_sha=7cbecbb3357f4fad9a0f7f795cc02cb112067614 [2021-03-16T02:47:29.016Z] ---> Running in 462413a54ec6 [2021-03-16T02:47:29.608Z] Removing intermediate container 462413a54ec6 [2021-03-16T02:47:29.608Z] ---> ccd2dbc0fad2 [2021-03-16T02:47:29.608Z] Step 24/24 : LABEL version=0.0.0 [2021-03-16T02:47:29.608Z] ---> Running in f80acfdfdaa1 [2021-03-16T02:47:30.199Z] Removing intermediate container f80acfdfdaa1 [2021-03-16T02:47:30.199Z] ---> da094e342ee8 [2021-03-16T02:47:30.199Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-16T02:47:30.199Z] Successfully built da094e342ee8 [2021-03-16T02:47:30.199Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-16T02:47:31.417Z] ---> job-cost.sh [2021-03-16T02:47:31.417Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-s6XZ [2021-03-16T02:47:37.051Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-16T02:47:38.005Z] Removing intermediate container 7e6b43835f2d [2021-03-16T02:47:38.005Z] ---> f1c5420d6075 [2021-03-16T02:47:38.005Z] Step 10/24 : FROM scratch [2021-03-16T02:47:38.005Z] ---> [2021-03-16T02:47:38.005Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T02:47:38.005Z] ---> Running in 9591e41f7cf0 [2021-03-16T02:47:38.268Z] Removing intermediate container 9591e41f7cf0 [2021-03-16T02:47:38.268Z] ---> 875c360d861e [2021-03-16T02:47:38.268Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-16T02:47:38.268Z] ---> Running in f1efd56f14f5 [2021-03-16T02:47:38.531Z] Removing intermediate container f1efd56f14f5 [2021-03-16T02:47:38.532Z] ---> 26e6983dda0a [2021-03-16T02:47:38.532Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-16T02:47:38.532Z] ---> Running in ea15b2529ae1 [2021-03-16T02:47:38.795Z] Removing intermediate container ea15b2529ae1 [2021-03-16T02:47:38.795Z] ---> 7815d182a14c [2021-03-16T02:47:38.795Z] Step 14/24 : WORKDIR / [2021-03-16T02:47:38.795Z] ---> Running in 9037976842fc [2021-03-16T02:47:39.058Z] Removing intermediate container 9037976842fc [2021-03-16T02:47:39.058Z] ---> ba7504181800 [2021-03-16T02:47:39.058Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-16T02:47:39.322Z] ---> 400a0130f28f [2021-03-16T02:47:39.322Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-16T02:47:39.584Z] ---> 5ee9e514ea81 [2021-03-16T02:47:39.584Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-16T02:47:39.848Z] ---> 837665eb798a [2021-03-16T02:47:39.848Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-16T02:47:40.111Z] ---> 2e75e906b7e4 [2021-03-16T02:47:40.111Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-16T02:47:40.373Z] ---> 198d4b5d3f30 [2021-03-16T02:47:40.373Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-16T02:47:40.373Z] ---> Running in 24cd98fd5204 [2021-03-16T02:47:40.636Z] Removing intermediate container 24cd98fd5204 [2021-03-16T02:47:40.636Z] ---> 9999b4f3d27a [2021-03-16T02:47:40.636Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-16T02:47:40.636Z] ---> Running in 995a74999a1c [2021-03-16T02:47:40.637Z] Removing intermediate container 995a74999a1c [2021-03-16T02:47:40.637Z] ---> 264d115933a1 [2021-03-16T02:47:40.637Z] Step 22/24 : LABEL arch=amd64 [2021-03-16T02:47:40.899Z] ---> Running in 9c19ff46465d [2021-03-16T02:47:40.899Z] Removing intermediate container 9c19ff46465d [2021-03-16T02:47:40.899Z] ---> 69267b8512e2 [2021-03-16T02:47:40.899Z] Step 23/24 : LABEL git_sha=7cbecbb3357f4fad9a0f7f795cc02cb112067614 [2021-03-16T02:47:41.162Z] ---> Running in aff440d8374c [2021-03-16T02:47:41.162Z] Removing intermediate container aff440d8374c [2021-03-16T02:47:41.162Z] ---> 3652a0c4f2f5 [2021-03-16T02:47:41.162Z] Step 24/24 : LABEL version=0.0.0 [2021-03-16T02:47:41.162Z] ---> Running in ac02f0523a00 [2021-03-16T02:47:41.424Z] Removing intermediate container ac02f0523a00 [2021-03-16T02:47:41.424Z] ---> b4746c1c0ca7 [2021-03-16T02:47:41.424Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-16T02:47:41.424Z] Successfully built b4746c1c0ca7 [2021-03-16T02:47:41.424Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-16T02:47:42.347Z] ---> job-cost.sh [2021-03-16T02:47:42.347Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-a5VV [2021-03-16T02:47:57.293Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-16T02:48:10.362Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-16T02:48:23.937Z] lf-activate-venv(): INFO: Adding /tmp/venv-a5VV/bin to PATH [2021-03-16T02:48:23.937Z] INFO: No Stack... [2021-03-16T02:48:23.937Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-16T02:48:23.937Z] INFO: Archiving Costs [Pipeline] sh [2021-03-16T02:48:24.245Z] + cat /w/workspace/device-sdk-go/19/archives/cost.csv [2021-03-16T02:48:24.245Z] + cut -d, -f6 [Pipeline] lock [2021-03-16T02:48:24.330Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-19-stack-cost] [2021-03-16T02:48:24.340Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-19-stack-cost] did not exist. Created. [2021-03-16T02:48:24.340Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-16T02:48:24.762Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-16T02:48:24.925Z] Stashed 1 file(s) [Pipeline] } [2021-03-16T02:48:24.945Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-19-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-16T02:49:32.071Z] lf-activate-venv(): INFO: Adding /tmp/venv-s6XZ/bin to PATH [2021-03-16T02:49:32.071Z] INFO: No Stack... [2021-03-16T02:49:33.041Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-16T02:49:33.311Z] INFO: Archiving Costs [Pipeline] sh [2021-03-16T02:49:33.644Z] + cut -d, -f6 [2021-03-16T02:49:33.644Z] + cat /w/workspace/device-sdk-go/19/archives/cost.csv [Pipeline] lock [2021-03-16T02:49:33.757Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-19-stack-cost] [2021-03-16T02:49:33.765Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-19-stack-cost] did not exist. Created. [2021-03-16T02:49:33.765Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-16T02:49:34.236Z] /w/workspace/device-sdk-go/19@tmp/durable-5e203902/script.sh: 1: /w/workspace/device-sdk-go/19@tmp/durable-5e203902/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-16T02:49:34.575Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-16T02:49:34.645Z] Warning: overwriting stash ‘stack-cost’ [2021-03-16T02:49:34.809Z] Stashed 1 file(s) [Pipeline] } [2021-03-16T02:49:34.838Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-19-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-16T02:49:36.389Z] provisioning config files... [2021-03-16T02:49:36.400Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config8889845810023274403tmp [Pipeline] { [Pipeline] sh [2021-03-16T02:49:36.793Z] + set +x [2021-03-16T02:49:36.793Z] + curl -s https://codecov.io/bash [2021-03-16T02:49:36.793Z] + bash -s -- [2021-03-16T02:49:37.054Z] [2021-03-16T02:49:37.054Z] _____ _ [2021-03-16T02:49:37.054Z] / ____| | | [2021-03-16T02:49:37.054Z] | | ___ __| | ___ ___ _____ __ [2021-03-16T02:49:37.054Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-16T02:49:37.054Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-16T02:49:37.054Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-16T02:49:37.054Z] Bash-20210309-2b87ace [2021-03-16T02:49:37.054Z] [2021-03-16T02:49:37.054Z] [2021-03-16T02:49:37.054Z] ==> git version 2.24.3 found [2021-03-16T02:49:37.054Z] ==> 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-16T02:49:37.054Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-16T02:49:37.054Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-16T02:49:37.054Z] ==> Jenkins CI detected. [2021-03-16T02:49:37.054Z] project root: . [2021-03-16T02:49:37.054Z] --> token set from env [2021-03-16T02:49:37.054Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-16T02:49:37.054Z] ==> Running gcov in . (disable via -X gcov) [2021-03-16T02:49:37.054Z] ==> Python coveragepy not found [2021-03-16T02:49:37.054Z] ==> Searching for coverage reports in: [2021-03-16T02:49:37.054Z] + . [2021-03-16T02:49:37.054Z] -> Found 1 reports [2021-03-16T02:49:37.054Z] ==> Detecting git/mercurial file structure [2021-03-16T02:49:37.054Z] ==> Reading reports [2021-03-16T02:49:37.054Z] + ./coverage.out bytes=103401 [2021-03-16T02:49:37.054Z] ==> Appending adjustments [2021-03-16T02:49:37.054Z] https://docs.codecov.io/docs/fixing-reports [2021-03-16T02:49:37.316Z] + Found adjustments [2021-03-16T02:49:37.316Z] ==> Gzipping contents [2021-03-16T02:49:37.580Z] 16K /tmp/codecov.TnzebZ.gz [2021-03-16T02:49:37.580Z] ==> Uploading reports [2021-03-16T02:49:37.580Z] url: https://codecov.io [2021-03-16T02:49:37.580Z] query: branch=PR-725&commit=7cbecbb3357f4fad9a0f7f795cc02cb112067614&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-03-16T02:49:37.580Z] -> Pinging Codecov [2021-03-16T02:49:37.580Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-725&commit=7cbecbb3357f4fad9a0f7f795cc02cb112067614&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-03-16T02:49:37.842Z] -> Uploading to [2021-03-16T02:49:37.842Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-16/7E55EF52A471D76F132DFD9A03CDDE97/7cbecbb3357f4fad9a0f7f795cc02cb112067614/1797cb5e-606e-4d1e-ba4f-1d05979cfb05.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210316T024937Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b64a4fd17a6fb932fc4f8e5d70774019477113ebf95dad78e5c6d12b835fd4ea [2021-03-16T02:49:37.842Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-16T02:49:37.842Z] Dload Upload Total Spent Left Speed [2021-03-16T02:49:38.416Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13862 0 0 100 13862 0 32153 --:--:-- --:--:-- --:--:-- 32237 [2021-03-16T02:49:38.416Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7cbecbb3357f4fad9a0f7f795cc02cb112067614 [Pipeline] } [2021-03-16T02:49:38.426Z] 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-16T02:49:41.028Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T02:49:41.595Z] ---> package-listing.sh [2021-03-16T02:49:41.595Z] ++ facter osfamily [2021-03-16T02:49:41.595Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-16T02:49:41.595Z] + OS_FAMILY=redhat [2021-03-16T02:49:41.595Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-03-16T02:49:41.595Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-16T02:49:41.595Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-16T02:49:41.595Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-16T02:49:41.595Z] + PACKAGES=/tmp/packages_start.txt [2021-03-16T02:49:41.595Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-03-16T02:49:41.595Z] + PACKAGES=/tmp/packages_end.txt [2021-03-16T02:49:41.595Z] + case "${OS_FAMILY}" in [2021-03-16T02:49:41.595Z] + rpm -qa [2021-03-16T02:49:41.595Z] + sort [2021-03-16T02:49:46.900Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-16T02:49:46.900Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-16T02:49:46.900Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-16T02:49:46.900Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-03-16T02:49:46.900Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-03-16T02:49:46.900Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-03-16T02:49:46.914Z] 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-16T02:49:47.207Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-16T02:49:47.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T02:49:47.516Z] [2021-03-16T02:49:47.516Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-16T02:49:47.869Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T02:49:47.869Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-16T02:49:47.869Z] df20fa9351a1: Pulling fs layer [2021-03-16T02:49:47.869Z] 36b3adc4ff6f: Pulling fs layer [2021-03-16T02:49:47.869Z] 8ad3a11d3b57: Pulling fs layer [2021-03-16T02:49:47.869Z] 46f8f816bc3b: Pulling fs layer [2021-03-16T02:49:47.869Z] 93b61091891f: Pulling fs layer [2021-03-16T02:49:47.869Z] 93b9cdb0e59b: Pulling fs layer [2021-03-16T02:49:47.869Z] 5e14af77c1be: Pulling fs layer [2021-03-16T02:49:47.869Z] 01666e4c0597: Pulling fs layer [2021-03-16T02:49:47.869Z] aa168da1d23b: Pulling fs layer [2021-03-16T02:49:47.869Z] 93b9cdb0e59b: Waiting [2021-03-16T02:49:47.869Z] 93b61091891f: Waiting [2021-03-16T02:49:47.869Z] 5e14af77c1be: Waiting [2021-03-16T02:49:47.869Z] 01666e4c0597: Waiting [2021-03-16T02:49:47.869Z] aa168da1d23b: Waiting [2021-03-16T02:49:47.869Z] 46f8f816bc3b: Waiting [2021-03-16T02:49:47.869Z] 36b3adc4ff6f: Verifying Checksum [2021-03-16T02:49:47.869Z] 36b3adc4ff6f: Download complete [2021-03-16T02:49:47.869Z] 46f8f816bc3b: Verifying Checksum [2021-03-16T02:49:47.869Z] 46f8f816bc3b: Download complete [2021-03-16T02:49:48.132Z] df20fa9351a1: Download complete [2021-03-16T02:49:48.132Z] 93b9cdb0e59b: Download complete [2021-03-16T02:49:48.132Z] 93b61091891f: Verifying Checksum [2021-03-16T02:49:48.132Z] 93b61091891f: Download complete [2021-03-16T02:49:48.132Z] 5e14af77c1be: Verifying Checksum [2021-03-16T02:49:48.132Z] 5e14af77c1be: Download complete [2021-03-16T02:49:48.132Z] 01666e4c0597: Verifying Checksum [2021-03-16T02:49:48.132Z] 01666e4c0597: Download complete [2021-03-16T02:49:48.394Z] df20fa9351a1: Pull complete [2021-03-16T02:49:48.656Z] 36b3adc4ff6f: Pull complete [2021-03-16T02:49:48.922Z] 8ad3a11d3b57: Verifying Checksum [2021-03-16T02:49:48.922Z] 8ad3a11d3b57: Download complete [2021-03-16T02:49:50.864Z] aa168da1d23b: Verifying Checksum [2021-03-16T02:49:50.864Z] aa168da1d23b: Download complete [2021-03-16T02:49:50.864Z] 8ad3a11d3b57: Pull complete [2021-03-16T02:49:51.439Z] 46f8f816bc3b: Pull complete [2021-03-16T02:49:51.702Z] 93b61091891f: Pull complete [2021-03-16T02:49:51.702Z] 93b9cdb0e59b: Pull complete [2021-03-16T02:49:51.973Z] 5e14af77c1be: Pull complete [2021-03-16T02:49:52.238Z] 01666e4c0597: Pull complete [2021-03-16T02:50:00.420Z] aa168da1d23b: Pull complete [2021-03-16T02:50:00.420Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-16T02:50:00.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T02:50:00.420Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-16T02:50:00.591Z] prd-centos7-docker-4c-2g-29903 does not seem to be running inside a container [2021-03-16T02:50:00.639Z] $ 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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-16T02:50:03.836Z] $ docker top 49bae8c3d136db261b9b947b8bb1f75e178af73c2a5927aad05eafd1a9d6fbff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T02:50:04.468Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-16T02:50:04.768Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-16T02:50:05.068Z] + ls /var/log/sa-host [2021-03-16T02:50:05.068Z] + sadf -c /var/log/sa-host/sa16 [2021-03-16T02:50:05.068Z] file_magic: OK [2021-03-16T02:50:05.068Z] HZ: Using current value: 100 [2021-03-16T02:50:05.068Z] file_header: OK [2021-03-16T02:50:05.068Z] 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-16T02:50:05.068Z] Statistics: [2021-03-16T02:50:05.068Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-16T02:50:05.068Z] File successfully converted to sysstat format version 12.2.1 [2021-03-16T02:50:05.068Z] + sadf -c /var/log/sa-host/sa23 [2021-03-16T02:50:05.068Z] file_magic: OK [2021-03-16T02:50:05.068Z] HZ: Using current value: 100 [2021-03-16T02:50:05.068Z] file_header: OK [2021-03-16T02:50:05.068Z] 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-16T02:50:05.068Z] Statistics: [2021-03-16T02:50:05.068Z] Hnuu...uuuununununu... [2021-03-16T02:50:05.068Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-16T02:50:05.732Z] provisioning config files... [2021-03-16T02:50:05.750Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4526718689800952781tmp [Pipeline] { [Pipeline] echo [2021-03-16T02:50:05.875Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T02:50:06.175Z] ---> create-netrc.sh [Pipeline] } [2021-03-16T02:50:06.186Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-16T02:50:06.310Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T02:50:06.613Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-16T02:50:06.624Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T02:50:06.922Z] ---> sudo-logs.sh [2021-03-16T02:50:06.923Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-16T02:50:06.987Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T02:50:07.284Z] ---> job-cost.sh [2021-03-16T02:50:07.284Z] lf-activate-venv: SKIPPING [2021-03-16T02:50:07.284Z] DEBUG: total: 0.20999999344348907 [2021-03-16T02:50:07.284Z] INFO: Retrieving Stack Cost... [2021-03-16T02:50:08.231Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-16T02:50:08.804Z] INFO: Archiving Costs [Pipeline] echo [2021-03-16T02:50:08.818Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T02:50:09.119Z] ---> logs-deploy.sh [2021-03-16T02:50:09.119Z] lf-activate-venv: SKIPPING [2021-03-16T02:50:09.119Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/19 [2021-03-16T02:50:09.119Z] INFO: archiving workspace using pattern(s): [2021-03-16T02:50:11.039Z] Archives upload complete. [2021-03-16T02:50:11.039Z] INFO: archiving logs to Nexus