Pull request #789 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 48795658231eefe43797c6bde77b808388815b9b+6125dba09cfc805438589ab7aad954d8cad7589e (fb617c8cde854a389e0da16d5c9bfbc96ecb071d) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-26789 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [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-789 # 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/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 48795658231eefe43797c6bde77b808388815b9b Merge succeeded, producing 48795658231eefe43797c6bde77b808388815b9b Checking out Revision 48795658231eefe43797c6bde77b808388815b9b (PR-789) > git config core.sparsecheckout # timeout=10 > git checkout -f 48795658231eefe43797c6bde77b808388815b9b # 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 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48795658231eefe43797c6bde77b808388815b9b # timeout=10 Commit message: "test: add unit tests for v2 cache" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 7c9741b1786850dcd4b352624f7ae0f5df012de5 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-18T09:48:51.466Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-18T09:48:51.807Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-18T09:48:51.915Z] ========================================================= [2021-02-18T09:48:51.915Z] EdgeX Global Pipelines Version Info [2021-02-18T09:48:51.915Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:48:54.305Z] ------------------- [2021-02-18T09:48:54.305Z] stable info: [2021-02-18T09:48:54.305Z] ------------------- [2021-02-18T09:48:54.305Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-18T09:48:54.305Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-18T09:48:54.305Z] Message: update stable to v1.0.179 [2021-02-18T09:48:55.281Z] ------------------- [2021-02-18T09:48:55.281Z] experimental info: [2021-02-18T09:48:55.281Z] ------------------- [2021-02-18T09:48:55.281Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-18T09:48:55.281Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-18T09:48:55.281Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-18T09:48:55.613Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-18T09:48:55.711Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-18T09:48:55.805Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-18T09:48:55.897Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-18T09:48:55.989Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-18T09:48:56.081Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-18T09:48:56.176Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-18T09:48:56.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-18T09:48:56.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-18T09:48:56.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-18T09:48:56.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-18T09:48:56.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-18T09:48:56.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-18T09:48:56.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-18T09:48:56.936Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-18T09:48:57.026Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-18T09:48:57.118Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-18T09:48:57.217Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-18T09:48:57.312Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-18T09:48:57.401Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-18T09:48:57.508Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-18T09:48:57.689Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-18T09:48:57.785Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-18T09:48:57.884Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-18T09:48:57.985Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-18T09:48:58.078Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-18T09:48:58.168Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-18T09:48:58.260Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-789 [Pipeline] echo [2021-02-18T09:48:58.359Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-789 [Pipeline] echo [2021-02-18T09:48:58.453Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-789 [Pipeline] echo [2021-02-18T09:48:58.551Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48795658231eefe43797c6bde77b808388815b9b [Pipeline] echo [2021-02-18T09:48:58.643Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4879565 [Pipeline] echo [2021-02-18T09:48:58.734Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-18T09:48:58.942Z] provisioning config files... [2021-02-18T09:48:58.980Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config686307105461976552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:48:59.380Z] ---> docker-login.sh [2021-02-18T09:48:59.380Z] nexus3.edgexfoundry.org:10001 [2021-02-18T09:49:00.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:49:00.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:49:00.670Z] Configure a credential helper to remove this warning. See [2021-02-18T09:49:00.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:49:00.670Z] [2021-02-18T09:49:00.670Z] Login Succeeded [2021-02-18T09:49:00.670Z] nexus3.edgexfoundry.org:10002 [2021-02-18T09:49:00.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:49:01.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:49:01.245Z] Configure a credential helper to remove this warning. See [2021-02-18T09:49:01.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:49:01.245Z] [2021-02-18T09:49:01.245Z] Login Succeeded [2021-02-18T09:49:01.245Z] nexus3.edgexfoundry.org:10003 [2021-02-18T09:49:01.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:49:01.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:49:01.855Z] Configure a credential helper to remove this warning. See [2021-02-18T09:49:01.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:49:01.855Z] [2021-02-18T09:49:01.855Z] Login Succeeded [2021-02-18T09:49:01.855Z] nexus3.edgexfoundry.org:10004 [2021-02-18T09:49:02.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:49:02.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:49:02.604Z] Configure a credential helper to remove this warning. See [2021-02-18T09:49:02.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:49:02.604Z] [2021-02-18T09:49:02.604Z] Login Succeeded [2021-02-18T09:49:02.604Z] docker.io [2021-02-18T09:49:02.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:49:03.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:49:03.322Z] Configure a credential helper to remove this warning. See [2021-02-18T09:49:03.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:49:03.322Z] [2021-02-18T09:49:03.322Z] Login Succeeded [2021-02-18T09:49:03.322Z] ---> docker-login.sh ends [Pipeline] } [2021-02-18T09:49:03.360Z] 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-02-18T09:49:04.266Z] + git log --format=format:%s -1 48795658231eefe43797c6bde77b808388815b9b [Pipeline] echo [2021-02-18T09:49:04.493Z] GIT_COMMIT: 48795658231eefe43797c6bde77b808388815b9b, Commit Message: test: add unit tests for v2 cache [Pipeline] echo [2021-02-18T09:49:04.540Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:49:05.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-18T09:49:05.681Z] [2021-02-18T09:49:05.681Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:49:06.133Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-18T09:49:06.133Z] latest: Pulling from edgex-devops/git-semver [2021-02-18T09:49:06.133Z] 31603596830f: Pulling fs layer [2021-02-18T09:49:06.133Z] 2a8b12db71e7: Pulling fs layer [2021-02-18T09:49:06.133Z] 6ca5941a6612: Pulling fs layer [2021-02-18T09:49:06.133Z] ecc8261a40a4: Pulling fs layer [2021-02-18T09:49:06.133Z] 2a8b12db71e7: Verifying Checksum [2021-02-18T09:49:06.133Z] 2a8b12db71e7: Download complete [2021-02-18T09:49:06.544Z] 31603596830f: Verifying Checksum [2021-02-18T09:49:06.544Z] 31603596830f: Download complete [2021-02-18T09:49:07.202Z] ecc8261a40a4: Verifying Checksum [2021-02-18T09:49:07.202Z] ecc8261a40a4: Download complete [2021-02-18T09:49:07.478Z] 6ca5941a6612: Verifying Checksum [2021-02-18T09:49:07.478Z] 6ca5941a6612: Download complete [2021-02-18T09:49:07.478Z] 31603596830f: Pull complete [2021-02-18T09:49:07.767Z] 2a8b12db71e7: Pull complete [2021-02-18T09:49:08.846Z] 6ca5941a6612: Pull complete [2021-02-18T09:49:09.115Z] ecc8261a40a4: Pull complete [2021-02-18T09:49:09.115Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-18T09:49:09.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-18T09:49:09.393Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-18T09:49:09.683Z] prd-centos7-docker-4c-2g-26789 does not seem to be running inside a container [2021-02-18T09:49:09.876Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-789 -v /w/workspace/dgexfoundry_device-sdk-go_PR-789:/w/workspace/dgexfoundry_device-sdk-go_PR-789:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-789@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:10004/edgex-devops/git-semver:latest cat [2021-02-18T09:49:13.008Z] $ docker top a148697277eac14cded4134ed32a4702e3522837ce0b4192b37d98f80b7153d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-18T09:49:13.555Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-18T09:49:13.555Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-18T09:49:14.163Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-18T09:49:14.168Z] $ docker exec a148697277eac14cded4134ed32a4702e3522837ce0b4192b37d98f80b7153d6 ssh-agent [2021-02-18T09:49:14.699Z] SSH_AUTH_SOCK=/tmp/ssh-qszpd5wXoGsV/agent.11 [2021-02-18T09:49:14.699Z] SSH_AGENT_PID=16 [2021-02-18T09:49:14.721Z] Running ssh-add (command line suppressed) [2021-02-18T09:49:15.137Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_620247728400129876.key (/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_620247728400129876.key) [2021-02-18T09:49:15.831Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-18T09:49:16.678Z] + git tag --points-at HEAD [Pipeline] } [2021-02-18T09:49:16.843Z] $ docker exec --env ******** --env ******** a148697277eac14cded4134ed32a4702e3522837ce0b4192b37d98f80b7153d6 ssh-agent -k [2021-02-18T09:49:17.140Z] unset SSH_AUTH_SOCK; [2021-02-18T09:49:17.141Z] unset SSH_AGENT_PID; [2021-02-18T09:49:17.141Z] echo Agent pid 16 killed; [2021-02-18T09:49:17.251Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-18T09:49:17.424Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-18T09:49:17.424Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-18T09:49:17.764Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-18T09:49:17.768Z] $ docker exec a148697277eac14cded4134ed32a4702e3522837ce0b4192b37d98f80b7153d6 ssh-agent [2021-02-18T09:49:18.163Z] SSH_AUTH_SOCK=/tmp/ssh-B6VPf2ECfJnw/agent.45 [2021-02-18T09:49:18.163Z] SSH_AGENT_PID=50 [2021-02-18T09:49:18.187Z] Running ssh-add (command line suppressed) [2021-02-18T09:49:18.658Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_2493785754736833801.key (/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_2493785754736833801.key) [2021-02-18T09:49:18.813Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-18T09:49:19.220Z] + git semver init [2021-02-18T09:49:19.221Z] # -> Open(): unable to determine branch for HEAD [2021-02-18T09:49:19.221Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-789/.git [2021-02-18T09:49:19.221Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-789 [2021-02-18T09:49:19.221Z] # $SEMVER_REMOTE_NAME = origin [2021-02-18T09:49:19.221Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-18T09:49:19.221Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-18T09:49:19.221Z] # $SEMVER_BRANCH = PR-789 [2021-02-18T09:49:19.221Z] # $SEMVER_TEMP = /tmp/semver-808508670 [2021-02-18T09:49:19.221Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-18T09:49:20.732Z] # '/tmp/semver-808508670' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-789/.semver' [2021-02-18T09:49:20.732Z] # -> Force: false [2021-02-18T09:49:20.732Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-789/.semver [Pipeline] } [2021-02-18T09:49:20.749Z] $ docker exec --env ******** --env ******** a148697277eac14cded4134ed32a4702e3522837ce0b4192b37d98f80b7153d6 ssh-agent -k [2021-02-18T09:49:21.008Z] unset SSH_AUTH_SOCK; [2021-02-18T09:49:21.008Z] unset SSH_AGENT_PID; [2021-02-18T09:49:21.008Z] echo Agent pid 50 killed; [2021-02-18T09:49:21.114Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-18T09:49:22.040Z] + git semver [Pipeline] } [2021-02-18T09:49:22.070Z] $ docker stop --time=1 a148697277eac14cded4134ed32a4702e3522837ce0b4192b37d98f80b7153d6 [2021-02-18T09:49:23.827Z] $ docker rm -f a148697277eac14cded4134ed32a4702e3522837ce0b4192b37d98f80b7153d6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-18T09:49:24.481Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-18T09:49:25.676Z] Stashed 1 file(s) [Pipeline] echo [2021-02-18T09:49:25.679Z] [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-02-18T09:49:41.186Z] Still waiting to schedule task [2021-02-18T09:49:41.187Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26789’ [2021-02-18T09:49:41.189Z] Still waiting to schedule task [2021-02-18T09:49:41.189Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline [2021-02-18T09:51:32.716Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-26790 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [Pipeline] { [Pipeline] ws [2021-02-18T09:51:32.780Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-02-18T09:51:38.603Z] using credential edgex-jenkins-ssh [2021-02-18T09:51:38.703Z] Cloning the remote Git repository [2021-02-18T09:51:38.786Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T09:51:38.918Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-02-18T09:51:39.026Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T09:51:39.026Z] > git --version # timeout=10 [2021-02-18T09:51:39.047Z] > git --version # 'git version 2.17.1' [2021-02-18T09:51:39.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T09:51:39.127Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-18T09:51:40.297Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-18T09:51:40.318Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-18T09:51:40.345Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-18T09:51:40.381Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T09:51:40.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T09:51:40.394Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-18T09:51:40.939Z] Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 48795658231eefe43797c6bde77b808388815b9b [2021-02-18T09:51:41.152Z] Merge succeeded, producing 48795658231eefe43797c6bde77b808388815b9b [2021-02-18T09:51:41.153Z] Checking out Revision 48795658231eefe43797c6bde77b808388815b9b (PR-789) [2021-02-18T09:51:40.966Z] > git config core.sparsecheckout # timeout=10 [2021-02-18T09:51:40.981Z] > git checkout -f 48795658231eefe43797c6bde77b808388815b9b # timeout=10 [2021-02-18T09:51:41.088Z] > git remote # timeout=10 [2021-02-18T09:51:41.103Z] > git config --get remote.origin.url # timeout=10 [2021-02-18T09:51:41.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T09:51:41.123Z] > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 [2021-02-18T09:51:41.150Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-18T09:51:41.170Z] > git config core.sparsecheckout # timeout=10 [2021-02-18T09:51:41.188Z] > git checkout -f 48795658231eefe43797c6bde77b808388815b9b # timeout=10 [2021-02-18T09:51:45.623Z] Commit message: "test: add unit tests for v2 cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-18T09:51:47.265Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-18T09:51:47.685Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-18T09:51:48.034Z] + sudo service docker restart [2021-02-18T09:51:48.034Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-18T09:51:50.108Z] provisioning config files... [2021-02-18T09:51:50.148Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1722121440541967670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:51:50.605Z] ---> docker-login.sh [2021-02-18T09:51:50.606Z] nexus3.edgexfoundry.org:10001 [2021-02-18T09:51:51.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:51:51.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:51:51.861Z] Configure a credential helper to remove this warning. See [2021-02-18T09:51:51.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:51:51.862Z] [2021-02-18T09:51:51.862Z] Login Succeeded [2021-02-18T09:51:51.862Z] nexus3.edgexfoundry.org:10002 [2021-02-18T09:51:52.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:51:52.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:51:52.409Z] Configure a credential helper to remove this warning. See [2021-02-18T09:51:52.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:51:52.409Z] [2021-02-18T09:51:52.409Z] Login Succeeded [2021-02-18T09:51:52.409Z] nexus3.edgexfoundry.org:10003 [2021-02-18T09:51:52.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:51:52.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:51:52.980Z] Configure a credential helper to remove this warning. See [2021-02-18T09:51:52.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:51:52.980Z] [2021-02-18T09:51:52.980Z] Login Succeeded [2021-02-18T09:51:52.980Z] nexus3.edgexfoundry.org:10004 [2021-02-18T09:51:53.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:51:53.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:51:53.531Z] Configure a credential helper to remove this warning. See [2021-02-18T09:51:53.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:51:53.531Z] [2021-02-18T09:51:53.531Z] Login Succeeded [2021-02-18T09:51:53.531Z] docker.io [2021-02-18T09:51:53.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:51:54.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:51:54.407Z] Configure a credential helper to remove this warning. See [2021-02-18T09:51:54.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:51:54.407Z] [2021-02-18T09:51:54.407Z] Login Succeeded [2021-02-18T09:51:54.407Z] ---> docker-login.sh ends [Pipeline] } [2021-02-18T09:51:54.424Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-18T09:51:54.869Z] ========================================================= [2021-02-18T09:51:54.869Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-18T09:51:54.869Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:51:55.278Z] + 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-02-18T09:51:55.565Z] Sending build context to Docker daemon 2.434MB [2021-02-18T09:51:55.844Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-18T09:51:55.844Z] Step 2/8 : FROM ${BASE} [2021-02-18T09:51:55.844Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-18T09:51:55.844Z] 5f621e34cdf4: Pulling fs layer [2021-02-18T09:51:55.844Z] a4357932f1b6: Pulling fs layer [2021-02-18T09:51:55.844Z] 18c013af1878: Pulling fs layer [2021-02-18T09:51:55.844Z] 00ac8860ef70: Pulling fs layer [2021-02-18T09:51:55.844Z] 63d7cb157983: Pulling fs layer [2021-02-18T09:51:55.844Z] b116817d02f9: Pulling fs layer [2021-02-18T09:51:55.844Z] 745a02a5169b: Pulling fs layer [2021-02-18T09:51:55.844Z] 00ac8860ef70: Waiting [2021-02-18T09:51:55.844Z] 63d7cb157983: Waiting [2021-02-18T09:51:55.844Z] b116817d02f9: Waiting [2021-02-18T09:51:55.844Z] 745a02a5169b: Waiting [2021-02-18T09:51:55.844Z] 18c013af1878: Verifying Checksum [2021-02-18T09:51:55.844Z] 18c013af1878: Download complete [2021-02-18T09:51:55.844Z] a4357932f1b6: Verifying Checksum [2021-02-18T09:51:55.844Z] a4357932f1b6: Download complete [2021-02-18T09:51:55.844Z] 63d7cb157983: Verifying Checksum [2021-02-18T09:51:55.844Z] 63d7cb157983: Download complete [2021-02-18T09:51:56.126Z] b116817d02f9: Verifying Checksum [2021-02-18T09:51:56.126Z] b116817d02f9: Download complete [2021-02-18T09:51:56.126Z] 5f621e34cdf4: Verifying Checksum [2021-02-18T09:51:56.126Z] 5f621e34cdf4: Download complete [2021-02-18T09:51:56.737Z] 5f621e34cdf4: Pull complete [2021-02-18T09:51:57.344Z] a4357932f1b6: Pull complete [2021-02-18T09:51:57.621Z] 18c013af1878: Pull complete [2021-02-18T09:51:59.074Z] 745a02a5169b: Verifying Checksum [2021-02-18T09:51:59.074Z] 745a02a5169b: Download complete [2021-02-18T09:52:00.070Z] 00ac8860ef70: Verifying Checksum [2021-02-18T09:52:00.070Z] 00ac8860ef70: Download complete [2021-02-18T09:52:10.270Z] 00ac8860ef70: Pull complete [2021-02-18T09:52:10.544Z] 63d7cb157983: Pull complete [2021-02-18T09:52:10.820Z] b116817d02f9: Pull complete [2021-02-18T09:52:15.162Z] 745a02a5169b: Pull complete [2021-02-18T09:52:15.162Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-18T09:52:15.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-18T09:52:15.162Z] ---> b7e6874047d6 [2021-02-18T09:52:15.162Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T09:52:17.818Z] ---> Running in 02198d7162fd [2021-02-18T09:52:17.818Z] Removing intermediate container 02198d7162fd [2021-02-18T09:52:17.818Z] ---> 8e0705cc701a [2021-02-18T09:52:17.818Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-18T09:52:17.818Z] ---> Running in 4495eaa4c077 [2021-02-18T09:52:20.458Z] Removing intermediate container 4495eaa4c077 [2021-02-18T09:52:20.458Z] ---> aabf25806abe [2021-02-18T09:52:20.458Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-18T09:52:20.458Z] ---> Running in 0586fd3fbde3 [2021-02-18T09:52:21.455Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-18T09:52:21.622Z] Running on prd-centos7-docker-4c-2g-26791 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [Pipeline] { [Pipeline] ws [2021-02-18T09:52:21.688Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-02-18T09:52:22.056Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-18T09:52:22.647Z] OK: 142 MiB in 39 packages [2021-02-18T09:52:24.089Z] Removing intermediate container 0586fd3fbde3 [2021-02-18T09:52:24.089Z] ---> c8ac5d895d18 [2021-02-18T09:52:24.089Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-18T09:52:24.089Z] ---> Running in a6ba1e86f530 [2021-02-18T09:52:24.281Z] using credential edgex-jenkins-ssh [2021-02-18T09:52:24.336Z] Cloning the remote Git repository [2021-02-18T09:52:24.362Z] Removing intermediate container a6ba1e86f530 [2021-02-18T09:52:24.362Z] ---> 3f051f967472 [2021-02-18T09:52:24.362Z] Step 7/8 : COPY . . [2021-02-18T09:52:24.361Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T09:52:24.430Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-02-18T09:52:24.499Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T09:52:24.499Z] > git --version # timeout=10 [2021-02-18T09:52:24.507Z] > git --version # 'git version 2.24.3' [2021-02-18T09:52:24.509Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T09:52:24.534Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-18T09:52:25.187Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-18T09:52:25.195Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-18T09:52:25.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-18T09:52:25.222Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T09:52:25.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T09:52:25.229Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-18T09:52:25.694Z] Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 48795658231eefe43797c6bde77b808388815b9b [2021-02-18T09:52:25.798Z] ---> 7c84ab13d99b [2021-02-18T09:52:25.798Z] Step 8/8 : RUN go mod download [2021-02-18T09:52:25.798Z] ---> Running in ee8571aee6ea [2021-02-18T09:52:25.800Z] Merge succeeded, producing 48795658231eefe43797c6bde77b808388815b9b [2021-02-18T09:52:25.801Z] Checking out Revision 48795658231eefe43797c6bde77b808388815b9b (PR-789) [2021-02-18T09:52:25.704Z] > git config core.sparsecheckout # timeout=10 [2021-02-18T09:52:25.712Z] > git checkout -f 48795658231eefe43797c6bde77b808388815b9b # timeout=10 [2021-02-18T09:52:25.765Z] > git remote # timeout=10 [2021-02-18T09:52:25.770Z] > git config --get remote.origin.url # timeout=10 [2021-02-18T09:52:25.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T09:52:25.781Z] > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 [2021-02-18T09:52:25.794Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-18T09:52:25.805Z] > git config core.sparsecheckout # timeout=10 [2021-02-18T09:52:25.810Z] > git checkout -f 48795658231eefe43797c6bde77b808388815b9b # timeout=10 [2021-02-18T09:52:29.509Z] Commit message: "test: add unit tests for v2 cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-18T09:52:30.842Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-18T09:52:31.186Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-18T09:52:31.493Z] + true [2021-02-18T09:52:31.493Z] + sudo service docker restart [2021-02-18T09:52:31.493Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-18T09:52:32.536Z] provisioning config files... [2021-02-18T09:52:32.573Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8266403933416966731tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:52:32.980Z] ---> docker-login.sh [2021-02-18T09:52:32.980Z] nexus3.edgexfoundry.org:10001 [2021-02-18T09:52:33.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:52:33.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:52:33.245Z] Configure a credential helper to remove this warning. See [2021-02-18T09:52:33.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:52:33.245Z] [2021-02-18T09:52:33.245Z] Login Succeeded [2021-02-18T09:52:33.245Z] nexus3.edgexfoundry.org:10002 [2021-02-18T09:52:33.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:52:33.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:52:33.509Z] Configure a credential helper to remove this warning. See [2021-02-18T09:52:33.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:52:33.509Z] [2021-02-18T09:52:33.509Z] Login Succeeded [2021-02-18T09:52:33.509Z] nexus3.edgexfoundry.org:10003 [2021-02-18T09:52:33.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:52:33.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:52:33.772Z] Configure a credential helper to remove this warning. See [2021-02-18T09:52:33.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:52:33.772Z] [2021-02-18T09:52:33.772Z] Login Succeeded [2021-02-18T09:52:33.772Z] nexus3.edgexfoundry.org:10004 [2021-02-18T09:52:34.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:52:34.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:52:34.035Z] Configure a credential helper to remove this warning. See [2021-02-18T09:52:34.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:52:34.035Z] [2021-02-18T09:52:34.035Z] Login Succeeded [2021-02-18T09:52:34.035Z] docker.io [2021-02-18T09:52:34.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:52:34.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:52:34.299Z] Configure a credential helper to remove this warning. See [2021-02-18T09:52:34.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:52:34.299Z] [2021-02-18T09:52:34.299Z] Login Succeeded [2021-02-18T09:52:34.299Z] ---> docker-login.sh ends [Pipeline] } [2021-02-18T09:52:34.309Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-18T09:52:34.693Z] ========================================================= [2021-02-18T09:52:34.693Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-18T09:52:34.694Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:52:35.048Z] + 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-02-18T09:52:35.048Z] Sending build context to Docker daemon 2.444MB [2021-02-18T09:52:35.048Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-18T09:52:35.048Z] Step 2/8 : FROM ${BASE} [2021-02-18T09:52:35.312Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-18T09:52:35.312Z] 188c0c94c7c5: Pulling fs layer [2021-02-18T09:52:35.312Z] 0ef7d3d256c8: Pulling fs layer [2021-02-18T09:52:35.312Z] de9db76c5a1d: Pulling fs layer [2021-02-18T09:52:35.312Z] bca2f99d35d6: Pulling fs layer [2021-02-18T09:52:35.312Z] 93359f2a8cfa: Pulling fs layer [2021-02-18T09:52:35.312Z] 7c6f9722023f: Pulling fs layer [2021-02-18T09:52:35.312Z] a35cf1a2eb13: Pulling fs layer [2021-02-18T09:52:35.312Z] bca2f99d35d6: Waiting [2021-02-18T09:52:35.312Z] 93359f2a8cfa: Waiting [2021-02-18T09:52:35.312Z] 7c6f9722023f: Waiting [2021-02-18T09:52:35.312Z] a35cf1a2eb13: Waiting [2021-02-18T09:52:35.312Z] 0ef7d3d256c8: Verifying Checksum [2021-02-18T09:52:35.312Z] 0ef7d3d256c8: Download complete [2021-02-18T09:52:35.312Z] de9db76c5a1d: Verifying Checksum [2021-02-18T09:52:35.312Z] de9db76c5a1d: Download complete [2021-02-18T09:52:35.312Z] 93359f2a8cfa: Verifying Checksum [2021-02-18T09:52:35.312Z] 93359f2a8cfa: Download complete [2021-02-18T09:52:35.312Z] 7c6f9722023f: Verifying Checksum [2021-02-18T09:52:35.312Z] 7c6f9722023f: Download complete [2021-02-18T09:52:35.312Z] 188c0c94c7c5: Verifying Checksum [2021-02-18T09:52:35.312Z] 188c0c94c7c5: Download complete [2021-02-18T09:52:35.581Z] 188c0c94c7c5: Pull complete [2021-02-18T09:52:35.870Z] 0ef7d3d256c8: Pull complete [2021-02-18T09:52:35.870Z] de9db76c5a1d: Pull complete [2021-02-18T09:52:37.280Z] a35cf1a2eb13: Verifying Checksum [2021-02-18T09:52:37.280Z] a35cf1a2eb13: Download complete [2021-02-18T09:52:38.246Z] bca2f99d35d6: Download complete [2021-02-18T09:52:43.605Z] bca2f99d35d6: Pull complete [2021-02-18T09:52:43.605Z] 93359f2a8cfa: Pull complete [2021-02-18T09:52:43.605Z] 7c6f9722023f: Pull complete [2021-02-18T09:52:48.967Z] a35cf1a2eb13: Pull complete [2021-02-18T09:52:48.967Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-18T09:52:48.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-18T09:52:48.967Z] ---> a62c8e92a672 [2021-02-18T09:52:48.967Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T09:52:48.967Z] ---> Running in b6042bb7a6c2 [2021-02-18T09:52:49.232Z] Removing intermediate container b6042bb7a6c2 [2021-02-18T09:52:49.232Z] ---> 75f546eb2ca9 [2021-02-18T09:52:49.232Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-18T09:52:49.232Z] ---> Running in d7415ef7f760 [2021-02-18T09:52:50.193Z] Removing intermediate container d7415ef7f760 [2021-02-18T09:52:50.193Z] ---> 46fac3189e02 [2021-02-18T09:52:50.193Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-18T09:52:50.473Z] ---> Running in 2f1910b5e2e6 [2021-02-18T09:52:51.430Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-18T09:52:52.010Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-18T09:52:52.274Z] OK: 166 MiB in 39 packages [2021-02-18T09:52:52.683Z] Removing intermediate container ee8571aee6ea [2021-02-18T09:52:52.683Z] ---> 633ddf7ffd47 [2021-02-18T09:52:52.683Z] Successfully built 633ddf7ffd47 [2021-02-18T09:52:52.683Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:52:52.856Z] Removing intermediate container 2f1910b5e2e6 [2021-02-18T09:52:52.857Z] ---> d14d20b88cc8 [2021-02-18T09:52:52.857Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-18T09:52:52.857Z] ---> Running in 5493a24f80b2 [2021-02-18T09:52:53.095Z] + docker inspect -f . ci-base-image-arm64 [2021-02-18T09:52:53.095Z] . [2021-02-18T09:52:53.125Z] Removing intermediate container 5493a24f80b2 [2021-02-18T09:52:53.126Z] ---> 78ca316973d0 [2021-02-18T09:52:53.126Z] Step 7/8 : COPY . . [Pipeline] withDockerContainer [2021-02-18T09:52:53.529Z] prd-ubuntu18.04-docker-arm64-4c-16g-26790 does not seem to be running inside a container [2021-02-18T09:52:53.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** ci-base-image-arm64 cat [2021-02-18T09:52:54.529Z] ---> 2ebfc9c47e1d [2021-02-18T09:52:54.529Z] Step 8/8 : RUN go mod download [2021-02-18T09:52:54.529Z] ---> Running in a890e3cd1cca [2021-02-18T09:52:55.159Z] $ docker top a6a4bdf7d67cd965d226eadbee235c1b16759890adb2b647bb6f701b37d6b128 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T09:52:56.257Z] + go version [2021-02-18T09:52:56.257Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-18T09:52:56.289Z] $ docker stop --time=1 a6a4bdf7d67cd965d226eadbee235c1b16759890adb2b647bb6f701b37d6b128 [2021-02-18T09:52:58.213Z] $ docker rm -f a6a4bdf7d67cd965d226eadbee235c1b16759890adb2b647bb6f701b37d6b128 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:52:59.255Z] + docker inspect -f . ci-base-image-arm64 [2021-02-18T09:52:59.255Z] . [Pipeline] withDockerContainer [2021-02-18T09:52:59.609Z] prd-ubuntu18.04-docker-arm64-4c-16g-26790 does not seem to be running inside a container [2021-02-18T09:52:59.818Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** ci-base-image-arm64 cat [2021-02-18T09:53:01.308Z] $ docker top 6e5e106c09720b34cb34cbd107460e64c1cd7906d53f4292f9b38290c7d93afc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T09:53:02.408Z] + make test [2021-02-18T09:53:02.408Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-18T09:53:16.747Z] Removing intermediate container a890e3cd1cca [2021-02-18T09:53:16.747Z] ---> 994a5d0903d9 [2021-02-18T09:53:16.747Z] Successfully built 994a5d0903d9 [2021-02-18T09:53:16.747Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:53:17.145Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-18T09:53:17.145Z] . [Pipeline] withDockerContainer [2021-02-18T09:53:17.304Z] prd-centos7-docker-4c-2g-26791 does not seem to be running inside a container [2021-02-18T09:53:17.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-02-18T09:53:18.457Z] $ docker top 3b2fb44f9b1663b69bae88207a66a074edac41a1b63698ffb300f8ac292ba830 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T09:53:19.086Z] + go version [2021-02-18T09:53:19.086Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-18T09:53:19.128Z] $ docker stop --time=1 3b2fb44f9b1663b69bae88207a66a074edac41a1b63698ffb300f8ac292ba830 [2021-02-18T09:53:20.534Z] $ docker rm -f 3b2fb44f9b1663b69bae88207a66a074edac41a1b63698ffb300f8ac292ba830 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:53:21.777Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-18T09:53:21.777Z] . [Pipeline] withDockerContainer [2021-02-18T09:53:21.930Z] prd-centos7-docker-4c-2g-26791 does not seem to be running inside a container [2021-02-18T09:53:22.056Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-02-18T09:53:22.702Z] $ docker top ffe519e850b9b04838be73a47b8e9d268caa9257d7119c1ecd6bfdab1746088f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T09:53:23.277Z] + make test [2021-02-18T09:53:23.277Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-18T09:53:24.726Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-18T09:53:31.585Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-18T09:53:46.613Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-18T09:53:46.613Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-18T09:53:46.613Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-18T09:53:49.262Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 25.5% of statements [2021-02-18T09:54:03.836Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-18T09:54:03.836Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-18T09:54:03.836Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-18T09:54:08.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.132s coverage: 25.5% of statements [2021-02-18T09:54:21.559Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.064s coverage: 10.1% of statements [2021-02-18T09:54:21.559Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.052s coverage: 12.5% of statements [2021-02-18T09:54:21.559Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-18T09:54:21.559Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.068s coverage: 84.8% of statements [2021-02-18T09:54:21.559Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-18T09:54:21.559Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-18T09:54:21.559Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-18T09:54:21.559Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-18T09:54:21.559Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 49.2% of statements [2021-02-18T09:54:21.559Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-18T09:54:21.559Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.077s coverage: 81.3% of statements [2021-02-18T09:54:21.559Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.071s coverage: 24.8% of statements [2021-02-18T09:54:21.559Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.436s coverage: 83.5% of statements [2021-02-18T09:54:21.559Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.3% of statements [2021-02-18T09:54:21.559Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-18T09:54:21.559Z] GO111MODULE=on go vet ./... [2021-02-18T09:54:29.836Z] gofmt -l . [2021-02-18T09:54:29.836Z] [ "`gofmt -l .`" = "" ] [2021-02-18T09:54:29.836Z] ./bin/test-attribution-txt.sh [2021-02-18T09:54:29.836Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-18T09:54:30.122Z] $ docker stop --time=1 ffe519e850b9b04838be73a47b8e9d268caa9257d7119c1ecd6bfdab1746088f [2021-02-18T09:54:32.165Z] $ docker rm -f ffe519e850b9b04838be73a47b8e9d268caa9257d7119c1ecd6bfdab1746088f [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-18T09:54:32.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-18T09:54:33.423Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-18T09:54:36.137Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-18T09:54:36.450Z] + ls -al . [2021-02-18T09:54:36.450Z] total 184 [2021-02-18T09:54:36.450Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 18 09:54 . [2021-02-18T09:54:36.450Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 18 09:52 .. [2021-02-18T09:54:36.450Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 18 09:52 bin [2021-02-18T09:54:36.450Z] -rw-r--r--. 1 jenkins jenkins 101948 Feb 18 09:54 coverage.out [2021-02-18T09:54:36.450Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 18 09:52 Dockerfile.build [2021-02-18T09:54:36.450Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 18 09:52 .dockerignore [2021-02-18T09:54:36.450Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 18 09:52 example [2021-02-18T09:54:36.450Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 18 09:52 .git [2021-02-18T09:54:36.450Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 18 09:52 .github [2021-02-18T09:54:36.450Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 18 09:52 .gitignore [2021-02-18T09:54:36.450Z] -rw-r--r--. 1 jenkins jenkins 515 Feb 18 09:54 go.mod [2021-02-18T09:54:36.450Z] -rw-r--r--. 1 jenkins jenkins 19062 Feb 18 09:54 go.sum [2021-02-18T09:54:36.450Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 18 09:52 internal [2021-02-18T09:54:36.450Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 18 09:52 Jenkinsfile [2021-02-18T09:54:36.450Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 18 09:52 LICENSE [2021-02-18T09:54:36.450Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 18 09:52 Makefile [2021-02-18T09:54:36.450Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 18 09:52 openapi [2021-02-18T09:54:36.450Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 18 09:52 pkg [2021-02-18T09:54:36.450Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 18 09:52 README.md [2021-02-18T09:54:36.450Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 18 09:52 RELEASE-NOTES.txt [2021-02-18T09:54:36.450Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 18 09:52 snap [2021-02-18T09:54:36.450Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 18 09:49 VERSION [2021-02-18T09:54:36.450Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 18 09:52 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:54:36.765Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=48795658231eefe43797c6bde77b808388815b9b --label arch=amd64 --label version=0.0.0 . [2021-02-18T09:54:37.027Z] Sending build context to Docker daemon 2.547MB [2021-02-18T09:54:37.027Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-18T09:54:37.027Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-18T09:54:37.027Z] ---> 994a5d0903d9 [2021-02-18T09:54:37.027Z] Step 3/24 : ARG MAKE='make build' [2021-02-18T09:54:37.601Z] ---> Running in 1493bdc99912 [2021-02-18T09:54:37.864Z] Removing intermediate container 1493bdc99912 [2021-02-18T09:54:37.864Z] ---> 125200d1ea41 [2021-02-18T09:54:37.864Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-18T09:54:37.864Z] ---> Running in e4e745af9d26 [2021-02-18T09:54:38.127Z] Removing intermediate container e4e745af9d26 [2021-02-18T09:54:38.127Z] ---> a63e60fb2d87 [2021-02-18T09:54:38.127Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T09:54:38.127Z] ---> Running in da4526eee5c2 [2021-02-18T09:54:38.390Z] Removing intermediate container da4526eee5c2 [2021-02-18T09:54:38.390Z] ---> 8f44d474a8b7 [2021-02-18T09:54:38.390Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-18T09:54:38.390Z] ---> Running in 3e581c31e6cf [2021-02-18T09:54:39.341Z] Removing intermediate container 3e581c31e6cf [2021-02-18T09:54:39.341Z] ---> e5156ec07df4 [2021-02-18T09:54:39.341Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-18T09:54:39.341Z] ---> Running in 4efa882d2821 [2021-02-18T09:54:39.925Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-18T09:54:40.502Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-18T09:54:40.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.125s coverage: 10.1% of statements [2021-02-18T09:54:40.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.119s coverage: 12.5% of statements [2021-02-18T09:54:40.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-18T09:54:40.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.148s coverage: 84.8% of statements [2021-02-18T09:54:40.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-18T09:54:40.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-18T09:54:40.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-18T09:54:40.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-18T09:54:40.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.204s coverage: 49.2% of statements [2021-02-18T09:54:40.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-18T09:54:40.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.181s coverage: 81.3% of statements [2021-02-18T09:54:40.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.163s coverage: 24.8% of statements [2021-02-18T09:54:40.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.893s coverage: 83.5% of statements [2021-02-18T09:54:40.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.122s coverage: 5.3% of statements [2021-02-18T09:54:40.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-18T09:54:40.557Z] GO111MODULE=on go vet ./... [2021-02-18T09:54:41.082Z] OK: 166 MiB in 39 packages [2021-02-18T09:54:41.664Z] Removing intermediate container 4efa882d2821 [2021-02-18T09:54:41.664Z] ---> 55a6243c7b89 [2021-02-18T09:54:41.664Z] Step 8/24 : COPY . . [2021-02-18T09:54:43.591Z] ---> 67ca7166ceb8 [2021-02-18T09:54:43.591Z] Step 9/24 : RUN ${MAKE} [2021-02-18T09:54:43.591Z] ---> Running in 4ad6075896f0 [2021-02-18T09:54:43.859Z] 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-02-18T09:54:54.031Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-18T09:54:55.430Z] Removing intermediate container 4ad6075896f0 [2021-02-18T09:54:55.430Z] ---> 1fa8677ee8a3 [2021-02-18T09:54:55.430Z] Step 10/24 : FROM scratch [2021-02-18T09:54:55.430Z] ---> [2021-02-18T09:54:55.430Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T09:54:55.430Z] ---> Running in 39a64d6c68a7 [2021-02-18T09:54:55.430Z] Removing intermediate container 39a64d6c68a7 [2021-02-18T09:54:55.430Z] ---> 243e26f24261 [2021-02-18T09:54:55.430Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-18T09:54:55.430Z] ---> Running in cad57e42ee00 [2021-02-18T09:54:55.696Z] Removing intermediate container cad57e42ee00 [2021-02-18T09:54:55.696Z] ---> 745a4ea80baa [2021-02-18T09:54:55.696Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-18T09:54:55.696Z] ---> Running in 12b6ae04599b [2021-02-18T09:54:55.958Z] Removing intermediate container 12b6ae04599b [2021-02-18T09:54:55.959Z] ---> e9291a8ad2b9 [2021-02-18T09:54:55.959Z] Step 14/24 : WORKDIR / [2021-02-18T09:54:55.959Z] ---> Running in 39db0f142300 [2021-02-18T09:54:55.959Z] Removing intermediate container 39db0f142300 [2021-02-18T09:54:55.959Z] ---> e1afda6f1cb4 [2021-02-18T09:54:55.959Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-18T09:54:56.534Z] ---> ffc2f125d286 [2021-02-18T09:54:56.534Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-18T09:54:56.798Z] ---> 54987c9da945 [2021-02-18T09:54:56.798Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-18T09:54:57.061Z] ---> b7f74d533c96 [2021-02-18T09:54:57.061Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-18T09:54:57.324Z] ---> a8688153ed1b [2021-02-18T09:54:57.324Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-18T09:54:57.588Z] ---> 1f95452d4af6 [2021-02-18T09:54:57.588Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-18T09:54:57.588Z] ---> Running in 6c0a8a128665 [2021-02-18T09:54:57.851Z] Removing intermediate container 6c0a8a128665 [2021-02-18T09:54:57.851Z] ---> e85e776bb7b9 [2021-02-18T09:54:57.851Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-18T09:54:57.851Z] ---> Running in 81ae1647d41e [2021-02-18T09:54:58.114Z] Removing intermediate container 81ae1647d41e [2021-02-18T09:54:58.114Z] ---> 2ea4b60780f9 [2021-02-18T09:54:58.114Z] Step 22/24 : LABEL arch=amd64 [2021-02-18T09:54:58.114Z] ---> Running in 886dc3deedb9 [2021-02-18T09:54:58.114Z] Removing intermediate container 886dc3deedb9 [2021-02-18T09:54:58.114Z] ---> da258b3dbda1 [2021-02-18T09:54:58.114Z] Step 23/24 : LABEL git_sha=48795658231eefe43797c6bde77b808388815b9b [2021-02-18T09:54:58.377Z] ---> Running in 66dd2005411f [2021-02-18T09:54:58.639Z] Removing intermediate container 66dd2005411f [2021-02-18T09:54:58.639Z] ---> be059f22b92a [2021-02-18T09:54:58.639Z] Step 24/24 : LABEL version=0.0.0 [2021-02-18T09:54:58.639Z] ---> Running in bf55a6d6a9b5 [2021-02-18T09:54:58.902Z] Removing intermediate container bf55a6d6a9b5 [2021-02-18T09:54:58.902Z] ---> 1149e9171ada [2021-02-18T09:54:58.902Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-18T09:54:58.902Z] Successfully built 1149e9171ada [2021-02-18T09:54:58.902Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-18T09:55:12.976Z] gofmt -l . [2021-02-18T09:55:12.976Z] [ "`gofmt -l .`" = "" ] [2021-02-18T09:55:12.976Z] ./bin/test-attribution-txt.sh [2021-02-18T09:55:12.976Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-18T09:55:13.015Z] $ docker stop --time=1 6e5e106c09720b34cb34cbd107460e64c1cd7906d53f4292f9b38290c7d93afc [2021-02-18T09:55:15.288Z] $ docker rm -f 6e5e106c09720b34cb34cbd107460e64c1cd7906d53f4292f9b38290c7d93afc [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-18T09:55:16.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-18T09:55:16.489Z] Warning: overwriting stash ‘coverage-report’ [2021-02-18T09:55:17.336Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-18T09:55:18.225Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-18T09:55:18.610Z] + ls -al . [2021-02-18T09:55:18.610Z] total 220 [2021-02-18T09:55:18.610Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 18 09:55 . [2021-02-18T09:55:18.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 09:51 .. [2021-02-18T09:55:18.610Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 18 09:51 .dockerignore [2021-02-18T09:55:18.610Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 09:51 .git [2021-02-18T09:55:18.610Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 09:51 .github [2021-02-18T09:55:18.610Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 18 09:51 .gitignore [2021-02-18T09:55:18.610Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 18 09:51 Dockerfile.build [2021-02-18T09:55:18.610Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 18 09:51 Jenkinsfile [2021-02-18T09:55:18.610Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 18 09:51 LICENSE [2021-02-18T09:55:18.610Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 18 09:51 Makefile [2021-02-18T09:55:18.610Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 18 09:51 README.md [2021-02-18T09:55:18.610Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 18 09:51 RELEASE-NOTES.txt [2021-02-18T09:55:18.610Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 18 09:49 VERSION [2021-02-18T09:55:18.610Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 09:51 bin [2021-02-18T09:55:18.610Z] -rw-r--r-- 1 jenkins jenkins 101947 Feb 18 09:54 coverage.out [2021-02-18T09:55:18.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 09:51 example [2021-02-18T09:55:18.610Z] -rw-r--r-- 1 jenkins jenkins 515 Feb 18 09:55 go.mod [2021-02-18T09:55:18.610Z] -rw-r--r-- 1 jenkins jenkins 19062 Feb 18 09:55 go.sum [2021-02-18T09:55:18.610Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 18 09:51 internal [2021-02-18T09:55:18.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 09:51 openapi [2021-02-18T09:55:18.610Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 18 09:51 pkg [2021-02-18T09:55:18.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 09:51 snap [2021-02-18T09:55:18.610Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 18 09:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:55:18.959Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=48795658231eefe43797c6bde77b808388815b9b --label arch=arm64 --label version=0.0.0 . [2021-02-18T09:55:19.238Z] Sending build context to Docker daemon 2.536MB [2021-02-18T09:55:19.513Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-18T09:55:19.513Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-18T09:55:19.513Z] ---> 633ddf7ffd47 [2021-02-18T09:55:19.513Z] Step 3/24 : ARG MAKE='make build' [2021-02-18T09:55:19.786Z] ---> Running in 92376cbc9722 [2021-02-18T09:55:20.395Z] Removing intermediate container 92376cbc9722 [2021-02-18T09:55:20.395Z] ---> 8e3b6af3e90f [2021-02-18T09:55:20.395Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-18T09:55:20.395Z] ---> Running in f28d1d5b8cd4 [2021-02-18T09:55:20.674Z] Removing intermediate container f28d1d5b8cd4 [2021-02-18T09:55:20.674Z] ---> 2cfbfcf0d7c0 [2021-02-18T09:55:20.674Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T09:55:20.950Z] ---> Running in a51f64b3bcc3 [2021-02-18T09:55:21.228Z] Removing intermediate container a51f64b3bcc3 [2021-02-18T09:55:21.228Z] ---> 297599980d2d [2021-02-18T09:55:21.228Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-18T09:55:21.504Z] ---> Running in fb92509c2f2d [2021-02-18T09:55:23.522Z] Removing intermediate container fb92509c2f2d [2021-02-18T09:55:23.522Z] ---> 6b6904cf4bd4 [2021-02-18T09:55:23.522Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-18T09:55:23.801Z] ---> Running in 5f75d69762b3 [2021-02-18T09:55:24.811Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-18T09:55:25.427Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-18T09:55:26.057Z] OK: 142 MiB in 39 packages [2021-02-18T09:55:27.054Z] Removing intermediate container 5f75d69762b3 [2021-02-18T09:55:27.054Z] ---> e4302cea5198 [2021-02-18T09:55:27.054Z] Step 8/24 : COPY . . [2021-02-18T09:55:28.129Z] ---> ff43bdae563d [2021-02-18T09:55:28.129Z] Step 9/24 : RUN ${MAKE} [2021-02-18T09:55:28.417Z] ---> Running in 6996f05168ac [2021-02-18T09:55:29.432Z] 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-02-18T09:55:56.267Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-18T09:55:56.537Z] Removing intermediate container 6996f05168ac [2021-02-18T09:55:56.537Z] ---> 10426b74aa0d [2021-02-18T09:55:56.537Z] Step 10/24 : FROM scratch [2021-02-18T09:55:56.537Z] ---> [2021-02-18T09:55:56.537Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T09:55:56.810Z] ---> Running in 96575ab86cc4 [2021-02-18T09:55:57.086Z] Removing intermediate container 96575ab86cc4 [2021-02-18T09:55:57.086Z] ---> 6111685e1d7e [2021-02-18T09:55:57.086Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-18T09:55:57.359Z] ---> Running in c50a0b571396 [2021-02-18T09:55:57.630Z] Removing intermediate container c50a0b571396 [2021-02-18T09:55:57.630Z] ---> da6af9f2fce9 [2021-02-18T09:55:57.630Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-18T09:55:57.903Z] ---> Running in ee6f16c7ba8d [2021-02-18T09:55:58.175Z] Removing intermediate container ee6f16c7ba8d [2021-02-18T09:55:58.175Z] ---> 23b040067ba1 [2021-02-18T09:55:58.175Z] Step 14/24 : WORKDIR / [2021-02-18T09:55:58.175Z] ---> Running in 7191e975a7d9 [2021-02-18T09:55:58.771Z] Removing intermediate container 7191e975a7d9 [2021-02-18T09:55:58.771Z] ---> a39e8f9339f3 [2021-02-18T09:55:58.771Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-18T09:55:59.756Z] ---> 96b0c2c419c0 [2021-02-18T09:55:59.756Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-18T09:56:00.739Z] ---> 871da7f408d3 [2021-02-18T09:56:00.739Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-18T09:56:01.332Z] ---> 00834471efb7 [2021-02-18T09:56:01.332Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-18T09:56:01.929Z] ---> a5d902fbf70e [2021-02-18T09:56:01.929Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-18T09:56:02.909Z] ---> 6dfd1f143192 [2021-02-18T09:56:02.909Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-18T09:56:02.909Z] ---> Running in c78e3b60951f [2021-02-18T09:56:03.503Z] Removing intermediate container c78e3b60951f [2021-02-18T09:56:03.504Z] ---> 6045a7ab73c0 [2021-02-18T09:56:03.504Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-18T09:56:03.504Z] ---> Running in 049e0c5ccc25 [2021-02-18T09:56:03.777Z] Removing intermediate container 049e0c5ccc25 [2021-02-18T09:56:03.777Z] ---> a565d5824c7a [2021-02-18T09:56:03.777Z] Step 22/24 : LABEL arch=arm64 [2021-02-18T09:56:04.049Z] ---> Running in 7e2d838d6407 [2021-02-18T09:56:04.324Z] Removing intermediate container 7e2d838d6407 [2021-02-18T09:56:04.324Z] ---> 296edabde034 [2021-02-18T09:56:04.324Z] Step 23/24 : LABEL git_sha=48795658231eefe43797c6bde77b808388815b9b [2021-02-18T09:56:04.595Z] ---> Running in fc3f065e5281 [2021-02-18T09:56:05.188Z] Removing intermediate container fc3f065e5281 [2021-02-18T09:56:05.188Z] ---> 1798cb88f145 [2021-02-18T09:56:05.188Z] Step 24/24 : LABEL version=0.0.0 [2021-02-18T09:56:05.188Z] ---> Running in 226e02acd96b [2021-02-18T09:56:05.462Z] Removing intermediate container 226e02acd96b [2021-02-18T09:56:05.462Z] ---> 973d913eb31f [2021-02-18T09:56:05.462Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-18T09:56:05.734Z] Successfully built 973d913eb31f [2021-02-18T09:56:05.734Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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-02-18T09:56:07.758Z] provisioning config files... [2021-02-18T09:56:07.779Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config6390318211856296394tmp [Pipeline] { [Pipeline] sh [2021-02-18T09:56:08.193Z] + set +x [2021-02-18T09:56:08.193Z] + bash -s -- [2021-02-18T09:56:08.193Z] + curl -s https://codecov.io/bash [2021-02-18T09:56:08.512Z] [2021-02-18T09:56:08.512Z] _____ _ [2021-02-18T09:56:08.512Z] / ____| | | [2021-02-18T09:56:08.512Z] | | ___ __| | ___ ___ _____ __ [2021-02-18T09:56:08.512Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-18T09:56:08.512Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-18T09:56:08.512Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-18T09:56:08.512Z] Bash-20210129-7c25fce [2021-02-18T09:56:08.512Z] [2021-02-18T09:56:08.512Z] [2021-02-18T09:56:08.512Z] ==> git version 2.24.3 found [2021-02-18T09:56:08.512Z] ==> 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-02-18T09:56:08.512Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-18T09:56:08.512Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-18T09:56:08.512Z] ==> Jenkins CI detected. [2021-02-18T09:56:08.512Z] project root: . [2021-02-18T09:56:08.512Z] --> token set from env [2021-02-18T09:56:08.796Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-18T09:56:08.796Z] ==> Running gcov in . (disable via -X gcov) [2021-02-18T09:56:08.796Z] ==> Python coveragepy not found [2021-02-18T09:56:08.796Z] ==> Searching for coverage reports in: [2021-02-18T09:56:08.796Z] + . [2021-02-18T09:56:08.796Z] -> Found 1 reports [2021-02-18T09:56:08.796Z] ==> Detecting git/mercurial file structure [2021-02-18T09:56:08.796Z] ==> Reading reports [2021-02-18T09:56:08.796Z] + ./coverage.out bytes=101947 [2021-02-18T09:56:08.796Z] ==> Appending adjustments [2021-02-18T09:56:08.796Z] https://docs.codecov.io/docs/fixing-reports [2021-02-18T09:56:09.833Z] + Found adjustments [2021-02-18T09:56:09.833Z] ==> Gzipping contents [2021-02-18T09:56:09.833Z] 20K /tmp/codecov.l0wVCE.gz [2021-02-18T09:56:09.833Z] ==> Uploading reports [2021-02-18T09:56:09.833Z] url: https://codecov.io [2021-02-18T09:56:09.833Z] query: branch=PR-789&commit=48795658231eefe43797c6bde77b808388815b9b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-789%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=789&job=&cmd_args= [2021-02-18T09:56:09.833Z] -> Pinging Codecov [2021-02-18T09:56:09.834Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-789&commit=48795658231eefe43797c6bde77b808388815b9b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-789%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=789&job=&cmd_args= [2021-02-18T09:56:10.432Z] -> Uploading to [2021-02-18T09:56:10.432Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-18/7E55EF52A471D76F132DFD9A03CDDE97/48795658231eefe43797c6bde77b808388815b9b/6e0ac101-f1b2-49fb-93bb-351d8b8724ce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210218%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210218T095610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b53457e35811b2ef95384502561c27ea9a133b21623574e805cc8545f15a889d [2021-02-18T09:56:10.432Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-18T09:56:10.432Z] Dload Upload Total Spent Left Speed [2021-02-18T09:56:10.703Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16509 0 0 100 16509 0 31534 --:--:-- --:--:-- --:--:-- 31565 [2021-02-18T09:56:10.703Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/48795658231eefe43797c6bde77b808388815b9b [Pipeline] } [2021-02-18T09:56:10.714Z] 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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-02-18T09:56:13.754Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:56:14.498Z] ---> package-listing.sh [2021-02-18T09:56:14.498Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-18T09:56:14.498Z] ++ facter osfamily [2021-02-18T09:56:14.772Z] + OS_FAMILY=redhat [2021-02-18T09:56:14.772Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-789 [2021-02-18T09:56:14.772Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-18T09:56:14.772Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-18T09:56:14.772Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-18T09:56:14.772Z] + PACKAGES=/tmp/packages_start.txt [2021-02-18T09:56:14.772Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-789 ']' [2021-02-18T09:56:14.772Z] + PACKAGES=/tmp/packages_end.txt [2021-02-18T09:56:14.772Z] + case "${OS_FAMILY}" in [2021-02-18T09:56:14.772Z] + sort [2021-02-18T09:56:14.772Z] + rpm -qa [2021-02-18T09:56:23.044Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-18T09:56:23.044Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-18T09:56:23.044Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-18T09:56:23.044Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-789 ']' [2021-02-18T09:56:23.044Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-789/archives/ [2021-02-18T09:56:23.044Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-789/archives/ [Pipeline] echo [2021-02-18T09:56:23.070Z] 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-789/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-18T09:56:23.621Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:56:24.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-18T09:56:24.329Z] [2021-02-18T09:56:24.329Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:56:24.802Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-18T09:56:25.109Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-18T09:56:25.109Z] df20fa9351a1: Pulling fs layer [2021-02-18T09:56:25.109Z] 36b3adc4ff6f: Pulling fs layer [2021-02-18T09:56:25.109Z] 8ad3a11d3b57: Pulling fs layer [2021-02-18T09:56:25.109Z] 46f8f816bc3b: Pulling fs layer [2021-02-18T09:56:25.109Z] 93b61091891f: Pulling fs layer [2021-02-18T09:56:25.109Z] 93b9cdb0e59b: Pulling fs layer [2021-02-18T09:56:25.109Z] 5e14af77c1be: Pulling fs layer [2021-02-18T09:56:25.109Z] 01666e4c0597: Pulling fs layer [2021-02-18T09:56:25.109Z] aa168da1d23b: Pulling fs layer [2021-02-18T09:56:25.109Z] 93b9cdb0e59b: Waiting [2021-02-18T09:56:25.109Z] 5e14af77c1be: Waiting [2021-02-18T09:56:25.109Z] 01666e4c0597: Waiting [2021-02-18T09:56:25.109Z] aa168da1d23b: Waiting [2021-02-18T09:56:25.109Z] 46f8f816bc3b: Waiting [2021-02-18T09:56:25.109Z] 93b61091891f: Waiting [2021-02-18T09:56:25.109Z] 36b3adc4ff6f: Verifying Checksum [2021-02-18T09:56:25.109Z] 36b3adc4ff6f: Download complete [2021-02-18T09:56:25.109Z] 46f8f816bc3b: Download complete [2021-02-18T09:56:25.402Z] 93b61091891f: Verifying Checksum [2021-02-18T09:56:25.402Z] 93b61091891f: Download complete [2021-02-18T09:56:25.402Z] df20fa9351a1: Verifying Checksum [2021-02-18T09:56:25.402Z] df20fa9351a1: Download complete [2021-02-18T09:56:25.402Z] 93b9cdb0e59b: Verifying Checksum [2021-02-18T09:56:25.402Z] 93b9cdb0e59b: Download complete [2021-02-18T09:56:25.402Z] 5e14af77c1be: Verifying Checksum [2021-02-18T09:56:25.402Z] 5e14af77c1be: Download complete [2021-02-18T09:56:25.402Z] 01666e4c0597: Verifying Checksum [2021-02-18T09:56:25.402Z] 01666e4c0597: Download complete [2021-02-18T09:56:26.023Z] df20fa9351a1: Pull complete [2021-02-18T09:56:26.632Z] 8ad3a11d3b57: Verifying Checksum [2021-02-18T09:56:26.632Z] 8ad3a11d3b57: Download complete [2021-02-18T09:56:27.258Z] 36b3adc4ff6f: Pull complete [2021-02-18T09:56:30.134Z] 8ad3a11d3b57: Pull complete [2021-02-18T09:56:30.134Z] 46f8f816bc3b: Pull complete [2021-02-18T09:56:30.418Z] aa168da1d23b: Verifying Checksum [2021-02-18T09:56:30.418Z] aa168da1d23b: Download complete [2021-02-18T09:56:30.695Z] 93b61091891f: Pull complete [2021-02-18T09:56:31.365Z] 93b9cdb0e59b: Pull complete [2021-02-18T09:56:31.677Z] 5e14af77c1be: Pull complete [2021-02-18T09:56:31.980Z] 01666e4c0597: Pull complete [2021-02-18T09:56:47.602Z] aa168da1d23b: Pull complete [2021-02-18T09:56:47.602Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-18T09:56:47.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-18T09:56:47.602Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-18T09:56:47.995Z] prd-centos7-docker-4c-2g-26789 does not seem to be running inside a container [2021-02-18T09:56:48.273Z] $ 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-789/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-789 -v /w/workspace/dgexfoundry_device-sdk-go_PR-789:/w/workspace/dgexfoundry_device-sdk-go_PR-789:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-789@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-18T09:56:52.960Z] $ docker top b3dc950d37ec34debc668e04284c5cef991874ba4a817f97e63b506536a22694 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T09:56:54.321Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-18T09:56:54.763Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-18T09:56:55.200Z] + ls /var/log/sa-host [2021-02-18T09:56:55.200Z] + sadf -c /var/log/sa-host/sa18 [2021-02-18T09:56:55.471Z] file_magic: OK [2021-02-18T09:56:55.471Z] HZ: Using current value: 100 [2021-02-18T09:56:55.471Z] file_header: OK [2021-02-18T09:56:55.471Z] 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-02-18T09:56:55.471Z] Statistics: [2021-02-18T09:56:55.471Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-18T09:56:55.471Z] File successfully converted to sysstat format version 12.2.1 [2021-02-18T09:56:55.471Z] + sadf -c /var/log/sa-host/sa23 [2021-02-18T09:56:55.471Z] file_magic: OK [2021-02-18T09:56:55.471Z] HZ: Using current value: 100 [2021-02-18T09:56:55.471Z] file_header: OK [2021-02-18T09:56:55.471Z] 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-02-18T09:56:55.471Z] Statistics: [2021-02-18T09:56:55.471Z] Hnuu...uuuununununu... [2021-02-18T09:56:55.471Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-18T09:56:56.177Z] provisioning config files... [2021-02-18T09:56:56.227Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config1306124827794341488tmp [Pipeline] { [Pipeline] echo [2021-02-18T09:56:56.317Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:56:57.071Z] ---> create-netrc.sh [Pipeline] } [2021-02-18T09:56:57.086Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-18T09:56:57.206Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:56:58.002Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-18T09:56:58.053Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:56:58.848Z] ---> sudo-logs.sh [2021-02-18T09:56:58.848Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-18T09:56:58.926Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:56:59.630Z] ---> job-cost.sh [2021-02-18T09:56:59.630Z] lf-activate-venv: SKIPPING [2021-02-18T09:56:59.630Z] INFO: No Stack... [2021-02-18T09:57:00.633Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-18T09:57:01.227Z] INFO: Archiving Costs [Pipeline] echo [2021-02-18T09:57:01.259Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:57:02.046Z] ---> logs-deploy.sh [2021-02-18T09:57:02.046Z] lf-activate-venv: SKIPPING [2021-02-18T09:57:02.046Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-789/4 [2021-02-18T09:57:02.046Z] INFO: archiving workspace using pattern(s): [2021-02-18T09:57:04.836Z] Archives upload complete. [2021-02-18T09:57:05.110Z] INFO: archiving logs to Nexus