Pull request #718 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 15155f8d4d0a78201bd6a0f8f51654573cf11e3f+4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 (db104b6ff87f1b030b97ac5114d2d2b5f9d9b6ac) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Running on prd-centos7-docker-4c-2g-20951 in /w/workspace/dgexfoundry_device-sdk-go_PR-718 [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-718 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/718/head:refs/remotes/origin/PR-718 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 15155f8d4d0a78201bd6a0f8f51654573cf11e3f Merge succeeded, producing 15155f8d4d0a78201bd6a0f8f51654573cf11e3f Checking out Revision 15155f8d4d0a78201bd6a0f8f51654573cf11e3f (PR-718) > git config core.sparsecheckout # timeout=10 > git checkout -f 15155f8d4d0a78201bd6a0f8f51654573cf11e3f # 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 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 15155f8d4d0a78201bd6a0f8f51654573cf11e3f # timeout=10 Commit message: "docs(v2): update schema to be consistent with edgex-go" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-18T08:01:55.461Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk cbe22a10cbaca5064312735e40c4b079ab860499 # timeout=10 [2021-01-18T08:01:55.800Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-18T08:01:55.903Z] ========================================================= [2021-01-18T08:01:55.903Z] EdgeX Global Pipelines Version Info [2021-01-18T08:01:55.903Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:01:57.411Z] ------------------- [2021-01-18T08:01:57.411Z] stable info: [2021-01-18T08:01:57.411Z] ------------------- [2021-01-18T08:01:57.411Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-18T08:01:57.411Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-18T08:01:57.411Z] Message: update stable to v1.0.177 [2021-01-18T08:01:58.357Z] ------------------- [2021-01-18T08:01:58.357Z] experimental info: [2021-01-18T08:01:58.357Z] ------------------- [2021-01-18T08:01:58.357Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-18T08:01:58.357Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-18T08:01:58.357Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-18T08:01:58.647Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-18T08:01:58.754Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-18T08:01:58.861Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-18T08:01:58.962Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-18T08:01:59.079Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-18T08:01:59.231Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-18T08:01:59.332Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-18T08:01:59.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-18T08:01:59.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-18T08:01:59.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-18T08:01:59.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-18T08:01:59.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-18T08:01:59.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-18T08:02:00.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-18T08:02:00.162Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-18T08:02:00.278Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-18T08:02:00.390Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-18T08:02:00.489Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-18T08:02:00.600Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-18T08:02:00.775Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-18T08:02:00.889Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-18T08:02:00.979Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-18T08:02:01.077Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-18T08:02:01.170Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-18T08:02:01.256Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-18T08:02:01.352Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-18T08:02:01.444Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-18T08:02:01.539Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-718 [Pipeline] echo [2021-01-18T08:02:01.647Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-718 [Pipeline] echo [2021-01-18T08:02:01.762Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-718 [Pipeline] echo [2021-01-18T08:02:01.873Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 15155f8d4d0a78201bd6a0f8f51654573cf11e3f [Pipeline] echo [2021-01-18T08:02:01.964Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 15155f8 [Pipeline] echo [2021-01-18T08:02:02.057Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T08:02:02.236Z] provisioning config files... [2021-01-18T08:02:02.261Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/config7033075022521894011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:02:02.624Z] ---> docker-login.sh [2021-01-18T08:02:02.624Z] nexus3.edgexfoundry.org:10001 [2021-01-18T08:02:02.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:02:03.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:02:03.147Z] Configure a credential helper to remove this warning. See [2021-01-18T08:02:03.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:02:03.147Z] [2021-01-18T08:02:03.147Z] Login Succeeded [2021-01-18T08:02:03.147Z] nexus3.edgexfoundry.org:10002 [2021-01-18T08:02:03.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:02:03.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:02:03.147Z] Configure a credential helper to remove this warning. See [2021-01-18T08:02:03.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:02:03.147Z] [2021-01-18T08:02:03.147Z] Login Succeeded [2021-01-18T08:02:03.147Z] nexus3.edgexfoundry.org:10003 [2021-01-18T08:02:03.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:02:03.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:02:03.410Z] Configure a credential helper to remove this warning. See [2021-01-18T08:02:03.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:02:03.410Z] [2021-01-18T08:02:03.410Z] Login Succeeded [2021-01-18T08:02:03.410Z] nexus3.edgexfoundry.org:10004 [2021-01-18T08:02:03.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:02:03.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:02:03.671Z] Configure a credential helper to remove this warning. See [2021-01-18T08:02:03.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:02:03.671Z] [2021-01-18T08:02:03.671Z] Login Succeeded [2021-01-18T08:02:03.671Z] docker.io [2021-01-18T08:02:03.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:02:03.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:02:03.933Z] Configure a credential helper to remove this warning. See [2021-01-18T08:02:03.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:02:03.933Z] [2021-01-18T08:02:03.933Z] Login Succeeded [2021-01-18T08:02:03.933Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T08:02:03.941Z] 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-18T08:02:04.812Z] + git log --format=format:%s -1 15155f8d4d0a78201bd6a0f8f51654573cf11e3f [Pipeline] echo [2021-01-18T08:02:04.879Z] GIT_COMMIT: 15155f8d4d0a78201bd6a0f8f51654573cf11e3f, Commit Message: docs(v2): update schema to be consistent with edgex-go [Pipeline] echo [2021-01-18T08:02:04.925Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:02:05.884Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T08:02:05.885Z] [2021-01-18T08:02:05.885Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:02:06.241Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T08:02:06.241Z] latest: Pulling from edgex-devops/git-semver [2021-01-18T08:02:06.241Z] 31603596830f: Pulling fs layer [2021-01-18T08:02:06.241Z] 2a8b12db71e7: Pulling fs layer [2021-01-18T08:02:06.241Z] 6ca5941a6612: Pulling fs layer [2021-01-18T08:02:06.241Z] ecc8261a40a4: Pulling fs layer [2021-01-18T08:02:06.241Z] ecc8261a40a4: Waiting [2021-01-18T08:02:06.241Z] 2a8b12db71e7: Verifying Checksum [2021-01-18T08:02:06.241Z] 2a8b12db71e7: Download complete [2021-01-18T08:02:06.241Z] 31603596830f: Verifying Checksum [2021-01-18T08:02:06.241Z] 31603596830f: Download complete [2021-01-18T08:02:06.505Z] 6ca5941a6612: Verifying Checksum [2021-01-18T08:02:06.505Z] 6ca5941a6612: Download complete [2021-01-18T08:02:06.505Z] ecc8261a40a4: Verifying Checksum [2021-01-18T08:02:06.505Z] ecc8261a40a4: Download complete [2021-01-18T08:02:06.767Z] 31603596830f: Pull complete [2021-01-18T08:02:06.767Z] 2a8b12db71e7: Pull complete [2021-01-18T08:02:07.717Z] 6ca5941a6612: Pull complete [2021-01-18T08:02:07.717Z] ecc8261a40a4: Pull complete [2021-01-18T08:02:07.717Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-18T08:02:07.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T08:02:07.717Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-18T08:02:07.819Z] prd-centos7-docker-4c-2g-20951 does not seem to be running inside a container [2021-01-18T08:02:07.864Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-718 -v /w/workspace/dgexfoundry_device-sdk-go_PR-718:/w/workspace/dgexfoundry_device-sdk-go_PR-718:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-718@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-18T08:02:10.263Z] $ docker top fcfb859916dd55fdb369a6402f5f88f2f72a8e77d78ca837277f89386c5c11ea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-18T08:02:10.681Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-18T08:02:10.681Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-18T08:02:10.933Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-18T08:02:10.937Z] $ docker exec fcfb859916dd55fdb369a6402f5f88f2f72a8e77d78ca837277f89386c5c11ea ssh-agent [2021-01-18T08:02:11.092Z] SSH_AUTH_SOCK=/tmp/ssh-e8MqYRi4eQU2/agent.13 [2021-01-18T08:02:11.092Z] SSH_AGENT_PID=18 [2021-01-18T08:02:11.102Z] Running ssh-add (command line suppressed) [2021-01-18T08:02:11.230Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_3702829905074540333.key (/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_3702829905074540333.key) [2021-01-18T08:02:11.282Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-18T08:02:11.615Z] + git tag --points-at HEAD [Pipeline] } [2021-01-18T08:02:11.701Z] $ docker exec --env ******** --env ******** fcfb859916dd55fdb369a6402f5f88f2f72a8e77d78ca837277f89386c5c11ea ssh-agent -k [2021-01-18T08:02:11.813Z] unset SSH_AUTH_SOCK; [2021-01-18T08:02:11.813Z] unset SSH_AGENT_PID; [2021-01-18T08:02:11.813Z] echo Agent pid 18 killed; [2021-01-18T08:02:11.860Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-18T08:02:12.015Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-18T08:02:12.015Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-18T08:02:12.178Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-18T08:02:12.181Z] $ docker exec fcfb859916dd55fdb369a6402f5f88f2f72a8e77d78ca837277f89386c5c11ea ssh-agent [2021-01-18T08:02:12.341Z] SSH_AUTH_SOCK=/tmp/ssh-d1pqbZqYU3lG/agent.47 [2021-01-18T08:02:12.341Z] SSH_AGENT_PID=53 [2021-01-18T08:02:12.347Z] Running ssh-add (command line suppressed) [2021-01-18T08:02:12.471Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_942904142022437933.key (/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_942904142022437933.key) [2021-01-18T08:02:12.525Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-18T08:02:12.872Z] + git semver init [2021-01-18T08:02:12.873Z] # -> Open(): unable to determine branch for HEAD [2021-01-18T08:02:12.873Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-718/.git [2021-01-18T08:02:12.873Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-718 [2021-01-18T08:02:12.873Z] # $SEMVER_REMOTE_NAME = origin [2021-01-18T08:02:12.873Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-18T08:02:12.873Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-18T08:02:12.873Z] # $SEMVER_BRANCH = PR-718 [2021-01-18T08:02:12.873Z] # $SEMVER_TEMP = /tmp/semver-167370861 [2021-01-18T08:02:12.873Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-18T08:02:13.447Z] # '/tmp/semver-167370861' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-718/.semver' [2021-01-18T08:02:13.708Z] # -> Force: false [2021-01-18T08:02:13.708Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-718/.semver [Pipeline] } [2021-01-18T08:02:13.719Z] $ docker exec --env ******** --env ******** fcfb859916dd55fdb369a6402f5f88f2f72a8e77d78ca837277f89386c5c11ea ssh-agent -k [2021-01-18T08:02:13.830Z] unset SSH_AUTH_SOCK; [2021-01-18T08:02:13.830Z] unset SSH_AGENT_PID; [2021-01-18T08:02:13.830Z] echo Agent pid 53 killed; [2021-01-18T08:02:13.878Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-18T08:02:14.349Z] + git semver [Pipeline] } [2021-01-18T08:02:14.365Z] $ docker stop --time=1 fcfb859916dd55fdb369a6402f5f88f2f72a8e77d78ca837277f89386c5c11ea [2021-01-18T08:02:15.901Z] $ docker rm -f fcfb859916dd55fdb369a6402f5f88f2f72a8e77d78ca837277f89386c5c11ea [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-18T08:02:16.370Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-18T08:02:16.832Z] Stashed 1 file(s) [Pipeline] echo [2021-01-18T08:02:16.835Z] [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-18T08:02:17.524Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20955 in /w/workspace/dgexfoundry_device-sdk-go_PR-718 [Pipeline] { [Pipeline] ws [2021-01-18T08:02:17.571Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2021-01-18T08:02:22.415Z] using credential edgex-jenkins-ssh [2021-01-18T08:02:22.479Z] Cloning the remote Git repository [2021-01-18T08:02:22.526Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T08:02:22.632Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2021-01-18T08:02:22.715Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T08:02:22.716Z] > git --version # timeout=10 [2021-01-18T08:02:22.736Z] > git --version # 'git version 2.17.1' [2021-01-18T08:02:22.738Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T08:02:22.793Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T08:02:24.705Z] Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 15155f8d4d0a78201bd6a0f8f51654573cf11e3f [2021-01-18T08:02:24.929Z] Merge succeeded, producing 15155f8d4d0a78201bd6a0f8f51654573cf11e3f [2021-01-18T08:02:24.930Z] Checking out Revision 15155f8d4d0a78201bd6a0f8f51654573cf11e3f (PR-718) [2021-01-18T08:02:23.897Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-18T08:02:23.915Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T08:02:23.940Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-18T08:02:23.979Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T08:02:23.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T08:02:23.990Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/718/head:refs/remotes/origin/PR-718 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-18T08:02:24.712Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T08:02:24.726Z] > git checkout -f 15155f8d4d0a78201bd6a0f8f51654573cf11e3f # timeout=10 [2021-01-18T08:02:24.833Z] > git remote # timeout=10 [2021-01-18T08:02:24.848Z] > git config --get remote.origin.url # timeout=10 [2021-01-18T08:02:24.867Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T08:02:24.879Z] > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 [2021-01-18T08:02:24.902Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-18T08:02:24.928Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T08:02:24.939Z] > git checkout -f 15155f8d4d0a78201bd6a0f8f51654573cf11e3f # timeout=10 [2021-01-18T08:02:29.201Z] Commit message: "docs(v2): update schema to be consistent with edgex-go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T08:02:30.735Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-18T08:02:31.136Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-18T08:02:31.478Z] + true [2021-01-18T08:02:31.478Z] + sudo service docker restart [2021-01-18T08:02:32.330Z] Still waiting to schedule task [2021-01-18T08:02:32.330Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T08:02:33.551Z] provisioning config files... [2021-01-18T08:02:33.604Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config4575583309399647696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:02:34.012Z] ---> docker-login.sh [2021-01-18T08:02:34.013Z] nexus3.edgexfoundry.org:10001 [2021-01-18T08:02:34.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:02:35.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:02:35.271Z] Configure a credential helper to remove this warning. See [2021-01-18T08:02:35.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:02:35.271Z] [2021-01-18T08:02:35.271Z] Login Succeeded [2021-01-18T08:02:35.271Z] nexus3.edgexfoundry.org:10002 [2021-01-18T08:02:35.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:02:35.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:02:35.826Z] Configure a credential helper to remove this warning. See [2021-01-18T08:02:35.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:02:35.826Z] [2021-01-18T08:02:35.826Z] Login Succeeded [2021-01-18T08:02:35.826Z] nexus3.edgexfoundry.org:10003 [2021-01-18T08:02:36.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:02:36.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:02:36.102Z] Configure a credential helper to remove this warning. See [2021-01-18T08:02:36.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:02:36.102Z] [2021-01-18T08:02:36.102Z] Login Succeeded [2021-01-18T08:02:36.102Z] nexus3.edgexfoundry.org:10004 [2021-01-18T08:02:36.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:02:36.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:02:36.707Z] Configure a credential helper to remove this warning. See [2021-01-18T08:02:36.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:02:36.707Z] [2021-01-18T08:02:36.707Z] Login Succeeded [2021-01-18T08:02:36.707Z] docker.io [2021-01-18T08:02:36.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:02:37.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:02:37.256Z] Configure a credential helper to remove this warning. See [2021-01-18T08:02:37.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:02:37.256Z] [2021-01-18T08:02:37.256Z] Login Succeeded [2021-01-18T08:02:37.256Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T08:02:37.274Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-18T08:02:37.806Z] ========================================================= [2021-01-18T08:02:37.806Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-18T08:02:37.806Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:02:38.184Z] + 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-18T08:02:38.794Z] Sending build context to Docker daemon 2.553MB [2021-01-18T08:02:38.794Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T08:02:38.794Z] Step 2/8 : FROM ${BASE} [2021-01-18T08:02:38.794Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-18T08:02:38.794Z] 5f621e34cdf4: Pulling fs layer [2021-01-18T08:02:38.794Z] a4357932f1b6: Pulling fs layer [2021-01-18T08:02:38.794Z] 18c013af1878: Pulling fs layer [2021-01-18T08:02:38.794Z] 00ac8860ef70: Pulling fs layer [2021-01-18T08:02:38.794Z] 63d7cb157983: Pulling fs layer [2021-01-18T08:02:38.794Z] b116817d02f9: Pulling fs layer [2021-01-18T08:02:38.794Z] 745a02a5169b: Pulling fs layer [2021-01-18T08:02:38.794Z] 00ac8860ef70: Waiting [2021-01-18T08:02:38.794Z] 63d7cb157983: Waiting [2021-01-18T08:02:38.794Z] b116817d02f9: Waiting [2021-01-18T08:02:38.794Z] 745a02a5169b: Waiting [2021-01-18T08:02:38.794Z] 18c013af1878: Verifying Checksum [2021-01-18T08:02:38.794Z] 18c013af1878: Download complete [2021-01-18T08:02:38.794Z] a4357932f1b6: Download complete [2021-01-18T08:02:38.794Z] 63d7cb157983: Verifying Checksum [2021-01-18T08:02:38.794Z] 63d7cb157983: Download complete [2021-01-18T08:02:38.794Z] b116817d02f9: Download complete [2021-01-18T08:02:38.794Z] 5f621e34cdf4: Verifying Checksum [2021-01-18T08:02:39.784Z] 5f621e34cdf4: Pull complete [2021-01-18T08:02:40.060Z] a4357932f1b6: Pull complete [2021-01-18T08:02:40.335Z] 18c013af1878: Pull complete [2021-01-18T08:02:41.783Z] 745a02a5169b: Verifying Checksum [2021-01-18T08:02:41.783Z] 745a02a5169b: Download complete [2021-01-18T08:02:42.400Z] 00ac8860ef70: Verifying Checksum [2021-01-18T08:02:42.400Z] 00ac8860ef70: Download complete [2021-01-18T08:02:52.626Z] 00ac8860ef70: Pull complete [2021-01-18T08:02:52.626Z] 63d7cb157983: Pull complete [2021-01-18T08:02:52.899Z] b116817d02f9: Pull complete [2021-01-18T08:02:57.205Z] 745a02a5169b: Pull complete [2021-01-18T08:02:57.205Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-18T08:02:57.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-18T08:02:57.205Z] ---> b7e6874047d6 [2021-01-18T08:02:57.205Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T08:02:59.810Z] ---> Running in 30b354fedae2 [2021-01-18T08:02:59.810Z] Removing intermediate container 30b354fedae2 [2021-01-18T08:02:59.810Z] ---> fa349b5b45d1 [2021-01-18T08:02:59.810Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T08:03:00.083Z] ---> Running in 2312d9cbdad6 [2021-01-18T08:03:02.727Z] Removing intermediate container 2312d9cbdad6 [2021-01-18T08:03:02.727Z] ---> 2b325d9deb13 [2021-01-18T08:03:02.727Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-18T08:03:02.727Z] ---> Running in f33ea5141b49 [2021-01-18T08:03:03.709Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-18T08:03:04.303Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-18T08:03:05.279Z] OK: 142 MiB in 39 packages [2021-01-18T08:03:06.252Z] Removing intermediate container f33ea5141b49 [2021-01-18T08:03:06.252Z] ---> 55b839e01858 [2021-01-18T08:03:06.252Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-18T08:03:06.524Z] ---> Running in ab069304f3cf [2021-01-18T08:03:06.797Z] Removing intermediate container ab069304f3cf [2021-01-18T08:03:06.797Z] ---> e9cea3107d29 [2021-01-18T08:03:06.797Z] Step 7/8 : COPY . . [2021-01-18T08:03:08.233Z] ---> 796967b3ada3 [2021-01-18T08:03:08.233Z] Step 8/8 : RUN go mod download [2021-01-18T08:03:08.507Z] ---> Running in 4a8667352deb [2021-01-18T08:03:30.668Z] Removing intermediate container 4a8667352deb [2021-01-18T08:03:30.668Z] ---> 1d19694db6de [2021-01-18T08:03:30.668Z] Successfully built 1d19694db6de [2021-01-18T08:03:30.668Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:03:31.013Z] + docker inspect -f . ci-base-image-arm64 [2021-01-18T08:03:31.013Z] . [Pipeline] withDockerContainer [2021-01-18T08:03:31.307Z] prd-ubuntu18.04-docker-arm64-4c-16g-20955 does not seem to be running inside a container [2021-01-18T08:03:31.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-18T08:03:32.775Z] $ docker top 0691a02e35d452b73ed7ef5b2d1754ff8936836c4f940227ab220aa028191480 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T08:03:33.812Z] + go version [2021-01-18T08:03:33.812Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-18T08:03:33.826Z] $ docker stop --time=1 0691a02e35d452b73ed7ef5b2d1754ff8936836c4f940227ab220aa028191480 [2021-01-18T08:03:35.787Z] $ docker rm -f 0691a02e35d452b73ed7ef5b2d1754ff8936836c4f940227ab220aa028191480 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:03:36.815Z] + docker inspect -f . ci-base-image-arm64 [2021-01-18T08:03:36.815Z] . [Pipeline] withDockerContainer [2021-01-18T08:03:37.056Z] prd-ubuntu18.04-docker-arm64-4c-16g-20955 does not seem to be running inside a container [2021-01-18T08:03:37.131Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-18T08:03:38.691Z] $ docker top 008d4fa82e97e7955ad651725cd1d5568be6910d91023f5d2d3c0920b8a41c54 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T08:03:39.728Z] + make test [2021-01-18T08:03:39.729Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-18T08:04:01.914Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-18T08:04:40.949Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-18T08:04:40.949Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-18T08:04:40.949Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-18T08:04:41.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.154s coverage: 19.4% of statements [2021-01-18T08:04:48.305Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.156s coverage: 97.1% of statements [2021-01-18T08:05:15.111Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.158s coverage: 9.4% of statements [2021-01-18T08:05:15.111Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.132s coverage: 21.7% of statements [2021-01-18T08:05:15.111Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-18T08:05:15.111Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.587s coverage: 42.9% of statements [2021-01-18T08:05:15.111Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-18T08:05:15.111Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.750s coverage: 68.9% of statements [2021-01-18T08:05:15.111Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-18T08:05:15.111Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-18T08:05:15.111Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-18T08:05:15.111Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-18T08:05:15.111Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.182s coverage: 53.8% of statements [2021-01-18T08:05:15.111Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-18T08:05:15.111Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-18T08:05:15.111Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.198s coverage: 25.6% of statements [2021-01-18T08:05:15.111Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.913s coverage: 68.9% of statements [2021-01-18T08:05:15.111Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.129s coverage: 4.2% of statements [2021-01-18T08:05:15.111Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-18T08:05:15.385Z] GO111MODULE=on go vet ./... [2021-01-18T08:05:54.415Z] gofmt -l . [2021-01-18T08:05:54.415Z] [ "`gofmt -l .`" = "" ] [2021-01-18T08:05:54.415Z] ./bin/test-attribution-txt.sh [2021-01-18T08:05:54.415Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-18T08:05:54.430Z] $ docker stop --time=1 008d4fa82e97e7955ad651725cd1d5568be6910d91023f5d2d3c0920b8a41c54 [2021-01-18T08:05:56.633Z] $ docker rm -f 008d4fa82e97e7955ad651725cd1d5568be6910d91023f5d2d3c0920b8a41c54 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-18T08:05:57.762Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-18T08:05:58.678Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T08:06:01.254Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-18T08:06:01.608Z] + ls -al . [2021-01-18T08:06:01.608Z] total 260 [2021-01-18T08:06:01.608Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 08:05 . [2021-01-18T08:06:01.608Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 08:02 .. [2021-01-18T08:06:01.608Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 18 08:02 .dockerignore [2021-01-18T08:06:01.608Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 08:02 .git [2021-01-18T08:06:01.608Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 08:02 .github [2021-01-18T08:06:01.608Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 18 08:02 .gitignore [2021-01-18T08:06:01.608Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 18 08:02 Dockerfile.build [2021-01-18T08:06:01.608Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 18 08:02 Jenkinsfile [2021-01-18T08:06:01.608Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 18 08:02 LICENSE [2021-01-18T08:06:01.608Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 18 08:02 Makefile [2021-01-18T08:06:01.608Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 18 08:02 README.md [2021-01-18T08:06:01.608Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 18 08:02 RELEASE-NOTES.txt [2021-01-18T08:06:01.608Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 08:02 VERSION [2021-01-18T08:06:01.608Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 08:02 bin [2021-01-18T08:06:01.608Z] -rw-r--r-- 1 jenkins jenkins 144063 Jan 18 08:05 coverage.out [2021-01-18T08:06:01.609Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 08:02 example [2021-01-18T08:06:01.609Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 18 08:05 go.mod [2021-01-18T08:06:01.609Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 18 08:05 go.sum [2021-01-18T08:06:01.609Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 18 08:02 internal [2021-01-18T08:06:01.609Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 08:02 openapi [2021-01-18T08:06:01.609Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 18 08:02 pkg [2021-01-18T08:06:01.609Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 08:02 snap [2021-01-18T08:06:01.609Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 18 08:02 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:06:01.969Z] + 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=15155f8d4d0a78201bd6a0f8f51654573cf11e3f --label arch=arm64 --label version=0.0.0 . [2021-01-18T08:06:02.582Z] Sending build context to Docker daemon 2.698MB [2021-01-18T08:06:02.582Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T08:06:02.582Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-18T08:06:02.582Z] ---> 1d19694db6de [2021-01-18T08:06:02.582Z] Step 3/24 : ARG MAKE='make build' [2021-01-18T08:06:02.862Z] ---> Running in 859f90062585 [2021-01-18T08:06:03.467Z] Removing intermediate container 859f90062585 [2021-01-18T08:06:03.467Z] ---> e9070be2b5e0 [2021-01-18T08:06:03.467Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-18T08:06:03.467Z] ---> Running in eee7e80eabbb [2021-01-18T08:06:04.062Z] Removing intermediate container eee7e80eabbb [2021-01-18T08:06:04.062Z] ---> 31cfbc1fac4e [2021-01-18T08:06:04.062Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T08:06:04.062Z] ---> Running in e10ac40e84f5 [2021-01-18T08:06:04.662Z] Removing intermediate container e10ac40e84f5 [2021-01-18T08:06:04.662Z] ---> fdf200e12657 [2021-01-18T08:06:04.662Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T08:06:04.662Z] ---> Running in 4f8a7975feeb [2021-01-18T08:06:07.288Z] Removing intermediate container 4f8a7975feeb [2021-01-18T08:06:07.288Z] ---> 0e0e8b836463 [2021-01-18T08:06:07.288Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-18T08:06:07.288Z] ---> Running in 93997956b755 [2021-01-18T08:06:07.883Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-18T08:06:08.477Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-18T08:06:10.451Z] OK: 142 MiB in 39 packages [2021-01-18T08:06:11.430Z] Removing intermediate container 93997956b755 [2021-01-18T08:06:11.430Z] ---> 21a324677e32 [2021-01-18T08:06:11.430Z] Step 8/24 : COPY . . [2021-01-18T08:06:12.878Z] ---> 85ffe7d00964 [2021-01-18T08:06:12.878Z] Step 9/24 : RUN ${MAKE} [2021-01-18T08:06:12.878Z] ---> Running in 2727dc514bc5 [2021-01-18T08:06:13.860Z] 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-18T08:06:38.925Z] Running on prd-centos7-docker-4c-2g-20964 in /w/workspace/dgexfoundry_device-sdk-go_PR-718 [Pipeline] { [Pipeline] ws [2021-01-18T08:06:38.978Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2021-01-18T08:06:40.677Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-18T08:06:40.952Z] Removing intermediate container 2727dc514bc5 [2021-01-18T08:06:40.952Z] ---> 05656f9cf1e1 [2021-01-18T08:06:40.952Z] Step 10/24 : FROM scratch [2021-01-18T08:06:40.952Z] ---> [2021-01-18T08:06:40.952Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T08:06:41.226Z] ---> Running in b21c20d32de6 [2021-01-18T08:06:41.257Z] using credential edgex-jenkins-ssh [2021-01-18T08:06:41.313Z] Cloning the remote Git repository [2021-01-18T08:06:41.499Z] Removing intermediate container b21c20d32de6 [2021-01-18T08:06:41.499Z] ---> 7e91e91b8486 [2021-01-18T08:06:41.499Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-18T08:06:41.774Z] ---> Running in f22b9d27bcff [2021-01-18T08:06:42.050Z] Removing intermediate container f22b9d27bcff [2021-01-18T08:06:42.050Z] ---> d08543f92750 [2021-01-18T08:06:42.050Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-18T08:06:41.204Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T08:06:41.276Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2021-01-18T08:06:41.349Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T08:06:41.350Z] > git --version # timeout=10 [2021-01-18T08:06:41.357Z] > git --version # 'git version 2.24.3' [2021-01-18T08:06:41.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T08:06:41.390Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T08:06:42.215Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-18T08:06:42.221Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T08:06:42.231Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-18T08:06:42.245Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T08:06:42.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T08:06:42.250Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/718/head:refs/remotes/origin/PR-718 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-18T08:06:42.326Z] ---> Running in e84679e24b87 [2021-01-18T08:06:42.599Z] Removing intermediate container e84679e24b87 [2021-01-18T08:06:42.599Z] ---> 6974c2092305 [2021-01-18T08:06:42.599Z] Step 14/24 : WORKDIR / [2021-01-18T08:06:42.850Z] Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 15155f8d4d0a78201bd6a0f8f51654573cf11e3f [2021-01-18T08:06:42.872Z] ---> Running in 5e47947b8e32 [2021-01-18T08:06:42.956Z] Merge succeeded, producing 15155f8d4d0a78201bd6a0f8f51654573cf11e3f [2021-01-18T08:06:42.956Z] Checking out Revision 15155f8d4d0a78201bd6a0f8f51654573cf11e3f (PR-718) [2021-01-18T08:06:43.162Z] Removing intermediate container 5e47947b8e32 [2021-01-18T08:06:43.162Z] ---> 5806e002bdf3 [2021-01-18T08:06:43.162Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-18T08:06:42.851Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T08:06:42.858Z] > git checkout -f 15155f8d4d0a78201bd6a0f8f51654573cf11e3f # timeout=10 [2021-01-18T08:06:42.921Z] > git remote # timeout=10 [2021-01-18T08:06:42.927Z] > git config --get remote.origin.url # timeout=10 [2021-01-18T08:06:42.934Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T08:06:42.938Z] > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 [2021-01-18T08:06:42.950Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-18T08:06:42.959Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T08:06:42.967Z] > git checkout -f 15155f8d4d0a78201bd6a0f8f51654573cf11e3f # timeout=10 [2021-01-18T08:06:44.145Z] ---> aebddc306a74 [2021-01-18T08:06:44.145Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-18T08:06:45.120Z] ---> 8dc6dfdfe52a [2021-01-18T08:06:45.120Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-18T08:06:45.716Z] ---> eddaf867411b [2021-01-18T08:06:45.716Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-18T08:06:46.309Z] ---> 692541b23a4c [2021-01-18T08:06:46.309Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-18T08:06:46.625Z] Commit message: "docs(v2): update schema to be consistent with edgex-go" [2021-01-18T08:06:46.904Z] ---> 4d1f4f46db05 [2021-01-18T08:06:46.905Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-01-18T08:06:47.178Z] ---> Running in 87433b76d91e [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T08:06:47.456Z] Removing intermediate container 87433b76d91e [2021-01-18T08:06:47.456Z] ---> 3178f32cd67d [2021-01-18T08:06:47.456Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-18T08:06:47.729Z] ---> Running in 1b1a5593bed1 [2021-01-18T08:06:47.805Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-18T08:06:48.128Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-18T08:06:48.324Z] Removing intermediate container 1b1a5593bed1 [2021-01-18T08:06:48.324Z] ---> 3519b7703898 [2021-01-18T08:06:48.324Z] Step 22/24 : LABEL arch=arm64 [2021-01-18T08:06:48.324Z] ---> Running in b702e63c7147 [2021-01-18T08:06:48.426Z] + true [2021-01-18T08:06:48.426Z] + sudo service docker restart [2021-01-18T08:06:48.426Z] Redirecting to /bin/systemctl restart docker.service [2021-01-18T08:06:48.919Z] Removing intermediate container b702e63c7147 [2021-01-18T08:06:48.919Z] ---> 141187dff6ab [2021-01-18T08:06:48.919Z] Step 23/24 : LABEL git_sha=15155f8d4d0a78201bd6a0f8f51654573cf11e3f [2021-01-18T08:06:48.919Z] ---> Running in d7b561b4e08d [2021-01-18T08:06:49.514Z] Removing intermediate container d7b561b4e08d [2021-01-18T08:06:49.514Z] ---> 5140b6dd8cd6 [2021-01-18T08:06:49.514Z] Step 24/24 : LABEL version=0.0.0 [2021-01-18T08:06:49.514Z] ---> Running in 83d4f03a248a [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T08:06:49.880Z] provisioning config files... [2021-01-18T08:06:49.904Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config6022911516142005670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:06:50.112Z] Removing intermediate container 83d4f03a248a [2021-01-18T08:06:50.112Z] ---> 5b64d3734837 [2021-01-18T08:06:50.112Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-18T08:06:50.112Z] Successfully built 5b64d3734837 [2021-01-18T08:06:50.112Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2021-01-18T08:06:50.282Z] ---> docker-login.sh [2021-01-18T08:06:50.283Z] nexus3.edgexfoundry.org:10001 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2021-01-18T08:06:50.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:06:50.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:06:50.544Z] Configure a credential helper to remove this warning. See [2021-01-18T08:06:50.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:06:50.544Z] [2021-01-18T08:06:50.544Z] Login Succeeded [2021-01-18T08:06:50.544Z] nexus3.edgexfoundry.org:10002 [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2021-01-18T08:06:50.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:06:50.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:06:50.806Z] Configure a credential helper to remove this warning. See [2021-01-18T08:06:50.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:06:50.806Z] [2021-01-18T08:06:50.806Z] Login Succeeded [2021-01-18T08:06:50.806Z] nexus3.edgexfoundry.org:10003 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-01-18T08:06:51.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:06:51.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:06:51.068Z] Configure a credential helper to remove this warning. See [2021-01-18T08:06:51.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:06:51.068Z] [2021-01-18T08:06:51.068Z] Login Succeeded [2021-01-18T08:06:51.068Z] nexus3.edgexfoundry.org:10004 [2021-01-18T08:06:51.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage [Pipeline] } [2021-01-18T08:06:51.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:06:51.337Z] Configure a credential helper to remove this warning. See [2021-01-18T08:06:51.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:06:51.337Z] [2021-01-18T08:06:51.337Z] Login Succeeded [2021-01-18T08:06:51.337Z] docker.io [2021-01-18T08:06:51.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:06:51.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:06:51.601Z] Configure a credential helper to remove this warning. See [2021-01-18T08:06:51.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:06:51.601Z] [2021-01-18T08:06:51.601Z] Login Succeeded [2021-01-18T08:06:51.601Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T08:06:51.611Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-18T08:06:51.954Z] ========================================================= [2021-01-18T08:06:51.954Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-18T08:06:51.954Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:06:52.299Z] + 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-18T08:06:52.568Z] Sending build context to Docker daemon 2.561MB [2021-01-18T08:06:52.568Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T08:06:52.568Z] Step 2/8 : FROM ${BASE} [2021-01-18T08:06:52.568Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-18T08:06:52.568Z] 188c0c94c7c5: Pulling fs layer [2021-01-18T08:06:52.568Z] 0ef7d3d256c8: Pulling fs layer [2021-01-18T08:06:52.568Z] de9db76c5a1d: Pulling fs layer [2021-01-18T08:06:52.568Z] bca2f99d35d6: Pulling fs layer [2021-01-18T08:06:52.568Z] 93359f2a8cfa: Pulling fs layer [2021-01-18T08:06:52.568Z] 7c6f9722023f: Pulling fs layer [2021-01-18T08:06:52.568Z] a35cf1a2eb13: Pulling fs layer [2021-01-18T08:06:52.568Z] bca2f99d35d6: Waiting [2021-01-18T08:06:52.568Z] 93359f2a8cfa: Waiting [2021-01-18T08:06:52.568Z] 7c6f9722023f: Waiting [2021-01-18T08:06:52.568Z] a35cf1a2eb13: Waiting [2021-01-18T08:06:52.568Z] de9db76c5a1d: Verifying Checksum [2021-01-18T08:06:52.568Z] de9db76c5a1d: Download complete [2021-01-18T08:06:52.568Z] 0ef7d3d256c8: Verifying Checksum [2021-01-18T08:06:52.568Z] 0ef7d3d256c8: Download complete [2021-01-18T08:06:52.568Z] 93359f2a8cfa: Verifying Checksum [2021-01-18T08:06:52.568Z] 93359f2a8cfa: Download complete [2021-01-18T08:06:52.568Z] 188c0c94c7c5: Verifying Checksum [2021-01-18T08:06:52.568Z] 188c0c94c7c5: Download complete [2021-01-18T08:06:52.568Z] 7c6f9722023f: Verifying Checksum [2021-01-18T08:06:52.568Z] 7c6f9722023f: Download complete [2021-01-18T08:06:52.830Z] 188c0c94c7c5: Pull complete [2021-01-18T08:06:53.092Z] 0ef7d3d256c8: Pull complete [2021-01-18T08:06:53.092Z] de9db76c5a1d: Pull complete [2021-01-18T08:06:55.024Z] a35cf1a2eb13: Verifying Checksum [2021-01-18T08:06:55.024Z] a35cf1a2eb13: Download complete [2021-01-18T08:06:55.286Z] bca2f99d35d6: Verifying Checksum [2021-01-18T08:06:55.287Z] bca2f99d35d6: Download complete [2021-01-18T08:07:00.616Z] bca2f99d35d6: Pull complete [2021-01-18T08:07:00.616Z] 93359f2a8cfa: Pull complete [2021-01-18T08:07:00.616Z] 7c6f9722023f: Pull complete [2021-01-18T08:07:08.807Z] a35cf1a2eb13: Pull complete [2021-01-18T08:07:08.807Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-18T08:07:08.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-18T08:07:08.807Z] ---> a62c8e92a672 [2021-01-18T08:07:08.807Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T08:07:08.807Z] ---> Running in 743dad55b66e [2021-01-18T08:07:08.807Z] Removing intermediate container 743dad55b66e [2021-01-18T08:07:08.807Z] ---> c7897f823573 [2021-01-18T08:07:08.807Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T08:07:08.807Z] ---> Running in 9d3761461ab3 [2021-01-18T08:07:09.758Z] Removing intermediate container 9d3761461ab3 [2021-01-18T08:07:09.758Z] ---> 780d9c7b46b6 [2021-01-18T08:07:09.758Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-18T08:07:10.021Z] ---> Running in 4feff3c6a187 [2021-01-18T08:07:10.283Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-18T08:07:11.232Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-18T08:07:11.494Z] OK: 166 MiB in 39 packages [2021-01-18T08:07:12.069Z] Removing intermediate container 4feff3c6a187 [2021-01-18T08:07:12.069Z] ---> 13236008c1df [2021-01-18T08:07:12.069Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-18T08:07:12.069Z] ---> Running in b7755b79e012 [2021-01-18T08:07:12.069Z] Removing intermediate container b7755b79e012 [2021-01-18T08:07:12.069Z] ---> 3e340e64205b [2021-01-18T08:07:12.069Z] Step 7/8 : COPY . . [2021-01-18T08:07:13.461Z] ---> 108d03cd0eee [2021-01-18T08:07:13.461Z] Step 8/8 : RUN go mod download [2021-01-18T08:07:13.461Z] ---> Running in 28d35cd76820 [2021-01-18T08:07:31.635Z] Removing intermediate container 28d35cd76820 [2021-01-18T08:07:31.635Z] ---> ca265bde549b [2021-01-18T08:07:31.635Z] Successfully built ca265bde549b [2021-01-18T08:07:31.635Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:07:32.103Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-18T08:07:32.103Z] . [Pipeline] withDockerContainer [2021-01-18T08:07:32.247Z] prd-centos7-docker-4c-2g-20964 does not seem to be running inside a container [2021-01-18T08:07:32.309Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-18T08:07:33.043Z] $ docker top 9aa70ff3f59f7d34e20e87865fc4b2e4d89309aacc7499203d04e7258a19db55 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T08:07:33.580Z] + go version [2021-01-18T08:07:33.580Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-18T08:07:33.595Z] $ docker stop --time=1 9aa70ff3f59f7d34e20e87865fc4b2e4d89309aacc7499203d04e7258a19db55 [2021-01-18T08:07:34.939Z] $ docker rm -f 9aa70ff3f59f7d34e20e87865fc4b2e4d89309aacc7499203d04e7258a19db55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:07:36.481Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-18T08:07:36.481Z] . [Pipeline] withDockerContainer [2021-01-18T08:07:36.587Z] prd-centos7-docker-4c-2g-20964 does not seem to be running inside a container [2021-01-18T08:07:36.638Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-18T08:07:37.210Z] $ docker top 11cba265dd2b5793e9179cc3a5f23cb28c80f663a37392e7dab5a74b5b3bd0aa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T08:07:37.756Z] + make test [2021-01-18T08:07:37.757Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-18T08:07:44.386Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-18T08:07:59.393Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-18T08:07:59.393Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-18T08:07:59.393Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-18T08:07:59.393Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 19.4% of statements [2021-01-18T08:08:01.978Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.461s coverage: 97.1% of statements [2021-01-18T08:08:34.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.052s coverage: 9.4% of statements [2021-01-18T08:08:34.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.056s coverage: 21.7% of statements [2021-01-18T08:08:34.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-18T08:08:34.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.222s coverage: 42.9% of statements [2021-01-18T08:08:34.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-18T08:08:34.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.271s coverage: 68.9% of statements [2021-01-18T08:08:34.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-18T08:08:34.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-18T08:08:34.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-18T08:08:34.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-18T08:08:34.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.071s coverage: 53.8% of statements [2021-01-18T08:08:34.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-18T08:08:34.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-18T08:08:34.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.067s coverage: 25.6% of statements [2021-01-18T08:08:34.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.432s coverage: 68.9% of statements [2021-01-18T08:08:34.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.2% of statements [2021-01-18T08:08:34.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-18T08:08:34.197Z] GO111MODULE=on go vet ./... [2021-01-18T08:08:40.908Z] gofmt -l . [2021-01-18T08:08:41.169Z] [ "`gofmt -l .`" = "" ] [2021-01-18T08:08:41.169Z] ./bin/test-attribution-txt.sh [2021-01-18T08:08:42.115Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-18T08:08:42.133Z] $ docker stop --time=1 11cba265dd2b5793e9179cc3a5f23cb28c80f663a37392e7dab5a74b5b3bd0aa [2021-01-18T08:08:44.072Z] $ docker rm -f 11cba265dd2b5793e9179cc3a5f23cb28c80f663a37392e7dab5a74b5b3bd0aa [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-18T08:08:44.798Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-18T08:08:44.812Z] Warning: overwriting stash ‘coverage-report’ [2021-01-18T08:08:45.151Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-18T08:08:45.777Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-18T08:08:46.081Z] + ls -al . [2021-01-18T08:08:46.081Z] total 224 [2021-01-18T08:08:46.081Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 18 08:08 . [2021-01-18T08:08:46.081Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 18 08:06 .. [2021-01-18T08:08:46.081Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 18 08:06 bin [2021-01-18T08:08:46.081Z] -rw-r--r--. 1 jenkins jenkins 144063 Jan 18 08:08 coverage.out [2021-01-18T08:08:46.081Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 18 08:06 Dockerfile.build [2021-01-18T08:08:46.081Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 18 08:06 .dockerignore [2021-01-18T08:08:46.081Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 18 08:06 example [2021-01-18T08:08:46.081Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 18 08:06 .git [2021-01-18T08:08:46.081Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 18 08:06 .github [2021-01-18T08:08:46.081Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 18 08:06 .gitignore [2021-01-18T08:08:46.081Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 18 08:08 go.mod [2021-01-18T08:08:46.081Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 18 08:08 go.sum [2021-01-18T08:08:46.081Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 18 08:06 internal [2021-01-18T08:08:46.082Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 18 08:06 Jenkinsfile [2021-01-18T08:08:46.082Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 18 08:06 LICENSE [2021-01-18T08:08:46.082Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 18 08:06 Makefile [2021-01-18T08:08:46.082Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 18 08:06 openapi [2021-01-18T08:08:46.082Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 18 08:06 pkg [2021-01-18T08:08:46.082Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 18 08:06 README.md [2021-01-18T08:08:46.082Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 18 08:06 RELEASE-NOTES.txt [2021-01-18T08:08:46.082Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 18 08:06 snap [2021-01-18T08:08:46.082Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 18 08:02 VERSION [2021-01-18T08:08:46.082Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 18 08:06 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:08:46.391Z] + 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=15155f8d4d0a78201bd6a0f8f51654573cf11e3f --label arch=amd64 --label version=0.0.0 . [2021-01-18T08:08:46.654Z] Sending build context to Docker daemon 2.706MB [2021-01-18T08:08:46.654Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T08:08:46.654Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-18T08:08:46.654Z] ---> ca265bde549b [2021-01-18T08:08:46.654Z] Step 3/24 : ARG MAKE='make build' [2021-01-18T08:08:47.229Z] ---> Running in 9ba7c3a1aaa0 [2021-01-18T08:08:47.505Z] Removing intermediate container 9ba7c3a1aaa0 [2021-01-18T08:08:47.505Z] ---> 0aa69797a743 [2021-01-18T08:08:47.505Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-18T08:08:47.505Z] ---> Running in 672900b43604 [2021-01-18T08:08:47.771Z] Removing intermediate container 672900b43604 [2021-01-18T08:08:47.771Z] ---> 849203845250 [2021-01-18T08:08:47.771Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T08:08:47.771Z] ---> Running in 024528d18cad [2021-01-18T08:08:48.034Z] Removing intermediate container 024528d18cad [2021-01-18T08:08:48.034Z] ---> 8fd5e5f67253 [2021-01-18T08:08:48.034Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T08:08:48.034Z] ---> Running in 705d3151990c [2021-01-18T08:08:48.985Z] Removing intermediate container 705d3151990c [2021-01-18T08:08:48.985Z] ---> 59cfe70ca10c [2021-01-18T08:08:48.985Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-18T08:08:48.985Z] ---> Running in ad658eab79ff [2021-01-18T08:08:49.576Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-18T08:08:50.151Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-18T08:08:50.730Z] OK: 166 MiB in 39 packages [2021-01-18T08:08:51.310Z] Removing intermediate container ad658eab79ff [2021-01-18T08:08:51.310Z] ---> 56bba4b9cc1e [2021-01-18T08:08:51.310Z] Step 8/24 : COPY . . [2021-01-18T08:08:52.261Z] ---> 80448b65552b [2021-01-18T08:08:52.261Z] Step 9/24 : RUN ${MAKE} [2021-01-18T08:08:52.526Z] ---> Running in 37dcbbcd8674 [2021-01-18T08:08:53.107Z] 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-18T08:09:01.390Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-18T08:09:03.320Z] Removing intermediate container 37dcbbcd8674 [2021-01-18T08:09:03.320Z] ---> dd53d524bd24 [2021-01-18T08:09:03.320Z] Step 10/24 : FROM scratch [2021-01-18T08:09:03.320Z] ---> [2021-01-18T08:09:03.320Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T08:09:03.320Z] ---> Running in 376d7f953386 [2021-01-18T08:09:03.583Z] Removing intermediate container 376d7f953386 [2021-01-18T08:09:03.583Z] ---> 2658472d2381 [2021-01-18T08:09:03.583Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-18T08:09:03.583Z] ---> Running in 5eb9aad3be63 [2021-01-18T08:09:03.845Z] Removing intermediate container 5eb9aad3be63 [2021-01-18T08:09:03.845Z] ---> ca9f2b6de602 [2021-01-18T08:09:03.845Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-18T08:09:03.845Z] ---> Running in 8e0c50c88e70 [2021-01-18T08:09:04.107Z] Removing intermediate container 8e0c50c88e70 [2021-01-18T08:09:04.107Z] ---> 3dff52b286a0 [2021-01-18T08:09:04.107Z] Step 14/24 : WORKDIR / [2021-01-18T08:09:04.107Z] ---> Running in 74d3e9524bca [2021-01-18T08:09:04.370Z] Removing intermediate container 74d3e9524bca [2021-01-18T08:09:04.370Z] ---> fb0f9ff3458a [2021-01-18T08:09:04.370Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-18T08:09:04.632Z] ---> 413e90bc9008 [2021-01-18T08:09:04.632Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-18T08:09:04.895Z] ---> 6109701f6b68 [2021-01-18T08:09:04.895Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-18T08:09:05.159Z] ---> b807f5c9a9a1 [2021-01-18T08:09:05.159Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-18T08:09:06.103Z] ---> 43fb240f689f [2021-01-18T08:09:06.103Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-18T08:09:06.365Z] ---> 2cb3fa928484 [2021-01-18T08:09:06.365Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-18T08:09:06.365Z] ---> Running in 9887913f3131 [2021-01-18T08:09:06.626Z] Removing intermediate container 9887913f3131 [2021-01-18T08:09:06.626Z] ---> 8dddd98c716c [2021-01-18T08:09:06.626Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-18T08:09:06.626Z] ---> Running in cc3bf4a5fe84 [2021-01-18T08:09:06.888Z] Removing intermediate container cc3bf4a5fe84 [2021-01-18T08:09:06.888Z] ---> b628f0f10153 [2021-01-18T08:09:06.888Z] Step 22/24 : LABEL arch=amd64 [2021-01-18T08:09:06.888Z] ---> Running in fc4673376970 [2021-01-18T08:09:06.888Z] Removing intermediate container fc4673376970 [2021-01-18T08:09:06.888Z] ---> dee9473d01fc [2021-01-18T08:09:06.888Z] Step 23/24 : LABEL git_sha=15155f8d4d0a78201bd6a0f8f51654573cf11e3f [2021-01-18T08:09:07.151Z] ---> Running in 54226716f009 [2021-01-18T08:09:07.151Z] Removing intermediate container 54226716f009 [2021-01-18T08:09:07.151Z] ---> 3cb631d1f0f9 [2021-01-18T08:09:07.151Z] Step 24/24 : LABEL version=0.0.0 [2021-01-18T08:09:07.415Z] ---> Running in 37079e2a1f64 [2021-01-18T08:09:07.415Z] Removing intermediate container 37079e2a1f64 [2021-01-18T08:09:07.415Z] ---> 515620faa303 [2021-01-18T08:09:07.415Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-18T08:09:07.415Z] Successfully built 515620faa303 [2021-01-18T08:09:07.415Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-18T08:09:09.121Z] provisioning config files... [2021-01-18T08:09:09.129Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/config3937352686078257653tmp [Pipeline] { [Pipeline] sh [2021-01-18T08:09:09.517Z] + set +x [2021-01-18T08:09:09.517Z] + curl -s https://codecov.io/bash [2021-01-18T08:09:09.517Z] + bash -s -- [2021-01-18T08:09:09.779Z] [2021-01-18T08:09:09.779Z] _____ _ [2021-01-18T08:09:09.779Z] / ____| | | [2021-01-18T08:09:09.779Z] | | ___ __| | ___ ___ _____ __ [2021-01-18T08:09:09.779Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-18T08:09:09.779Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-18T08:09:09.779Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-18T08:09:09.779Z] Bash-20210115-cec3c92 [2021-01-18T08:09:09.779Z] [2021-01-18T08:09:09.779Z] [2021-01-18T08:09:09.780Z] ==> git version 2.24.3 found [2021-01-18T08:09:09.780Z] ==> 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-18T08:09:09.780Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-18T08:09:09.780Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-18T08:09:09.780Z] ==> Jenkins CI detected. [2021-01-18T08:09:09.780Z] project root: . [2021-01-18T08:09:09.780Z] --> token set from env [2021-01-18T08:09:09.780Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-18T08:09:09.780Z] ==> Running gcov in . (disable via -X gcov) [2021-01-18T08:09:09.780Z] ==> Python coveragepy not found [2021-01-18T08:09:09.780Z] ==> Searching for coverage reports in: [2021-01-18T08:09:09.780Z] + . [2021-01-18T08:09:09.780Z] -> Found 1 reports [2021-01-18T08:09:09.780Z] ==> Detecting git/mercurial file structure [2021-01-18T08:09:09.780Z] ==> Reading reports [2021-01-18T08:09:09.780Z] + ./coverage.out bytes=144063 [2021-01-18T08:09:09.780Z] ==> Appending adjustments [2021-01-18T08:09:09.780Z] https://docs.codecov.io/docs/fixing-reports [2021-01-18T08:09:10.352Z] + Found adjustments [2021-01-18T08:09:10.352Z] ==> Gzipping contents [2021-01-18T08:09:10.352Z] 24K /tmp/codecov.TnFrCA.gz [2021-01-18T08:09:10.352Z] ==> Uploading reports [2021-01-18T08:09:10.352Z] url: https://codecov.io [2021-01-18T08:09:10.352Z] query: branch=PR-718&commit=15155f8d4d0a78201bd6a0f8f51654573cf11e3f&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-718%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=718&job=&cmd_args= [2021-01-18T08:09:10.352Z] -> Pinging Codecov [2021-01-18T08:09:10.352Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-718&commit=15155f8d4d0a78201bd6a0f8f51654573cf11e3f&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-718%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=718&job=&cmd_args= [2021-01-18T08:09:11.741Z] -> Uploading to [2021-01-18T08:09:11.741Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-18/7E55EF52A471D76F132DFD9A03CDDE97/15155f8d4d0a78201bd6a0f8f51654573cf11e3f/6f623b3b-e45d-4c54-94c7-582485b86759.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210118T080911Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f8427220f1e38d937e1458c811321612bf4d7a865b332a42d91cdd5643ff1ccb [2021-01-18T08:09:11.741Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-18T08:09:11.741Z] Dload Upload Total Spent Left Speed [2021-01-18T08:09:12.006Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22315 0 0 100 22315 0 41668 --:--:-- --:--:-- --:--:-- 41710 [2021-01-18T08:09:12.006Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/15155f8d4d0a78201bd6a0f8f51654573cf11e3f [Pipeline] } [2021-01-18T08:09:12.016Z] 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-18T08:09:14.496Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:09:15.061Z] ---> package-listing.sh [2021-01-18T08:09:15.061Z] ++ facter osfamily [2021-01-18T08:09:15.061Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-18T08:09:15.061Z] + OS_FAMILY=redhat [2021-01-18T08:09:15.061Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-718 [2021-01-18T08:09:15.061Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-18T08:09:15.061Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-18T08:09:15.061Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-18T08:09:15.061Z] + PACKAGES=/tmp/packages_start.txt [2021-01-18T08:09:15.061Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-718 ']' [2021-01-18T08:09:15.061Z] + PACKAGES=/tmp/packages_end.txt [2021-01-18T08:09:15.061Z] + case "${OS_FAMILY}" in [2021-01-18T08:09:15.061Z] + rpm -qa [2021-01-18T08:09:15.061Z] + sort [2021-01-18T08:09:20.373Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-18T08:09:20.373Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-18T08:09:20.373Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-18T08:09:20.373Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-718 ']' [2021-01-18T08:09:20.373Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-718/archives/ [2021-01-18T08:09:20.373Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-718/archives/ [Pipeline] echo [2021-01-18T08:09:20.386Z] 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-718/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-18T08:09:20.676Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:09:20.985Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T08:09:20.985Z] [2021-01-18T08:09:20.985Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:09:21.332Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T08:09:21.332Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-18T08:09:21.332Z] df20fa9351a1: Pulling fs layer [2021-01-18T08:09:21.332Z] 36b3adc4ff6f: Pulling fs layer [2021-01-18T08:09:21.332Z] 8ad3a11d3b57: Pulling fs layer [2021-01-18T08:09:21.332Z] 46f8f816bc3b: Pulling fs layer [2021-01-18T08:09:21.332Z] 93b61091891f: Pulling fs layer [2021-01-18T08:09:21.332Z] 93b9cdb0e59b: Pulling fs layer [2021-01-18T08:09:21.332Z] 5e14af77c1be: Pulling fs layer [2021-01-18T08:09:21.332Z] 01666e4c0597: Pulling fs layer [2021-01-18T08:09:21.332Z] aa168da1d23b: Pulling fs layer [2021-01-18T08:09:21.332Z] 93b9cdb0e59b: Waiting [2021-01-18T08:09:21.332Z] 5e14af77c1be: Waiting [2021-01-18T08:09:21.332Z] aa168da1d23b: Waiting [2021-01-18T08:09:21.332Z] 01666e4c0597: Waiting [2021-01-18T08:09:21.332Z] 46f8f816bc3b: Waiting [2021-01-18T08:09:21.332Z] 93b61091891f: Waiting [2021-01-18T08:09:21.332Z] 36b3adc4ff6f: Verifying Checksum [2021-01-18T08:09:21.332Z] 36b3adc4ff6f: Download complete [2021-01-18T08:09:21.332Z] 46f8f816bc3b: Verifying Checksum [2021-01-18T08:09:21.332Z] 46f8f816bc3b: Download complete [2021-01-18T08:09:21.332Z] df20fa9351a1: Verifying Checksum [2021-01-18T08:09:21.600Z] 93b9cdb0e59b: Verifying Checksum [2021-01-18T08:09:21.600Z] 93b9cdb0e59b: Download complete [2021-01-18T08:09:21.600Z] 5e14af77c1be: Verifying Checksum [2021-01-18T08:09:21.600Z] 5e14af77c1be: Download complete [2021-01-18T08:09:21.600Z] 93b61091891f: Verifying Checksum [2021-01-18T08:09:21.600Z] 93b61091891f: Download complete [2021-01-18T08:09:21.601Z] 01666e4c0597: Download complete [2021-01-18T08:09:21.601Z] 8ad3a11d3b57: Verifying Checksum [2021-01-18T08:09:21.601Z] 8ad3a11d3b57: Download complete [2021-01-18T08:09:21.862Z] df20fa9351a1: Pull complete [2021-01-18T08:09:21.862Z] 36b3adc4ff6f: Pull complete [2021-01-18T08:09:22.812Z] 8ad3a11d3b57: Pull complete [2021-01-18T08:09:22.812Z] 46f8f816bc3b: Pull complete [2021-01-18T08:09:23.775Z] aa168da1d23b: Verifying Checksum [2021-01-18T08:09:23.775Z] aa168da1d23b: Download complete [2021-01-18T08:09:24.348Z] 93b61091891f: Pull complete [2021-01-18T08:09:24.611Z] 93b9cdb0e59b: Pull complete [2021-01-18T08:09:24.872Z] 5e14af77c1be: Pull complete [2021-01-18T08:09:24.872Z] 01666e4c0597: Pull complete [2021-01-18T08:09:33.034Z] aa168da1d23b: Pull complete [2021-01-18T08:09:33.034Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-18T08:09:33.034Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T08:09:33.034Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-18T08:09:33.452Z] prd-centos7-docker-4c-2g-20951 does not seem to be running inside a container [2021-01-18T08:09:33.620Z] $ 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-718/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-718 -v /w/workspace/dgexfoundry_device-sdk-go_PR-718:/w/workspace/dgexfoundry_device-sdk-go_PR-718:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-18T08:09:36.059Z] $ docker top f990c152f740c984f8b9a512280acdbdacb072986fc76c205bea66fa925723f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T08:09:36.546Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-18T08:09:36.841Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-18T08:09:37.136Z] + ls /var/log/sa-host [2021-01-18T08:09:37.137Z] + sadf -c /var/log/sa-host/sa18 [2021-01-18T08:09:37.137Z] file_magic: OK [2021-01-18T08:09:37.137Z] HZ: Using current value: 100 [2021-01-18T08:09:37.137Z] file_header: OK [2021-01-18T08:09:37.137Z] 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-18T08:09:37.137Z] Statistics: [2021-01-18T08:09:37.137Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-18T08:09:37.137Z] File successfully converted to sysstat format version 12.2.1 [2021-01-18T08:09:37.137Z] + sadf -c /var/log/sa-host/sa23 [2021-01-18T08:09:37.137Z] file_magic: OK [2021-01-18T08:09:37.137Z] HZ: Using current value: 100 [2021-01-18T08:09:37.137Z] file_header: OK [2021-01-18T08:09:37.137Z] 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-18T08:09:37.137Z] Statistics: [2021-01-18T08:09:37.137Z] Hnuu...uuuununununu... [2021-01-18T08:09:37.137Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-18T08:09:37.778Z] provisioning config files... [2021-01-18T08:09:37.793Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/config4681947329685966726tmp [Pipeline] { [Pipeline] echo [2021-01-18T08:09:37.881Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:09:38.184Z] ---> create-netrc.sh [Pipeline] } [2021-01-18T08:09:38.195Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-18T08:09:38.361Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:09:38.661Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-18T08:09:38.671Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:09:38.965Z] ---> sudo-logs.sh [2021-01-18T08:09:38.965Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-18T08:09:38.976Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:09:39.269Z] ---> job-cost.sh [2021-01-18T08:09:39.269Z] lf-activate-venv: SKIPPING [2021-01-18T08:09:39.269Z] INFO: No Stack... [2021-01-18T08:09:40.655Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-18T08:09:40.917Z] INFO: Archiving Costs [Pipeline] echo [2021-01-18T08:09:40.929Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:09:41.221Z] ---> logs-deploy.sh [2021-01-18T08:09:41.221Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-718/8 [2021-01-18T08:09:41.221Z] INFO: archiving workspace using pattern(s): [2021-01-18T08:09:43.144Z] Archives upload complete. [2021-01-18T08:09:43.144Z] INFO: archiving logs to Nexus