Pull request #789 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7c9741b1786850dcd4b352624f7ae0f5df012de5+6125dba09cfc805438589ab7aad954d8cad7589e (aa0b3a069ad3a670077189e8cb5158ddfea01c0d) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-26786 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-789 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 7c9741b1786850dcd4b352624f7ae0f5df012de5 Merge succeeded, producing 7c9741b1786850dcd4b352624f7ae0f5df012de5 Checking out Revision 7c9741b1786850dcd4b352624f7ae0f5df012de5 (PR-789) > git config core.sparsecheckout # timeout=10 > git checkout -f 7c9741b1786850dcd4b352624f7ae0f5df012de5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c9741b1786850dcd4b352624f7ae0f5df012de5 # timeout=10 Commit message: "refactor: remove internal function to reduce complexity" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-18T09:26:10.563Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 57dae82459387a357bb33c28b656f336a5dcd1c4 # timeout=10 [Pipeline] withCredentials [2021-02-18T09:26:10.843Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-18T09:26:10.951Z] ========================================================= [2021-02-18T09:26:10.951Z] EdgeX Global Pipelines Version Info [2021-02-18T09:26:10.951Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:26:12.464Z] ------------------- [2021-02-18T09:26:12.464Z] stable info: [2021-02-18T09:26:12.464Z] ------------------- [2021-02-18T09:26:12.464Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-18T09:26:12.464Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-18T09:26:12.464Z] Message: update stable to v1.0.179 [2021-02-18T09:26:13.412Z] ------------------- [2021-02-18T09:26:13.412Z] experimental info: [2021-02-18T09:26:13.412Z] ------------------- [2021-02-18T09:26:13.412Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-18T09:26:13.412Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-18T09:26:13.412Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-18T09:26:13.720Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-18T09:26:13.813Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-18T09:26:13.910Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-18T09:26:14.006Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-18T09:26:14.180Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-18T09:26:14.273Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-18T09:26:14.364Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-18T09:26:14.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-18T09:26:14.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-18T09:26:14.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-18T09:26:14.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-18T09:26:14.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-18T09:26:14.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-18T09:26:15.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-18T09:26:15.111Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-18T09:26:15.250Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-18T09:26:15.337Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-18T09:26:15.433Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-18T09:26:15.546Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-18T09:26:15.655Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-18T09:26:15.743Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-18T09:26:15.877Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-18T09:26:16.035Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-18T09:26:16.126Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-18T09:26:16.220Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-18T09:26:16.307Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-18T09:26:16.393Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-18T09:26:16.498Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-789 [Pipeline] echo [2021-02-18T09:26:16.586Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-789 [Pipeline] echo [2021-02-18T09:26:16.677Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-789 [Pipeline] echo [2021-02-18T09:26:16.779Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c9741b1786850dcd4b352624f7ae0f5df012de5 [Pipeline] echo [2021-02-18T09:26:16.864Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c9741b [Pipeline] echo [2021-02-18T09:26:16.952Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-18T09:26:17.153Z] provisioning config files... [2021-02-18T09:26:17.179Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config4649084658630038489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:26:17.542Z] ---> docker-login.sh [2021-02-18T09:26:17.542Z] nexus3.edgexfoundry.org:10001 [2021-02-18T09:26:17.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:26:18.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:26:18.065Z] Configure a credential helper to remove this warning. See [2021-02-18T09:26:18.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:26:18.065Z] [2021-02-18T09:26:18.065Z] Login Succeeded [2021-02-18T09:26:18.065Z] nexus3.edgexfoundry.org:10002 [2021-02-18T09:26:18.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:26:18.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:26:18.065Z] Configure a credential helper to remove this warning. See [2021-02-18T09:26:18.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:26:18.065Z] [2021-02-18T09:26:18.065Z] Login Succeeded [2021-02-18T09:26:18.065Z] nexus3.edgexfoundry.org:10003 [2021-02-18T09:26:18.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:26:18.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:26:18.327Z] Configure a credential helper to remove this warning. See [2021-02-18T09:26:18.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:26:18.327Z] [2021-02-18T09:26:18.327Z] Login Succeeded [2021-02-18T09:26:18.327Z] nexus3.edgexfoundry.org:10004 [2021-02-18T09:26:18.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:26:18.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:26:18.589Z] Configure a credential helper to remove this warning. See [2021-02-18T09:26:18.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:26:18.589Z] [2021-02-18T09:26:18.589Z] Login Succeeded [2021-02-18T09:26:18.589Z] docker.io [2021-02-18T09:26:18.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:26:18.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:26:18.852Z] Configure a credential helper to remove this warning. See [2021-02-18T09:26:18.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:26:18.852Z] [2021-02-18T09:26:18.852Z] Login Succeeded [2021-02-18T09:26:18.852Z] ---> docker-login.sh ends [Pipeline] } [2021-02-18T09:26:18.861Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-18T09:26:19.688Z] + git log --format=format:%s -1 7c9741b1786850dcd4b352624f7ae0f5df012de5 [Pipeline] echo [2021-02-18T09:26:19.752Z] GIT_COMMIT: 7c9741b1786850dcd4b352624f7ae0f5df012de5, Commit Message: refactor: remove internal function to reduce complexity [Pipeline] echo [2021-02-18T09:26:19.798Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:26:20.741Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-18T09:26:20.741Z] [2021-02-18T09:26:20.741Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:26:21.085Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-18T09:26:21.085Z] latest: Pulling from edgex-devops/git-semver [2021-02-18T09:26:21.085Z] 31603596830f: Pulling fs layer [2021-02-18T09:26:21.085Z] 2a8b12db71e7: Pulling fs layer [2021-02-18T09:26:21.085Z] 6ca5941a6612: Pulling fs layer [2021-02-18T09:26:21.085Z] ecc8261a40a4: Pulling fs layer [2021-02-18T09:26:21.085Z] ecc8261a40a4: Waiting [2021-02-18T09:26:21.085Z] 2a8b12db71e7: Download complete [2021-02-18T09:26:21.085Z] 31603596830f: Download complete [2021-02-18T09:26:21.348Z] ecc8261a40a4: Verifying Checksum [2021-02-18T09:26:21.348Z] ecc8261a40a4: Download complete [2021-02-18T09:26:21.348Z] 6ca5941a6612: Verifying Checksum [2021-02-18T09:26:21.348Z] 6ca5941a6612: Download complete [2021-02-18T09:26:21.623Z] 31603596830f: Pull complete [2021-02-18T09:26:21.623Z] 2a8b12db71e7: Pull complete [2021-02-18T09:26:22.587Z] 6ca5941a6612: Pull complete [2021-02-18T09:26:22.849Z] ecc8261a40a4: Pull complete [2021-02-18T09:26:22.849Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-18T09:26:22.849Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-18T09:26:22.849Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-18T09:26:22.953Z] prd-centos7-docker-4c-2g-26786 does not seem to be running inside a container [2021-02-18T09:26:22.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-789 -v /w/workspace/dgexfoundry_device-sdk-go_PR-789:/w/workspace/dgexfoundry_device-sdk-go_PR-789:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-18T09:26:24.922Z] $ docker top 83b72c366bf47e29fed69110173ee9768d2c567147872b40b2fa5ef21fb36828 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-18T09:26:25.260Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-18T09:26:25.260Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-18T09:26:25.485Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-18T09:26:25.489Z] $ docker exec 83b72c366bf47e29fed69110173ee9768d2c567147872b40b2fa5ef21fb36828 ssh-agent [2021-02-18T09:26:25.675Z] SSH_AUTH_SOCK=/tmp/ssh-LSnl9YY4MkUT/agent.11 [2021-02-18T09:26:25.675Z] SSH_AGENT_PID=17 [2021-02-18T09:26:25.685Z] Running ssh-add (command line suppressed) [2021-02-18T09:26:25.806Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_3149893814288514734.key (/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_3149893814288514734.key) [2021-02-18T09:26:25.858Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-18T09:26:26.203Z] + git tag --points-at HEAD [Pipeline] } [2021-02-18T09:26:26.225Z] $ docker exec --env ******** --env ******** 83b72c366bf47e29fed69110173ee9768d2c567147872b40b2fa5ef21fb36828 ssh-agent -k [2021-02-18T09:26:26.347Z] unset SSH_AUTH_SOCK; [2021-02-18T09:26:26.347Z] unset SSH_AGENT_PID; [2021-02-18T09:26:26.347Z] echo Agent pid 17 killed; [2021-02-18T09:26:26.396Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-18T09:26:26.558Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-18T09:26:26.558Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-18T09:26:26.735Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-18T09:26:26.739Z] $ docker exec 83b72c366bf47e29fed69110173ee9768d2c567147872b40b2fa5ef21fb36828 ssh-agent [2021-02-18T09:26:26.910Z] SSH_AUTH_SOCK=/tmp/ssh-x1gDwEyIYrUb/agent.46 [2021-02-18T09:26:26.910Z] SSH_AGENT_PID=52 [2021-02-18T09:26:26.918Z] Running ssh-add (command line suppressed) [2021-02-18T09:26:27.050Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_2162533747379631636.key (/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_2162533747379631636.key) [2021-02-18T09:26:27.108Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-18T09:26:27.470Z] + git semver init [2021-02-18T09:26:27.470Z] # -> Open(): unable to determine branch for HEAD [2021-02-18T09:26:27.470Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-789/.git [2021-02-18T09:26:27.493Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-789 [2021-02-18T09:26:27.493Z] # $SEMVER_REMOTE_NAME = origin [2021-02-18T09:26:27.493Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-18T09:26:27.493Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-18T09:26:27.493Z] # $SEMVER_BRANCH = PR-789 [2021-02-18T09:26:27.493Z] # $SEMVER_TEMP = /tmp/semver-503508015 [2021-02-18T09:26:27.493Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-18T09:26:28.441Z] # '/tmp/semver-503508015' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-789/.semver' [2021-02-18T09:26:28.442Z] # -> Force: false [2021-02-18T09:26:28.442Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-789/.semver [Pipeline] } [2021-02-18T09:26:28.454Z] $ docker exec --env ******** --env ******** 83b72c366bf47e29fed69110173ee9768d2c567147872b40b2fa5ef21fb36828 ssh-agent -k [2021-02-18T09:26:28.597Z] unset SSH_AUTH_SOCK; [2021-02-18T09:26:28.597Z] unset SSH_AGENT_PID; [2021-02-18T09:26:28.597Z] echo Agent pid 52 killed; [2021-02-18T09:26:28.658Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-18T09:26:29.123Z] + git semver [Pipeline] } [2021-02-18T09:26:29.143Z] $ docker stop --time=1 83b72c366bf47e29fed69110173ee9768d2c567147872b40b2fa5ef21fb36828 [2021-02-18T09:26:30.593Z] $ docker rm -f 83b72c366bf47e29fed69110173ee9768d2c567147872b40b2fa5ef21fb36828 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-18T09:26:31.063Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-18T09:26:31.690Z] Stashed 1 file(s) [Pipeline] echo [2021-02-18T09:26:31.693Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-02-18T09:26:47.211Z] Still waiting to schedule task [2021-02-18T09:26:47.211Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26786’ [2021-02-18T09:26:47.213Z] Still waiting to schedule task [2021-02-18T09:26:47.214Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline [2021-02-18T09:28:37.575Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-26787 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [Pipeline] { [Pipeline] ws [2021-02-18T09:28:37.642Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-02-18T09:28:42.246Z] using credential edgex-jenkins-ssh [2021-02-18T09:28:42.306Z] Cloning the remote Git repository [2021-02-18T09:28:42.350Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T09:28:42.470Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-02-18T09:28:42.538Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T09:28:42.538Z] > git --version # timeout=10 [2021-02-18T09:28:42.562Z] > git --version # 'git version 2.17.1' [2021-02-18T09:28:42.564Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T09:28:42.652Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-18T09:28:43.861Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-18T09:28:43.887Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-18T09:28:44.608Z] Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 7c9741b1786850dcd4b352624f7ae0f5df012de5 [2021-02-18T09:28:44.843Z] Merge succeeded, producing 7c9741b1786850dcd4b352624f7ae0f5df012de5 [2021-02-18T09:28:44.844Z] Checking out Revision 7c9741b1786850dcd4b352624f7ae0f5df012de5 (PR-789) [2021-02-18T09:28:43.924Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-18T09:28:43.969Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T09:28:43.970Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T09:28:43.983Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-18T09:28:44.614Z] > git config core.sparsecheckout # timeout=10 [2021-02-18T09:28:44.630Z] > git checkout -f 7c9741b1786850dcd4b352624f7ae0f5df012de5 # timeout=10 [2021-02-18T09:28:44.735Z] > git remote # timeout=10 [2021-02-18T09:28:44.754Z] > git config --get remote.origin.url # timeout=10 [2021-02-18T09:28:44.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T09:28:44.779Z] > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 [2021-02-18T09:28:44.811Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-18T09:28:44.841Z] > git config core.sparsecheckout # timeout=10 [2021-02-18T09:28:44.851Z] > git checkout -f 7c9741b1786850dcd4b352624f7ae0f5df012de5 # timeout=10 [2021-02-18T09:28:49.422Z] Commit message: "refactor: remove internal function to reduce complexity" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-18T09:28:51.158Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-18T09:28:51.644Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-18T09:28:51.999Z] + true [2021-02-18T09:28:51.999Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-18T09:28:54.694Z] provisioning config files... [2021-02-18T09:28:54.731Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8110028350121910047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:28:55.142Z] ---> docker-login.sh [2021-02-18T09:28:55.142Z] nexus3.edgexfoundry.org:10001 [2021-02-18T09:28:56.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:28:56.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:28:56.402Z] Configure a credential helper to remove this warning. See [2021-02-18T09:28:56.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:28:56.402Z] [2021-02-18T09:28:56.402Z] Login Succeeded [2021-02-18T09:28:56.677Z] nexus3.edgexfoundry.org:10002 [2021-02-18T09:28:56.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:28:56.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:28:56.952Z] Configure a credential helper to remove this warning. See [2021-02-18T09:28:56.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:28:56.952Z] [2021-02-18T09:28:56.952Z] Login Succeeded [2021-02-18T09:28:56.952Z] nexus3.edgexfoundry.org:10003 [2021-02-18T09:28:57.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:28:57.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:28:57.551Z] Configure a credential helper to remove this warning. See [2021-02-18T09:28:57.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:28:57.551Z] [2021-02-18T09:28:57.551Z] Login Succeeded [2021-02-18T09:28:57.551Z] nexus3.edgexfoundry.org:10004 [2021-02-18T09:28:57.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:28:58.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:28:58.100Z] Configure a credential helper to remove this warning. See [2021-02-18T09:28:58.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:28:58.100Z] [2021-02-18T09:28:58.100Z] Login Succeeded [2021-02-18T09:28:58.100Z] docker.io [2021-02-18T09:28:58.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:28:58.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:28:58.646Z] Configure a credential helper to remove this warning. See [2021-02-18T09:28:58.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:28:58.646Z] [2021-02-18T09:28:58.646Z] Login Succeeded [2021-02-18T09:28:58.646Z] ---> docker-login.sh ends [Pipeline] } [2021-02-18T09:28:58.664Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-18T09:28:59.090Z] ========================================================= [2021-02-18T09:28:59.090Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-18T09:28:59.090Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:28:59.486Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-02-18T09:28:59.767Z] Sending build context to Docker daemon 2.449MB [2021-02-18T09:29:00.042Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-18T09:29:00.042Z] Step 2/8 : FROM ${BASE} [2021-02-18T09:29:00.042Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-18T09:29:00.042Z] 5f621e34cdf4: Pulling fs layer [2021-02-18T09:29:00.042Z] a4357932f1b6: Pulling fs layer [2021-02-18T09:29:00.042Z] 18c013af1878: Pulling fs layer [2021-02-18T09:29:00.042Z] 00ac8860ef70: Pulling fs layer [2021-02-18T09:29:00.042Z] 63d7cb157983: Pulling fs layer [2021-02-18T09:29:00.042Z] b116817d02f9: Pulling fs layer [2021-02-18T09:29:00.042Z] 745a02a5169b: Pulling fs layer [2021-02-18T09:29:00.042Z] 00ac8860ef70: Waiting [2021-02-18T09:29:00.042Z] 63d7cb157983: Waiting [2021-02-18T09:29:00.042Z] b116817d02f9: Waiting [2021-02-18T09:29:00.042Z] 745a02a5169b: Waiting [2021-02-18T09:29:00.042Z] 18c013af1878: Verifying Checksum [2021-02-18T09:29:00.042Z] 18c013af1878: Download complete [2021-02-18T09:29:00.042Z] a4357932f1b6: Verifying Checksum [2021-02-18T09:29:00.042Z] a4357932f1b6: Download complete [2021-02-18T09:29:00.042Z] 63d7cb157983: Verifying Checksum [2021-02-18T09:29:00.042Z] 63d7cb157983: Download complete [2021-02-18T09:29:00.042Z] b116817d02f9: Verifying Checksum [2021-02-18T09:29:00.042Z] b116817d02f9: Download complete [2021-02-18T09:29:00.042Z] 5f621e34cdf4: Verifying Checksum [2021-02-18T09:29:00.042Z] 5f621e34cdf4: Download complete [2021-02-18T09:29:01.045Z] 5f621e34cdf4: Pull complete [2021-02-18T09:29:01.646Z] a4357932f1b6: Pull complete [2021-02-18T09:29:01.927Z] 18c013af1878: Pull complete [2021-02-18T09:29:02.525Z] 745a02a5169b: Verifying Checksum [2021-02-18T09:29:02.525Z] 745a02a5169b: Download complete [2021-02-18T09:29:03.504Z] 00ac8860ef70: Download complete [2021-02-18T09:29:09.789Z] Running on prd-centos7-docker-4c-2g-26788 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [Pipeline] { [Pipeline] ws [2021-02-18T09:29:09.846Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-02-18T09:29:12.034Z] using credential edgex-jenkins-ssh [2021-02-18T09:29:12.085Z] Cloning the remote Git repository [2021-02-18T09:29:11.887Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T09:29:11.957Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-02-18T09:29:12.023Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T09:29:12.023Z] > git --version # timeout=10 [2021-02-18T09:29:12.030Z] > git --version # 'git version 2.24.3' [2021-02-18T09:29:12.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T09:29:12.060Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-18T09:29:12.874Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-18T09:29:12.882Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-18T09:29:12.894Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-18T09:29:12.907Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T09:29:12.907Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T09:29:12.912Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-18T09:29:13.527Z] Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 7c9741b1786850dcd4b352624f7ae0f5df012de5 [2021-02-18T09:29:13.611Z] Merge succeeded, producing 7c9741b1786850dcd4b352624f7ae0f5df012de5 [2021-02-18T09:29:13.612Z] Checking out Revision 7c9741b1786850dcd4b352624f7ae0f5df012de5 (PR-789) [2021-02-18T09:29:13.713Z] 00ac8860ef70: Pull complete [2021-02-18T09:29:13.713Z] 63d7cb157983: Pull complete [2021-02-18T09:29:13.713Z] b116817d02f9: Pull complete [2021-02-18T09:29:13.435Z] > git config core.sparsecheckout # timeout=10 [2021-02-18T09:29:13.440Z] > git checkout -f 7c9741b1786850dcd4b352624f7ae0f5df012de5 # timeout=10 [2021-02-18T09:29:13.484Z] > git remote # timeout=10 [2021-02-18T09:29:13.492Z] > git config --get remote.origin.url # timeout=10 [2021-02-18T09:29:13.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T09:29:13.503Z] > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 [2021-02-18T09:29:13.512Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-18T09:29:13.521Z] > git config core.sparsecheckout # timeout=10 [2021-02-18T09:29:13.525Z] > git checkout -f 7c9741b1786850dcd4b352624f7ae0f5df012de5 # timeout=10 [2021-02-18T09:29:17.187Z] Commit message: "refactor: remove internal function to reduce complexity" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-18T09:29:18.036Z] 745a02a5169b: Pull complete [2021-02-18T09:29:18.036Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-18T09:29:18.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-18T09:29:18.036Z] ---> b7e6874047d6 [2021-02-18T09:29:18.036Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T09:29:18.501Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-18T09:29:18.834Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-18T09:29:19.132Z] + sudo service docker restart [2021-02-18T09:29:19.132Z] + true [2021-02-18T09:29:19.132Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-18T09:29:19.778Z] provisioning config files... [2021-02-18T09:29:19.804Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2650897947975430677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:29:20.179Z] ---> docker-login.sh [2021-02-18T09:29:20.179Z] nexus3.edgexfoundry.org:10001 [2021-02-18T09:29:20.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:29:20.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:29:20.440Z] Configure a credential helper to remove this warning. See [2021-02-18T09:29:20.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:29:20.440Z] [2021-02-18T09:29:20.441Z] Login Succeeded [2021-02-18T09:29:20.441Z] nexus3.edgexfoundry.org:10002 [2021-02-18T09:29:20.657Z] ---> Running in f3cb98e32850 [2021-02-18T09:29:20.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:29:20.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:29:20.703Z] Configure a credential helper to remove this warning. See [2021-02-18T09:29:20.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:29:20.703Z] [2021-02-18T09:29:20.703Z] Login Succeeded [2021-02-18T09:29:20.703Z] nexus3.edgexfoundry.org:10003 [2021-02-18T09:29:20.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:29:20.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:29:20.703Z] Configure a credential helper to remove this warning. See [2021-02-18T09:29:20.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:29:20.703Z] [2021-02-18T09:29:20.703Z] Login Succeeded [2021-02-18T09:29:20.703Z] nexus3.edgexfoundry.org:10004 [2021-02-18T09:29:20.933Z] Removing intermediate container f3cb98e32850 [2021-02-18T09:29:20.933Z] ---> 254504c29cb2 [2021-02-18T09:29:20.933Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-18T09:29:20.933Z] ---> Running in 24f83d57e802 [2021-02-18T09:29:20.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:29:20.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:29:20.965Z] Configure a credential helper to remove this warning. See [2021-02-18T09:29:20.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:29:20.965Z] [2021-02-18T09:29:20.965Z] Login Succeeded [2021-02-18T09:29:20.965Z] docker.io [2021-02-18T09:29:21.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T09:29:21.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T09:29:21.490Z] Configure a credential helper to remove this warning. See [2021-02-18T09:29:21.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T09:29:21.490Z] [2021-02-18T09:29:21.490Z] Login Succeeded [2021-02-18T09:29:21.490Z] ---> docker-login.sh ends [Pipeline] } [2021-02-18T09:29:21.499Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-18T09:29:21.885Z] ========================================================= [2021-02-18T09:29:21.885Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-18T09:29:21.885Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:29:22.229Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-02-18T09:29:22.230Z] Sending build context to Docker daemon 2.45MB [2021-02-18T09:29:22.230Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-18T09:29:22.230Z] Step 2/8 : FROM ${BASE} [2021-02-18T09:29:22.230Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-18T09:29:22.230Z] 188c0c94c7c5: Pulling fs layer [2021-02-18T09:29:22.230Z] 0ef7d3d256c8: Pulling fs layer [2021-02-18T09:29:22.230Z] de9db76c5a1d: Pulling fs layer [2021-02-18T09:29:22.230Z] bca2f99d35d6: Pulling fs layer [2021-02-18T09:29:22.230Z] 93359f2a8cfa: Pulling fs layer [2021-02-18T09:29:22.230Z] bca2f99d35d6: Waiting [2021-02-18T09:29:22.230Z] 7c6f9722023f: Pulling fs layer [2021-02-18T09:29:22.230Z] a35cf1a2eb13: Pulling fs layer [2021-02-18T09:29:22.230Z] 7c6f9722023f: Waiting [2021-02-18T09:29:22.230Z] 93359f2a8cfa: Waiting [2021-02-18T09:29:22.230Z] a35cf1a2eb13: Waiting [2021-02-18T09:29:22.497Z] de9db76c5a1d: Verifying Checksum [2021-02-18T09:29:22.497Z] de9db76c5a1d: Download complete [2021-02-18T09:29:22.497Z] 0ef7d3d256c8: Download complete [2021-02-18T09:29:22.497Z] 93359f2a8cfa: Verifying Checksum [2021-02-18T09:29:22.497Z] 93359f2a8cfa: Download complete [2021-02-18T09:29:22.497Z] 188c0c94c7c5: Verifying Checksum [2021-02-18T09:29:22.497Z] 188c0c94c7c5: Download complete [2021-02-18T09:29:22.497Z] 7c6f9722023f: Verifying Checksum [2021-02-18T09:29:22.497Z] 7c6f9722023f: Download complete [2021-02-18T09:29:22.762Z] 188c0c94c7c5: Pull complete [2021-02-18T09:29:22.762Z] 0ef7d3d256c8: Pull complete [2021-02-18T09:29:23.025Z] de9db76c5a1d: Pull complete [2021-02-18T09:29:23.557Z] Removing intermediate container 24f83d57e802 [2021-02-18T09:29:23.557Z] ---> 91375b48a6d3 [2021-02-18T09:29:23.557Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-18T09:29:23.557Z] ---> Running in 0f33aa0615b3 [2021-02-18T09:29:23.975Z] a35cf1a2eb13: Verifying Checksum [2021-02-18T09:29:23.975Z] a35cf1a2eb13: Download complete [2021-02-18T09:29:24.538Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-18T09:29:24.549Z] bca2f99d35d6: Verifying Checksum [2021-02-18T09:29:24.549Z] bca2f99d35d6: Download complete [2021-02-18T09:29:25.131Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-18T09:29:26.559Z] OK: 142 MiB in 39 packages [2021-02-18T09:29:27.541Z] Removing intermediate container 0f33aa0615b3 [2021-02-18T09:29:27.541Z] ---> 760d14519beb [2021-02-18T09:29:27.541Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-18T09:29:27.817Z] ---> Running in d57a3b814409 [2021-02-18T09:29:28.434Z] Removing intermediate container d57a3b814409 [2021-02-18T09:29:28.434Z] ---> 5c2a02b20e1b [2021-02-18T09:29:28.434Z] Step 7/8 : COPY . . [2021-02-18T09:29:29.870Z] bca2f99d35d6: Pull complete [2021-02-18T09:29:29.870Z] 93359f2a8cfa: Pull complete [2021-02-18T09:29:29.870Z] 7c6f9722023f: Pull complete [2021-02-18T09:29:29.882Z] ---> dc9a47e4f091 [2021-02-18T09:29:29.882Z] Step 8/8 : RUN go mod download [2021-02-18T09:29:29.882Z] ---> Running in 1383191a736f [2021-02-18T09:29:39.889Z] a35cf1a2eb13: Pull complete [2021-02-18T09:29:39.889Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-18T09:29:39.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-18T09:29:39.889Z] ---> a62c8e92a672 [2021-02-18T09:29:39.889Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T09:29:39.889Z] ---> Running in c1b319158526 [2021-02-18T09:29:39.889Z] Removing intermediate container c1b319158526 [2021-02-18T09:29:39.889Z] ---> 45ac7ab658de [2021-02-18T09:29:39.889Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-18T09:29:39.889Z] ---> Running in 9d91ee354b1e [2021-02-18T09:29:40.463Z] Removing intermediate container 9d91ee354b1e [2021-02-18T09:29:40.463Z] ---> c30a3341ae26 [2021-02-18T09:29:40.463Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-18T09:29:40.730Z] ---> Running in 42d623ddcf35 [2021-02-18T09:29:41.303Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-18T09:29:41.876Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-18T09:29:42.449Z] OK: 166 MiB in 39 packages [2021-02-18T09:29:42.710Z] Removing intermediate container 42d623ddcf35 [2021-02-18T09:29:42.710Z] ---> fb98ae3a6eeb [2021-02-18T09:29:42.710Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-18T09:29:42.972Z] ---> Running in be86902759ce [2021-02-18T09:29:42.972Z] Removing intermediate container be86902759ce [2021-02-18T09:29:42.972Z] ---> 7260887de952 [2021-02-18T09:29:42.972Z] Step 7/8 : COPY . . [2021-02-18T09:29:44.364Z] ---> 07e0a2daedbc [2021-02-18T09:29:44.364Z] Step 8/8 : RUN go mod download [2021-02-18T09:29:44.364Z] ---> Running in 70b8236c5867 [2021-02-18T09:29:56.694Z] Removing intermediate container 1383191a736f [2021-02-18T09:29:56.694Z] ---> 4ebeca755297 [2021-02-18T09:29:56.694Z] Successfully built 4ebeca755297 [2021-02-18T09:29:56.694Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:29:57.052Z] + docker inspect -f . ci-base-image-arm64 [2021-02-18T09:29:57.052Z] . [Pipeline] withDockerContainer [2021-02-18T09:29:57.332Z] prd-ubuntu18.04-docker-arm64-4c-16g-26787 does not seem to be running inside a container [2021-02-18T09:29:57.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-18T09:29:58.907Z] $ docker top 32ce4d2bca2ec1c7d1f61331ae01a4ff0cf567615a6babebea9a554a1ebb374e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T09:29:59.933Z] + go version [2021-02-18T09:29:59.933Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-18T09:29:59.954Z] $ docker stop --time=1 32ce4d2bca2ec1c7d1f61331ae01a4ff0cf567615a6babebea9a554a1ebb374e [2021-02-18T09:30:01.907Z] $ docker rm -f 32ce4d2bca2ec1c7d1f61331ae01a4ff0cf567615a6babebea9a554a1ebb374e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:30:02.934Z] + docker inspect -f . ci-base-image-arm64 [2021-02-18T09:30:02.934Z] . [Pipeline] withDockerContainer [2021-02-18T09:30:03.197Z] prd-ubuntu18.04-docker-arm64-4c-16g-26787 does not seem to be running inside a container [2021-02-18T09:30:03.277Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-18T09:30:04.787Z] $ docker top 9f23c5308b798ff29f1174121be216fb515f2721bfe268359470c2414bdd0cc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T09:30:05.826Z] + make test [2021-02-18T09:30:05.826Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-18T09:30:06.374Z] Removing intermediate container 70b8236c5867 [2021-02-18T09:30:06.374Z] ---> 95a0a662792c [2021-02-18T09:30:06.374Z] Successfully built 95a0a662792c [2021-02-18T09:30:06.374Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:30:06.686Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-18T09:30:06.686Z] . [Pipeline] withDockerContainer [2021-02-18T09:30:06.965Z] prd-centos7-docker-4c-2g-26788 does not seem to be running inside a container [2021-02-18T09:30:07.136Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-18T09:30:08.551Z] $ docker top 1452237b93899e26dfd698ee7bd49d4b6e659ca5672d00d39df702b2f3a58917 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T09:30:09.040Z] + go version [2021-02-18T09:30:09.040Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-18T09:30:09.056Z] $ docker stop --time=1 1452237b93899e26dfd698ee7bd49d4b6e659ca5672d00d39df702b2f3a58917 [2021-02-18T09:30:10.403Z] $ docker rm -f 1452237b93899e26dfd698ee7bd49d4b6e659ca5672d00d39df702b2f3a58917 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:30:11.260Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-18T09:30:11.260Z] . [Pipeline] withDockerContainer [2021-02-18T09:30:11.352Z] prd-centos7-docker-4c-2g-26788 does not seem to be running inside a container [2021-02-18T09:30:11.399Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-18T09:30:11.942Z] $ docker top 326c6e2f702dddf34018e2bd5227ef713501c85e2555373a39ee7422e356b04a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T09:30:12.440Z] + make test [2021-02-18T09:30:12.440Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-18T09:30:19.133Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-18T09:30:28.053Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-18T09:30:34.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-18T09:30:34.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-18T09:30:34.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-18T09:30:36.756Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 25.5% of statements [2021-02-18T09:31:07.178Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-18T09:31:07.179Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-18T09:31:07.179Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-18T09:31:08.907Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.052s coverage: 10.1% of statements [2021-02-18T09:31:08.907Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.058s coverage: 12.5% of statements [2021-02-18T09:31:08.907Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-18T09:31:08.907Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.058s coverage: 84.8% of statements [2021-02-18T09:31:08.907Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-18T09:31:08.907Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-18T09:31:08.907Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-18T09:31:08.907Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-18T09:31:08.907Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.070s coverage: 49.2% of statements [2021-02-18T09:31:08.907Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-18T09:31:08.907Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.067s coverage: 82.8% of statements [2021-02-18T09:31:08.907Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.070s coverage: 24.8% of statements [2021-02-18T09:31:08.907Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.274s coverage: 83.5% of statements [2021-02-18T09:31:08.907Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.3% of statements [2021-02-18T09:31:08.907Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-18T09:31:08.907Z] GO111MODULE=on go vet ./... [2021-02-18T09:31:14.264Z] gofmt -l . [2021-02-18T09:31:14.264Z] [ "`gofmt -l .`" = "" ] [2021-02-18T09:31:14.265Z] ./bin/test-attribution-txt.sh [2021-02-18T09:31:14.845Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-18T09:31:15.126Z] $ docker stop --time=1 326c6e2f702dddf34018e2bd5227ef713501c85e2555373a39ee7422e356b04a [2021-02-18T09:31:15.506Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.126s coverage: 25.5% of statements [2021-02-18T09:31:16.924Z] $ docker rm -f 326c6e2f702dddf34018e2bd5227ef713501c85e2555373a39ee7422e356b04a [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-18T09:31:17.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-18T09:31:18.021Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-18T09:31:20.900Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-18T09:31:21.193Z] + ls -al . [2021-02-18T09:31:21.194Z] total 184 [2021-02-18T09:31:21.194Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 18 09:31 . [2021-02-18T09:31:21.194Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 18 09:29 .. [2021-02-18T09:31:21.194Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 18 09:29 bin [2021-02-18T09:31:21.194Z] -rw-r--r--. 1 jenkins jenkins 101407 Feb 18 09:31 coverage.out [2021-02-18T09:31:21.194Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 18 09:29 Dockerfile.build [2021-02-18T09:31:21.194Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 18 09:29 .dockerignore [2021-02-18T09:31:21.194Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 18 09:29 example [2021-02-18T09:31:21.194Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 18 09:29 .git [2021-02-18T09:31:21.194Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 18 09:29 .github [2021-02-18T09:31:21.194Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 18 09:29 .gitignore [2021-02-18T09:31:21.194Z] -rw-r--r--. 1 jenkins jenkins 515 Feb 18 09:31 go.mod [2021-02-18T09:31:21.194Z] -rw-r--r--. 1 jenkins jenkins 19062 Feb 18 09:31 go.sum [2021-02-18T09:31:21.194Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 18 09:29 internal [2021-02-18T09:31:21.194Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 18 09:29 Jenkinsfile [2021-02-18T09:31:21.194Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 18 09:29 LICENSE [2021-02-18T09:31:21.194Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 18 09:29 Makefile [2021-02-18T09:31:21.194Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 18 09:29 openapi [2021-02-18T09:31:21.194Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 18 09:29 pkg [2021-02-18T09:31:21.194Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 18 09:29 README.md [2021-02-18T09:31:21.194Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 18 09:29 RELEASE-NOTES.txt [2021-02-18T09:31:21.194Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 18 09:29 snap [2021-02-18T09:31:21.194Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 18 09:26 VERSION [2021-02-18T09:31:21.194Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 18 09:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:31:21.508Z] + 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=7c9741b1786850dcd4b352624f7ae0f5df012de5 --label arch=amd64 --label version=0.0.0 . [2021-02-18T09:31:21.509Z] Sending build context to Docker daemon 2.552MB [2021-02-18T09:31:21.777Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-18T09:31:21.777Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-18T09:31:21.777Z] ---> 95a0a662792c [2021-02-18T09:31:21.777Z] Step 3/24 : ARG MAKE='make build' [2021-02-18T09:31:22.352Z] ---> Running in 3e7cad0d2bd2 [2021-02-18T09:31:22.352Z] Removing intermediate container 3e7cad0d2bd2 [2021-02-18T09:31:22.352Z] ---> 0ee9271cb086 [2021-02-18T09:31:22.352Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-18T09:31:22.352Z] ---> Running in eda66cf9228c [2021-02-18T09:31:22.613Z] Removing intermediate container eda66cf9228c [2021-02-18T09:31:22.613Z] ---> c425a1d98c8d [2021-02-18T09:31:22.613Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T09:31:22.613Z] ---> Running in 9506b94cb4ce [2021-02-18T09:31:22.876Z] Removing intermediate container 9506b94cb4ce [2021-02-18T09:31:22.876Z] ---> fc4a794e8242 [2021-02-18T09:31:22.876Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-18T09:31:22.876Z] ---> Running in 521b07f0c869 [2021-02-18T09:31:23.824Z] Removing intermediate container 521b07f0c869 [2021-02-18T09:31:23.824Z] ---> 6708f6559e9a [2021-02-18T09:31:23.824Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-18T09:31:23.824Z] ---> Running in 35c726b146a4 [2021-02-18T09:31:24.086Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-18T09:31:24.658Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-18T09:31:25.241Z] OK: 166 MiB in 39 packages [2021-02-18T09:31:25.517Z] Removing intermediate container 35c726b146a4 [2021-02-18T09:31:25.517Z] ---> 316d8b81cd2a [2021-02-18T09:31:25.517Z] Step 8/24 : COPY . . [2021-02-18T09:31:26.466Z] ---> 939798314061 [2021-02-18T09:31:26.466Z] Step 9/24 : RUN ${MAKE} [2021-02-18T09:31:26.466Z] ---> Running in 46fce29264e6 [2021-02-18T09:31:26.731Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-18T09:31:34.988Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-18T09:31:36.387Z] Removing intermediate container 46fce29264e6 [2021-02-18T09:31:36.387Z] ---> cf6bb7f43e25 [2021-02-18T09:31:36.387Z] Step 10/24 : FROM scratch [2021-02-18T09:31:36.387Z] ---> [2021-02-18T09:31:36.387Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T09:31:36.653Z] ---> Running in 47d3b85bd5ef [2021-02-18T09:31:36.653Z] Removing intermediate container 47d3b85bd5ef [2021-02-18T09:31:36.653Z] ---> b3670c8fa4ec [2021-02-18T09:31:36.653Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-18T09:31:36.653Z] ---> Running in 73cc85d7ee90 [2021-02-18T09:31:36.926Z] Removing intermediate container 73cc85d7ee90 [2021-02-18T09:31:36.926Z] ---> a7707a90b10d [2021-02-18T09:31:36.926Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-18T09:31:36.926Z] ---> Running in 0368f1d9db88 [2021-02-18T09:31:36.926Z] Removing intermediate container 0368f1d9db88 [2021-02-18T09:31:36.926Z] ---> aa7846a8bd56 [2021-02-18T09:31:36.926Z] Step 14/24 : WORKDIR / [2021-02-18T09:31:37.200Z] ---> Running in 42491cc9308a [2021-02-18T09:31:37.200Z] Removing intermediate container 42491cc9308a [2021-02-18T09:31:37.200Z] ---> 69d17807990c [2021-02-18T09:31:37.200Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-18T09:31:37.718Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.189s coverage: 10.1% of statements [2021-02-18T09:31:37.718Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.115s coverage: 12.5% of statements [2021-02-18T09:31:37.718Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-18T09:31:37.718Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.130s coverage: 84.8% of statements [2021-02-18T09:31:37.718Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-18T09:31:37.718Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-18T09:31:37.718Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-18T09:31:37.718Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-18T09:31:37.718Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.194s coverage: 49.2% of statements [2021-02-18T09:31:37.718Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-18T09:31:37.718Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.165s coverage: 82.8% of statements [2021-02-18T09:31:37.718Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.170s coverage: 24.8% of statements [2021-02-18T09:31:37.718Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.045s coverage: 83.5% of statements [2021-02-18T09:31:37.718Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.3% of statements [2021-02-18T09:31:37.718Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-18T09:31:37.718Z] GO111MODULE=on go vet ./... [2021-02-18T09:31:37.786Z] ---> 74669e9bd3ab [2021-02-18T09:31:37.787Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-18T09:31:38.738Z] ---> 8fe86ded3366 [2021-02-18T09:31:38.738Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-18T09:31:38.738Z] ---> 87dd9ade7781 [2021-02-18T09:31:38.738Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-18T09:31:39.001Z] ---> d7b52a51a051 [2021-02-18T09:31:39.001Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-18T09:31:39.262Z] ---> 5297ae199348 [2021-02-18T09:31:39.262Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-18T09:31:39.262Z] ---> Running in b8d5f56251de [2021-02-18T09:31:39.262Z] Removing intermediate container b8d5f56251de [2021-02-18T09:31:39.262Z] ---> a90b29eb762b [2021-02-18T09:31:39.262Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-18T09:31:39.523Z] ---> Running in fffb078d9ba0 [2021-02-18T09:31:39.523Z] Removing intermediate container fffb078d9ba0 [2021-02-18T09:31:39.523Z] ---> 8e8adaf17c7c [2021-02-18T09:31:39.523Z] Step 22/24 : LABEL arch=amd64 [2021-02-18T09:31:39.784Z] ---> Running in f01ca818bdbf [2021-02-18T09:31:39.784Z] Removing intermediate container f01ca818bdbf [2021-02-18T09:31:39.784Z] ---> 9876f879bd50 [2021-02-18T09:31:39.784Z] Step 23/24 : LABEL git_sha=7c9741b1786850dcd4b352624f7ae0f5df012de5 [2021-02-18T09:31:39.784Z] ---> Running in c61b6134f0b7 [2021-02-18T09:31:40.047Z] Removing intermediate container c61b6134f0b7 [2021-02-18T09:31:40.047Z] ---> 451236917fe4 [2021-02-18T09:31:40.047Z] Step 24/24 : LABEL version=0.0.0 [2021-02-18T09:31:40.047Z] ---> Running in 6b08522406f5 [2021-02-18T09:31:40.315Z] Removing intermediate container 6b08522406f5 [2021-02-18T09:31:40.315Z] ---> 5880c69f8aea [2021-02-18T09:31:40.315Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-18T09:31:40.315Z] Successfully built 5880c69f8aea [2021-02-18T09:31:40.315Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-18T09:32:16.831Z] gofmt -l . [2021-02-18T09:32:16.831Z] [ "`gofmt -l .`" = "" ] [2021-02-18T09:32:16.831Z] ./bin/test-attribution-txt.sh [2021-02-18T09:32:16.831Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-18T09:32:16.859Z] $ docker stop --time=1 9f23c5308b798ff29f1174121be216fb515f2721bfe268359470c2414bdd0cc3 [2021-02-18T09:32:19.034Z] $ docker rm -f 9f23c5308b798ff29f1174121be216fb515f2721bfe268359470c2414bdd0cc3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-18T09:32:20.176Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-18T09:32:20.250Z] Warning: overwriting stash ‘coverage-report’ [2021-02-18T09:32:21.145Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-18T09:32:21.923Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-18T09:32:22.292Z] + ls -al . [2021-02-18T09:32:22.292Z] total 220 [2021-02-18T09:32:22.292Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 18 09:32 . [2021-02-18T09:32:22.292Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 09:28 .. [2021-02-18T09:32:22.292Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 18 09:28 .dockerignore [2021-02-18T09:32:22.292Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 09:28 .git [2021-02-18T09:32:22.292Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 09:28 .github [2021-02-18T09:32:22.292Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 18 09:28 .gitignore [2021-02-18T09:32:22.292Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 18 09:28 Dockerfile.build [2021-02-18T09:32:22.292Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 18 09:28 Jenkinsfile [2021-02-18T09:32:22.292Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 18 09:28 LICENSE [2021-02-18T09:32:22.292Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 18 09:28 Makefile [2021-02-18T09:32:22.292Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 18 09:28 README.md [2021-02-18T09:32:22.292Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 18 09:28 RELEASE-NOTES.txt [2021-02-18T09:32:22.292Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 18 09:26 VERSION [2021-02-18T09:32:22.292Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 09:28 bin [2021-02-18T09:32:22.292Z] -rw-r--r-- 1 jenkins jenkins 101407 Feb 18 09:31 coverage.out [2021-02-18T09:32:22.292Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 09:28 example [2021-02-18T09:32:22.292Z] -rw-r--r-- 1 jenkins jenkins 515 Feb 18 09:32 go.mod [2021-02-18T09:32:22.292Z] -rw-r--r-- 1 jenkins jenkins 19062 Feb 18 09:32 go.sum [2021-02-18T09:32:22.292Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 18 09:28 internal [2021-02-18T09:32:22.292Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 09:28 openapi [2021-02-18T09:32:22.292Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 18 09:28 pkg [2021-02-18T09:32:22.292Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 09:28 snap [2021-02-18T09:32:22.292Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 18 09:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:32:22.700Z] + 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=7c9741b1786850dcd4b352624f7ae0f5df012de5 --label arch=arm64 --label version=0.0.0 . [2021-02-18T09:32:23.312Z] Sending build context to Docker daemon 2.551MB [2021-02-18T09:32:23.312Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-18T09:32:23.312Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-18T09:32:23.312Z] ---> 4ebeca755297 [2021-02-18T09:32:23.312Z] Step 3/24 : ARG MAKE='make build' [2021-02-18T09:32:23.586Z] ---> Running in a5d7d547b546 [2021-02-18T09:32:24.190Z] Removing intermediate container a5d7d547b546 [2021-02-18T09:32:24.190Z] ---> 75f511229b2f [2021-02-18T09:32:24.190Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-18T09:32:24.190Z] ---> Running in 5a5ae40daa6d [2021-02-18T09:32:24.788Z] Removing intermediate container 5a5ae40daa6d [2021-02-18T09:32:24.788Z] ---> a9922668b81e [2021-02-18T09:32:24.789Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T09:32:24.789Z] ---> Running in bc6be36e822f [2021-02-18T09:32:25.383Z] Removing intermediate container bc6be36e822f [2021-02-18T09:32:25.383Z] ---> d8f84991d7f8 [2021-02-18T09:32:25.383Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-18T09:32:25.383Z] ---> Running in 8587a4910856 [2021-02-18T09:32:27.353Z] Removing intermediate container 8587a4910856 [2021-02-18T09:32:27.353Z] ---> 0fd0900a5eaf [2021-02-18T09:32:27.353Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-18T09:32:27.630Z] ---> Running in e8dde7c302fd [2021-02-18T09:32:28.611Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-18T09:32:29.590Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-18T09:32:30.199Z] OK: 142 MiB in 39 packages [2021-02-18T09:32:31.176Z] Removing intermediate container e8dde7c302fd [2021-02-18T09:32:31.176Z] ---> 6726b006f462 [2021-02-18T09:32:31.176Z] Step 8/24 : COPY . . [2021-02-18T09:32:32.614Z] ---> ee11f513f5a3 [2021-02-18T09:32:32.614Z] Step 9/24 : RUN ${MAKE} [2021-02-18T09:32:32.614Z] ---> Running in 5331827d9a8c [2021-02-18T09:32:33.605Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-18T09:33:00.443Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-18T09:33:01.035Z] Removing intermediate container 5331827d9a8c [2021-02-18T09:33:01.035Z] ---> 8c70f5549847 [2021-02-18T09:33:01.035Z] Step 10/24 : FROM scratch [2021-02-18T09:33:01.035Z] ---> [2021-02-18T09:33:01.035Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T09:33:01.307Z] ---> Running in 6597eb63bb2a [2021-02-18T09:33:02.277Z] Removing intermediate container 6597eb63bb2a [2021-02-18T09:33:02.277Z] ---> 052b8ff31f3d [2021-02-18T09:33:02.277Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-18T09:33:02.548Z] ---> Running in 8c69ab446253 [2021-02-18T09:33:03.142Z] Removing intermediate container 8c69ab446253 [2021-02-18T09:33:03.142Z] ---> ebc9a4bcb220 [2021-02-18T09:33:03.142Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-18T09:33:03.733Z] ---> Running in ec5170be087a [2021-02-18T09:33:04.713Z] Removing intermediate container ec5170be087a [2021-02-18T09:33:04.713Z] ---> aa21b5890b1b [2021-02-18T09:33:04.713Z] Step 14/24 : WORKDIR / [2021-02-18T09:33:04.986Z] ---> Running in a440608b27b6 [2021-02-18T09:33:06.415Z] Removing intermediate container a440608b27b6 [2021-02-18T09:33:06.415Z] ---> bb970a6737ee [2021-02-18T09:33:06.415Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-18T09:33:07.868Z] ---> 696a6779583a [2021-02-18T09:33:07.868Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-18T09:33:08.841Z] ---> 8a7d2a746d2b [2021-02-18T09:33:08.841Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-18T09:33:09.435Z] ---> e969f14b9a91 [2021-02-18T09:33:09.435Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-18T09:33:10.408Z] ---> 5ee10394bcd7 [2021-02-18T09:33:10.408Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-18T09:33:11.002Z] ---> 79a5078e4be3 [2021-02-18T09:33:11.002Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-18T09:33:11.002Z] ---> Running in ff5cc33f8ebe [2021-02-18T09:33:11.594Z] Removing intermediate container ff5cc33f8ebe [2021-02-18T09:33:11.594Z] ---> 79ee3e8c7093 [2021-02-18T09:33:11.594Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-18T09:33:11.594Z] ---> Running in ec5661706adc [2021-02-18T09:33:12.187Z] Removing intermediate container ec5661706adc [2021-02-18T09:33:12.187Z] ---> e4cb846072e4 [2021-02-18T09:33:12.187Z] Step 22/24 : LABEL arch=arm64 [2021-02-18T09:33:12.187Z] ---> Running in 5c0c1088f91d [2021-02-18T09:33:12.780Z] Removing intermediate container 5c0c1088f91d [2021-02-18T09:33:12.780Z] ---> 7c8b3d23c070 [2021-02-18T09:33:12.780Z] Step 23/24 : LABEL git_sha=7c9741b1786850dcd4b352624f7ae0f5df012de5 [2021-02-18T09:33:12.780Z] ---> Running in fa8fc4715517 [2021-02-18T09:33:13.376Z] Removing intermediate container fa8fc4715517 [2021-02-18T09:33:13.376Z] ---> 1fcb88ee7036 [2021-02-18T09:33:13.376Z] Step 24/24 : LABEL version=0.0.0 [2021-02-18T09:33:13.376Z] ---> Running in 95910441819f [2021-02-18T09:33:13.971Z] Removing intermediate container 95910441819f [2021-02-18T09:33:13.971Z] ---> 2d29769864af [2021-02-18T09:33:13.971Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-18T09:33:13.971Z] Successfully built 2d29769864af [2021-02-18T09:33:13.971Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-02-18T09:33:15.634Z] provisioning config files... [2021-02-18T09:33:15.647Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config5149428235335074896tmp [Pipeline] { [Pipeline] sh [2021-02-18T09:33:16.042Z] + set +x [2021-02-18T09:33:16.042Z] + curl -s https://codecov.io/bash [2021-02-18T09:33:16.042Z] + bash -s -- [2021-02-18T09:33:16.305Z] [2021-02-18T09:33:16.305Z] _____ _ [2021-02-18T09:33:16.305Z] / ____| | | [2021-02-18T09:33:16.305Z] | | ___ __| | ___ ___ _____ __ [2021-02-18T09:33:16.305Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-18T09:33:16.305Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-18T09:33:16.305Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-18T09:33:16.305Z] Bash-20210129-7c25fce [2021-02-18T09:33:16.305Z] [2021-02-18T09:33:16.305Z] [2021-02-18T09:33:16.305Z] ==> git version 2.24.3 found [2021-02-18T09:33:16.305Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-02-18T09:33:16.305Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-18T09:33:16.305Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-18T09:33:16.305Z] ==> Jenkins CI detected. [2021-02-18T09:33:16.306Z] project root: . [2021-02-18T09:33:16.306Z] --> token set from env [2021-02-18T09:33:16.306Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-18T09:33:16.306Z] ==> Running gcov in . (disable via -X gcov) [2021-02-18T09:33:16.306Z] ==> Python coveragepy not found [2021-02-18T09:33:16.306Z] ==> Searching for coverage reports in: [2021-02-18T09:33:16.306Z] + . [2021-02-18T09:33:16.306Z] -> Found 1 reports [2021-02-18T09:33:16.306Z] ==> Detecting git/mercurial file structure [2021-02-18T09:33:16.306Z] ==> Reading reports [2021-02-18T09:33:16.306Z] + ./coverage.out bytes=101407 [2021-02-18T09:33:16.306Z] ==> Appending adjustments [2021-02-18T09:33:16.306Z] https://docs.codecov.io/docs/fixing-reports [2021-02-18T09:33:16.882Z] + Found adjustments [2021-02-18T09:33:16.882Z] ==> Gzipping contents [2021-02-18T09:33:16.882Z] 20K /tmp/codecov.va0MmI.gz [2021-02-18T09:33:16.882Z] ==> Uploading reports [2021-02-18T09:33:16.882Z] url: https://codecov.io [2021-02-18T09:33:16.882Z] query: branch=PR-789&commit=7c9741b1786850dcd4b352624f7ae0f5df012de5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-789%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=789&job=&cmd_args= [2021-02-18T09:33:16.882Z] -> Pinging Codecov [2021-02-18T09:33:16.882Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-789&commit=7c9741b1786850dcd4b352624f7ae0f5df012de5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-789%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=789&job=&cmd_args= [2021-02-18T09:33:17.145Z] -> Uploading to [2021-02-18T09:33:17.145Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-18/7E55EF52A471D76F132DFD9A03CDDE97/7c9741b1786850dcd4b352624f7ae0f5df012de5/7136fd4d-428d-4f3f-a072-ac6c08b5371b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210218%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210218T093317Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d4c822dd323b2dc28b0934734b031f4559f6be7caa24d03b6a2653377f0f224 [2021-02-18T09:33:17.145Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-18T09:33:17.145Z] Dload Upload Total Spent Left Speed [2021-02-18T09:33:17.721Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16414 0 0 100 16414 0 35333 --:--:-- --:--:-- --:--:-- 35375 [2021-02-18T09:33:17.721Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7c9741b1786850dcd4b352624f7ae0f5df012de5 [Pipeline] } [2021-02-18T09:33:17.730Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:33:20.289Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:33:20.857Z] ---> package-listing.sh [2021-02-18T09:33:20.857Z] ++ facter osfamily [2021-02-18T09:33:20.857Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-18T09:33:20.857Z] + OS_FAMILY=redhat [2021-02-18T09:33:20.857Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-789 [2021-02-18T09:33:20.857Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-18T09:33:20.857Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-18T09:33:20.857Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-18T09:33:20.857Z] + PACKAGES=/tmp/packages_start.txt [2021-02-18T09:33:20.857Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-789 ']' [2021-02-18T09:33:20.857Z] + PACKAGES=/tmp/packages_end.txt [2021-02-18T09:33:20.857Z] + case "${OS_FAMILY}" in [2021-02-18T09:33:20.857Z] + rpm -qa [2021-02-18T09:33:20.857Z] + sort [2021-02-18T09:33:26.160Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-18T09:33:26.160Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-18T09:33:26.160Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-18T09:33:26.160Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-789 ']' [2021-02-18T09:33:26.160Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-789/archives/ [2021-02-18T09:33:26.160Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-789/archives/ [Pipeline] echo [2021-02-18T09:33:26.179Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-789/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-18T09:33:26.470Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:33:26.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-18T09:33:26.777Z] [2021-02-18T09:33:26.777Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-18T09:33:27.132Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-18T09:33:27.132Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-18T09:33:27.132Z] df20fa9351a1: Pulling fs layer [2021-02-18T09:33:27.132Z] 36b3adc4ff6f: Pulling fs layer [2021-02-18T09:33:27.132Z] 8ad3a11d3b57: Pulling fs layer [2021-02-18T09:33:27.132Z] 46f8f816bc3b: Pulling fs layer [2021-02-18T09:33:27.132Z] 93b61091891f: Pulling fs layer [2021-02-18T09:33:27.132Z] 93b9cdb0e59b: Pulling fs layer [2021-02-18T09:33:27.132Z] 5e14af77c1be: Pulling fs layer [2021-02-18T09:33:27.132Z] 01666e4c0597: Pulling fs layer [2021-02-18T09:33:27.132Z] aa168da1d23b: Pulling fs layer [2021-02-18T09:33:27.132Z] 93b61091891f: Waiting [2021-02-18T09:33:27.132Z] 93b9cdb0e59b: Waiting [2021-02-18T09:33:27.132Z] 5e14af77c1be: Waiting [2021-02-18T09:33:27.132Z] 01666e4c0597: Waiting [2021-02-18T09:33:27.132Z] aa168da1d23b: Waiting [2021-02-18T09:33:27.132Z] 46f8f816bc3b: Waiting [2021-02-18T09:33:27.132Z] 36b3adc4ff6f: Verifying Checksum [2021-02-18T09:33:27.132Z] 36b3adc4ff6f: Download complete [2021-02-18T09:33:27.400Z] 46f8f816bc3b: Download complete [2021-02-18T09:33:27.400Z] df20fa9351a1: Verifying Checksum [2021-02-18T09:33:27.400Z] df20fa9351a1: Download complete [2021-02-18T09:33:27.400Z] 93b9cdb0e59b: Verifying Checksum [2021-02-18T09:33:27.400Z] 93b9cdb0e59b: Download complete [2021-02-18T09:33:27.400Z] 5e14af77c1be: Verifying Checksum [2021-02-18T09:33:27.400Z] 5e14af77c1be: Download complete [2021-02-18T09:33:27.400Z] 93b61091891f: Verifying Checksum [2021-02-18T09:33:27.400Z] 93b61091891f: Download complete [2021-02-18T09:33:27.400Z] 01666e4c0597: Verifying Checksum [2021-02-18T09:33:27.400Z] 01666e4c0597: Download complete [2021-02-18T09:33:27.665Z] df20fa9351a1: Pull complete [2021-02-18T09:33:27.932Z] 36b3adc4ff6f: Pull complete [2021-02-18T09:33:27.932Z] 8ad3a11d3b57: Verifying Checksum [2021-02-18T09:33:27.932Z] 8ad3a11d3b57: Download complete [2021-02-18T09:33:29.345Z] 8ad3a11d3b57: Pull complete [2021-02-18T09:33:29.609Z] 46f8f816bc3b: Pull complete [2021-02-18T09:33:29.880Z] aa168da1d23b: Verifying Checksum [2021-02-18T09:33:29.880Z] aa168da1d23b: Download complete [2021-02-18T09:33:30.143Z] 93b61091891f: Pull complete [2021-02-18T09:33:30.143Z] 93b9cdb0e59b: Pull complete [2021-02-18T09:33:30.407Z] 5e14af77c1be: Pull complete [2021-02-18T09:33:30.407Z] 01666e4c0597: Pull complete [2021-02-18T09:33:37.041Z] aa168da1d23b: Pull complete [2021-02-18T09:33:37.041Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-18T09:33:37.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-18T09:33:37.041Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-18T09:33:37.189Z] prd-centos7-docker-4c-2g-26786 does not seem to be running inside a container [2021-02-18T09:33:37.237Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-789/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-789 -v /w/workspace/dgexfoundry_device-sdk-go_PR-789:/w/workspace/dgexfoundry_device-sdk-go_PR-789:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-18T09:33:40.868Z] $ docker top 738ef7fb09e905b47b559ab6b922829952a41998b713924e2891134b57764952 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T09:33:41.475Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-18T09:33:41.781Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-18T09:33:42.081Z] + ls /var/log/sa-host [2021-02-18T09:33:42.082Z] + sadf -c /var/log/sa-host/sa18 [2021-02-18T09:33:42.082Z] file_magic: OK [2021-02-18T09:33:42.082Z] HZ: Using current value: 100 [2021-02-18T09:33:42.082Z] file_header: OK [2021-02-18T09:33:42.082Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-18T09:33:42.082Z] Statistics: [2021-02-18T09:33:42.082Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-18T09:33:42.082Z] File successfully converted to sysstat format version 12.2.1 [2021-02-18T09:33:42.082Z] + sadf -c /var/log/sa-host/sa23 [2021-02-18T09:33:42.082Z] file_magic: OK [2021-02-18T09:33:42.082Z] HZ: Using current value: 100 [2021-02-18T09:33:42.082Z] file_header: OK [2021-02-18T09:33:42.082Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-18T09:33:42.082Z] Statistics: [2021-02-18T09:33:42.082Z] Hnuu...uuuununununu... [2021-02-18T09:33:42.082Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-18T09:33:42.751Z] provisioning config files... [2021-02-18T09:33:42.768Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config6489762193570041463tmp [Pipeline] { [Pipeline] echo [2021-02-18T09:33:42.848Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:33:43.145Z] ---> create-netrc.sh [Pipeline] } [2021-02-18T09:33:43.155Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-18T09:33:43.263Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:33:43.563Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-18T09:33:43.574Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:33:43.871Z] ---> sudo-logs.sh [2021-02-18T09:33:43.871Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-18T09:33:43.936Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:33:44.236Z] ---> job-cost.sh [2021-02-18T09:33:44.236Z] lf-activate-venv: SKIPPING [2021-02-18T09:33:44.236Z] INFO: No Stack... [2021-02-18T09:33:45.182Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-18T09:33:45.757Z] INFO: Archiving Costs [Pipeline] echo [2021-02-18T09:33:45.772Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T09:33:46.068Z] ---> logs-deploy.sh [2021-02-18T09:33:46.068Z] lf-activate-venv: SKIPPING [2021-02-18T09:33:46.068Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-789/3 [2021-02-18T09:33:46.068Z] INFO: archiving workspace using pattern(s): [2021-02-18T09:33:47.988Z] Archives upload complete. [2021-02-18T09:33:47.988Z] INFO: archiving logs to Nexus