Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+3aea893206dfece0cb943228d650ae216607898f (20ffa600fe1a9e59c2c28db45705beb5e6e6a7f4) 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-24261 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 7c02c64c2daf04df6211f93624a24cb3be82836f Checking out Revision 7c02c64c2daf04df6211f93624a24cb3be82836f (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c02c64c2daf04df6211f93624a24cb3be82836f # timeout=10 Commit message: "Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 902eccdb55cba88029b2eb6ae85bb2d22ca19633 # timeout=10 [Pipeline] timeout [2021-02-01T02:42:46.609Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-01T02:42:46.838Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-01T02:42:46.929Z] ========================================================= [2021-02-01T02:42:46.929Z] EdgeX Global Pipelines Version Info [2021-02-01T02:42:46.929Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:42:48.421Z] ------------------- [2021-02-01T02:42:48.421Z] stable info: [2021-02-01T02:42:48.421Z] ------------------- [2021-02-01T02:42:48.421Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-01T02:42:48.421Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-01T02:42:48.421Z] Message: update stable to v1.0.179 [2021-02-01T02:42:49.388Z] ------------------- [2021-02-01T02:42:49.388Z] experimental info: [2021-02-01T02:42:49.388Z] ------------------- [2021-02-01T02:42:49.388Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-01T02:42:49.388Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-01T02:42:49.388Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-01T02:42:49.715Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-01T02:42:51.111Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-01T02:42:51.202Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-01T02:42:51.301Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-01T02:42:51.391Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-01T02:42:51.511Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-01T02:42:51.613Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-01T02:42:51.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-01T02:42:51.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-01T02:42:51.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-01T02:42:52.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-01T02:42:52.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-02-01T02:42:52.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-01T02:42:52.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-01T02:42:52.431Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-01T02:42:52.528Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T02:42:52.618Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T02:42:52.748Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T02:42:52.843Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-01T02:42:52.959Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-01T02:42:53.056Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-01T02:42:53.144Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-01T02:42:53.236Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-01T02:42:53.321Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-01T02:42:53.418Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-01T02:42:53.538Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-01T02:42:53.641Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-01T02:42:53.743Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-02-01T02:42:53.840Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-02-01T02:42:53.945Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-02-01T02:42:54.058Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c02c64c2daf04df6211f93624a24cb3be82836f [Pipeline] echo [2021-02-01T02:42:54.238Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c02c64 [Pipeline] echo [2021-02-01T02:42:54.337Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T02:42:54.534Z] provisioning config files... [2021-02-01T02:42:54.592Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config8948805817012915459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:42:54.972Z] ---> docker-login.sh [2021-02-01T02:42:54.972Z] nexus3.edgexfoundry.org:10001 [2021-02-01T02:42:55.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:42:55.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:42:55.513Z] Configure a credential helper to remove this warning. See [2021-02-01T02:42:55.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:42:55.513Z] [2021-02-01T02:42:55.513Z] Login Succeeded [2021-02-01T02:42:55.513Z] nexus3.edgexfoundry.org:10002 [2021-02-01T02:42:55.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:42:55.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:42:55.780Z] Configure a credential helper to remove this warning. See [2021-02-01T02:42:55.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:42:55.780Z] [2021-02-01T02:42:55.780Z] Login Succeeded [2021-02-01T02:42:55.780Z] nexus3.edgexfoundry.org:10003 [2021-02-01T02:42:55.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:42:55.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:42:55.781Z] Configure a credential helper to remove this warning. See [2021-02-01T02:42:55.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:42:55.781Z] [2021-02-01T02:42:55.781Z] Login Succeeded [2021-02-01T02:42:55.781Z] nexus3.edgexfoundry.org:10004 [2021-02-01T02:42:56.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:42:56.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:42:56.043Z] Configure a credential helper to remove this warning. See [2021-02-01T02:42:56.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:42:56.043Z] [2021-02-01T02:42:56.043Z] Login Succeeded [2021-02-01T02:42:56.043Z] docker.io [2021-02-01T02:42:56.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:42:56.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:42:56.307Z] Configure a credential helper to remove this warning. See [2021-02-01T02:42:56.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:42:56.307Z] [2021-02-01T02:42:56.307Z] Login Succeeded [2021-02-01T02:42:56.307Z] ---> docker-login.sh ends [Pipeline] } [2021-02-01T02:42:56.318Z] 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-01T02:42:57.325Z] + git log --format=format:%s -1 7c02c64c2daf04df6211f93624a24cb3be82836f [Pipeline] echo [2021-02-01T02:42:57.397Z] GIT_COMMIT: 7c02c64c2daf04df6211f93624a24cb3be82836f, Commit Message: Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD [Pipeline] echo [2021-02-01T02:42:57.441Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:42:58.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T02:42:58.090Z] [2021-02-01T02:42:58.090Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:42:58.451Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T02:42:58.451Z] latest: Pulling from edgex-devops/git-semver [2021-02-01T02:42:58.451Z] 31603596830f: Pulling fs layer [2021-02-01T02:42:58.451Z] 2a8b12db71e7: Pulling fs layer [2021-02-01T02:42:58.451Z] 6ca5941a6612: Pulling fs layer [2021-02-01T02:42:58.451Z] ecc8261a40a4: Pulling fs layer [2021-02-01T02:42:58.451Z] ecc8261a40a4: Waiting [2021-02-01T02:42:58.451Z] 2a8b12db71e7: Verifying Checksum [2021-02-01T02:42:58.451Z] 2a8b12db71e7: Download complete [2021-02-01T02:42:58.451Z] 31603596830f: Verifying Checksum [2021-02-01T02:42:58.451Z] 31603596830f: Download complete [2021-02-01T02:42:58.719Z] ecc8261a40a4: Verifying Checksum [2021-02-01T02:42:58.719Z] ecc8261a40a4: Download complete [2021-02-01T02:42:58.719Z] 6ca5941a6612: Download complete [2021-02-01T02:42:58.989Z] 31603596830f: Pull complete [2021-02-01T02:42:59.263Z] 2a8b12db71e7: Pull complete [2021-02-01T02:42:59.853Z] 6ca5941a6612: Pull complete [2021-02-01T02:43:00.115Z] ecc8261a40a4: Pull complete [2021-02-01T02:43:00.115Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-01T02:43:00.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T02:43:00.115Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-01T02:43:00.221Z] prd-centos7-docker-4c-2g-24261 does not seem to be running inside a container [2021-02-01T02:43:00.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-01T02:43:02.665Z] $ docker top ae46d95842f5d4fe04119b190c0c4499e348b15f503479fe4a6cb71394df5982 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-01T02:43:03.111Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T02:43:03.111Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T02:43:03.371Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T02:43:03.377Z] $ docker exec ae46d95842f5d4fe04119b190c0c4499e348b15f503479fe4a6cb71394df5982 ssh-agent [2021-02-01T02:43:03.575Z] SSH_AUTH_SOCK=/tmp/ssh-DW7N4PqK7vUz/agent.11 [2021-02-01T02:43:03.575Z] SSH_AGENT_PID=16 [2021-02-01T02:43:03.592Z] Running ssh-add (command line suppressed) [2021-02-01T02:43:03.719Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_8923623653627025833.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_8923623653627025833.key) [2021-02-01T02:43:03.771Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T02:43:04.130Z] + git tag --points-at HEAD [Pipeline] } [2021-02-01T02:43:04.165Z] $ docker exec --env ******** --env ******** ae46d95842f5d4fe04119b190c0c4499e348b15f503479fe4a6cb71394df5982 ssh-agent -k [2021-02-01T02:43:04.279Z] unset SSH_AUTH_SOCK; [2021-02-01T02:43:04.280Z] unset SSH_AGENT_PID; [2021-02-01T02:43:04.280Z] echo Agent pid 16 killed; [2021-02-01T02:43:04.335Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-01T02:43:04.476Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T02:43:04.476Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T02:43:04.653Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T02:43:04.659Z] $ docker exec ae46d95842f5d4fe04119b190c0c4499e348b15f503479fe4a6cb71394df5982 ssh-agent [2021-02-01T02:43:04.830Z] SSH_AUTH_SOCK=/tmp/ssh-iT4cLCyd92QB/agent.46 [2021-02-01T02:43:04.830Z] SSH_AGENT_PID=51 [2021-02-01T02:43:04.838Z] Running ssh-add (command line suppressed) [2021-02-01T02:43:04.961Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1486096487582772152.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1486096487582772152.key) [2021-02-01T02:43:05.015Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T02:43:05.363Z] + git semver init [2021-02-01T02:43:05.363Z] # -> Open(): unable to determine branch for HEAD [2021-02-01T02:43:05.363Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-02-01T02:43:05.363Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-02-01T02:43:05.363Z] # $SEMVER_REMOTE_NAME = origin [2021-02-01T02:43:05.363Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-01T02:43:05.363Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-01T02:43:05.363Z] # $SEMVER_BRANCH = PR-725 [2021-02-01T02:43:05.363Z] # $SEMVER_TEMP = /tmp/semver-608454802 [2021-02-01T02:43:05.363Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-01T02:43:05.942Z] # '/tmp/semver-608454802' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-02-01T02:43:05.942Z] # -> Force: false [2021-02-01T02:43:05.942Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-02-01T02:43:05.958Z] $ docker exec --env ******** --env ******** ae46d95842f5d4fe04119b190c0c4499e348b15f503479fe4a6cb71394df5982 ssh-agent -k [2021-02-01T02:43:06.082Z] unset SSH_AUTH_SOCK; [2021-02-01T02:43:06.083Z] unset SSH_AGENT_PID; [2021-02-01T02:43:06.083Z] echo Agent pid 51 killed; [2021-02-01T02:43:06.134Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-01T02:43:06.651Z] + git semver [Pipeline] } [2021-02-01T02:43:06.674Z] $ docker stop --time=1 ae46d95842f5d4fe04119b190c0c4499e348b15f503479fe4a6cb71394df5982 [2021-02-01T02:43:08.214Z] $ docker rm -f ae46d95842f5d4fe04119b190c0c4499e348b15f503479fe4a6cb71394df5982 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T02:43:08.682Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-01T02:43:09.155Z] Stashed 1 file(s) [Pipeline] echo [2021-02-01T02:43:09.158Z] [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-01T02:43:24.751Z] Still waiting to schedule task [2021-02-01T02:43:24.751Z] ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-24264’ is offline [2021-02-01T02:43:24.758Z] Still waiting to schedule task [2021-02-01T02:43:24.758Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-24257’ [2021-02-01T02:46:23.137Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24269 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-02-01T02:46:23.204Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2021-02-01T02:46:28.437Z] using credential edgex-jenkins-ssh [2021-02-01T02:46:28.519Z] Cloning the remote Git repository [2021-02-01T02:46:28.581Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:46:28.695Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2021-02-01T02:46:28.790Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:46:28.791Z] > git --version # timeout=10 [2021-02-01T02:46:28.812Z] > git --version # 'git version 2.17.1' [2021-02-01T02:46:28.814Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:46:28.900Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T02:46:30.637Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-02-01T02:46:29.959Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T02:46:29.978Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T02:46:30.004Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T02:46:30.044Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:46:30.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:46:30.056Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-01T02:46:30.662Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T02:46:30.675Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-02-01T02:46:30.794Z] > git remote # timeout=10 [2021-02-01T02:46:31.057Z] Merge succeeded, producing 543eef2e2f4ed6f901abb74cbc3592275be45a9a [2021-02-01T02:46:31.058Z] Checking out Revision 543eef2e2f4ed6f901abb74cbc3592275be45a9a (PR-725) [2021-02-01T02:46:30.813Z] > git config --get remote.origin.url # timeout=10 [2021-02-01T02:46:30.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:46:30.841Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-01T02:46:31.042Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-01T02:46:31.069Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T02:46:31.132Z] > git checkout -f 543eef2e2f4ed6f901abb74cbc3592275be45a9a # timeout=10 [2021-02-01T02:46:35.480Z] Commit message: "Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD" [2021-02-01T02:46:35.504Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T02:46:35.492Z] > git rev-list --no-walk 902eccdb55cba88029b2eb6ae85bb2d22ca19633 # timeout=10 [2021-02-01T02:46:36.930Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-01T02:46:37.411Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-01T02:46:37.771Z] + sudo service docker restart [2021-02-01T02:46:37.771Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T02:46:39.834Z] provisioning config files... [2021-02-01T02:46:39.875Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config2351719038522581090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:46:40.284Z] ---> docker-login.sh [2021-02-01T02:46:40.284Z] nexus3.edgexfoundry.org:10001 [2021-02-01T02:46:41.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:46:41.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:46:41.565Z] Configure a credential helper to remove this warning. See [2021-02-01T02:46:41.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:46:41.565Z] [2021-02-01T02:46:41.565Z] Login Succeeded [2021-02-01T02:46:41.565Z] nexus3.edgexfoundry.org:10002 [2021-02-01T02:46:42.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:46:42.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:46:42.164Z] Configure a credential helper to remove this warning. See [2021-02-01T02:46:42.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:46:42.164Z] [2021-02-01T02:46:42.164Z] Login Succeeded [2021-02-01T02:46:42.164Z] nexus3.edgexfoundry.org:10003 [2021-02-01T02:46:42.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:46:42.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:46:42.771Z] Configure a credential helper to remove this warning. See [2021-02-01T02:46:42.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:46:42.771Z] [2021-02-01T02:46:42.771Z] Login Succeeded [2021-02-01T02:46:42.771Z] nexus3.edgexfoundry.org:10004 [2021-02-01T02:46:43.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:46:43.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:46:43.331Z] Configure a credential helper to remove this warning. See [2021-02-01T02:46:43.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:46:43.331Z] [2021-02-01T02:46:43.331Z] Login Succeeded [2021-02-01T02:46:43.331Z] docker.io [2021-02-01T02:46:43.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:46:43.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:46:43.937Z] Configure a credential helper to remove this warning. See [2021-02-01T02:46:43.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:46:43.937Z] [2021-02-01T02:46:43.937Z] Login Succeeded [2021-02-01T02:46:44.210Z] ---> docker-login.sh ends [Pipeline] } [2021-02-01T02:46:44.230Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-01T02:46:44.694Z] ========================================================= [2021-02-01T02:46:44.694Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-01T02:46:44.694Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:46:45.091Z] + 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-01T02:46:45.698Z] Sending build context to Docker daemon 2.51MB [2021-02-01T02:46:45.698Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T02:46:45.698Z] Step 2/8 : FROM ${BASE} [2021-02-01T02:46:45.698Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-01T02:46:45.698Z] 5f621e34cdf4: Pulling fs layer [2021-02-01T02:46:45.698Z] a4357932f1b6: Pulling fs layer [2021-02-01T02:46:45.698Z] 18c013af1878: Pulling fs layer [2021-02-01T02:46:45.698Z] 00ac8860ef70: Pulling fs layer [2021-02-01T02:46:45.698Z] 63d7cb157983: Pulling fs layer [2021-02-01T02:46:45.698Z] b116817d02f9: Pulling fs layer [2021-02-01T02:46:45.698Z] 745a02a5169b: Pulling fs layer [2021-02-01T02:46:45.698Z] 00ac8860ef70: Waiting [2021-02-01T02:46:45.698Z] 63d7cb157983: Waiting [2021-02-01T02:46:45.698Z] b116817d02f9: Waiting [2021-02-01T02:46:45.698Z] 745a02a5169b: Waiting [2021-02-01T02:46:45.698Z] 18c013af1878: Verifying Checksum [2021-02-01T02:46:45.698Z] 18c013af1878: Download complete [2021-02-01T02:46:45.698Z] a4357932f1b6: Verifying Checksum [2021-02-01T02:46:45.698Z] a4357932f1b6: Download complete [2021-02-01T02:46:45.698Z] 63d7cb157983: Verifying Checksum [2021-02-01T02:46:45.698Z] 63d7cb157983: Download complete [2021-02-01T02:46:45.976Z] b116817d02f9: Verifying Checksum [2021-02-01T02:46:45.977Z] b116817d02f9: Download complete [2021-02-01T02:46:45.977Z] 5f621e34cdf4: Verifying Checksum [2021-02-01T02:46:45.977Z] 5f621e34cdf4: Download complete [2021-02-01T02:46:46.972Z] 5f621e34cdf4: Pull complete [2021-02-01T02:46:47.606Z] a4357932f1b6: Pull complete [2021-02-01T02:46:47.884Z] 745a02a5169b: Download complete [2021-02-01T02:46:47.884Z] 18c013af1878: Pull complete [2021-02-01T02:46:49.883Z] 00ac8860ef70: Verifying Checksum [2021-02-01T02:46:49.883Z] 00ac8860ef70: Download complete [2021-02-01T02:47:00.045Z] 00ac8860ef70: Pull complete [2021-02-01T02:47:00.045Z] 63d7cb157983: Pull complete [2021-02-01T02:47:00.045Z] b116817d02f9: Pull complete [2021-02-01T02:47:03.485Z] 745a02a5169b: Pull complete [2021-02-01T02:47:03.485Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-01T02:47:03.485Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-01T02:47:03.485Z] ---> b7e6874047d6 [2021-02-01T02:47:03.485Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:47:06.110Z] ---> Running in d92be7fcfbdb [2021-02-01T02:47:06.384Z] Removing intermediate container d92be7fcfbdb [2021-02-01T02:47:06.384Z] ---> e29800bf57cf [2021-02-01T02:47:06.384Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T02:47:06.659Z] ---> Running in 3f9b3e87aaf8 [2021-02-01T02:47:09.294Z] Removing intermediate container 3f9b3e87aaf8 [2021-02-01T02:47:09.294Z] ---> 1e863f5570bf [2021-02-01T02:47:09.294Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-01T02:47:09.294Z] ---> Running in 6991a851baf3 [2021-02-01T02:47:10.278Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-01T02:47:12.249Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-01T02:47:17.644Z] OK: 142 MiB in 39 packages [2021-02-01T02:47:17.918Z] Removing intermediate container 6991a851baf3 [2021-02-01T02:47:17.918Z] ---> 74d92c1a6e00 [2021-02-01T02:47:17.918Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-01T02:47:18.191Z] ---> Running in 385954686f82 [2021-02-01T02:47:18.786Z] Removing intermediate container 385954686f82 [2021-02-01T02:47:18.786Z] ---> e1e8fe30bf1d [2021-02-01T02:47:18.786Z] Step 7/8 : COPY . . [2021-02-01T02:47:20.219Z] ---> dc6541c6ba13 [2021-02-01T02:47:20.219Z] Step 8/8 : RUN go mod download [2021-02-01T02:47:20.219Z] ---> Running in c2f430ff9a6c [2021-02-01T02:47:47.048Z] Removing intermediate container c2f430ff9a6c [2021-02-01T02:47:47.048Z] ---> 55d17ba36e4c [2021-02-01T02:47:47.048Z] Successfully built 55d17ba36e4c [2021-02-01T02:47:47.048Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:47:47.394Z] + docker inspect -f . ci-base-image-arm64 [2021-02-01T02:47:47.394Z] . [Pipeline] withDockerContainer [2021-02-01T02:47:47.693Z] prd-ubuntu18.04-docker-arm64-4c-16g-24269 does not seem to be running inside a container [2021-02-01T02:47:47.783Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-01T02:47:49.445Z] $ docker top 00da0b8c574b7c3cab308443190c3b286fd2a8a7c9cc5efce976c8313b710e1d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:47:50.505Z] + go version [2021-02-01T02:47:50.505Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-01T02:47:50.530Z] $ docker stop --time=1 00da0b8c574b7c3cab308443190c3b286fd2a8a7c9cc5efce976c8313b710e1d [2021-02-01T02:47:52.875Z] $ docker rm -f 00da0b8c574b7c3cab308443190c3b286fd2a8a7c9cc5efce976c8313b710e1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:47:53.914Z] + docker inspect -f . ci-base-image-arm64 [2021-02-01T02:47:53.914Z] . [Pipeline] withDockerContainer [2021-02-01T02:47:54.193Z] prd-ubuntu18.04-docker-arm64-4c-16g-24269 does not seem to be running inside a container [2021-02-01T02:47:54.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-01T02:47:55.819Z] $ docker top 53b9403db4128acca314bcbb684fae5206359f1709b6c5161430c667bf3474f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:47:56.860Z] + make test [2021-02-01T02:47:56.861Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-01T02:48:19.067Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-01T02:49:06.129Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-01T02:49:06.129Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-01T02:49:06.129Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-01T02:49:06.129Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.141s coverage: 19.4% of statements [2021-02-01T02:49:10.473Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.215s coverage: 97.1% of statements [2021-02-01T02:49:12.898Z] Running on prd-centos7-docker-4c-2g-24270 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-02-01T02:49:12.956Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2021-02-01T02:49:15.382Z] using credential edgex-jenkins-ssh [2021-02-01T02:49:15.436Z] Cloning the remote Git repository [2021-02-01T02:49:15.177Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:49:15.250Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2021-02-01T02:49:15.315Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:49:15.315Z] > git --version # timeout=10 [2021-02-01T02:49:15.324Z] > git --version # 'git version 2.24.3' [2021-02-01T02:49:15.324Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:49:15.360Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T02:49:16.809Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-02-01T02:49:17.038Z] Merge succeeded, producing 267ce53eecf1fc02c7954d697c9f9c7da405952e [2021-02-01T02:49:17.039Z] Checking out Revision 267ce53eecf1fc02c7954d697c9f9c7da405952e (PR-725) [2021-02-01T02:49:16.089Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T02:49:16.099Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T02:49:16.112Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T02:49:16.126Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:49:16.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:49:16.132Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-01T02:49:16.646Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T02:49:16.653Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-02-01T02:49:16.744Z] > git remote # timeout=10 [2021-02-01T02:49:16.753Z] > git config --get remote.origin.url # timeout=10 [2021-02-01T02:49:16.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:49:16.765Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-01T02:49:16.873Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-01T02:49:16.889Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T02:49:16.897Z] > git checkout -f 267ce53eecf1fc02c7954d697c9f9c7da405952e # timeout=10 [2021-02-01T02:49:20.600Z] Commit message: "Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD" [2021-02-01T02:49:20.611Z] First time build. Skipping changelog. [2021-02-01T02:49:20.605Z] > git rev-list --no-walk 902eccdb55cba88029b2eb6ae85bb2d22ca19633 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T02:49:21.922Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-01T02:49:22.254Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-01T02:49:22.551Z] + sudo service docker restart [2021-02-01T02:49:22.551Z] + true [2021-02-01T02:49:22.551Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T02:49:23.580Z] provisioning config files... [2021-02-01T02:49:23.609Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config8869808812390281723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:49:23.982Z] ---> docker-login.sh [2021-02-01T02:49:23.983Z] nexus3.edgexfoundry.org:10001 [2021-02-01T02:49:24.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:49:24.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:49:24.248Z] Configure a credential helper to remove this warning. See [2021-02-01T02:49:24.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:49:24.248Z] [2021-02-01T02:49:24.248Z] Login Succeeded [2021-02-01T02:49:24.248Z] nexus3.edgexfoundry.org:10002 [2021-02-01T02:49:24.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:49:24.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:49:24.510Z] Configure a credential helper to remove this warning. See [2021-02-01T02:49:24.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:49:24.510Z] [2021-02-01T02:49:24.510Z] Login Succeeded [2021-02-01T02:49:24.510Z] nexus3.edgexfoundry.org:10003 [2021-02-01T02:49:24.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:49:24.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:49:24.773Z] Configure a credential helper to remove this warning. See [2021-02-01T02:49:24.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:49:24.773Z] [2021-02-01T02:49:24.773Z] Login Succeeded [2021-02-01T02:49:24.773Z] nexus3.edgexfoundry.org:10004 [2021-02-01T02:49:24.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:49:25.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:49:25.036Z] Configure a credential helper to remove this warning. See [2021-02-01T02:49:25.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:49:25.036Z] [2021-02-01T02:49:25.036Z] Login Succeeded [2021-02-01T02:49:25.036Z] docker.io [2021-02-01T02:49:25.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:49:25.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:49:25.302Z] Configure a credential helper to remove this warning. See [2021-02-01T02:49:25.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:49:25.302Z] [2021-02-01T02:49:25.302Z] Login Succeeded [2021-02-01T02:49:25.302Z] ---> docker-login.sh ends [Pipeline] } [2021-02-01T02:49:25.312Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-01T02:49:25.709Z] ========================================================= [2021-02-01T02:49:25.709Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-01T02:49:25.709Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:49:26.072Z] + 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-01T02:49:26.337Z] Sending build context to Docker daemon 2.511MB [2021-02-01T02:49:26.337Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T02:49:26.337Z] Step 2/8 : FROM ${BASE} [2021-02-01T02:49:26.337Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-01T02:49:26.337Z] 188c0c94c7c5: Pulling fs layer [2021-02-01T02:49:26.337Z] 0ef7d3d256c8: Pulling fs layer [2021-02-01T02:49:26.337Z] de9db76c5a1d: Pulling fs layer [2021-02-01T02:49:26.337Z] bca2f99d35d6: Pulling fs layer [2021-02-01T02:49:26.337Z] 93359f2a8cfa: Pulling fs layer [2021-02-01T02:49:26.337Z] 7c6f9722023f: Pulling fs layer [2021-02-01T02:49:26.337Z] a35cf1a2eb13: Pulling fs layer [2021-02-01T02:49:26.337Z] 7c6f9722023f: Waiting [2021-02-01T02:49:26.337Z] bca2f99d35d6: Waiting [2021-02-01T02:49:26.337Z] a35cf1a2eb13: Waiting [2021-02-01T02:49:26.337Z] 93359f2a8cfa: Waiting [2021-02-01T02:49:26.337Z] de9db76c5a1d: Verifying Checksum [2021-02-01T02:49:26.337Z] de9db76c5a1d: Download complete [2021-02-01T02:49:26.337Z] 0ef7d3d256c8: Verifying Checksum [2021-02-01T02:49:26.337Z] 0ef7d3d256c8: Download complete [2021-02-01T02:49:26.337Z] 188c0c94c7c5: Verifying Checksum [2021-02-01T02:49:26.337Z] 188c0c94c7c5: Download complete [2021-02-01T02:49:26.337Z] 7c6f9722023f: Verifying Checksum [2021-02-01T02:49:26.337Z] 7c6f9722023f: Download complete [2021-02-01T02:49:26.601Z] 188c0c94c7c5: Pull complete [2021-02-01T02:49:26.865Z] 0ef7d3d256c8: Pull complete [2021-02-01T02:49:26.865Z] de9db76c5a1d: Pull complete [2021-02-01T02:49:27.442Z] 93359f2a8cfa: Download complete [2021-02-01T02:49:28.846Z] a35cf1a2eb13: Verifying Checksum [2021-02-01T02:49:28.846Z] a35cf1a2eb13: Download complete [2021-02-01T02:49:29.113Z] bca2f99d35d6: Verifying Checksum [2021-02-01T02:49:29.113Z] bca2f99d35d6: Download complete [2021-02-01T02:49:35.752Z] bca2f99d35d6: Pull complete [2021-02-01T02:49:35.752Z] 93359f2a8cfa: Pull complete [2021-02-01T02:49:35.752Z] 7c6f9722023f: Pull complete [2021-02-01T02:49:37.316Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.125s coverage: 9.4% of statements [2021-02-01T02:49:37.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.178s coverage: 21.7% of statements [2021-02-01T02:49:37.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-01T02:49:37.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.659s coverage: 43.6% of statements [2021-02-01T02:49:37.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-01T02:49:37.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.775s coverage: 68.9% of statements [2021-02-01T02:49:37.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-01T02:49:37.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-01T02:49:37.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-01T02:49:37.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-01T02:49:37.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.197s coverage: 53.8% of statements [2021-02-01T02:49:37.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-01T02:49:37.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-01T02:49:37.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.168s coverage: 25.2% of statements [2021-02-01T02:49:37.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.952s coverage: 83.5% of statements [2021-02-01T02:49:37.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.150s coverage: 4.2% of statements [2021-02-01T02:49:37.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-01T02:49:37.595Z] GO111MODULE=on go vet ./... [2021-02-01T02:49:41.090Z] a35cf1a2eb13: Pull complete [2021-02-01T02:49:41.091Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-01T02:49:41.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-01T02:49:41.091Z] ---> a62c8e92a672 [2021-02-01T02:49:41.091Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:49:41.091Z] ---> Running in 09ad1a096d55 [2021-02-01T02:49:41.355Z] Removing intermediate container 09ad1a096d55 [2021-02-01T02:49:41.355Z] ---> b0a0e4014d69 [2021-02-01T02:49:41.355Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T02:49:41.355Z] ---> Running in c71fcd9defb3 [2021-02-01T02:49:42.314Z] Removing intermediate container c71fcd9defb3 [2021-02-01T02:49:42.314Z] ---> 491c438fd2e8 [2021-02-01T02:49:42.314Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-01T02:49:42.582Z] ---> Running in c925c0db95eb [2021-02-01T02:49:43.546Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-01T02:49:44.127Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-01T02:49:44.702Z] OK: 166 MiB in 39 packages [2021-02-01T02:49:45.281Z] Removing intermediate container c925c0db95eb [2021-02-01T02:49:45.281Z] ---> 50903c0ea495 [2021-02-01T02:49:45.281Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-01T02:49:45.281Z] ---> Running in 5c8fc191ea0a [2021-02-01T02:49:45.281Z] Removing intermediate container 5c8fc191ea0a [2021-02-01T02:49:45.281Z] ---> 4cf3c3af8f47 [2021-02-01T02:49:45.281Z] Step 7/8 : COPY . . [2021-02-01T02:49:46.678Z] ---> 178a5eb257ce [2021-02-01T02:49:46.678Z] Step 8/8 : RUN go mod download [2021-02-01T02:49:46.678Z] ---> Running in dba79b462bb7 [2021-02-01T02:50:08.742Z] Removing intermediate container dba79b462bb7 [2021-02-01T02:50:08.742Z] ---> 46e24b2a6de2 [2021-02-01T02:50:08.742Z] Successfully built 46e24b2a6de2 [2021-02-01T02:50:08.742Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:50:09.174Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-01T02:50:09.174Z] . [Pipeline] withDockerContainer [2021-02-01T02:50:09.469Z] prd-centos7-docker-4c-2g-24270 does not seem to be running inside a container [2021-02-01T02:50:09.536Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-01T02:50:10.800Z] $ docker top 028f56e270a2ceb7e77c261fc384fbde1bd16ba456dd176c2164072a38ca6a6e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:50:11.284Z] + go version [2021-02-01T02:50:11.284Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-01T02:50:11.299Z] $ docker stop --time=1 028f56e270a2ceb7e77c261fc384fbde1bd16ba456dd176c2164072a38ca6a6e [2021-02-01T02:50:13.124Z] $ docker rm -f 028f56e270a2ceb7e77c261fc384fbde1bd16ba456dd176c2164072a38ca6a6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:50:14.098Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-01T02:50:14.098Z] . [Pipeline] withDockerContainer [2021-02-01T02:50:14.204Z] prd-centos7-docker-4c-2g-24270 does not seem to be running inside a container [2021-02-01T02:50:14.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-01T02:50:14.956Z] $ docker top e3502325bf4d66d2d46eec86599914a6ce2cdc98331acf61a5755d1d089a7c6b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:50:15.512Z] + make test [2021-02-01T02:50:15.512Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-01T02:50:16.680Z] gofmt -l . [2021-02-01T02:50:16.680Z] [ "`gofmt -l .`" = "" ] [2021-02-01T02:50:16.680Z] ./bin/test-attribution-txt.sh [2021-02-01T02:50:16.680Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-01T02:50:16.711Z] $ docker stop --time=1 53b9403db4128acca314bcbb684fae5206359f1709b6c5161430c667bf3474f4 [2021-02-01T02:50:19.082Z] $ docker rm -f 53b9403db4128acca314bcbb684fae5206359f1709b6c5161430c667bf3474f4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T02:50:20.241Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-01T02:50:21.305Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T02:50:22.729Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-01T02:50:23.121Z] + ls -al . [2021-02-01T02:50:23.121Z] total 252 [2021-02-01T02:50:23.121Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 1 02:50 . [2021-02-01T02:50:23.121Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:46 .. [2021-02-01T02:50:23.121Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 02:46 .dockerignore [2021-02-01T02:50:23.121Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 02:46 .git [2021-02-01T02:50:23.121Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 02:46 .github [2021-02-01T02:50:23.121Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 1 02:46 .gitignore [2021-02-01T02:50:23.121Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 1 02:46 Dockerfile.build [2021-02-01T02:50:23.121Z] -rw-rw-r-- 1 jenkins jenkins 894 Feb 1 02:46 Jenkinsfile [2021-02-01T02:50:23.121Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 02:46 LICENSE [2021-02-01T02:50:23.121Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 1 02:46 Makefile [2021-02-01T02:50:23.121Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 1 02:46 README.md [2021-02-01T02:50:23.121Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 1 02:46 RELEASE-NOTES.txt [2021-02-01T02:50:23.121Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 02:43 VERSION [2021-02-01T02:50:23.121Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 02:46 bin [2021-02-01T02:50:23.121Z] -rw-r--r-- 1 jenkins jenkins 137332 Feb 1 02:49 coverage.out [2021-02-01T02:50:23.121Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:46 example [2021-02-01T02:50:23.121Z] -rw-r--r-- 1 jenkins jenkins 514 Feb 1 02:50 go.mod [2021-02-01T02:50:23.121Z] -rw-r--r-- 1 jenkins jenkins 14191 Feb 1 02:50 go.sum [2021-02-01T02:50:23.121Z] drwxrwxr-x 15 jenkins jenkins 4096 Feb 1 02:46 internal [2021-02-01T02:50:23.121Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:46 openapi [2021-02-01T02:50:23.121Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 02:46 pkg [2021-02-01T02:50:23.121Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:46 snap [2021-02-01T02:50:23.121Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:50:23.563Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7c02c64c2daf04df6211f93624a24cb3be82836f --label arch=arm64 --label version=0.0.0 . [2021-02-01T02:50:23.756Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-01T02:50:24.198Z] Sending build context to Docker daemon 2.649MB [2021-02-01T02:50:24.198Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T02:50:24.198Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-01T02:50:24.198Z] ---> 55d17ba36e4c [2021-02-01T02:50:24.198Z] Step 3/24 : ARG MAKE='make build' [2021-02-01T02:50:24.476Z] ---> Running in a1c513e29ac4 [2021-02-01T02:50:25.075Z] Removing intermediate container a1c513e29ac4 [2021-02-01T02:50:25.075Z] ---> cf00a7be804a [2021-02-01T02:50:25.075Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-01T02:50:25.075Z] ---> Running in dac7d05ce729 [2021-02-01T02:50:25.671Z] Removing intermediate container dac7d05ce729 [2021-02-01T02:50:25.671Z] ---> 72d073dfb135 [2021-02-01T02:50:25.671Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:50:25.945Z] ---> Running in bb9ff37c8aec [2021-02-01T02:50:26.551Z] Removing intermediate container bb9ff37c8aec [2021-02-01T02:50:26.551Z] ---> 771f70e9bca2 [2021-02-01T02:50:26.551Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T02:50:26.551Z] ---> Running in db93b63f02c0 [2021-02-01T02:50:28.548Z] Removing intermediate container db93b63f02c0 [2021-02-01T02:50:28.548Z] ---> d5597d3cdb6e [2021-02-01T02:50:28.548Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-01T02:50:28.822Z] ---> Running in 594ba54d0646 [2021-02-01T02:50:29.800Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-01T02:50:30.772Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-01T02:50:31.363Z] OK: 142 MiB in 39 packages [2021-02-01T02:50:32.340Z] Removing intermediate container 594ba54d0646 [2021-02-01T02:50:32.340Z] ---> 9c42298904b3 [2021-02-01T02:50:32.340Z] Step 8/24 : COPY . . [2021-02-01T02:50:33.776Z] ---> 94ebec82b7a7 [2021-02-01T02:50:33.776Z] Step 9/24 : RUN ${MAKE} [2021-02-01T02:50:33.776Z] ---> Running in 149897c1ae38 [2021-02-01T02:50:34.757Z] 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-01T02:50:42.057Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-01T02:50:42.057Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-01T02:50:42.057Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-01T02:50:42.057Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 19.4% of statements [2021-02-01T02:50:42.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.469s coverage: 97.1% of statements [2021-02-01T02:51:01.628Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-01T02:51:03.070Z] Removing intermediate container 149897c1ae38 [2021-02-01T02:51:03.070Z] ---> b875400b9cdd [2021-02-01T02:51:03.070Z] Step 10/24 : FROM scratch [2021-02-01T02:51:03.070Z] ---> [2021-02-01T02:51:03.070Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:51:03.342Z] ---> Running in 01098581a518 [2021-02-01T02:51:03.617Z] Removing intermediate container 01098581a518 [2021-02-01T02:51:03.617Z] ---> 450521c7076d [2021-02-01T02:51:03.617Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-01T02:51:03.891Z] ---> Running in a9bdc37cfa06 [2021-02-01T02:51:04.164Z] Removing intermediate container a9bdc37cfa06 [2021-02-01T02:51:04.164Z] ---> d5b2b7ff9f8d [2021-02-01T02:51:04.164Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-01T02:51:04.439Z] ---> Running in fe420194f4cc [2021-02-01T02:51:04.714Z] Removing intermediate container fe420194f4cc [2021-02-01T02:51:04.714Z] ---> 7bf8c8a8c815 [2021-02-01T02:51:04.714Z] Step 14/24 : WORKDIR / [2021-02-01T02:51:04.989Z] ---> Running in f83c3a6099e1 [2021-02-01T02:51:05.265Z] Removing intermediate container f83c3a6099e1 [2021-02-01T02:51:05.265Z] ---> a56408db30cb [2021-02-01T02:51:05.265Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-01T02:51:06.717Z] ---> 0d173f73d67a [2021-02-01T02:51:06.717Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-01T02:51:07.321Z] ---> bf8e70c9d07d [2021-02-01T02:51:07.321Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-01T02:51:07.919Z] ---> 4a91ff3848cd [2021-02-01T02:51:07.919Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-01T02:51:08.519Z] ---> 834a430d7cfe [2021-02-01T02:51:08.519Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-01T02:51:09.510Z] ---> 9f6c34b73625 [2021-02-01T02:51:09.510Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-01T02:51:09.510Z] ---> Running in 0bbda7fadbdf [2021-02-01T02:51:10.106Z] Removing intermediate container 0bbda7fadbdf [2021-02-01T02:51:10.106Z] ---> 8b6167cfec52 [2021-02-01T02:51:10.106Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-01T02:51:10.106Z] ---> Running in 0dbd9d1be833 [2021-02-01T02:51:10.704Z] Removing intermediate container 0dbd9d1be833 [2021-02-01T02:51:10.704Z] ---> 35fc26240b99 [2021-02-01T02:51:10.704Z] Step 22/24 : LABEL arch=arm64 [2021-02-01T02:51:10.704Z] ---> Running in 559b34245f74 [2021-02-01T02:51:11.299Z] Removing intermediate container 559b34245f74 [2021-02-01T02:51:11.299Z] ---> 3a7eaca5fd58 [2021-02-01T02:51:11.299Z] Step 23/24 : LABEL git_sha=7c02c64c2daf04df6211f93624a24cb3be82836f [2021-02-01T02:51:11.299Z] ---> Running in f3a2205e4ffc [2021-02-01T02:51:11.895Z] Removing intermediate container f3a2205e4ffc [2021-02-01T02:51:11.895Z] ---> c21daf8a1c3c [2021-02-01T02:51:11.895Z] Step 24/24 : LABEL version=0.0.0 [2021-02-01T02:51:11.896Z] ---> Running in 4304f1a83b8c [2021-02-01T02:51:12.488Z] Removing intermediate container 4304f1a83b8c [2021-02-01T02:51:12.488Z] ---> e4d185be3f2f [2021-02-01T02:51:12.488Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-01T02:51:12.488Z] Successfully built e4d185be3f2f [2021-02-01T02:51:12.488Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-01T02:51:14.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.079s coverage: 9.4% of statements [2021-02-01T02:51:14.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.053s coverage: 21.7% of statements [2021-02-01T02:51:14.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-01T02:51:14.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.251s coverage: 43.6% of statements [2021-02-01T02:51:14.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-01T02:51:14.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.272s coverage: 68.9% of statements [2021-02-01T02:51:14.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-01T02:51:14.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-01T02:51:14.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-01T02:51:14.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-01T02:51:14.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 53.8% of statements [2021-02-01T02:51:14.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-01T02:51:14.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-01T02:51:14.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.079s coverage: 25.2% of statements [2021-02-01T02:51:14.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.965s coverage: 83.5% of statements [2021-02-01T02:51:14.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.067s coverage: 4.2% of statements [2021-02-01T02:51:14.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-01T02:51:14.603Z] GO111MODULE=on go vet ./... [2021-02-01T02:51:22.863Z] gofmt -l . [2021-02-01T02:51:22.863Z] [ "`gofmt -l .`" = "" ] [2021-02-01T02:51:22.863Z] ./bin/test-attribution-txt.sh [2021-02-01T02:51:22.863Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-01T02:51:23.146Z] $ docker stop --time=1 e3502325bf4d66d2d46eec86599914a6ce2cdc98331acf61a5755d1d089a7c6b [2021-02-01T02:51:25.155Z] $ docker rm -f e3502325bf4d66d2d46eec86599914a6ce2cdc98331acf61a5755d1d089a7c6b [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T02:51:25.858Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-01T02:51:25.872Z] Warning: overwriting stash ‘coverage-report’ [2021-02-01T02:51:26.239Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-01T02:51:26.831Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-01T02:51:27.132Z] + ls -al . [2021-02-01T02:51:27.132Z] total 216 [2021-02-01T02:51:27.132Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 1 02:51 . [2021-02-01T02:51:27.132Z] drwxrwxr-x. 4 jenkins jenkins 30 Feb 1 02:49 .. [2021-02-01T02:51:27.132Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 1 02:49 bin [2021-02-01T02:51:27.132Z] -rw-r--r--. 1 jenkins jenkins 137332 Feb 1 02:51 coverage.out [2021-02-01T02:51:27.132Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 1 02:49 Dockerfile.build [2021-02-01T02:51:27.132Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 1 02:49 .dockerignore [2021-02-01T02:51:27.132Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 1 02:49 example [2021-02-01T02:51:27.132Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 1 02:49 .git [2021-02-01T02:51:27.132Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 1 02:49 .github [2021-02-01T02:51:27.132Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 1 02:49 .gitignore [2021-02-01T02:51:27.132Z] -rw-r--r--. 1 jenkins jenkins 514 Feb 1 02:51 go.mod [2021-02-01T02:51:27.132Z] -rw-r--r--. 1 jenkins jenkins 14191 Feb 1 02:51 go.sum [2021-02-01T02:51:27.132Z] drwxrwxr-x. 15 jenkins jenkins 211 Feb 1 02:49 internal [2021-02-01T02:51:27.132Z] -rw-rw-r--. 1 jenkins jenkins 894 Feb 1 02:49 Jenkinsfile [2021-02-01T02:51:27.132Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 1 02:49 LICENSE [2021-02-01T02:51:27.132Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 1 02:49 Makefile [2021-02-01T02:51:27.132Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 1 02:49 openapi [2021-02-01T02:51:27.132Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 1 02:49 pkg [2021-02-01T02:51:27.132Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 1 02:49 README.md [2021-02-01T02:51:27.132Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 1 02:49 RELEASE-NOTES.txt [2021-02-01T02:51:27.132Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 1 02:49 snap [2021-02-01T02:51:27.132Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 1 02:43 VERSION [2021-02-01T02:51:27.132Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 1 02:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:51:27.466Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=7c02c64c2daf04df6211f93624a24cb3be82836f --label arch=amd64 --label version=0.0.0 . [2021-02-01T02:51:27.728Z] Sending build context to Docker daemon 2.65MB [2021-02-01T02:51:27.728Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T02:51:27.728Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-01T02:51:27.728Z] ---> 46e24b2a6de2 [2021-02-01T02:51:27.728Z] Step 3/24 : ARG MAKE='make build' [2021-02-01T02:51:28.312Z] ---> Running in 5933b5749033 [2021-02-01T02:51:28.578Z] Removing intermediate container 5933b5749033 [2021-02-01T02:51:28.578Z] ---> a9658ad05ff0 [2021-02-01T02:51:28.578Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-01T02:51:28.578Z] ---> Running in c6ae001064d2 [2021-02-01T02:51:28.841Z] Removing intermediate container c6ae001064d2 [2021-02-01T02:51:28.841Z] ---> 92f0ae0912d9 [2021-02-01T02:51:28.841Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:51:28.841Z] ---> Running in b4edf0835741 [2021-02-01T02:51:29.107Z] Removing intermediate container b4edf0835741 [2021-02-01T02:51:29.107Z] ---> ecd1fb43316b [2021-02-01T02:51:29.107Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T02:51:29.107Z] ---> Running in b12b33d159ef [2021-02-01T02:51:30.504Z] Removing intermediate container b12b33d159ef [2021-02-01T02:51:30.504Z] ---> edb906730c8e [2021-02-01T02:51:30.504Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-01T02:51:30.504Z] ---> Running in d0f31e8a2db7 [2021-02-01T02:51:30.769Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-01T02:51:31.348Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-01T02:51:32.296Z] OK: 166 MiB in 39 packages [2021-02-01T02:51:32.560Z] Removing intermediate container d0f31e8a2db7 [2021-02-01T02:51:32.560Z] ---> b5d1344cd965 [2021-02-01T02:51:32.560Z] Step 8/24 : COPY . . [2021-02-01T02:51:33.957Z] ---> 8e4244db9d97 [2021-02-01T02:51:33.957Z] Step 9/24 : RUN ${MAKE} [2021-02-01T02:51:33.957Z] ---> Running in 4aefd1c93df0 [2021-02-01T02:51:34.227Z] 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-01T02:51:44.401Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-01T02:51:45.350Z] Removing intermediate container 4aefd1c93df0 [2021-02-01T02:51:45.350Z] ---> 74961b93da64 [2021-02-01T02:51:45.350Z] Step 10/24 : FROM scratch [2021-02-01T02:51:45.350Z] ---> [2021-02-01T02:51:45.350Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:51:45.350Z] ---> Running in 494cc091b517 [2021-02-01T02:51:45.613Z] Removing intermediate container 494cc091b517 [2021-02-01T02:51:45.613Z] ---> 7eada0208e33 [2021-02-01T02:51:45.613Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-01T02:51:45.613Z] ---> Running in 6a56a9c8c9f5 [2021-02-01T02:51:45.878Z] Removing intermediate container 6a56a9c8c9f5 [2021-02-01T02:51:45.878Z] ---> f424e5dff9e2 [2021-02-01T02:51:45.878Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-01T02:51:45.878Z] ---> Running in 8d289bf1edcc [2021-02-01T02:51:46.141Z] Removing intermediate container 8d289bf1edcc [2021-02-01T02:51:46.141Z] ---> 67e9a12e6c9d [2021-02-01T02:51:46.141Z] Step 14/24 : WORKDIR / [2021-02-01T02:51:46.141Z] ---> Running in 3bc1116bb886 [2021-02-01T02:51:46.403Z] Removing intermediate container 3bc1116bb886 [2021-02-01T02:51:46.403Z] ---> 960a7dccb107 [2021-02-01T02:51:46.403Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-01T02:51:46.669Z] ---> 0bc6507352f3 [2021-02-01T02:51:46.669Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-01T02:51:46.933Z] ---> a0425a70dfe2 [2021-02-01T02:51:46.933Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-01T02:51:47.195Z] ---> 165ac607ade5 [2021-02-01T02:51:47.195Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-01T02:51:47.458Z] ---> ba923b818315 [2021-02-01T02:51:47.458Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-01T02:51:47.720Z] ---> 9bc4522eb269 [2021-02-01T02:51:47.720Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-01T02:51:47.720Z] ---> Running in d84111bef6f7 [2021-02-01T02:51:47.982Z] Removing intermediate container d84111bef6f7 [2021-02-01T02:51:47.982Z] ---> 6a3a137ddc41 [2021-02-01T02:51:47.982Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-01T02:51:47.982Z] ---> Running in 91dfe88ad71b [2021-02-01T02:51:48.244Z] Removing intermediate container 91dfe88ad71b [2021-02-01T02:51:48.244Z] ---> 345c33fef8a0 [2021-02-01T02:51:48.244Z] Step 22/24 : LABEL arch=amd64 [2021-02-01T02:51:48.244Z] ---> Running in e82f9bec6344 [2021-02-01T02:51:48.507Z] Removing intermediate container e82f9bec6344 [2021-02-01T02:51:48.507Z] ---> 8f91ee88c0f1 [2021-02-01T02:51:48.507Z] Step 23/24 : LABEL git_sha=7c02c64c2daf04df6211f93624a24cb3be82836f [2021-02-01T02:51:48.507Z] ---> Running in f3aa377c083a [2021-02-01T02:51:48.507Z] Removing intermediate container f3aa377c083a [2021-02-01T02:51:48.507Z] ---> 1dbc137c1f91 [2021-02-01T02:51:48.507Z] Step 24/24 : LABEL version=0.0.0 [2021-02-01T02:51:48.771Z] ---> Running in a6e3f382cbbe [2021-02-01T02:51:48.771Z] Removing intermediate container a6e3f382cbbe [2021-02-01T02:51:48.771Z] ---> 48cd5fd780ce [2021-02-01T02:51:48.771Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-01T02:51:48.771Z] Successfully built 48cd5fd780ce [2021-02-01T02:51:49.033Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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-01T02:51:50.527Z] provisioning config files... [2021-02-01T02:51:50.543Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4845981412917862436tmp [Pipeline] { [Pipeline] sh [2021-02-01T02:51:50.966Z] + set +x [2021-02-01T02:51:50.966Z] + bash -s -- [2021-02-01T02:51:50.966Z] + curl -s https://codecov.io/bash [2021-02-01T02:51:51.230Z] [2021-02-01T02:51:51.230Z] _____ _ [2021-02-01T02:51:51.230Z] / ____| | | [2021-02-01T02:51:51.230Z] | | ___ __| | ___ ___ _____ __ [2021-02-01T02:51:51.230Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-01T02:51:51.230Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-01T02:51:51.230Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-01T02:51:51.230Z] Bash-20210129-7c25fce [2021-02-01T02:51:51.230Z] [2021-02-01T02:51:51.230Z] [2021-02-01T02:51:51.230Z] ==> git version 2.24.3 found [2021-02-01T02:51:51.230Z] ==> 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-01T02:51:51.230Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-01T02:51:51.230Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-01T02:51:51.230Z] ==> Jenkins CI detected. [2021-02-01T02:51:51.230Z] project root: . [2021-02-01T02:51:51.230Z] --> token set from env [2021-02-01T02:51:51.230Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-01T02:51:51.230Z] ==> Running gcov in . (disable via -X gcov) [2021-02-01T02:51:51.230Z] ==> Python coveragepy not found [2021-02-01T02:51:51.230Z] ==> Searching for coverage reports in: [2021-02-01T02:51:51.230Z] + . [2021-02-01T02:51:51.230Z] -> Found 1 reports [2021-02-01T02:51:51.230Z] ==> Detecting git/mercurial file structure [2021-02-01T02:51:51.230Z] ==> Reading reports [2021-02-01T02:51:51.230Z] + ./coverage.out bytes=137332 [2021-02-01T02:51:51.230Z] ==> Appending adjustments [2021-02-01T02:51:51.230Z] https://docs.codecov.io/docs/fixing-reports [2021-02-01T02:51:51.807Z] + Found adjustments [2021-02-01T02:51:51.807Z] ==> Gzipping contents [2021-02-01T02:51:51.807Z] 24K /tmp/codecov.Mwe6hx.gz [2021-02-01T02:51:51.807Z] ==> Uploading reports [2021-02-01T02:51:51.807Z] url: https://codecov.io [2021-02-01T02:51:51.807Z] query: branch=PR-725&commit=7c02c64c2daf04df6211f93624a24cb3be82836f&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-02-01T02:51:51.807Z] -> Pinging Codecov [2021-02-01T02:51:51.808Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-725&commit=7c02c64c2daf04df6211f93624a24cb3be82836f&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-02-01T02:51:52.759Z] -> Uploading to [2021-02-01T02:51:52.759Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-01/7E55EF52A471D76F132DFD9A03CDDE97/7c02c64c2daf04df6211f93624a24cb3be82836f/2532c557-4d72-4421-b143-bcdeac29055b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210201T025152Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3755054de176a646e97fa579ef1dd8a88941309a25d94a6cad2dd32763d1a7f2 [2021-02-01T02:51:52.759Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-01T02:51:52.759Z] Dload Upload Total Spent Left Speed [2021-02-01T02:51:53.023Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21631 0 0 100 21631 0 41420 --:--:-- --:--:-- --:--:-- 41359 [2021-02-01T02:51:53.023Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7c02c64c2daf04df6211f93624a24cb3be82836f [Pipeline] } [2021-02-01T02:51:53.034Z] 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-01T02:51:55.427Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:51:55.742Z] ---> package-listing.sh [2021-02-01T02:51:55.742Z] ++ facter osfamily [2021-02-01T02:51:55.742Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-01T02:51:55.742Z] + OS_FAMILY=redhat [2021-02-01T02:51:55.742Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-02-01T02:51:55.742Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-01T02:51:55.742Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-01T02:51:55.742Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-01T02:51:55.742Z] + PACKAGES=/tmp/packages_start.txt [2021-02-01T02:51:55.742Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-02-01T02:51:55.742Z] + PACKAGES=/tmp/packages_end.txt [2021-02-01T02:51:55.742Z] + case "${OS_FAMILY}" in [2021-02-01T02:51:55.742Z] + rpm -qa [2021-02-01T02:51:55.742Z] + sort [2021-02-01T02:52:01.056Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-01T02:52:01.056Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-01T02:52:01.056Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-01T02:52:01.056Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-02-01T02:52:01.056Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-02-01T02:52:01.056Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-02-01T02:52:01.070Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-01T02:52:01.366Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:52:01.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T02:52:01.709Z] [2021-02-01T02:52:01.709Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:52:02.059Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T02:52:02.059Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-01T02:52:02.059Z] df20fa9351a1: Pulling fs layer [2021-02-01T02:52:02.059Z] 36b3adc4ff6f: Pulling fs layer [2021-02-01T02:52:02.059Z] 8ad3a11d3b57: Pulling fs layer [2021-02-01T02:52:02.059Z] 46f8f816bc3b: Pulling fs layer [2021-02-01T02:52:02.059Z] 93b61091891f: Pulling fs layer [2021-02-01T02:52:02.059Z] 93b9cdb0e59b: Pulling fs layer [2021-02-01T02:52:02.059Z] 5e14af77c1be: Pulling fs layer [2021-02-01T02:52:02.059Z] 01666e4c0597: Pulling fs layer [2021-02-01T02:52:02.059Z] aa168da1d23b: Pulling fs layer [2021-02-01T02:52:02.059Z] 93b9cdb0e59b: Waiting [2021-02-01T02:52:02.059Z] 01666e4c0597: Waiting [2021-02-01T02:52:02.059Z] aa168da1d23b: Waiting [2021-02-01T02:52:02.059Z] 46f8f816bc3b: Waiting [2021-02-01T02:52:02.059Z] 93b61091891f: Waiting [2021-02-01T02:52:02.059Z] 5e14af77c1be: Waiting [2021-02-01T02:52:02.059Z] 36b3adc4ff6f: Verifying Checksum [2021-02-01T02:52:02.059Z] 36b3adc4ff6f: Download complete [2021-02-01T02:52:02.059Z] 46f8f816bc3b: Verifying Checksum [2021-02-01T02:52:02.059Z] 46f8f816bc3b: Download complete [2021-02-01T02:52:02.059Z] df20fa9351a1: Verifying Checksum [2021-02-01T02:52:02.059Z] df20fa9351a1: Download complete [2021-02-01T02:52:02.330Z] 93b9cdb0e59b: Verifying Checksum [2021-02-01T02:52:02.330Z] 93b9cdb0e59b: Download complete [2021-02-01T02:52:02.330Z] 5e14af77c1be: Verifying Checksum [2021-02-01T02:52:02.330Z] 5e14af77c1be: Download complete [2021-02-01T02:52:02.330Z] 93b61091891f: Verifying Checksum [2021-02-01T02:52:02.330Z] 93b61091891f: Download complete [2021-02-01T02:52:02.330Z] 01666e4c0597: Download complete [2021-02-01T02:52:02.330Z] 8ad3a11d3b57: Verifying Checksum [2021-02-01T02:52:02.330Z] 8ad3a11d3b57: Download complete [2021-02-01T02:52:02.599Z] df20fa9351a1: Pull complete [2021-02-01T02:52:02.863Z] 36b3adc4ff6f: Pull complete [2021-02-01T02:52:03.456Z] 8ad3a11d3b57: Pull complete [2021-02-01T02:52:03.738Z] 46f8f816bc3b: Pull complete [2021-02-01T02:52:05.177Z] aa168da1d23b: Verifying Checksum [2021-02-01T02:52:05.177Z] aa168da1d23b: Download complete [2021-02-01T02:52:05.177Z] 93b61091891f: Pull complete [2021-02-01T02:52:05.440Z] 93b9cdb0e59b: Pull complete [2021-02-01T02:52:05.704Z] 5e14af77c1be: Pull complete [2021-02-01T02:52:05.704Z] 01666e4c0597: Pull complete [2021-02-01T02:52:13.906Z] aa168da1d23b: Pull complete [2021-02-01T02:52:13.906Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-01T02:52:13.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T02:52:13.906Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-01T02:52:14.094Z] prd-centos7-docker-4c-2g-24261 does not seem to be running inside a container [2021-02-01T02:52:14.147Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-01T02:52:17.430Z] $ docker top f146044be79e67f93ae9f8017b6ed92c389cf3d21c60b78e83359b7127825519 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:52:18.124Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-01T02:52:18.428Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-01T02:52:18.735Z] + ls /var/log/sa-host [2021-02-01T02:52:18.735Z] + sadf -c /var/log/sa-host/sa01 [2021-02-01T02:52:18.735Z] file_magic: OK [2021-02-01T02:52:18.735Z] HZ: Using current value: 100 [2021-02-01T02:52:18.735Z] file_header: OK [2021-02-01T02:52:18.735Z] 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-01T02:52:18.735Z] Statistics: [2021-02-01T02:52:18.735Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-01T02:52:18.735Z] File successfully converted to sysstat format version 12.2.1 [2021-02-01T02:52:18.735Z] + sadf -c /var/log/sa-host/sa23 [2021-02-01T02:52:18.735Z] file_magic: OK [2021-02-01T02:52:18.735Z] HZ: Using current value: 100 [2021-02-01T02:52:18.735Z] file_header: OK [2021-02-01T02:52:18.735Z] 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-01T02:52:18.735Z] Statistics: [2021-02-01T02:52:18.735Z] Hnuu...uuuununununu... [2021-02-01T02:52:18.735Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-01T02:52:19.001Z] provisioning config files... [2021-02-01T02:52:19.017Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4703750330363989088tmp [Pipeline] { [Pipeline] echo [2021-02-01T02:52:19.104Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:52:19.413Z] ---> create-netrc.sh [Pipeline] } [2021-02-01T02:52:19.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-01T02:52:19.535Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:52:19.836Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-01T02:52:19.848Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:52:20.144Z] ---> sudo-logs.sh [2021-02-01T02:52:20.144Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-01T02:52:20.155Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:52:20.455Z] ---> job-cost.sh [2021-02-01T02:52:20.455Z] lf-activate-venv: SKIPPING [2021-02-01T02:52:20.455Z] INFO: No Stack... [2021-02-01T02:52:21.405Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-01T02:52:21.982Z] INFO: Archiving Costs [Pipeline] echo [2021-02-01T02:52:21.998Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:52:22.297Z] ---> logs-deploy.sh [2021-02-01T02:52:22.297Z] lf-activate-venv: SKIPPING [2021-02-01T02:52:22.297Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/11 [2021-02-01T02:52:22.297Z] INFO: archiving workspace using pattern(s): [2021-02-01T02:52:24.219Z] Archives upload complete. [2021-02-01T02:52:24.219Z] INFO: archiving logs to Nexus