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 judehung for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 76d059c2e27a3d5d488ff0022063f09e99d334bf rather than d186eaa159911561d189635e8b28a4ab65e6ac0e Obtained Jenkinsfile from 76d059c2e27a3d5d488ff0022063f09e99d334bf 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:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-23328 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [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-753 # 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 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit d186eaa159911561d189635e8b28a4ab65e6ac0e > 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/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d186eaa159911561d189635e8b28a4ab65e6ac0e # 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 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 Merge succeeded, producing 42626c2ceaa3cff6cd32781b3c376ece08d9814c Checking out Revision 42626c2ceaa3cff6cd32781b3c376ece08d9814c (PR-753) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 42626c2ceaa3cff6cd32781b3c376ece08d9814c # timeout=10 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" > git rev-list --no-walk d186eaa159911561d189635e8b28a4ab65e6ac0e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-27T02:43:09.493Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-27T02:43:09.817Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-27T02:43:09.904Z] ========================================================= [2021-01-27T02:43:09.904Z] EdgeX Global Pipelines Version Info [2021-01-27T02:43:09.904Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:43:11.423Z] ------------------- [2021-01-27T02:43:11.423Z] stable info: [2021-01-27T02:43:11.423Z] ------------------- [2021-01-27T02:43:11.423Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T02:43:11.423Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T02:43:11.423Z] Message: update stable to v1.0.179 [2021-01-27T02:43:12.390Z] ------------------- [2021-01-27T02:43:12.390Z] experimental info: [2021-01-27T02:43:12.390Z] ------------------- [2021-01-27T02:43:12.390Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T02:43:12.390Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T02:43:12.390Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-27T02:43:12.675Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-27T02:43:12.803Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-27T02:43:12.899Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-27T02:43:13.004Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-27T02:43:13.088Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-27T02:43:13.236Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-27T02:43:13.329Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-27T02:43:13.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-27T02:43:13.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-27T02:43:13.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-27T02:43:13.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-27T02:43:13.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-27T02:43:13.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-27T02:43:14.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-27T02:43:14.137Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-27T02:43:14.282Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:43:14.375Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:43:14.506Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:43:14.615Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-27T02:43:14.699Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-27T02:43:14.799Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-27T02:43:14.927Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-27T02:43:15.017Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-27T02:43:15.100Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-27T02:43:15.214Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-27T02:43:15.316Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-27T02:43:15.459Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-27T02:43:15.547Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-753 [Pipeline] echo [2021-01-27T02:43:15.631Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-753 [Pipeline] echo [2021-01-27T02:43:15.728Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-753 [Pipeline] echo [2021-01-27T02:43:15.820Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 42626c2ceaa3cff6cd32781b3c376ece08d9814c [Pipeline] echo [2021-01-27T02:43:15.969Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 42626c2 [Pipeline] echo [2021-01-27T02:43:16.055Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T02:43:16.239Z] provisioning config files... [2021-01-27T02:43:16.281Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config7493186670747004874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:43:16.623Z] ---> docker-login.sh [2021-01-27T02:43:16.623Z] nexus3.edgexfoundry.org:10001 [2021-01-27T02:43:16.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:17.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:17.147Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:17.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:17.147Z] [2021-01-27T02:43:17.147Z] Login Succeeded [2021-01-27T02:43:17.147Z] nexus3.edgexfoundry.org:10002 [2021-01-27T02:43:17.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:17.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:17.412Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:17.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:17.412Z] [2021-01-27T02:43:17.412Z] Login Succeeded [2021-01-27T02:43:17.412Z] nexus3.edgexfoundry.org:10003 [2021-01-27T02:43:17.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:17.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:17.412Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:17.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:17.412Z] [2021-01-27T02:43:17.412Z] Login Succeeded [2021-01-27T02:43:17.412Z] nexus3.edgexfoundry.org:10004 [2021-01-27T02:43:17.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:17.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:17.673Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:17.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:17.673Z] [2021-01-27T02:43:17.673Z] Login Succeeded [2021-01-27T02:43:17.673Z] docker.io [2021-01-27T02:43:17.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:17.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:17.947Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:17.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:17.947Z] [2021-01-27T02:43:17.947Z] Login Succeeded [2021-01-27T02:43:17.947Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T02:43:17.956Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:43:18.849Z] + git log --format=format:%s -1 42626c2ceaa3cff6cd32781b3c376ece08d9814c [Pipeline] echo [2021-01-27T02:43:18.962Z] GIT_COMMIT: 42626c2ceaa3cff6cd32781b3c376ece08d9814c, Commit Message: Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD [Pipeline] echo [2021-01-27T02:43:19.020Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:43:19.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:43:19.812Z] [2021-01-27T02:43:19.812Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:43:20.193Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:43:20.193Z] latest: Pulling from edgex-devops/git-semver [2021-01-27T02:43:20.193Z] 31603596830f: Pulling fs layer [2021-01-27T02:43:20.193Z] 2a8b12db71e7: Pulling fs layer [2021-01-27T02:43:20.193Z] 6ca5941a6612: Pulling fs layer [2021-01-27T02:43:20.193Z] ecc8261a40a4: Pulling fs layer [2021-01-27T02:43:20.193Z] ecc8261a40a4: Waiting [2021-01-27T02:43:20.193Z] 2a8b12db71e7: Download complete [2021-01-27T02:43:20.193Z] 31603596830f: Verifying Checksum [2021-01-27T02:43:20.193Z] 31603596830f: Download complete [2021-01-27T02:43:20.455Z] ecc8261a40a4: Verifying Checksum [2021-01-27T02:43:20.455Z] ecc8261a40a4: Download complete [2021-01-27T02:43:20.455Z] 6ca5941a6612: Verifying Checksum [2021-01-27T02:43:20.455Z] 6ca5941a6612: Download complete [2021-01-27T02:43:20.717Z] 31603596830f: Pull complete [2021-01-27T02:43:20.981Z] 2a8b12db71e7: Pull complete [2021-01-27T02:43:21.932Z] 6ca5941a6612: Pull complete [2021-01-27T02:43:21.932Z] ecc8261a40a4: Pull complete [2021-01-27T02:43:21.932Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-27T02:43:21.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:43:21.932Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-27T02:43:22.041Z] prd-centos7-docker-4c-2g-23328 does not seem to be running inside a container [2021-01-27T02:43:22.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-753 -v /w/workspace/dgexfoundry_device-sdk-go_PR-753:/w/workspace/dgexfoundry_device-sdk-go_PR-753:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-27T02:43:24.421Z] $ docker top 68ed4826a2447006f357b83a1e2a94a7569c71b9cf731e892ed0567f730cd7db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-27T02:43:24.784Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T02:43:24.784Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T02:43:25.031Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T02:43:25.037Z] $ docker exec 68ed4826a2447006f357b83a1e2a94a7569c71b9cf731e892ed0567f730cd7db ssh-agent [2021-01-27T02:43:25.208Z] SSH_AUTH_SOCK=/tmp/ssh-2G30NZuvBI0Z/agent.11 [2021-01-27T02:43:25.208Z] SSH_AGENT_PID=17 [2021-01-27T02:43:25.221Z] Running ssh-add (command line suppressed) [2021-01-27T02:43:25.352Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_5590053251245608055.key (/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_5590053251245608055.key) [2021-01-27T02:43:25.408Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T02:43:25.747Z] + git tag --points-at HEAD [Pipeline] } [2021-01-27T02:43:25.772Z] $ docker exec --env ******** --env ******** 68ed4826a2447006f357b83a1e2a94a7569c71b9cf731e892ed0567f730cd7db ssh-agent -k [2021-01-27T02:43:25.885Z] unset SSH_AUTH_SOCK; [2021-01-27T02:43:25.886Z] unset SSH_AGENT_PID; [2021-01-27T02:43:25.886Z] echo Agent pid 17 killed; [2021-01-27T02:43:25.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-27T02:43:26.084Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T02:43:26.084Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T02:43:26.254Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T02:43:26.259Z] $ docker exec 68ed4826a2447006f357b83a1e2a94a7569c71b9cf731e892ed0567f730cd7db ssh-agent [2021-01-27T02:43:26.420Z] SSH_AUTH_SOCK=/tmp/ssh-ne7enXcsHQWb/agent.46 [2021-01-27T02:43:26.420Z] SSH_AGENT_PID=51 [2021-01-27T02:43:26.426Z] Running ssh-add (command line suppressed) [2021-01-27T02:43:26.545Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_3825044370509357599.key (/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_3825044370509357599.key) [2021-01-27T02:43:26.594Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T02:43:26.937Z] + git semver init [2021-01-27T02:43:26.937Z] # -> Open(): unable to determine branch for HEAD [2021-01-27T02:43:26.937Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-753/.git [2021-01-27T02:43:26.937Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-753 [2021-01-27T02:43:26.937Z] # $SEMVER_REMOTE_NAME = origin [2021-01-27T02:43:26.937Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-27T02:43:26.937Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-27T02:43:26.937Z] # $SEMVER_BRANCH = PR-753 [2021-01-27T02:43:26.937Z] # $SEMVER_TEMP = /tmp/semver-332172207 [2021-01-27T02:43:26.937Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-27T02:43:27.518Z] # '/tmp/semver-332172207' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-753/.semver' [2021-01-27T02:43:27.518Z] # -> Force: false [2021-01-27T02:43:27.518Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-753/.semver [Pipeline] } [2021-01-27T02:43:27.533Z] $ docker exec --env ******** --env ******** 68ed4826a2447006f357b83a1e2a94a7569c71b9cf731e892ed0567f730cd7db ssh-agent -k [2021-01-27T02:43:27.645Z] unset SSH_AUTH_SOCK; [2021-01-27T02:43:27.646Z] unset SSH_AGENT_PID; [2021-01-27T02:43:27.646Z] echo Agent pid 51 killed; [2021-01-27T02:43:27.693Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-27T02:43:28.156Z] + git semver [Pipeline] } [2021-01-27T02:43:28.175Z] $ docker stop --time=1 68ed4826a2447006f357b83a1e2a94a7569c71b9cf731e892ed0567f730cd7db [2021-01-27T02:43:29.590Z] $ docker rm -f 68ed4826a2447006f357b83a1e2a94a7569c71b9cf731e892ed0567f730cd7db [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T02:43:30.057Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-27T02:43:30.479Z] Stashed 1 file(s) [Pipeline] echo [2021-01-27T02:43:30.482Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-27T02:43:46.137Z] Still waiting to schedule task [2021-01-27T02:43:46.137Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-27T02:43:46.140Z] Still waiting to schedule task [2021-01-27T02:43:46.140Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-27T02:44:47.431Z] Running on prd-centos7-docker-4c-2g-23335 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [Pipeline] { [Pipeline] ws [2021-01-27T02:44:47.482Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-27T02:44:50.156Z] using credential edgex-jenkins-ssh [2021-01-27T02:44:50.255Z] Cloning the remote Git repository [2021-01-27T02:44:49.914Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:44:50.003Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-27T02:44:50.085Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:44:50.086Z] > git --version # timeout=10 [2021-01-27T02:44:50.095Z] > git --version # 'git version 2.24.3' [2021-01-27T02:44:50.096Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:44:50.126Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:44:51.708Z] Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit d186eaa159911561d189635e8b28a4ab65e6ac0e [2021-01-27T02:44:51.875Z] Merge succeeded, producing 27793ac0886344e49ba12c44f2df77ad66c45c20 [2021-01-27T02:44:51.876Z] Checking out Revision 27793ac0886344e49ba12c44f2df77ad66c45c20 (PR-753) [2021-01-27T02:44:50.887Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:44:50.893Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:44:50.907Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:44:50.927Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:44:50.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:44:50.932Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T02:44:51.467Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:44:51.474Z] > git checkout -f d186eaa159911561d189635e8b28a4ab65e6ac0e # timeout=10 [2021-01-27T02:44:51.555Z] > git remote # timeout=10 [2021-01-27T02:44:51.564Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T02:44:51.570Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:44:51.574Z] > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-27T02:44:51.621Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T02:44:51.640Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:44:51.650Z] > git checkout -f 27793ac0886344e49ba12c44f2df77ad66c45c20 # timeout=10 [2021-01-27T02:44:55.468Z] Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" [2021-01-27T02:44:55.473Z] > git rev-list --no-walk d186eaa159911561d189635e8b28a4ab65e6ac0e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:44:56.810Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:44:57.142Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:44:57.442Z] + sudo service docker restart [2021-01-27T02:44:57.442Z] + true [2021-01-27T02:44:57.442Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T02:44:58.901Z] provisioning config files... [2021-01-27T02:44:58.928Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1976308337516152336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:44:59.330Z] ---> docker-login.sh [2021-01-27T02:44:59.330Z] nexus3.edgexfoundry.org:10001 [2021-01-27T02:44:59.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:44:59.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:44:59.869Z] Configure a credential helper to remove this warning. See [2021-01-27T02:44:59.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:44:59.869Z] [2021-01-27T02:44:59.869Z] Login Succeeded [2021-01-27T02:44:59.869Z] nexus3.edgexfoundry.org:10002 [2021-01-27T02:44:59.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:00.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:00.137Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:00.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:00.137Z] [2021-01-27T02:45:00.137Z] Login Succeeded [2021-01-27T02:45:00.137Z] nexus3.edgexfoundry.org:10003 [2021-01-27T02:45:00.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:00.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:00.401Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:00.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:00.401Z] [2021-01-27T02:45:00.401Z] Login Succeeded [2021-01-27T02:45:00.401Z] nexus3.edgexfoundry.org:10004 [2021-01-27T02:45:00.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:00.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:00.665Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:00.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:00.665Z] [2021-01-27T02:45:00.665Z] Login Succeeded [2021-01-27T02:45:00.665Z] docker.io [2021-01-27T02:45:00.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:00.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:00.929Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:00.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:00.929Z] [2021-01-27T02:45:00.929Z] Login Succeeded [2021-01-27T02:45:00.929Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T02:45:00.940Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-27T02:45:01.406Z] ========================================================= [2021-01-27T02:45:01.406Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-27T02:45:01.406Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:45:01.767Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-27T02:45:02.045Z] Sending build context to Docker daemon 2.591MB [2021-01-27T02:45:02.045Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:45:02.045Z] Step 2/8 : FROM ${BASE} [2021-01-27T02:45:02.045Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-27T02:45:02.045Z] 188c0c94c7c5: Pulling fs layer [2021-01-27T02:45:02.045Z] 0ef7d3d256c8: Pulling fs layer [2021-01-27T02:45:02.046Z] de9db76c5a1d: Pulling fs layer [2021-01-27T02:45:02.046Z] bca2f99d35d6: Pulling fs layer [2021-01-27T02:45:02.046Z] 93359f2a8cfa: Pulling fs layer [2021-01-27T02:45:02.046Z] 7c6f9722023f: Pulling fs layer [2021-01-27T02:45:02.046Z] a35cf1a2eb13: Pulling fs layer [2021-01-27T02:45:02.046Z] 93359f2a8cfa: Waiting [2021-01-27T02:45:02.046Z] 7c6f9722023f: Waiting [2021-01-27T02:45:02.046Z] bca2f99d35d6: Waiting [2021-01-27T02:45:02.046Z] de9db76c5a1d: Verifying Checksum [2021-01-27T02:45:02.046Z] 0ef7d3d256c8: Verifying Checksum [2021-01-27T02:45:02.046Z] 0ef7d3d256c8: Download complete [2021-01-27T02:45:02.317Z] 93359f2a8cfa: Verifying Checksum [2021-01-27T02:45:02.317Z] 93359f2a8cfa: Download complete [2021-01-27T02:45:02.317Z] 7c6f9722023f: Verifying Checksum [2021-01-27T02:45:02.317Z] 7c6f9722023f: Download complete [2021-01-27T02:45:02.317Z] 188c0c94c7c5: Verifying Checksum [2021-01-27T02:45:02.317Z] 188c0c94c7c5: Download complete [2021-01-27T02:45:02.606Z] 188c0c94c7c5: Pull complete [2021-01-27T02:45:02.888Z] 0ef7d3d256c8: Pull complete [2021-01-27T02:45:02.888Z] de9db76c5a1d: Pull complete [2021-01-27T02:45:06.232Z] a35cf1a2eb13: Verifying Checksum [2021-01-27T02:45:06.232Z] a35cf1a2eb13: Download complete [2021-01-27T02:45:06.498Z] bca2f99d35d6: Verifying Checksum [2021-01-27T02:45:06.498Z] bca2f99d35d6: Download complete [2021-01-27T02:45:11.855Z] bca2f99d35d6: Pull complete [2021-01-27T02:45:11.856Z] 93359f2a8cfa: Pull complete [2021-01-27T02:45:11.856Z] 7c6f9722023f: Pull complete [2021-01-27T02:45:20.089Z] a35cf1a2eb13: Pull complete [2021-01-27T02:45:20.089Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-27T02:45:20.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-27T02:45:20.089Z] ---> a62c8e92a672 [2021-01-27T02:45:20.089Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:45:20.089Z] ---> Running in 7e7358059ec8 [2021-01-27T02:45:20.089Z] Removing intermediate container 7e7358059ec8 [2021-01-27T02:45:20.089Z] ---> b01102bc28dc [2021-01-27T02:45:20.089Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:45:20.089Z] ---> Running in 6084f5b8ac28 [2021-01-27T02:45:21.052Z] Removing intermediate container 6084f5b8ac28 [2021-01-27T02:45:21.052Z] ---> b17877167c4b [2021-01-27T02:45:21.052Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-27T02:45:21.052Z] ---> Running in 9616f177430e [2021-01-27T02:45:22.448Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T02:45:23.029Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-27T02:45:23.978Z] OK: 166 MiB in 39 packages [2021-01-27T02:45:24.555Z] Removing intermediate container 9616f177430e [2021-01-27T02:45:24.555Z] ---> 9e1c8f87475e [2021-01-27T02:45:24.555Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-27T02:45:24.555Z] ---> Running in e7ad61a85787 [2021-01-27T02:45:24.817Z] Removing intermediate container e7ad61a85787 [2021-01-27T02:45:24.817Z] ---> 959be45b5447 [2021-01-27T02:45:24.817Z] Step 7/8 : COPY . . [2021-01-27T02:45:25.789Z] ---> 0634a338ed59 [2021-01-27T02:45:25.789Z] Step 8/8 : RUN go mod download [2021-01-27T02:45:25.789Z] ---> Running in 3b4e306f8466 [2021-01-27T02:45:47.855Z] Removing intermediate container 3b4e306f8466 [2021-01-27T02:45:47.855Z] ---> cff9f92b6bf5 [2021-01-27T02:45:47.855Z] Successfully built cff9f92b6bf5 [2021-01-27T02:45:47.855Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:45:48.174Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T02:45:48.174Z] . [Pipeline] withDockerContainer [2021-01-27T02:45:48.292Z] prd-centos7-docker-4c-2g-23335 does not seem to be running inside a container [2021-01-27T02:45:48.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-27T02:45:49.186Z] $ docker top c528ef36076ae1597fb61fd63a120f9b537dadd5edf3ac77d1a3dce6294a7d2d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:45:49.691Z] + go version [2021-01-27T02:45:49.691Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-27T02:45:49.708Z] $ docker stop --time=1 c528ef36076ae1597fb61fd63a120f9b537dadd5edf3ac77d1a3dce6294a7d2d [2021-01-27T02:45:51.064Z] $ docker rm -f c528ef36076ae1597fb61fd63a120f9b537dadd5edf3ac77d1a3dce6294a7d2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:45:51.916Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T02:45:51.916Z] . [Pipeline] withDockerContainer [2021-01-27T02:45:52.027Z] prd-centos7-docker-4c-2g-23335 does not seem to be running inside a container [2021-01-27T02:45:52.114Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-27T02:45:52.841Z] $ docker top f36c91ea050aa863d62a6875099470b7c41289dabbc468a51a255b3caace50d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:45:53.361Z] + make test [2021-01-27T02:45:53.361Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-27T02:46:01.639Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-27T02:46:16.744Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-27T02:46:16.744Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-27T02:46:16.744Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-27T02:46:17.012Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 19.4% of statements [2021-01-27T02:46:20.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.450s coverage: 97.1% of statements [2021-01-27T02:46:23.517Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23341 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [Pipeline] { [Pipeline] ws [2021-01-27T02:46:23.585Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-27T02:46:28.952Z] using credential edgex-jenkins-ssh [2021-01-27T02:46:29.019Z] Cloning the remote Git repository [2021-01-27T02:46:29.071Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:46:29.183Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-27T02:46:29.281Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:46:29.282Z] > git --version # timeout=10 [2021-01-27T02:46:29.320Z] > git --version # 'git version 2.17.1' [2021-01-27T02:46:29.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:46:29.407Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:46:30.624Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:46:30.645Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:46:30.678Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:46:30.722Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:46:30.722Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:46:30.733Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T02:46:31.414Z] Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit d186eaa159911561d189635e8b28a4ab65e6ac0e [2021-01-27T02:46:31.891Z] Merge succeeded, producing d7754d7356920a253f91d3510b21ba0642bb78c7 [2021-01-27T02:46:31.891Z] Checking out Revision d7754d7356920a253f91d3510b21ba0642bb78c7 (PR-753) [2021-01-27T02:46:31.426Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:46:31.445Z] > git checkout -f d186eaa159911561d189635e8b28a4ab65e6ac0e # timeout=10 [2021-01-27T02:46:31.558Z] > git remote # timeout=10 [2021-01-27T02:46:31.645Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T02:46:31.691Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:46:31.712Z] > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-27T02:46:31.840Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T02:46:31.890Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:46:31.918Z] > git checkout -f d7754d7356920a253f91d3510b21ba0642bb78c7 # timeout=10 [2021-01-27T02:46:36.321Z] Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" [2021-01-27T02:46:36.324Z] > git rev-list --no-walk d186eaa159911561d189635e8b28a4ab65e6ac0e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:46:37.920Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:46:38.429Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:46:38.787Z] + sudo service docker restart [2021-01-27T02:46:38.787Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T02:46:41.517Z] provisioning config files... [2021-01-27T02:46:41.567Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7094560424570231108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:46:42.020Z] ---> docker-login.sh [2021-01-27T02:46:42.020Z] nexus3.edgexfoundry.org:10001 [2021-01-27T02:46:43.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:46:43.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:46:43.308Z] Configure a credential helper to remove this warning. See [2021-01-27T02:46:43.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:46:43.308Z] [2021-01-27T02:46:43.308Z] Login Succeeded [2021-01-27T02:46:43.308Z] nexus3.edgexfoundry.org:10002 [2021-01-27T02:46:43.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:46:43.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:46:43.930Z] Configure a credential helper to remove this warning. See [2021-01-27T02:46:43.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:46:43.930Z] [2021-01-27T02:46:43.930Z] Login Succeeded [2021-01-27T02:46:43.930Z] nexus3.edgexfoundry.org:10003 [2021-01-27T02:46:44.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:46:44.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:46:44.551Z] Configure a credential helper to remove this warning. See [2021-01-27T02:46:44.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:46:44.551Z] [2021-01-27T02:46:44.551Z] Login Succeeded [2021-01-27T02:46:44.551Z] nexus3.edgexfoundry.org:10004 [2021-01-27T02:46:44.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:46:45.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:46:45.102Z] Configure a credential helper to remove this warning. See [2021-01-27T02:46:45.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:46:45.102Z] [2021-01-27T02:46:45.102Z] Login Succeeded [2021-01-27T02:46:45.102Z] docker.io [2021-01-27T02:46:45.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:46:45.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:46:45.646Z] Configure a credential helper to remove this warning. See [2021-01-27T02:46:45.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:46:45.646Z] [2021-01-27T02:46:45.646Z] Login Succeeded [2021-01-27T02:46:45.646Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T02:46:45.664Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-27T02:46:46.148Z] ========================================================= [2021-01-27T02:46:46.148Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-27T02:46:46.148Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:46:46.601Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-27T02:46:46.894Z] Sending build context to Docker daemon 2.59MB [2021-01-27T02:46:47.174Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:46:47.174Z] Step 2/8 : FROM ${BASE} [2021-01-27T02:46:47.174Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-27T02:46:47.174Z] 5f621e34cdf4: Pulling fs layer [2021-01-27T02:46:47.174Z] a4357932f1b6: Pulling fs layer [2021-01-27T02:46:47.174Z] 18c013af1878: Pulling fs layer [2021-01-27T02:46:47.174Z] 00ac8860ef70: Pulling fs layer [2021-01-27T02:46:47.174Z] 63d7cb157983: Pulling fs layer [2021-01-27T02:46:47.174Z] b116817d02f9: Pulling fs layer [2021-01-27T02:46:47.174Z] 745a02a5169b: Pulling fs layer [2021-01-27T02:46:47.174Z] 00ac8860ef70: Waiting [2021-01-27T02:46:47.174Z] b116817d02f9: Waiting [2021-01-27T02:46:47.174Z] 745a02a5169b: Waiting [2021-01-27T02:46:47.174Z] 63d7cb157983: Waiting [2021-01-27T02:46:47.174Z] 18c013af1878: Verifying Checksum [2021-01-27T02:46:47.174Z] 18c013af1878: Download complete [2021-01-27T02:46:47.174Z] 63d7cb157983: Verifying Checksum [2021-01-27T02:46:47.174Z] 63d7cb157983: Download complete [2021-01-27T02:46:47.450Z] b116817d02f9: Verifying Checksum [2021-01-27T02:46:47.450Z] b116817d02f9: Download complete [2021-01-27T02:46:47.726Z] 5f621e34cdf4: Verifying Checksum [2021-01-27T02:46:47.726Z] 5f621e34cdf4: Download complete [2021-01-27T02:46:48.324Z] 5f621e34cdf4: Pull complete [2021-01-27T02:46:48.930Z] a4357932f1b6: Pull complete [2021-01-27T02:46:49.530Z] 18c013af1878: Pull complete [2021-01-27T02:46:49.806Z] 745a02a5169b: Verifying Checksum [2021-01-27T02:46:49.806Z] 745a02a5169b: Download complete [2021-01-27T02:46:51.792Z] 00ac8860ef70: Verifying Checksum [2021-01-27T02:46:51.792Z] 00ac8860ef70: Download complete [2021-01-27T02:46:52.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.065s coverage: 9.4% of statements [2021-01-27T02:46:52.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.057s coverage: 21.7% of statements [2021-01-27T02:46:52.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-27T02:46:52.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.233s coverage: 43.2% of statements [2021-01-27T02:46:52.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-27T02:46:52.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.276s coverage: 68.9% of statements [2021-01-27T02:46:52.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-27T02:46:52.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-27T02:46:52.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-27T02:46:52.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-27T02:46:52.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.070s coverage: 53.8% of statements [2021-01-27T02:46:52.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-27T02:46:52.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-27T02:46:52.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.071s coverage: 26.8% of statements [2021-01-27T02:46:52.634Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.407s coverage: 83.5% of statements [2021-01-27T02:46:52.634Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.2% of statements [2021-01-27T02:46:52.634Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-27T02:46:52.634Z] GO111MODULE=on go vet ./... [2021-01-27T02:46:59.325Z] gofmt -l . [2021-01-27T02:46:59.325Z] [ "`gofmt -l .`" = "" ] [2021-01-27T02:46:59.325Z] ./bin/test-attribution-txt.sh [2021-01-27T02:46:59.903Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-27T02:47:00.188Z] $ docker stop --time=1 f36c91ea050aa863d62a6875099470b7c41289dabbc468a51a255b3caace50d2 [2021-01-27T02:47:01.984Z] 00ac8860ef70: Pull complete [2021-01-27T02:47:01.984Z] 63d7cb157983: Pull complete [2021-01-27T02:47:01.984Z] b116817d02f9: Pull complete [2021-01-27T02:47:02.256Z] $ docker rm -f f36c91ea050aa863d62a6875099470b7c41289dabbc468a51a255b3caace50d2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T02:47:03.213Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-27T02:47:03.674Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-27T02:47:04.615Z] 745a02a5169b: Pull complete [2021-01-27T02:47:04.616Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-27T02:47:04.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-27T02:47:04.616Z] ---> b7e6874047d6 [2021-01-27T02:47:04.616Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:47:04.830Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-27T02:47:05.136Z] + ls -al . [2021-01-27T02:47:05.136Z] total 216 [2021-01-27T02:47:05.136Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 02:47 . [2021-01-27T02:47:05.136Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 02:44 .. [2021-01-27T02:47:05.136Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 02:44 bin [2021-01-27T02:47:05.136Z] -rw-r--r--. 1 jenkins jenkins 136843 Jan 27 02:46 coverage.out [2021-01-27T02:47:05.136Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 02:44 Dockerfile.build [2021-01-27T02:47:05.136Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 02:44 .dockerignore [2021-01-27T02:47:05.136Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 02:44 example [2021-01-27T02:47:05.136Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 02:44 .git [2021-01-27T02:47:05.136Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 02:44 .github [2021-01-27T02:47:05.136Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 02:44 .gitignore [2021-01-27T02:47:05.136Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 27 02:46 go.mod [2021-01-27T02:47:05.136Z] -rw-r--r--. 1 jenkins jenkins 14016 Jan 27 02:47 go.sum [2021-01-27T02:47:05.136Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 27 02:44 internal [2021-01-27T02:47:05.136Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 27 02:44 Jenkinsfile [2021-01-27T02:47:05.136Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 02:44 LICENSE [2021-01-27T02:47:05.136Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 02:44 Makefile [2021-01-27T02:47:05.136Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 02:44 openapi [2021-01-27T02:47:05.136Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 02:44 pkg [2021-01-27T02:47:05.136Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 02:44 README.md [2021-01-27T02:47:05.136Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 02:44 RELEASE-NOTES.txt [2021-01-27T02:47:05.136Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 02:44 snap [2021-01-27T02:47:05.136Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 02:43 VERSION [2021-01-27T02:47:05.136Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:47:05.449Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=42626c2ceaa3cff6cd32781b3c376ece08d9814c --label arch=amd64 --label version=0.0.0 . [2021-01-27T02:47:05.713Z] Sending build context to Docker daemon 2.728MB [2021-01-27T02:47:05.713Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:47:05.713Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-27T02:47:05.713Z] ---> cff9f92b6bf5 [2021-01-27T02:47:05.713Z] Step 3/24 : ARG MAKE='make build' [2021-01-27T02:47:05.976Z] ---> Running in 479cfc0ee27b [2021-01-27T02:47:06.240Z] Removing intermediate container 479cfc0ee27b [2021-01-27T02:47:06.240Z] ---> 446f20be4132 [2021-01-27T02:47:06.240Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-27T02:47:06.240Z] ---> Running in e63113098735 [2021-01-27T02:47:06.507Z] Removing intermediate container e63113098735 [2021-01-27T02:47:06.507Z] ---> ea08e09b23bb [2021-01-27T02:47:06.507Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:47:06.507Z] ---> Running in 723aaca37adf [2021-01-27T02:47:06.771Z] Removing intermediate container 723aaca37adf [2021-01-27T02:47:06.771Z] ---> 948aba73279d [2021-01-27T02:47:06.771Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:47:06.771Z] ---> Running in 3e9f45d3c430 [2021-01-27T02:47:07.721Z] Removing intermediate container 3e9f45d3c430 [2021-01-27T02:47:07.721Z] ---> 998834b805be [2021-01-27T02:47:07.721Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-27T02:47:07.721Z] ---> Running in a46fd1da7793 [2021-01-27T02:47:08.047Z] ---> Running in 401bb9389759 [2021-01-27T02:47:08.047Z] Removing intermediate container 401bb9389759 [2021-01-27T02:47:08.047Z] ---> e8f29c03bd25 [2021-01-27T02:47:08.047Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:47:08.047Z] ---> Running in f85e7a6c5e14 [2021-01-27T02:47:08.299Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T02:47:09.250Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-27T02:47:10.653Z] OK: 166 MiB in 39 packages [2021-01-27T02:47:10.684Z] Removing intermediate container f85e7a6c5e14 [2021-01-27T02:47:10.684Z] ---> 6c29da362f23 [2021-01-27T02:47:10.684Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-27T02:47:10.923Z] Removing intermediate container a46fd1da7793 [2021-01-27T02:47:10.923Z] ---> 25de8fd661e4 [2021-01-27T02:47:10.923Z] Step 8/24 : COPY . . [2021-01-27T02:47:10.968Z] ---> Running in 0b5ec84ec71b [2021-01-27T02:47:12.430Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T02:47:12.870Z] ---> b583ecd6d0f8 [2021-01-27T02:47:12.870Z] Step 9/24 : RUN ${MAKE} [2021-01-27T02:47:12.870Z] ---> Running in a0a50a7e0a38 [2021-01-27T02:47:13.140Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-27T02:47:13.426Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-27T02:47:14.419Z] OK: 142 MiB in 39 packages [2021-01-27T02:47:15.882Z] Removing intermediate container 0b5ec84ec71b [2021-01-27T02:47:15.882Z] ---> 59276bfba2db [2021-01-27T02:47:15.882Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-27T02:47:16.159Z] ---> Running in fa45d0f4a796 [2021-01-27T02:47:16.765Z] Removing intermediate container fa45d0f4a796 [2021-01-27T02:47:16.765Z] ---> f23a155d6947 [2021-01-27T02:47:16.765Z] Step 7/8 : COPY . . [2021-01-27T02:47:18.214Z] ---> 165f2ff8b5b2 [2021-01-27T02:47:18.214Z] Step 8/8 : RUN go mod download [2021-01-27T02:47:18.214Z] ---> Running in 86179ba8f53b [2021-01-27T02:47:21.416Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-27T02:47:24.032Z] Removing intermediate container a0a50a7e0a38 [2021-01-27T02:47:24.033Z] ---> 4c101c2bdf5d [2021-01-27T02:47:24.033Z] Step 10/24 : FROM scratch [2021-01-27T02:47:24.033Z] ---> [2021-01-27T02:47:24.033Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:47:24.033Z] ---> Running in 30e19f22dfbb [2021-01-27T02:47:24.033Z] Removing intermediate container 30e19f22dfbb [2021-01-27T02:47:24.033Z] ---> 06d4211f252d [2021-01-27T02:47:24.033Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-27T02:47:24.033Z] ---> Running in bfc0106949f8 [2021-01-27T02:47:24.033Z] Removing intermediate container bfc0106949f8 [2021-01-27T02:47:24.033Z] ---> e8be609ebcd1 [2021-01-27T02:47:24.033Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-27T02:47:24.033Z] ---> Running in bda2a382c6ae [2021-01-27T02:47:24.299Z] Removing intermediate container bda2a382c6ae [2021-01-27T02:47:24.299Z] ---> a2d56c9877f4 [2021-01-27T02:47:24.299Z] Step 14/24 : WORKDIR / [2021-01-27T02:47:24.299Z] ---> Running in 3742fb09eeff [2021-01-27T02:47:24.564Z] Removing intermediate container 3742fb09eeff [2021-01-27T02:47:24.564Z] ---> 2c2a6a84b2b9 [2021-01-27T02:47:24.564Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-27T02:47:25.140Z] ---> a794f85d6c02 [2021-01-27T02:47:25.141Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-27T02:47:25.141Z] ---> 40e7d3fdccc6 [2021-01-27T02:47:25.141Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-27T02:47:25.403Z] ---> ca81bda9d52c [2021-01-27T02:47:25.403Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-27T02:47:25.670Z] ---> c9540983732b [2021-01-27T02:47:25.670Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-27T02:47:25.951Z] ---> 7b8e5949ddfb [2021-01-27T02:47:25.951Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-27T02:47:25.951Z] ---> Running in 9717a1d5efea [2021-01-27T02:47:26.219Z] Removing intermediate container 9717a1d5efea [2021-01-27T02:47:26.219Z] ---> 3e811bb206d1 [2021-01-27T02:47:26.219Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-27T02:47:26.219Z] ---> Running in a95921b42349 [2021-01-27T02:47:26.486Z] Removing intermediate container a95921b42349 [2021-01-27T02:47:26.486Z] ---> a0fdbcb834b5 [2021-01-27T02:47:26.486Z] Step 22/24 : LABEL arch=amd64 [2021-01-27T02:47:26.486Z] ---> Running in c4ffe7a7398c [2021-01-27T02:47:26.748Z] Removing intermediate container c4ffe7a7398c [2021-01-27T02:47:26.748Z] ---> cd082c506735 [2021-01-27T02:47:26.748Z] Step 23/24 : LABEL git_sha=42626c2ceaa3cff6cd32781b3c376ece08d9814c [2021-01-27T02:47:26.748Z] ---> Running in e03cf8783ed1 [2021-01-27T02:47:27.013Z] Removing intermediate container e03cf8783ed1 [2021-01-27T02:47:27.013Z] ---> 57566aaeda4d [2021-01-27T02:47:27.013Z] Step 24/24 : LABEL version=0.0.0 [2021-01-27T02:47:27.013Z] ---> Running in 0d6530ec8fa5 [2021-01-27T02:47:27.275Z] Removing intermediate container 0d6530ec8fa5 [2021-01-27T02:47:27.275Z] ---> b5eb1235b72b [2021-01-27T02:47:27.275Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-27T02:47:27.275Z] Successfully built b5eb1235b72b [2021-01-27T02:47:27.275Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-27T02:47:40.476Z] Removing intermediate container 86179ba8f53b [2021-01-27T02:47:40.476Z] ---> c99f49553f56 [2021-01-27T02:47:40.476Z] Successfully built c99f49553f56 [2021-01-27T02:47:40.476Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:47:40.829Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T02:47:40.829Z] . [Pipeline] withDockerContainer [2021-01-27T02:47:41.130Z] prd-ubuntu18.04-docker-arm64-4c-16g-23341 does not seem to be running inside a container [2021-01-27T02:47:41.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-27T02:47:42.655Z] $ docker top 01ae94a83ca12d5ba34067116d53b1ba8de0b58a004e160fedeec31b1805c2b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:47:43.662Z] + go version [2021-01-27T02:47:43.662Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-27T02:47:43.693Z] $ docker stop --time=1 01ae94a83ca12d5ba34067116d53b1ba8de0b58a004e160fedeec31b1805c2b4 [2021-01-27T02:47:45.577Z] $ docker rm -f 01ae94a83ca12d5ba34067116d53b1ba8de0b58a004e160fedeec31b1805c2b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:47:46.598Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T02:47:46.598Z] . [Pipeline] withDockerContainer [2021-01-27T02:47:46.843Z] prd-ubuntu18.04-docker-arm64-4c-16g-23341 does not seem to be running inside a container [2021-01-27T02:47:46.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-27T02:47:48.380Z] $ docker top 8083c98112a6038ae3fdc9ebf48a3b56f97b7e0d4b72965affa86cab27d0d721 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:47:49.370Z] + make test [2021-01-27T02:47:49.370Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-27T02:48:16.233Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-27T02:49:03.283Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-27T02:49:03.283Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-27T02:49:03.283Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-27T02:49:03.283Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.134s coverage: 19.4% of statements [2021-01-27T02:49:03.283Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.305s coverage: 97.1% of statements [2021-01-27T02:49:30.173Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.127s coverage: 9.4% of statements [2021-01-27T02:49:30.173Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.108s coverage: 21.7% of statements [2021-01-27T02:49:30.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-27T02:49:30.173Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.593s coverage: 43.2% of statements [2021-01-27T02:49:30.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-27T02:49:30.173Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.822s coverage: 68.9% of statements [2021-01-27T02:49:30.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-27T02:49:30.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-27T02:49:30.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-27T02:49:30.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-27T02:49:30.173Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.191s coverage: 53.8% of statements [2021-01-27T02:49:30.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-27T02:49:30.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-27T02:49:30.173Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.198s coverage: 26.8% of statements [2021-01-27T02:49:30.173Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.746s coverage: 83.5% of statements [2021-01-27T02:49:30.173Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 4.2% of statements [2021-01-27T02:49:30.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-27T02:49:30.173Z] GO111MODULE=on go vet ./... [2021-01-27T02:50:09.265Z] gofmt -l . [2021-01-27T02:50:09.265Z] [ "`gofmt -l .`" = "" ] [2021-01-27T02:50:09.265Z] ./bin/test-attribution-txt.sh [2021-01-27T02:50:09.265Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-27T02:50:09.898Z] $ docker stop --time=1 8083c98112a6038ae3fdc9ebf48a3b56f97b7e0d4b72965affa86cab27d0d721 [2021-01-27T02:50:12.207Z] $ docker rm -f 8083c98112a6038ae3fdc9ebf48a3b56f97b7e0d4b72965affa86cab27d0d721 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T02:50:13.323Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-27T02:50:13.343Z] Warning: overwriting stash ‘coverage-report’ [2021-01-27T02:50:14.401Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:50:15.149Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-27T02:50:15.517Z] + ls -al . [2021-01-27T02:50:15.517Z] total 252 [2021-01-27T02:50:15.517Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 02:50 . [2021-01-27T02:50:15.517Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 .. [2021-01-27T02:50:15.517Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 02:46 .dockerignore [2021-01-27T02:50:15.517Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 02:46 .git [2021-01-27T02:50:15.517Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:46 .github [2021-01-27T02:50:15.517Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 02:46 .gitignore [2021-01-27T02:50:15.517Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 02:46 Dockerfile.build [2021-01-27T02:50:15.517Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 27 02:46 Jenkinsfile [2021-01-27T02:50:15.517Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 02:46 LICENSE [2021-01-27T02:50:15.517Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 02:46 Makefile [2021-01-27T02:50:15.517Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 02:46 README.md [2021-01-27T02:50:15.517Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 02:46 RELEASE-NOTES.txt [2021-01-27T02:50:15.517Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 02:43 VERSION [2021-01-27T02:50:15.517Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:46 bin [2021-01-27T02:50:15.517Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 27 02:49 coverage.out [2021-01-27T02:50:15.517Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 example [2021-01-27T02:50:15.517Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 27 02:50 go.mod [2021-01-27T02:50:15.517Z] -rw-r--r-- 1 jenkins jenkins 14016 Jan 27 02:50 go.sum [2021-01-27T02:50:15.517Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 27 02:46 internal [2021-01-27T02:50:15.517Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 openapi [2021-01-27T02:50:15.517Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 02:46 pkg [2021-01-27T02:50:15.517Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 snap [2021-01-27T02:50:15.517Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:50:15.880Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=42626c2ceaa3cff6cd32781b3c376ece08d9814c --label arch=arm64 --label version=0.0.0 . [2021-01-27T02:50:16.512Z] Sending build context to Docker daemon 2.727MB [2021-01-27T02:50:16.512Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:50:16.512Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-27T02:50:16.512Z] ---> c99f49553f56 [2021-01-27T02:50:16.512Z] Step 3/24 : ARG MAKE='make build' [2021-01-27T02:50:16.786Z] ---> Running in c1f3b667c64b [2021-01-27T02:50:17.060Z] Removing intermediate container c1f3b667c64b [2021-01-27T02:50:17.060Z] ---> c56f0c444306 [2021-01-27T02:50:17.060Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-27T02:50:17.334Z] ---> Running in 869dd83aca34 [2021-01-27T02:50:17.931Z] Removing intermediate container 869dd83aca34 [2021-01-27T02:50:17.931Z] ---> 207c869dc9e9 [2021-01-27T02:50:17.931Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:50:17.931Z] ---> Running in 09634b939200 [2021-01-27T02:50:18.529Z] Removing intermediate container 09634b939200 [2021-01-27T02:50:18.529Z] ---> 8f1e5a83dd95 [2021-01-27T02:50:18.529Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:50:18.529Z] ---> Running in 3807cfe5c84d [2021-01-27T02:50:21.160Z] Removing intermediate container 3807cfe5c84d [2021-01-27T02:50:21.160Z] ---> a68b67dc827a [2021-01-27T02:50:21.160Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-27T02:50:21.160Z] ---> Running in d50a0bc7661d [2021-01-27T02:50:22.153Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T02:50:23.134Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-27T02:50:23.734Z] OK: 142 MiB in 39 packages [2021-01-27T02:50:25.172Z] Removing intermediate container d50a0bc7661d [2021-01-27T02:50:25.172Z] ---> 4cbd8c438f76 [2021-01-27T02:50:25.172Z] Step 8/24 : COPY . . [2021-01-27T02:50:26.610Z] ---> c939d1fa4b7f [2021-01-27T02:50:26.610Z] Step 9/24 : RUN ${MAKE} [2021-01-27T02:50:26.610Z] ---> Running in d01b028666aa [2021-01-27T02:50:27.598Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-27T02:50:54.425Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-27T02:50:57.066Z] Removing intermediate container d01b028666aa [2021-01-27T02:50:57.066Z] ---> 1a6c0bedeeb5 [2021-01-27T02:50:57.066Z] Step 10/24 : FROM scratch [2021-01-27T02:50:57.066Z] ---> [2021-01-27T02:50:57.066Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:50:57.342Z] ---> Running in 2e6eba3702c8 [2021-01-27T02:50:57.937Z] Removing intermediate container 2e6eba3702c8 [2021-01-27T02:50:57.937Z] ---> cf61428a07e0 [2021-01-27T02:50:57.937Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-27T02:50:57.937Z] ---> Running in 17c4590288e9 [2021-01-27T02:50:58.536Z] Removing intermediate container 17c4590288e9 [2021-01-27T02:50:58.536Z] ---> 085969be0ed0 [2021-01-27T02:50:58.536Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-27T02:50:58.536Z] ---> Running in fb19268ed31f [2021-01-27T02:50:58.808Z] Removing intermediate container fb19268ed31f [2021-01-27T02:50:58.808Z] ---> b64984259eba [2021-01-27T02:50:58.808Z] Step 14/24 : WORKDIR / [2021-01-27T02:50:59.081Z] ---> Running in 61ba10b3c42f [2021-01-27T02:50:59.676Z] Removing intermediate container 61ba10b3c42f [2021-01-27T02:50:59.676Z] ---> fb4acb3b7a8c [2021-01-27T02:50:59.676Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-27T02:51:00.659Z] ---> 1dfea861d27f [2021-01-27T02:51:00.659Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-27T02:51:01.256Z] ---> adcabd8baa6c [2021-01-27T02:51:01.256Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-27T02:51:03.237Z] ---> 05553ebea0ea [2021-01-27T02:51:03.237Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-27T02:51:03.237Z] ---> 9d6c8e34268f [2021-01-27T02:51:03.237Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-27T02:51:03.513Z] ---> 35ef90de2b33 [2021-01-27T02:51:03.513Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-27T02:51:03.786Z] ---> Running in 02a86f429cd3 [2021-01-27T02:51:04.385Z] Removing intermediate container 02a86f429cd3 [2021-01-27T02:51:04.385Z] ---> 3db633dc09a7 [2021-01-27T02:51:04.386Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-27T02:51:04.386Z] ---> Running in c21e48dd3df4 [2021-01-27T02:51:04.983Z] Removing intermediate container c21e48dd3df4 [2021-01-27T02:51:04.983Z] ---> f1293b71812f [2021-01-27T02:51:04.983Z] Step 22/24 : LABEL arch=arm64 [2021-01-27T02:51:04.983Z] ---> Running in f1a514c429b0 [2021-01-27T02:51:05.582Z] Removing intermediate container f1a514c429b0 [2021-01-27T02:51:05.582Z] ---> a29499201376 [2021-01-27T02:51:05.582Z] Step 23/24 : LABEL git_sha=42626c2ceaa3cff6cd32781b3c376ece08d9814c [2021-01-27T02:51:05.582Z] ---> Running in cf9e1738d0f0 [2021-01-27T02:51:06.185Z] Removing intermediate container cf9e1738d0f0 [2021-01-27T02:51:06.185Z] ---> 78fd52192185 [2021-01-27T02:51:06.185Z] Step 24/24 : LABEL version=0.0.0 [2021-01-27T02:51:06.185Z] ---> Running in 4d74862b2849 [2021-01-27T02:51:06.780Z] Removing intermediate container 4d74862b2849 [2021-01-27T02:51:06.780Z] ---> 3ae3ed2afe07 [2021-01-27T02:51:06.780Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-27T02:51:06.780Z] Successfully built 3ae3ed2afe07 [2021-01-27T02:51:06.780Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-27T02:51:08.182Z] provisioning config files... [2021-01-27T02:51:08.209Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config2704172425819895137tmp [Pipeline] { [Pipeline] sh [2021-01-27T02:51:08.574Z] + set +x [2021-01-27T02:51:08.574Z] + curl -s https://codecov.io/bash [2021-01-27T02:51:08.574Z] + bash -s -- [2021-01-27T02:51:08.837Z] [2021-01-27T02:51:08.837Z] _____ _ [2021-01-27T02:51:08.837Z] / ____| | | [2021-01-27T02:51:08.837Z] | | ___ __| | ___ ___ _____ __ [2021-01-27T02:51:08.837Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-27T02:51:08.837Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-27T02:51:08.837Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-27T02:51:08.837Z] Bash-20210115-cec3c92 [2021-01-27T02:51:08.837Z] [2021-01-27T02:51:08.837Z] [2021-01-27T02:51:08.837Z] ==> git version 2.24.3 found [2021-01-27T02:51:08.837Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-27T02:51:08.837Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-27T02:51:08.837Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-27T02:51:08.837Z] ==> Jenkins CI detected. [2021-01-27T02:51:08.837Z] project root: . [2021-01-27T02:51:08.837Z] --> token set from env [2021-01-27T02:51:08.837Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-27T02:51:08.837Z] ==> Running gcov in . (disable via -X gcov) [2021-01-27T02:51:08.837Z] ==> Python coveragepy not found [2021-01-27T02:51:08.837Z] ==> Searching for coverage reports in: [2021-01-27T02:51:08.837Z] + . [2021-01-27T02:51:08.837Z] -> Found 1 reports [2021-01-27T02:51:08.837Z] ==> Detecting git/mercurial file structure [2021-01-27T02:51:08.837Z] ==> Reading reports [2021-01-27T02:51:08.837Z] + ./coverage.out bytes=136842 [2021-01-27T02:51:08.837Z] ==> Appending adjustments [2021-01-27T02:51:08.837Z] https://docs.codecov.io/docs/fixing-reports [2021-01-27T02:51:09.412Z] + Found adjustments [2021-01-27T02:51:09.412Z] ==> Gzipping contents [2021-01-27T02:51:09.412Z] 24K /tmp/codecov.Wkk3VQ.gz [2021-01-27T02:51:09.412Z] ==> Uploading reports [2021-01-27T02:51:09.412Z] url: https://codecov.io [2021-01-27T02:51:09.412Z] query: branch=PR-753&commit=42626c2ceaa3cff6cd32781b3c376ece08d9814c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-753%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=753&job=&cmd_args= [2021-01-27T02:51:09.412Z] -> Pinging Codecov [2021-01-27T02:51:09.412Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-753&commit=42626c2ceaa3cff6cd32781b3c376ece08d9814c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-753%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=753&job=&cmd_args= [2021-01-27T02:51:09.676Z] -> Uploading to [2021-01-27T02:51:09.676Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/42626c2ceaa3cff6cd32781b3c376ece08d9814c/b28d69d9-ef3c-4e56-8be9-d68c5c5e576f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T025109Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=28912afa05eae50ddaae8fb84f8c5f83a83a9d2b46d119208968e95304de8b0f [2021-01-27T02:51:09.676Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-27T02:51:09.676Z] Dload Upload Total Spent Left Speed [2021-01-27T02:51:10.253Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21553 0 0 100 21553 0 49709 --:--:-- --:--:-- --:--:-- 49775 [2021-01-27T02:51:10.253Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/42626c2ceaa3cff6cd32781b3c376ece08d9814c [Pipeline] } [2021-01-27T02:51:10.263Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:12.815Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:13.392Z] ---> package-listing.sh [2021-01-27T02:51:13.392Z] ++ facter osfamily [2021-01-27T02:51:13.392Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-27T02:51:13.392Z] + OS_FAMILY=redhat [2021-01-27T02:51:13.392Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-753 [2021-01-27T02:51:13.392Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-27T02:51:13.392Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-27T02:51:13.392Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-27T02:51:13.392Z] + PACKAGES=/tmp/packages_start.txt [2021-01-27T02:51:13.392Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-753 ']' [2021-01-27T02:51:13.392Z] + PACKAGES=/tmp/packages_end.txt [2021-01-27T02:51:13.392Z] + case "${OS_FAMILY}" in [2021-01-27T02:51:13.392Z] + rpm -qa [2021-01-27T02:51:13.392Z] + sort [2021-01-27T02:51:18.721Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-27T02:51:18.721Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-27T02:51:18.721Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-27T02:51:18.721Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-753 ']' [2021-01-27T02:51:18.721Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-753/archives/ [2021-01-27T02:51:18.721Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-753/archives/ [Pipeline] echo [2021-01-27T02:51:18.736Z] 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-753/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-27T02:51:19.035Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:51:19.344Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:51:19.344Z] [2021-01-27T02:51:19.344Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:51:19.705Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:51:19.705Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-27T02:51:19.705Z] df20fa9351a1: Pulling fs layer [2021-01-27T02:51:19.705Z] 36b3adc4ff6f: Pulling fs layer [2021-01-27T02:51:19.705Z] 8ad3a11d3b57: Pulling fs layer [2021-01-27T02:51:19.705Z] 46f8f816bc3b: Pulling fs layer [2021-01-27T02:51:19.705Z] 93b61091891f: Pulling fs layer [2021-01-27T02:51:19.705Z] 93b9cdb0e59b: Pulling fs layer [2021-01-27T02:51:19.705Z] 5e14af77c1be: Pulling fs layer [2021-01-27T02:51:19.705Z] 01666e4c0597: Pulling fs layer [2021-01-27T02:51:19.705Z] aa168da1d23b: Pulling fs layer [2021-01-27T02:51:19.705Z] 01666e4c0597: Waiting [2021-01-27T02:51:19.706Z] 93b9cdb0e59b: Waiting [2021-01-27T02:51:19.706Z] aa168da1d23b: Waiting [2021-01-27T02:51:19.706Z] 93b61091891f: Waiting [2021-01-27T02:51:19.706Z] 46f8f816bc3b: Waiting [2021-01-27T02:51:19.706Z] 5e14af77c1be: Waiting [2021-01-27T02:51:19.706Z] 36b3adc4ff6f: Verifying Checksum [2021-01-27T02:51:19.706Z] 36b3adc4ff6f: Download complete [2021-01-27T02:51:19.706Z] 46f8f816bc3b: Verifying Checksum [2021-01-27T02:51:19.706Z] 46f8f816bc3b: Download complete [2021-01-27T02:51:19.706Z] df20fa9351a1: Verifying Checksum [2021-01-27T02:51:19.706Z] df20fa9351a1: Download complete [2021-01-27T02:51:19.706Z] 93b9cdb0e59b: Verifying Checksum [2021-01-27T02:51:19.706Z] 93b9cdb0e59b: Download complete [2021-01-27T02:51:19.969Z] 5e14af77c1be: Verifying Checksum [2021-01-27T02:51:19.969Z] 5e14af77c1be: Download complete [2021-01-27T02:51:19.969Z] 01666e4c0597: Download complete [2021-01-27T02:51:19.969Z] 93b61091891f: Download complete [2021-01-27T02:51:19.969Z] 8ad3a11d3b57: Verifying Checksum [2021-01-27T02:51:19.969Z] 8ad3a11d3b57: Download complete [2021-01-27T02:51:20.234Z] df20fa9351a1: Pull complete [2021-01-27T02:51:20.501Z] 36b3adc4ff6f: Pull complete [2021-01-27T02:51:21.471Z] 8ad3a11d3b57: Pull complete [2021-01-27T02:51:21.471Z] 46f8f816bc3b: Pull complete [2021-01-27T02:51:22.440Z] aa168da1d23b: Verifying Checksum [2021-01-27T02:51:22.440Z] aa168da1d23b: Download complete [2021-01-27T02:51:22.440Z] 93b61091891f: Pull complete [2021-01-27T02:51:22.440Z] 93b9cdb0e59b: Pull complete [2021-01-27T02:51:22.703Z] 5e14af77c1be: Pull complete [2021-01-27T02:51:22.703Z] 01666e4c0597: Pull complete [2021-01-27T02:51:29.363Z] aa168da1d23b: Pull complete [2021-01-27T02:51:29.363Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-27T02:51:29.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:51:29.363Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-27T02:51:29.575Z] prd-centos7-docker-4c-2g-23328 does not seem to be running inside a container [2021-01-27T02:51:29.631Z] $ 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-753/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-753 -v /w/workspace/dgexfoundry_device-sdk-go_PR-753:/w/workspace/dgexfoundry_device-sdk-go_PR-753:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-27T02:51:33.156Z] $ docker top 753a3a86f838161f3cc3842984094285c9554d98c188d151cdde5398b74240eb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:51:33.746Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-27T02:51:34.053Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-27T02:51:34.356Z] + ls /var/log/sa-host [2021-01-27T02:51:34.356Z] + sadf -c /var/log/sa-host/sa23 [2021-01-27T02:51:34.356Z] file_magic: OK [2021-01-27T02:51:34.356Z] HZ: Using current value: 100 [2021-01-27T02:51:34.356Z] file_header: OK [2021-01-27T02:51:34.356Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-27T02:51:34.356Z] Statistics: [2021-01-27T02:51:34.356Z] Hnuu...uuuununununu... [2021-01-27T02:51:34.356Z] File successfully converted to sysstat format version 12.2.1 [2021-01-27T02:51:34.356Z] + sadf -c /var/log/sa-host/sa27 [2021-01-27T02:51:34.356Z] file_magic: OK [2021-01-27T02:51:34.356Z] HZ: Using current value: 100 [2021-01-27T02:51:34.356Z] file_header: OK [2021-01-27T02:51:34.356Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-27T02:51:34.356Z] Statistics: [2021-01-27T02:51:34.356Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-27T02:51:34.356Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-27T02:51:34.563Z] provisioning config files... [2021-01-27T02:51:34.579Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config5421974816410550847tmp [Pipeline] { [Pipeline] echo [2021-01-27T02:51:34.653Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:34.953Z] ---> create-netrc.sh [Pipeline] } [2021-01-27T02:51:34.963Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-27T02:51:35.073Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:35.371Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-27T02:51:35.396Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:35.698Z] ---> sudo-logs.sh [2021-01-27T02:51:35.698Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-27T02:51:35.709Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:36.006Z] ---> job-cost.sh [2021-01-27T02:51:36.006Z] lf-activate-venv: SKIPPING [2021-01-27T02:51:36.006Z] INFO: No Stack... [2021-01-27T02:51:36.951Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-27T02:51:37.526Z] INFO: Archiving Costs [Pipeline] echo [2021-01-27T02:51:37.540Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:37.836Z] ---> logs-deploy.sh [2021-01-27T02:51:37.836Z] lf-activate-venv: SKIPPING [2021-01-27T02:51:37.836Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-753/2 [2021-01-27T02:51:37.836Z] INFO: archiving workspace using pattern(s): [2021-01-27T02:51:39.229Z] Archives upload complete. [2021-01-27T02:51:39.495Z] INFO: archiving logs to Nexus