Pull request #728 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cd316ea49cf9d9825da6145ca8d2532e8c2e8a42+2e0b14878cfb4a574be8745ab7c226ce26d53775 (50a2c2e06bfd911594044a130aaba75be739df8a) 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-22168 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [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-728 # 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/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 Merge succeeded, producing cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 Checking out Revision cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 (PR-728) > git config core.sparsecheckout # timeout=10 > git checkout -f cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 # 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 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-22T02:40:18.429Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 54037e6807a9ac14c6e293b6fbd3afd97b7115bb # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-22T02:40:18.732Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-22T02:40:18.840Z] ========================================================= [2021-01-22T02:40:18.840Z] EdgeX Global Pipelines Version Info [2021-01-22T02:40:18.840Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:40:20.500Z] ------------------- [2021-01-22T02:40:20.500Z] stable info: [2021-01-22T02:40:20.500Z] ------------------- [2021-01-22T02:40:20.500Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-22T02:40:20.500Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-22T02:40:20.500Z] Message: update stable to v1.0.179 [2021-01-22T02:40:21.449Z] ------------------- [2021-01-22T02:40:21.449Z] experimental info: [2021-01-22T02:40:21.449Z] ------------------- [2021-01-22T02:40:21.449Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-22T02:40:21.449Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-22T02:40:21.449Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-22T02:40:21.719Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-22T02:40:21.802Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-22T02:40:21.888Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-22T02:40:21.969Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-22T02:40:22.057Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-22T02:40:22.139Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-22T02:40:22.222Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-22T02:40:22.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-22T02:40:22.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-22T02:40:22.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-22T02:40:22.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-22T02:40:22.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-22T02:40:22.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-22T02:40:23.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-22T02:40:23.130Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-22T02:40:23.212Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T02:40:23.296Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T02:40:23.378Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T02:40:23.479Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-22T02:40:23.561Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-22T02:40:23.644Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-22T02:40:23.731Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-22T02:40:23.816Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-22T02:40:23.901Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-22T02:40:23.994Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-22T02:40:24.082Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-22T02:40:24.184Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-22T02:40:24.269Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-728 [Pipeline] echo [2021-01-22T02:40:24.379Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-728 [Pipeline] echo [2021-01-22T02:40:24.469Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-728 [Pipeline] echo [2021-01-22T02:40:24.577Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 [Pipeline] echo [2021-01-22T02:40:24.664Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd316ea [Pipeline] echo [2021-01-22T02:40:24.748Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T02:40:24.956Z] provisioning config files... [2021-01-22T02:40:24.985Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config6664006620597465137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:40:25.351Z] ---> docker-login.sh [2021-01-22T02:40:25.351Z] nexus3.edgexfoundry.org:10001 [2021-01-22T02:40:25.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:40:25.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:40:25.881Z] Configure a credential helper to remove this warning. See [2021-01-22T02:40:25.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:40:25.881Z] [2021-01-22T02:40:25.881Z] Login Succeeded [2021-01-22T02:40:25.881Z] nexus3.edgexfoundry.org:10002 [2021-01-22T02:40:25.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:40:25.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:40:25.881Z] Configure a credential helper to remove this warning. See [2021-01-22T02:40:25.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:40:25.881Z] [2021-01-22T02:40:25.881Z] Login Succeeded [2021-01-22T02:40:25.881Z] nexus3.edgexfoundry.org:10003 [2021-01-22T02:40:26.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:40:26.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:40:26.146Z] Configure a credential helper to remove this warning. See [2021-01-22T02:40:26.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:40:26.146Z] [2021-01-22T02:40:26.146Z] Login Succeeded [2021-01-22T02:40:26.146Z] nexus3.edgexfoundry.org:10004 [2021-01-22T02:40:26.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:40:26.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:40:26.416Z] Configure a credential helper to remove this warning. See [2021-01-22T02:40:26.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:40:26.416Z] [2021-01-22T02:40:26.416Z] Login Succeeded [2021-01-22T02:40:26.416Z] docker.io [2021-01-22T02:40:26.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:40:26.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:40:26.678Z] Configure a credential helper to remove this warning. See [2021-01-22T02:40:26.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:40:26.678Z] [2021-01-22T02:40:26.678Z] Login Succeeded [2021-01-22T02:40:26.678Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T02:40:26.688Z] 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-01-22T02:40:27.471Z] + git log --format=format:%s -1 cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 [Pipeline] echo [2021-01-22T02:40:27.544Z] GIT_COMMIT: cd316ea49cf9d9825da6145ca8d2532e8c2e8a42, Commit Message: build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0 [Pipeline] echo [2021-01-22T02:40:27.588Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:40:28.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T02:40:28.205Z] [2021-01-22T02:40:28.205Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:40:28.548Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T02:40:28.548Z] latest: Pulling from edgex-devops/git-semver [2021-01-22T02:40:28.548Z] 31603596830f: Pulling fs layer [2021-01-22T02:40:28.548Z] 2a8b12db71e7: Pulling fs layer [2021-01-22T02:40:28.548Z] 6ca5941a6612: Pulling fs layer [2021-01-22T02:40:28.548Z] ecc8261a40a4: Pulling fs layer [2021-01-22T02:40:28.548Z] ecc8261a40a4: Waiting [2021-01-22T02:40:28.548Z] 2a8b12db71e7: Download complete [2021-01-22T02:40:28.548Z] 31603596830f: Download complete [2021-01-22T02:40:28.817Z] ecc8261a40a4: Verifying Checksum [2021-01-22T02:40:28.817Z] ecc8261a40a4: Download complete [2021-01-22T02:40:28.817Z] 6ca5941a6612: Verifying Checksum [2021-01-22T02:40:28.817Z] 6ca5941a6612: Download complete [2021-01-22T02:40:29.081Z] 31603596830f: Pull complete [2021-01-22T02:40:29.082Z] 2a8b12db71e7: Pull complete [2021-01-22T02:40:30.037Z] 6ca5941a6612: Pull complete [2021-01-22T02:40:30.297Z] ecc8261a40a4: Pull complete [2021-01-22T02:40:30.297Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-22T02:40:30.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T02:40:30.297Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-22T02:40:30.396Z] prd-centos7-docker-4c-2g-22168 does not seem to be running inside a container [2021-01-22T02:40:30.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-22T02:40:32.154Z] $ docker top 646e6f22bbb0990c0a60d676f13f09ef2af6de72990d4524a82f8c9f686a2f07 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-22T02:40:32.454Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-22T02:40:32.454Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-22T02:40:32.667Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-22T02:40:32.671Z] $ docker exec 646e6f22bbb0990c0a60d676f13f09ef2af6de72990d4524a82f8c9f686a2f07 ssh-agent [2021-01-22T02:40:32.850Z] SSH_AUTH_SOCK=/tmp/ssh-MFlm8ULYCbbp/agent.11 [2021-01-22T02:40:32.850Z] SSH_AGENT_PID=17 [2021-01-22T02:40:32.860Z] Running ssh-add (command line suppressed) [2021-01-22T02:40:32.994Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_6059653106318913734.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_6059653106318913734.key) [2021-01-22T02:40:33.042Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-22T02:40:33.377Z] + git tag --points-at HEAD [Pipeline] } [2021-01-22T02:40:33.396Z] $ docker exec --env ******** --env ******** 646e6f22bbb0990c0a60d676f13f09ef2af6de72990d4524a82f8c9f686a2f07 ssh-agent -k [2021-01-22T02:40:33.513Z] unset SSH_AUTH_SOCK; [2021-01-22T02:40:33.513Z] unset SSH_AGENT_PID; [2021-01-22T02:40:33.513Z] echo Agent pid 17 killed; [2021-01-22T02:40:33.565Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-22T02:40:33.703Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-22T02:40:33.703Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-22T02:40:33.855Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-22T02:40:33.859Z] $ docker exec 646e6f22bbb0990c0a60d676f13f09ef2af6de72990d4524a82f8c9f686a2f07 ssh-agent [2021-01-22T02:40:34.029Z] SSH_AUTH_SOCK=/tmp/ssh-NncITHrh9uXb/agent.45 [2021-01-22T02:40:34.029Z] SSH_AGENT_PID=50 [2021-01-22T02:40:34.035Z] Running ssh-add (command line suppressed) [2021-01-22T02:40:34.149Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_4365114970751664832.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_4365114970751664832.key) [2021-01-22T02:40:34.199Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-22T02:40:34.535Z] + git semver init [2021-01-22T02:40:34.535Z] # -> Open(): unable to determine branch for HEAD [2021-01-22T02:40:34.535Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.git [2021-01-22T02:40:34.535Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-728 [2021-01-22T02:40:34.535Z] # $SEMVER_REMOTE_NAME = origin [2021-01-22T02:40:34.535Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-22T02:40:34.535Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-22T02:40:34.535Z] # $SEMVER_BRANCH = PR-728 [2021-01-22T02:40:34.535Z] # $SEMVER_TEMP = /tmp/semver-671364544 [2021-01-22T02:40:34.535Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-22T02:40:35.119Z] # '/tmp/semver-671364544' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver' [2021-01-22T02:40:35.119Z] # -> Force: false [2021-01-22T02:40:35.119Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver [Pipeline] } [2021-01-22T02:40:35.142Z] $ docker exec --env ******** --env ******** 646e6f22bbb0990c0a60d676f13f09ef2af6de72990d4524a82f8c9f686a2f07 ssh-agent -k [2021-01-22T02:40:35.250Z] unset SSH_AUTH_SOCK; [2021-01-22T02:40:35.250Z] unset SSH_AGENT_PID; [2021-01-22T02:40:35.250Z] echo Agent pid 50 killed; [2021-01-22T02:40:35.300Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-22T02:40:35.811Z] + git semver [Pipeline] } [2021-01-22T02:40:35.830Z] $ docker stop --time=1 646e6f22bbb0990c0a60d676f13f09ef2af6de72990d4524a82f8c9f686a2f07 [2021-01-22T02:40:37.257Z] $ docker rm -f 646e6f22bbb0990c0a60d676f13f09ef2af6de72990d4524a82f8c9f686a2f07 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T02:40:37.714Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-22T02:40:38.319Z] Stashed 1 file(s) [Pipeline] echo [2021-01-22T02:40:38.322Z] [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-01-22T02:40:53.897Z] Still waiting to schedule task [2021-01-22T02:40:53.897Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-22167’ is offline; ‘prd-centos7-docker-4c-2g-22171’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-22169’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-22T02:40:53.899Z] Still waiting to schedule task [2021-01-22T02:40:53.899Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-22T02:42:59.518Z] Running on prd-centos7-docker-4c-2g-22175 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws [2021-01-22T02:42:59.587Z] Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout [2021-01-22T02:43:03.259Z] using credential edgex-jenkins-ssh [2021-01-22T02:43:03.324Z] Cloning the remote Git repository [2021-01-22T02:43:03.364Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T02:43:03.447Z] > git init /w/workspace/device-sdk-go/10 # timeout=10 [2021-01-22T02:43:03.516Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T02:43:03.516Z] > git --version # timeout=10 [2021-01-22T02:43:03.532Z] > git --version # 'git version 2.24.3' [2021-01-22T02:43:03.533Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T02:43:03.562Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T02:43:04.945Z] Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 [2021-01-22T02:43:05.060Z] Merge succeeded, producing cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 [2021-01-22T02:43:05.061Z] Checking out Revision cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 (PR-728) [2021-01-22T02:43:04.535Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T02:43:04.553Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T02:43:04.565Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T02:43:04.587Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T02:43:04.587Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T02:43:04.592Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-22T02:43:04.954Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T02:43:04.966Z] > git checkout -f cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 # timeout=10 [2021-01-22T02:43:05.021Z] > git remote # timeout=10 [2021-01-22T02:43:05.029Z] > git config --get remote.origin.url # timeout=10 [2021-01-22T02:43:05.034Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T02:43:05.039Z] > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 [2021-01-22T02:43:05.054Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-22T02:43:05.064Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T02:43:05.073Z] > git checkout -f cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 # timeout=10 [2021-01-22T02:43:08.862Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T02:43:10.210Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-22T02:43:10.581Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-22T02:43:10.893Z] + sudo service docker restart [2021-01-22T02:43:10.893Z] + true [2021-01-22T02:43:10.893Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T02:43:12.377Z] provisioning config files... [2021-01-22T02:43:12.434Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config9193612350956748376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:43:12.810Z] ---> docker-login.sh [2021-01-22T02:43:12.810Z] nexus3.edgexfoundry.org:10001 [2021-01-22T02:43:13.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:43:13.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:43:13.074Z] Configure a credential helper to remove this warning. See [2021-01-22T02:43:13.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:43:13.074Z] [2021-01-22T02:43:13.074Z] Login Succeeded [2021-01-22T02:43:13.074Z] nexus3.edgexfoundry.org:10002 [2021-01-22T02:43:13.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:43:13.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:43:13.340Z] Configure a credential helper to remove this warning. See [2021-01-22T02:43:13.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:43:13.340Z] [2021-01-22T02:43:13.340Z] Login Succeeded [2021-01-22T02:43:13.340Z] nexus3.edgexfoundry.org:10003 [2021-01-22T02:43:13.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:43:13.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:43:13.606Z] Configure a credential helper to remove this warning. See [2021-01-22T02:43:13.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:43:13.606Z] [2021-01-22T02:43:13.606Z] Login Succeeded [2021-01-22T02:43:13.606Z] nexus3.edgexfoundry.org:10004 [2021-01-22T02:43:13.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:43:13.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:43:13.606Z] Configure a credential helper to remove this warning. See [2021-01-22T02:43:13.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:43:13.606Z] [2021-01-22T02:43:13.606Z] Login Succeeded [2021-01-22T02:43:13.606Z] docker.io [2021-01-22T02:43:13.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:43:14.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:43:14.139Z] Configure a credential helper to remove this warning. See [2021-01-22T02:43:14.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:43:14.139Z] [2021-01-22T02:43:14.139Z] Login Succeeded [2021-01-22T02:43:14.139Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T02:43:14.151Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-22T02:43:14.541Z] ========================================================= [2021-01-22T02:43:14.541Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-22T02:43:14.541Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:43:14.899Z] + 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-01-22T02:43:14.899Z] Sending build context to Docker daemon 2.541MB [2021-01-22T02:43:14.899Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T02:43:14.899Z] Step 2/8 : FROM ${BASE} [2021-01-22T02:43:15.168Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-22T02:43:15.168Z] 188c0c94c7c5: Pulling fs layer [2021-01-22T02:43:15.168Z] 0ef7d3d256c8: Pulling fs layer [2021-01-22T02:43:15.168Z] de9db76c5a1d: Pulling fs layer [2021-01-22T02:43:15.168Z] bca2f99d35d6: Pulling fs layer [2021-01-22T02:43:15.168Z] 93359f2a8cfa: Pulling fs layer [2021-01-22T02:43:15.168Z] 7c6f9722023f: Pulling fs layer [2021-01-22T02:43:15.168Z] a35cf1a2eb13: Pulling fs layer [2021-01-22T02:43:15.168Z] 93359f2a8cfa: Waiting [2021-01-22T02:43:15.168Z] 7c6f9722023f: Waiting [2021-01-22T02:43:15.168Z] bca2f99d35d6: Waiting [2021-01-22T02:43:15.168Z] a35cf1a2eb13: Waiting [2021-01-22T02:43:15.168Z] de9db76c5a1d: Verifying Checksum [2021-01-22T02:43:15.168Z] de9db76c5a1d: Download complete [2021-01-22T02:43:15.168Z] 0ef7d3d256c8: Verifying Checksum [2021-01-22T02:43:15.168Z] 0ef7d3d256c8: Download complete [2021-01-22T02:43:15.168Z] 93359f2a8cfa: Verifying Checksum [2021-01-22T02:43:15.168Z] 93359f2a8cfa: Download complete [2021-01-22T02:43:15.168Z] 188c0c94c7c5: Verifying Checksum [2021-01-22T02:43:15.168Z] 7c6f9722023f: Verifying Checksum [2021-01-22T02:43:15.168Z] 7c6f9722023f: Download complete [2021-01-22T02:43:15.437Z] 188c0c94c7c5: Pull complete [2021-01-22T02:43:15.702Z] 0ef7d3d256c8: Pull complete [2021-01-22T02:43:15.702Z] de9db76c5a1d: Pull complete [2021-01-22T02:43:17.688Z] a35cf1a2eb13: Verifying Checksum [2021-01-22T02:43:17.688Z] a35cf1a2eb13: Download complete [2021-01-22T02:43:18.262Z] bca2f99d35d6: Verifying Checksum [2021-01-22T02:43:18.262Z] bca2f99d35d6: Download complete [2021-01-22T02:43:23.602Z] bca2f99d35d6: Pull complete [2021-01-22T02:43:23.876Z] 93359f2a8cfa: Pull complete [2021-01-22T02:43:23.876Z] 7c6f9722023f: Pull complete [2021-01-22T02:43:33.960Z] a35cf1a2eb13: Pull complete [2021-01-22T02:43:33.960Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-22T02:43:33.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-22T02:43:33.960Z] ---> a62c8e92a672 [2021-01-22T02:43:33.960Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T02:43:33.960Z] ---> Running in 58d09de8e232 [2021-01-22T02:43:33.960Z] Removing intermediate container 58d09de8e232 [2021-01-22T02:43:33.960Z] ---> 228c64955173 [2021-01-22T02:43:33.960Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T02:43:33.960Z] ---> Running in a175e86f5295 [2021-01-22T02:43:34.226Z] Removing intermediate container a175e86f5295 [2021-01-22T02:43:34.226Z] ---> 6de98a941cc0 [2021-01-22T02:43:34.226Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-22T02:43:34.494Z] ---> Running in 1306076b272a [2021-01-22T02:43:35.265Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22174 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws [2021-01-22T02:43:35.333Z] Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout [2021-01-22T02:43:35.449Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-22T02:43:37.415Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-22T02:43:39.986Z] OK: 166 MiB in 39 packages [2021-01-22T02:43:40.329Z] using credential edgex-jenkins-ssh [2021-01-22T02:43:40.416Z] Cloning the remote Git repository [2021-01-22T02:43:40.580Z] Removing intermediate container 1306076b272a [2021-01-22T02:43:40.580Z] ---> e08be788b9d1 [2021-01-22T02:43:40.580Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-22T02:43:40.580Z] ---> Running in 073c0fe77c4e [2021-01-22T02:43:40.580Z] Removing intermediate container 073c0fe77c4e [2021-01-22T02:43:40.580Z] ---> 684bf27d6c03 [2021-01-22T02:43:40.580Z] Step 7/8 : COPY . . [2021-01-22T02:43:40.464Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T02:43:40.578Z] > git init /w/workspace/device-sdk-go/10 # timeout=10 [2021-01-22T02:43:40.647Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T02:43:40.648Z] > git --version # timeout=10 [2021-01-22T02:43:40.664Z] > git --version # 'git version 2.17.1' [2021-01-22T02:43:40.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T02:43:40.741Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T02:43:41.980Z] ---> 02a99ef143a3 [2021-01-22T02:43:41.980Z] Step 8/8 : RUN go mod download [2021-01-22T02:43:41.980Z] ---> Running in 79c4e60f88de [2021-01-22T02:43:42.466Z] Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 [2021-01-22T02:43:42.897Z] Merge succeeded, producing cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 [2021-01-22T02:43:42.898Z] Checking out Revision cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 (PR-728) [2021-01-22T02:43:41.870Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T02:43:41.886Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T02:43:41.912Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T02:43:41.962Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T02:43:41.963Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T02:43:41.976Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-22T02:43:42.508Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T02:43:42.534Z] > git checkout -f cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 # timeout=10 [2021-01-22T02:43:42.731Z] > git remote # timeout=10 [2021-01-22T02:43:42.753Z] > git config --get remote.origin.url # timeout=10 [2021-01-22T02:43:42.805Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T02:43:42.819Z] > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 [2021-01-22T02:43:42.854Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-22T02:43:42.902Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T02:43:42.941Z] > git checkout -f cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 # timeout=10 [2021-01-22T02:43:47.296Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T02:43:48.773Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-22T02:43:49.228Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-22T02:43:49.579Z] + + true [2021-01-22T02:43:49.579Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T02:43:51.672Z] provisioning config files... [2021-01-22T02:43:51.713Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config8649380824269455033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:43:52.120Z] ---> docker-login.sh [2021-01-22T02:43:52.120Z] nexus3.edgexfoundry.org:10001 [2021-01-22T02:43:52.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:43:53.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:43:53.325Z] Configure a credential helper to remove this warning. See [2021-01-22T02:43:53.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:43:53.325Z] [2021-01-22T02:43:53.325Z] Login Succeeded [2021-01-22T02:43:53.325Z] nexus3.edgexfoundry.org:10002 [2021-01-22T02:43:53.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:43:53.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:43:53.875Z] Configure a credential helper to remove this warning. See [2021-01-22T02:43:53.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:43:53.875Z] [2021-01-22T02:43:53.875Z] Login Succeeded [2021-01-22T02:43:53.875Z] nexus3.edgexfoundry.org:10003 [2021-01-22T02:43:54.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:43:54.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:43:54.424Z] Configure a credential helper to remove this warning. See [2021-01-22T02:43:54.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:43:54.424Z] [2021-01-22T02:43:54.424Z] Login Succeeded [2021-01-22T02:43:54.424Z] nexus3.edgexfoundry.org:10004 [2021-01-22T02:43:54.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:43:54.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:43:54.985Z] Configure a credential helper to remove this warning. See [2021-01-22T02:43:54.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:43:54.985Z] [2021-01-22T02:43:54.985Z] Login Succeeded [2021-01-22T02:43:54.985Z] docker.io [2021-01-22T02:43:55.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:43:55.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:43:55.869Z] Configure a credential helper to remove this warning. See [2021-01-22T02:43:55.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:43:55.869Z] [2021-01-22T02:43:55.869Z] Login Succeeded [2021-01-22T02:43:55.869Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T02:43:55.887Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-22T02:43:56.330Z] ========================================================= [2021-01-22T02:43:56.330Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-22T02:43:56.330Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:43:56.726Z] + 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-01-22T02:43:57.004Z] Sending build context to Docker daemon 2.548MB [2021-01-22T02:43:57.279Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T02:43:57.279Z] Step 2/8 : FROM ${BASE} [2021-01-22T02:43:57.279Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-22T02:43:57.279Z] 5f621e34cdf4: Pulling fs layer [2021-01-22T02:43:57.279Z] a4357932f1b6: Pulling fs layer [2021-01-22T02:43:57.279Z] 18c013af1878: Pulling fs layer [2021-01-22T02:43:57.279Z] 00ac8860ef70: Pulling fs layer [2021-01-22T02:43:57.279Z] 63d7cb157983: Pulling fs layer [2021-01-22T02:43:57.279Z] b116817d02f9: Pulling fs layer [2021-01-22T02:43:57.279Z] 745a02a5169b: Pulling fs layer [2021-01-22T02:43:57.279Z] 00ac8860ef70: Waiting [2021-01-22T02:43:57.279Z] 63d7cb157983: Waiting [2021-01-22T02:43:57.279Z] b116817d02f9: Waiting [2021-01-22T02:43:57.279Z] 745a02a5169b: Waiting [2021-01-22T02:43:57.279Z] 18c013af1878: Verifying Checksum [2021-01-22T02:43:57.279Z] 18c013af1878: Download complete [2021-01-22T02:43:57.279Z] a4357932f1b6: Download complete [2021-01-22T02:43:57.279Z] 63d7cb157983: Verifying Checksum [2021-01-22T02:43:57.279Z] 63d7cb157983: Download complete [2021-01-22T02:43:57.279Z] b116817d02f9: Verifying Checksum [2021-01-22T02:43:57.279Z] b116817d02f9: Download complete [2021-01-22T02:43:57.558Z] 5f621e34cdf4: Verifying Checksum [2021-01-22T02:43:57.558Z] 5f621e34cdf4: Download complete [2021-01-22T02:43:58.182Z] 5f621e34cdf4: Pull complete [2021-01-22T02:43:58.794Z] a4357932f1b6: Pull complete [2021-01-22T02:43:59.418Z] 18c013af1878: Pull complete [2021-01-22T02:43:59.694Z] 745a02a5169b: Verifying Checksum [2021-01-22T02:44:01.146Z] 00ac8860ef70: Verifying Checksum [2021-01-22T02:44:01.146Z] 00ac8860ef70: Download complete [2021-01-22T02:44:04.088Z] Removing intermediate container 79c4e60f88de [2021-01-22T02:44:04.089Z] ---> 15b20489a9b2 [2021-01-22T02:44:04.089Z] Successfully built 15b20489a9b2 [2021-01-22T02:44:04.089Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:44:04.423Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-22T02:44:04.423Z] . [Pipeline] withDockerContainer [2021-01-22T02:44:04.540Z] prd-centos7-docker-4c-2g-22175 does not seem to be running inside a container [2021-01-22T02:44:04.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-22T02:44:05.499Z] $ docker top 32af6131119bae6863489e611b24af054b54f64cf4ad57efc3a2ffabeb06e6b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T02:44:06.014Z] + go version [2021-01-22T02:44:06.014Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-22T02:44:06.032Z] $ docker stop --time=1 32af6131119bae6863489e611b24af054b54f64cf4ad57efc3a2ffabeb06e6b7 [2021-01-22T02:44:07.371Z] $ docker rm -f 32af6131119bae6863489e611b24af054b54f64cf4ad57efc3a2ffabeb06e6b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:44:08.246Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-22T02:44:08.246Z] . [Pipeline] withDockerContainer [2021-01-22T02:44:08.348Z] prd-centos7-docker-4c-2g-22175 does not seem to be running inside a container [2021-01-22T02:44:08.405Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-22T02:44:08.969Z] $ docker top bcc786c3a5bff2331978d408a588911638d3df2214a8c46edabacbbe490d40ae -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T02:44:09.445Z] + make test [2021-01-22T02:44:09.446Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-22T02:44:11.343Z] 00ac8860ef70: Pull complete [2021-01-22T02:44:11.616Z] 63d7cb157983: Pull complete [2021-01-22T02:44:11.893Z] b116817d02f9: Pull complete [2021-01-22T02:44:15.314Z] 745a02a5169b: Pull complete [2021-01-22T02:44:15.314Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-22T02:44:15.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-22T02:44:15.314Z] ---> b7e6874047d6 [2021-01-22T02:44:15.314Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T02:44:17.653Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-22T02:44:18.709Z] ---> Running in 987001786a86 [2021-01-22T02:44:18.710Z] Removing intermediate container 987001786a86 [2021-01-22T02:44:18.710Z] ---> b7582bd3f2a1 [2021-01-22T02:44:18.710Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T02:44:18.710Z] ---> Running in 69c77dc12740 [2021-01-22T02:44:21.363Z] Removing intermediate container 69c77dc12740 [2021-01-22T02:44:21.363Z] ---> 298f3cce5617 [2021-01-22T02:44:21.363Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-22T02:44:21.363Z] ---> Running in 6cb70aa71548 [2021-01-22T02:44:22.349Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-22T02:44:23.787Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-22T02:44:24.777Z] OK: 142 MiB in 39 packages [2021-01-22T02:44:25.769Z] Removing intermediate container 6cb70aa71548 [2021-01-22T02:44:25.769Z] ---> d2330db75b3e [2021-01-22T02:44:25.769Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-22T02:44:26.043Z] ---> Running in 5557d147b5ed [2021-01-22T02:44:26.640Z] Removing intermediate container 5557d147b5ed [2021-01-22T02:44:26.640Z] ---> 7a764cd0793b [2021-01-22T02:44:26.640Z] Step 7/8 : COPY . . [2021-01-22T02:44:27.622Z] ---> 2248b8b8be8a [2021-01-22T02:44:27.622Z] Step 8/8 : RUN go mod download [2021-01-22T02:44:27.894Z] ---> Running in 0b00cb6080e0 [2021-01-22T02:44:32.721Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-22T02:44:32.721Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-22T02:44:32.721Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-22T02:44:32.721Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 19.4% of statements [2021-01-22T02:44:36.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.495s coverage: 97.1% of statements [2021-01-22T02:44:51.084Z] Removing intermediate container 0b00cb6080e0 [2021-01-22T02:44:51.084Z] ---> d0bd04f46f53 [2021-01-22T02:44:51.084Z] Successfully built d0bd04f46f53 [2021-01-22T02:44:51.084Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:44:51.433Z] + docker inspect -f . ci-base-image-arm64 [2021-01-22T02:44:51.433Z] . [Pipeline] withDockerContainer [2021-01-22T02:44:51.676Z] prd-ubuntu18.04-docker-arm64-4c-16g-22174 does not seem to be running inside a container [2021-01-22T02:44:51.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-22T02:44:53.289Z] $ docker top ac63056883c36f82144becebd7c9fa3a6883cb1d682cc00af6965e6e9d03d7f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T02:44:54.282Z] + go version [2021-01-22T02:44:54.282Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-22T02:44:54.306Z] $ docker stop --time=1 ac63056883c36f82144becebd7c9fa3a6883cb1d682cc00af6965e6e9d03d7f0 [2021-01-22T02:44:56.187Z] $ docker rm -f ac63056883c36f82144becebd7c9fa3a6883cb1d682cc00af6965e6e9d03d7f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:44:57.181Z] + docker inspect -f . ci-base-image-arm64 [2021-01-22T02:44:57.181Z] . [Pipeline] withDockerContainer [2021-01-22T02:44:57.447Z] prd-ubuntu18.04-docker-arm64-4c-16g-22174 does not seem to be running inside a container [2021-01-22T02:44:57.531Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-22T02:44:59.045Z] $ docker top a9a02d65e8fdc617f11ca6e98265be83ffa960744891dbf78b10c79422da01f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T02:45:00.105Z] + make test [2021-01-22T02:45:00.106Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-22T02:45:04.636Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.087s coverage: 9.4% of statements [2021-01-22T02:45:04.636Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.054s coverage: 21.7% of statements [2021-01-22T02:45:04.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-22T02:45:04.636Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.257s coverage: 43.2% of statements [2021-01-22T02:45:04.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-22T02:45:04.636Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.283s coverage: 68.9% of statements [2021-01-22T02:45:04.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-22T02:45:04.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-22T02:45:04.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-22T02:45:04.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-22T02:45:04.636Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 53.8% of statements [2021-01-22T02:45:04.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-22T02:45:04.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-22T02:45:04.636Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.068s coverage: 26.8% of statements [2021-01-22T02:45:04.636Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.448s coverage: 83.5% of statements [2021-01-22T02:45:04.636Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements [2021-01-22T02:45:04.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-22T02:45:04.636Z] GO111MODULE=on go vet ./... [2021-01-22T02:45:14.801Z] gofmt -l . [2021-01-22T02:45:14.801Z] [ "`gofmt -l .`" = "" ] [2021-01-22T02:45:14.801Z] ./bin/test-attribution-txt.sh [2021-01-22T02:45:15.410Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-22T02:45:15.693Z] $ docker stop --time=1 bcc786c3a5bff2331978d408a588911638d3df2214a8c46edabacbbe490d40ae [2021-01-22T02:45:17.854Z] $ docker rm -f bcc786c3a5bff2331978d408a588911638d3df2214a8c46edabacbbe490d40ae [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T02:45:18.607Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-22T02:45:19.073Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-22T02:45:20.338Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-22T02:45:20.645Z] + ls -al . [2021-01-22T02:45:20.645Z] total 216 [2021-01-22T02:45:20.645Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 22 02:45 . [2021-01-22T02:45:20.645Z] drwxrwxr-x. 4 jenkins jenkins 30 Jan 22 02:43 .. [2021-01-22T02:45:20.645Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 22 02:43 bin [2021-01-22T02:45:20.645Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 22 02:45 coverage.out [2021-01-22T02:45:20.645Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 22 02:43 Dockerfile.build [2021-01-22T02:45:20.645Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 22 02:43 .dockerignore [2021-01-22T02:45:20.645Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 22 02:43 example [2021-01-22T02:45:20.645Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 22 02:43 .git [2021-01-22T02:45:20.645Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 22 02:43 .github [2021-01-22T02:45:20.645Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 22 02:43 .gitignore [2021-01-22T02:45:20.645Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 22 02:45 go.mod [2021-01-22T02:45:20.645Z] -rw-r--r--. 1 jenkins jenkins 14106 Jan 22 02:45 go.sum [2021-01-22T02:45:20.645Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 22 02:43 internal [2021-01-22T02:45:20.645Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 22 02:43 Jenkinsfile [2021-01-22T02:45:20.645Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 22 02:43 LICENSE [2021-01-22T02:45:20.645Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 22 02:43 Makefile [2021-01-22T02:45:20.645Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 22 02:43 openapi [2021-01-22T02:45:20.645Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 22 02:43 pkg [2021-01-22T02:45:20.645Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 22 02:43 README.md [2021-01-22T02:45:20.645Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 22 02:43 RELEASE-NOTES.txt [2021-01-22T02:45:20.645Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 22 02:43 snap [2021-01-22T02:45:20.645Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 22 02:40 VERSION [2021-01-22T02:45:20.645Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 22 02:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:45:20.956Z] + 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=cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 --label arch=amd64 --label version=0.0.0 . [2021-01-22T02:45:21.219Z] Sending build context to Docker daemon 2.678MB [2021-01-22T02:45:21.219Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T02:45:21.219Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-22T02:45:21.219Z] ---> 15b20489a9b2 [2021-01-22T02:45:21.219Z] Step 3/24 : ARG MAKE='make build' [2021-01-22T02:45:21.481Z] ---> Running in 6d6d4aad05a5 [2021-01-22T02:45:21.745Z] Removing intermediate container 6d6d4aad05a5 [2021-01-22T02:45:21.745Z] ---> b83d74e46c11 [2021-01-22T02:45:21.745Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-22T02:45:21.745Z] ---> Running in c554474d0da8 [2021-01-22T02:45:22.007Z] Removing intermediate container c554474d0da8 [2021-01-22T02:45:22.007Z] ---> 5c93388fc9e0 [2021-01-22T02:45:22.007Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T02:45:22.007Z] ---> Running in 661d99a83057 [2021-01-22T02:45:22.276Z] Removing intermediate container 661d99a83057 [2021-01-22T02:45:22.276Z] ---> a942ce42f10c [2021-01-22T02:45:22.276Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T02:45:22.342Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-22T02:45:22.854Z] ---> Running in 671175762be2 [2021-01-22T02:45:23.810Z] Removing intermediate container 671175762be2 [2021-01-22T02:45:23.810Z] ---> c736b3b6b46b [2021-01-22T02:45:23.810Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-22T02:45:23.810Z] ---> Running in ec39b25ae934 [2021-01-22T02:45:24.397Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-22T02:45:25.807Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-22T02:45:31.126Z] OK: 166 MiB in 39 packages [2021-01-22T02:45:31.388Z] Removing intermediate container ec39b25ae934 [2021-01-22T02:45:31.388Z] ---> 33406ebdd6f8 [2021-01-22T02:45:31.388Z] Step 8/24 : COPY . . [2021-01-22T02:45:32.340Z] ---> ef0eb1f42ca4 [2021-01-22T02:45:32.340Z] Step 9/24 : RUN ${MAKE} [2021-01-22T02:45:32.604Z] ---> Running in b6733f36f438 [2021-01-22T02:45:33.187Z] 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-01-22T02:45:43.345Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-22T02:45:43.926Z] Removing intermediate container b6733f36f438 [2021-01-22T02:45:43.926Z] ---> 1234b151ecbf [2021-01-22T02:45:43.926Z] Step 10/24 : FROM scratch [2021-01-22T02:45:43.926Z] ---> [2021-01-22T02:45:43.926Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T02:45:43.926Z] ---> Running in e90a8fcd1467 [2021-01-22T02:45:44.190Z] Removing intermediate container e90a8fcd1467 [2021-01-22T02:45:44.190Z] ---> ede4d881ed36 [2021-01-22T02:45:44.190Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-22T02:45:44.190Z] ---> Running in 7e10aad8bf34 [2021-01-22T02:45:44.190Z] Removing intermediate container 7e10aad8bf34 [2021-01-22T02:45:44.190Z] ---> 978201cea394 [2021-01-22T02:45:44.190Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-22T02:45:44.454Z] ---> Running in 91903473fd10 [2021-01-22T02:45:44.454Z] Removing intermediate container 91903473fd10 [2021-01-22T02:45:44.454Z] ---> 95b334f5933c [2021-01-22T02:45:44.454Z] Step 14/24 : WORKDIR / [2021-01-22T02:45:44.454Z] ---> Running in a508eb7b3da0 [2021-01-22T02:45:44.717Z] Removing intermediate container a508eb7b3da0 [2021-01-22T02:45:44.717Z] ---> 1c535cf294bd [2021-01-22T02:45:44.717Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-22T02:45:45.301Z] ---> c448234b95ab [2021-01-22T02:45:45.301Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-22T02:45:45.563Z] ---> f46d25582896 [2021-01-22T02:45:45.563Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-22T02:45:45.825Z] ---> cf2f6dc186fe [2021-01-22T02:45:45.825Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-22T02:45:46.087Z] ---> 3901f7450643 [2021-01-22T02:45:46.087Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-22T02:45:46.351Z] ---> 18e12c68bd6c [2021-01-22T02:45:46.351Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-22T02:45:46.351Z] ---> Running in 1b6ea8702973 [2021-01-22T02:45:46.614Z] Removing intermediate container 1b6ea8702973 [2021-01-22T02:45:46.614Z] ---> 687cd59795f0 [2021-01-22T02:45:46.614Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-22T02:45:46.614Z] ---> Running in 2477ba519da3 [2021-01-22T02:45:46.614Z] Removing intermediate container 2477ba519da3 [2021-01-22T02:45:46.614Z] ---> beb15e3bb06b [2021-01-22T02:45:46.614Z] Step 22/24 : LABEL arch=amd64 [2021-01-22T02:45:46.878Z] ---> Running in 14e69853bf72 [2021-01-22T02:45:46.878Z] Removing intermediate container 14e69853bf72 [2021-01-22T02:45:46.878Z] ---> 773322950d5b [2021-01-22T02:45:46.878Z] Step 23/24 : LABEL git_sha=cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 [2021-01-22T02:45:47.140Z] ---> Running in c46667466c80 [2021-01-22T02:45:47.140Z] Removing intermediate container c46667466c80 [2021-01-22T02:45:47.140Z] ---> 356978d05161 [2021-01-22T02:45:47.140Z] Step 24/24 : LABEL version=0.0.0 [2021-01-22T02:45:47.402Z] ---> Running in d9233a35ce96 [2021-01-22T02:45:47.402Z] Removing intermediate container d9233a35ce96 [2021-01-22T02:45:47.402Z] ---> ffe79ad10b33 [2021-01-22T02:45:47.402Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-22T02:45:47.402Z] Successfully built ffe79ad10b33 [2021-01-22T02:45:47.402Z] 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-01-22T02:46:01.648Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-22T02:46:01.648Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-22T02:46:01.648Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-22T02:46:01.648Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.141s coverage: 19.4% of statements [2021-01-22T02:46:11.852Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.286s coverage: 97.1% of statements [2021-01-22T02:46:34.012Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.116s coverage: 9.4% of statements [2021-01-22T02:46:34.012Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.146s coverage: 21.7% of statements [2021-01-22T02:46:34.012Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-22T02:46:34.012Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.616s coverage: 43.2% of statements [2021-01-22T02:46:34.012Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-22T02:46:34.012Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.787s coverage: 68.9% of statements [2021-01-22T02:46:34.012Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-22T02:46:34.012Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-22T02:46:34.012Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-22T02:46:34.012Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-22T02:46:34.012Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.212s coverage: 53.8% of statements [2021-01-22T02:46:34.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-22T02:46:34.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-22T02:46:34.013Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.170s coverage: 26.8% of statements [2021-01-22T02:46:34.013Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.225s coverage: 83.5% of statements [2021-01-22T02:46:34.013Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.142s coverage: 4.2% of statements [2021-01-22T02:46:34.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-22T02:46:34.013Z] GO111MODULE=on go vet ./... [2021-01-22T02:47:13.252Z] gofmt -l . [2021-01-22T02:47:13.252Z] [ "`gofmt -l .`" = "" ] [2021-01-22T02:47:13.252Z] ./bin/test-attribution-txt.sh [2021-01-22T02:47:13.252Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-22T02:47:13.283Z] $ docker stop --time=1 a9a02d65e8fdc617f11ca6e98265be83ffa960744891dbf78b10c79422da01f5 [2021-01-22T02:47:15.472Z] $ docker rm -f a9a02d65e8fdc617f11ca6e98265be83ffa960744891dbf78b10c79422da01f5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T02:47:16.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-22T02:47:16.536Z] Warning: overwriting stash ‘coverage-report’ [2021-01-22T02:47:17.395Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T02:47:18.068Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-22T02:47:18.397Z] + ls -al . [2021-01-22T02:47:18.397Z] total 252 [2021-01-22T02:47:18.397Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 22 02:47 . [2021-01-22T02:47:18.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:43 .. [2021-01-22T02:47:18.397Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 22 02:43 .dockerignore [2021-01-22T02:47:18.397Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 02:43 .git [2021-01-22T02:47:18.397Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 02:43 .github [2021-01-22T02:47:18.397Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 22 02:43 .gitignore [2021-01-22T02:47:18.397Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 22 02:43 Dockerfile.build [2021-01-22T02:47:18.397Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 22 02:43 Jenkinsfile [2021-01-22T02:47:18.397Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 22 02:43 LICENSE [2021-01-22T02:47:18.397Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 22 02:43 Makefile [2021-01-22T02:47:18.397Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 22 02:43 README.md [2021-01-22T02:47:18.397Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 22 02:43 RELEASE-NOTES.txt [2021-01-22T02:47:18.397Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 22 02:40 VERSION [2021-01-22T02:47:18.397Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 02:43 bin [2021-01-22T02:47:18.397Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 22 02:46 coverage.out [2021-01-22T02:47:18.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:43 example [2021-01-22T02:47:18.397Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 22 02:47 go.mod [2021-01-22T02:47:18.397Z] -rw-r--r-- 1 jenkins jenkins 14106 Jan 22 02:47 go.sum [2021-01-22T02:47:18.397Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 22 02:43 internal [2021-01-22T02:47:18.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:43 openapi [2021-01-22T02:47:18.397Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 22 02:43 pkg [2021-01-22T02:47:18.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:43 snap [2021-01-22T02:47:18.397Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 22 02:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:47:18.734Z] + 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=cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 --label arch=arm64 --label version=0.0.0 . [2021-01-22T02:47:19.011Z] Sending build context to Docker daemon 2.686MB [2021-01-22T02:47:19.011Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T02:47:19.011Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-22T02:47:19.011Z] ---> d0bd04f46f53 [2021-01-22T02:47:19.011Z] Step 3/24 : ARG MAKE='make build' [2021-01-22T02:47:19.601Z] ---> Running in 6d7395e56258 [2021-01-22T02:47:19.873Z] Removing intermediate container 6d7395e56258 [2021-01-22T02:47:19.873Z] ---> 07433c984873 [2021-01-22T02:47:19.873Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-22T02:47:19.873Z] ---> Running in d31c0cf3994f [2021-01-22T02:47:20.466Z] Removing intermediate container d31c0cf3994f [2021-01-22T02:47:20.466Z] ---> 5d4100799b00 [2021-01-22T02:47:20.466Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T02:47:20.738Z] ---> Running in 13d1994bc324 [2021-01-22T02:47:21.014Z] Removing intermediate container 13d1994bc324 [2021-01-22T02:47:21.014Z] ---> 8ca8a7a139f6 [2021-01-22T02:47:21.014Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T02:47:21.014Z] ---> Running in 28a230c22266 [2021-01-22T02:47:22.993Z] Removing intermediate container 28a230c22266 [2021-01-22T02:47:22.993Z] ---> c9672c7f7cf3 [2021-01-22T02:47:22.993Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-22T02:47:23.268Z] ---> Running in 1e6505b0c477 [2021-01-22T02:47:24.269Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-22T02:47:25.244Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-22T02:47:26.675Z] OK: 142 MiB in 39 packages [2021-01-22T02:47:27.658Z] Removing intermediate container 1e6505b0c477 [2021-01-22T02:47:27.658Z] ---> 5bf29dbd5a7b [2021-01-22T02:47:27.658Z] Step 8/24 : COPY . . [2021-01-22T02:47:29.105Z] ---> ad7f34da3e06 [2021-01-22T02:47:29.105Z] Step 9/24 : RUN ${MAKE} [2021-01-22T02:47:29.378Z] ---> Running in e38c6ca08049 [2021-01-22T02:47:30.352Z] 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-01-22T02:47:57.173Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-22T02:47:59.812Z] Removing intermediate container e38c6ca08049 [2021-01-22T02:47:59.812Z] ---> 193616cf4bc6 [2021-01-22T02:47:59.812Z] Step 10/24 : FROM scratch [2021-01-22T02:47:59.812Z] ---> [2021-01-22T02:47:59.812Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T02:47:59.812Z] ---> Running in 383b8cb3f5b0 [2021-01-22T02:47:59.812Z] Removing intermediate container 383b8cb3f5b0 [2021-01-22T02:47:59.812Z] ---> 10f9388dc980 [2021-01-22T02:47:59.812Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-22T02:48:00.088Z] ---> Running in 8775800cc9d4 [2021-01-22T02:48:00.362Z] Removing intermediate container 8775800cc9d4 [2021-01-22T02:48:00.362Z] ---> ffd5727f6d6e [2021-01-22T02:48:00.362Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-22T02:48:00.635Z] ---> Running in 31f208052b28 [2021-01-22T02:48:00.911Z] Removing intermediate container 31f208052b28 [2021-01-22T02:48:00.911Z] ---> c284775f3fda [2021-01-22T02:48:00.911Z] Step 14/24 : WORKDIR / [2021-01-22T02:48:01.183Z] ---> Running in 73384c48eca0 [2021-01-22T02:48:01.462Z] Removing intermediate container 73384c48eca0 [2021-01-22T02:48:01.462Z] ---> a341585126c1 [2021-01-22T02:48:01.462Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-22T02:48:02.897Z] ---> f0c1f23f5760 [2021-01-22T02:48:02.897Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-22T02:48:03.490Z] ---> 37d0ad624d3b [2021-01-22T02:48:03.490Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-22T02:48:04.467Z] ---> 3fcccf45f924 [2021-01-22T02:48:04.467Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-22T02:48:05.061Z] ---> 865d596ef782 [2021-01-22T02:48:05.061Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-22T02:48:05.655Z] ---> bd425b1955be [2021-01-22T02:48:05.655Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-22T02:48:05.932Z] ---> Running in 581eb66ec694 [2021-01-22T02:48:06.525Z] Removing intermediate container 581eb66ec694 [2021-01-22T02:48:06.525Z] ---> 97b1d4becb35 [2021-01-22T02:48:06.525Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-22T02:48:06.525Z] ---> Running in 926777436aca [2021-01-22T02:48:07.119Z] Removing intermediate container 926777436aca [2021-01-22T02:48:07.119Z] ---> 0ec8115079cc [2021-01-22T02:48:07.119Z] Step 22/24 : LABEL arch=arm64 [2021-01-22T02:48:07.119Z] ---> Running in ba87c8dacb44 [2021-01-22T02:48:07.714Z] Removing intermediate container ba87c8dacb44 [2021-01-22T02:48:07.714Z] ---> 154d15529d8e [2021-01-22T02:48:07.714Z] Step 23/24 : LABEL git_sha=cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 [2021-01-22T02:48:07.714Z] ---> Running in ca306e3fc4fb [2021-01-22T02:48:08.307Z] Removing intermediate container ca306e3fc4fb [2021-01-22T02:48:08.307Z] ---> 16ac17426e5f [2021-01-22T02:48:08.307Z] Step 24/24 : LABEL version=0.0.0 [2021-01-22T02:48:08.307Z] ---> Running in b0d8103fc452 [2021-01-22T02:48:08.903Z] Removing intermediate container b0d8103fc452 [2021-01-22T02:48:08.903Z] ---> 705f7e7a36b4 [2021-01-22T02:48:08.903Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-22T02:48:08.903Z] Successfully built 705f7e7a36b4 [2021-01-22T02:48:08.903Z] 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-01-22T02:48:10.265Z] provisioning config files... [2021-01-22T02:48:10.277Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config1445175476857273730tmp [Pipeline] { [Pipeline] sh [2021-01-22T02:48:10.671Z] + set +x [2021-01-22T02:48:10.671Z] + curl -s https://codecov.io/bash [2021-01-22T02:48:10.671Z] + bash -s -- [2021-01-22T02:48:10.671Z] [2021-01-22T02:48:10.671Z] _____ _ [2021-01-22T02:48:10.671Z] / ____| | | [2021-01-22T02:48:10.671Z] | | ___ __| | ___ ___ _____ __ [2021-01-22T02:48:10.671Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-22T02:48:10.671Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-22T02:48:10.671Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-22T02:48:10.671Z] Bash-20210115-cec3c92 [2021-01-22T02:48:10.671Z] [2021-01-22T02:48:10.671Z] [2021-01-22T02:48:10.933Z] ==> git version 2.24.3 found [2021-01-22T02:48:10.933Z] ==> 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-01-22T02:48:10.933Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-22T02:48:10.933Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-22T02:48:10.933Z] ==> Jenkins CI detected. [2021-01-22T02:48:10.933Z] project root: . [2021-01-22T02:48:10.933Z] --> token set from env [2021-01-22T02:48:10.933Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-22T02:48:10.933Z] ==> Running gcov in . (disable via -X gcov) [2021-01-22T02:48:10.933Z] ==> Python coveragepy not found [2021-01-22T02:48:10.933Z] ==> Searching for coverage reports in: [2021-01-22T02:48:10.933Z] + . [2021-01-22T02:48:10.933Z] -> Found 1 reports [2021-01-22T02:48:10.933Z] ==> Detecting git/mercurial file structure [2021-01-22T02:48:10.933Z] ==> Reading reports [2021-01-22T02:48:10.933Z] + ./coverage.out bytes=136842 [2021-01-22T02:48:10.933Z] ==> Appending adjustments [2021-01-22T02:48:10.933Z] https://docs.codecov.io/docs/fixing-reports [2021-01-22T02:48:11.507Z] + Found adjustments [2021-01-22T02:48:11.507Z] ==> Gzipping contents [2021-01-22T02:48:11.507Z] 24K /tmp/codecov.o92LTe.gz [2021-01-22T02:48:11.507Z] ==> Uploading reports [2021-01-22T02:48:11.507Z] url: https://codecov.io [2021-01-22T02:48:11.507Z] query: branch=PR-728&commit=cd316ea49cf9d9825da6145ca8d2532e8c2e8a42&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= [2021-01-22T02:48:11.507Z] -> Pinging Codecov [2021-01-22T02:48:11.507Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-728&commit=cd316ea49cf9d9825da6145ca8d2532e8c2e8a42&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= [2021-01-22T02:48:11.769Z] -> Uploading to [2021-01-22T02:48:11.769Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-22/7E55EF52A471D76F132DFD9A03CDDE97/cd316ea49cf9d9825da6145ca8d2532e8c2e8a42/43a169b5-c8e7-43d2-aa3e-fe39bae9ad44.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210122%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210122T024811Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=87fb58ff637f7a9a97cca243831e4a5abe2a47ed9089d3b2c437f6c257e238a9 [2021-01-22T02:48:11.769Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-22T02:48:11.769Z] Dload Upload Total Spent Left Speed [2021-01-22T02:48:12.294Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21543 0 0 100 21543 0 45058 --:--:-- --:--:-- --:--:-- 45069 [2021-01-22T02:48:12.294Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 [Pipeline] } [2021-01-22T02:48:12.305Z] 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-01-22T02:48:14.594Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:48:14.901Z] ---> package-listing.sh [2021-01-22T02:48:14.901Z] ++ facter osfamily [2021-01-22T02:48:14.901Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-22T02:48:14.901Z] + OS_FAMILY=redhat [2021-01-22T02:48:14.901Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-728 [2021-01-22T02:48:14.901Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-22T02:48:14.901Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-22T02:48:14.901Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-22T02:48:14.901Z] + PACKAGES=/tmp/packages_start.txt [2021-01-22T02:48:14.901Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' [2021-01-22T02:48:14.901Z] + PACKAGES=/tmp/packages_end.txt [2021-01-22T02:48:14.901Z] + case "${OS_FAMILY}" in [2021-01-22T02:48:14.901Z] + rpm -qa [2021-01-22T02:48:14.901Z] + sort [2021-01-22T02:48:20.204Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-22T02:48:20.204Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-22T02:48:20.204Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-22T02:48:20.204Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' [2021-01-22T02:48:20.204Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ [2021-01-22T02:48:20.204Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ [Pipeline] echo [2021-01-22T02:48:20.220Z] 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-728/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-22T02:48:20.517Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:48:20.828Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T02:48:20.828Z] [2021-01-22T02:48:20.828Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:48:21.176Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T02:48:21.176Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-22T02:48:21.176Z] df20fa9351a1: Pulling fs layer [2021-01-22T02:48:21.176Z] 36b3adc4ff6f: Pulling fs layer [2021-01-22T02:48:21.176Z] 8ad3a11d3b57: Pulling fs layer [2021-01-22T02:48:21.176Z] 46f8f816bc3b: Pulling fs layer [2021-01-22T02:48:21.176Z] 93b61091891f: Pulling fs layer [2021-01-22T02:48:21.176Z] 93b9cdb0e59b: Pulling fs layer [2021-01-22T02:48:21.176Z] 5e14af77c1be: Pulling fs layer [2021-01-22T02:48:21.176Z] 01666e4c0597: Pulling fs layer [2021-01-22T02:48:21.176Z] aa168da1d23b: Pulling fs layer [2021-01-22T02:48:21.176Z] 93b9cdb0e59b: Waiting [2021-01-22T02:48:21.176Z] 5e14af77c1be: Waiting [2021-01-22T02:48:21.176Z] 01666e4c0597: Waiting [2021-01-22T02:48:21.176Z] aa168da1d23b: Waiting [2021-01-22T02:48:21.176Z] 46f8f816bc3b: Waiting [2021-01-22T02:48:21.176Z] 93b61091891f: Waiting [2021-01-22T02:48:21.176Z] 36b3adc4ff6f: Download complete [2021-01-22T02:48:21.176Z] 46f8f816bc3b: Verifying Checksum [2021-01-22T02:48:21.176Z] 46f8f816bc3b: Download complete [2021-01-22T02:48:21.176Z] df20fa9351a1: Verifying Checksum [2021-01-22T02:48:21.176Z] 93b9cdb0e59b: Download complete [2021-01-22T02:48:21.440Z] 5e14af77c1be: Verifying Checksum [2021-01-22T02:48:21.440Z] 5e14af77c1be: Download complete [2021-01-22T02:48:21.440Z] 93b61091891f: Verifying Checksum [2021-01-22T02:48:21.440Z] 93b61091891f: Download complete [2021-01-22T02:48:21.440Z] 01666e4c0597: Verifying Checksum [2021-01-22T02:48:21.440Z] 01666e4c0597: Download complete [2021-01-22T02:48:21.440Z] df20fa9351a1: Pull complete [2021-01-22T02:48:21.701Z] 36b3adc4ff6f: Pull complete [2021-01-22T02:48:21.963Z] 8ad3a11d3b57: Verifying Checksum [2021-01-22T02:48:21.963Z] 8ad3a11d3b57: Download complete [2021-01-22T02:48:22.543Z] 8ad3a11d3b57: Pull complete [2021-01-22T02:48:22.543Z] 46f8f816bc3b: Pull complete [2021-01-22T02:48:23.129Z] 93b61091891f: Pull complete [2021-01-22T02:48:23.394Z] 93b9cdb0e59b: Pull complete [2021-01-22T02:48:23.394Z] 5e14af77c1be: Pull complete [2021-01-22T02:48:23.656Z] 01666e4c0597: Pull complete [2021-01-22T02:48:23.928Z] aa168da1d23b: Verifying Checksum [2021-01-22T02:48:23.928Z] aa168da1d23b: Download complete [2021-01-22T02:48:30.560Z] aa168da1d23b: Pull complete [2021-01-22T02:48:30.560Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-22T02:48:30.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T02:48:30.560Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-22T02:48:30.744Z] prd-centos7-docker-4c-2g-22168 does not seem to be running inside a container [2021-01-22T02:48:30.796Z] $ 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-728/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-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-22T02:48:34.563Z] $ docker top 1225f96eedd2a7446ec20975b2257f842e6d65efa859ef296e852d6b93819f80 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T02:48:35.093Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-22T02:48:35.392Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-22T02:48:35.693Z] + ls /var/log/sa-host [2021-01-22T02:48:35.693Z] + sadf -c /var/log/sa-host/sa22 [2021-01-22T02:48:35.693Z] file_magic: OK [2021-01-22T02:48:35.693Z] HZ: Using current value: 100 [2021-01-22T02:48:35.693Z] file_header: OK [2021-01-22T02:48:35.693Z] 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-01-22T02:48:35.693Z] Statistics: [2021-01-22T02:48:35.693Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-22T02:48:35.693Z] File successfully converted to sysstat format version 12.2.1 [2021-01-22T02:48:35.693Z] + sadf -c /var/log/sa-host/sa23 [2021-01-22T02:48:35.693Z] file_magic: OK [2021-01-22T02:48:35.693Z] HZ: Using current value: 100 [2021-01-22T02:48:35.693Z] file_header: OK [2021-01-22T02:48:35.693Z] 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-01-22T02:48:35.693Z] Statistics: [2021-01-22T02:48:35.693Z] Hnuu...uuuununununu... [2021-01-22T02:48:35.693Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-22T02:48:35.901Z] provisioning config files... [2021-01-22T02:48:35.915Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config444788183289329072tmp [Pipeline] { [Pipeline] echo [2021-01-22T02:48:36.038Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:48:36.336Z] ---> create-netrc.sh [Pipeline] } [2021-01-22T02:48:36.345Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-22T02:48:36.467Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:48:36.764Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-22T02:48:36.773Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:48:37.462Z] ---> sudo-logs.sh [2021-01-22T02:48:37.462Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-22T02:48:37.472Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:48:37.764Z] ---> job-cost.sh [2021-01-22T02:48:37.764Z] lf-activate-venv: SKIPPING [2021-01-22T02:48:37.764Z] INFO: No Stack... [2021-01-22T02:48:38.729Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-22T02:48:39.331Z] INFO: Archiving Costs [Pipeline] echo [2021-01-22T02:48:39.361Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:48:39.713Z] ---> logs-deploy.sh [2021-01-22T02:48:39.713Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-728/10 [2021-01-22T02:48:39.713Z] INFO: archiving workspace using pattern(s): [2021-01-22T02:48:41.663Z] Archives upload complete. [2021-01-22T02:48:41.663Z] INFO: archiving logs to Nexus