Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 6f3dd4d201a93bcda4f4931f685f2c776ae14895+4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 (6529ad00da4315e5d9776db815d2d7910dabe39b) 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-20740 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 6f3dd4d201a93bcda4f4931f685f2c776ae14895 Merge succeeded, producing 5d7757e3a36caa7638257241c612e66b4176ca0d Checking out Revision 5d7757e3a36caa7638257241c612e66b4176ca0d (PR-718) > git config core.sparsecheckout # timeout=10 > git checkout -f 6f3dd4d201a93bcda4f4931f685f2c776ae14895 # 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 5d7757e3a36caa7638257241c612e66b4176ca0d # timeout=10 Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" > git rev-list --no-walk 6f3dd4d201a93bcda4f4931f685f2c776ae14895 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-16T02:40:31.410Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-16T02:40:31.691Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-16T02:40:31.788Z] ========================================================= [2021-01-16T02:40:31.788Z] EdgeX Global Pipelines Version Info [2021-01-16T02:40:31.788Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:40:33.271Z] ------------------- [2021-01-16T02:40:33.271Z] stable info: [2021-01-16T02:40:33.271Z] ------------------- [2021-01-16T02:40:33.271Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-16T02:40:33.271Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-16T02:40:33.271Z] Message: update stable to v1.0.177 [2021-01-16T02:40:34.219Z] ------------------- [2021-01-16T02:40:34.219Z] experimental info: [2021-01-16T02:40:34.219Z] ------------------- [2021-01-16T02:40:34.219Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-16T02:40:34.219Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-16T02:40:34.219Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-16T02:40:34.519Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-16T02:40:34.611Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-16T02:40:34.703Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-16T02:40:34.809Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-16T02:40:34.907Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-16T02:40:35.034Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-16T02:40:35.120Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-16T02:40:35.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-16T02:40:35.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-16T02:40:35.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-16T02:40:35.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-16T02:40:35.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-16T02:40:35.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-16T02:40:35.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-16T02:40:35.832Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-16T02:40:35.936Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-16T02:40:36.018Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-16T02:40:36.110Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-16T02:40:36.213Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-16T02:40:36.299Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-16T02:40:36.388Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-16T02:40:36.502Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-16T02:40:36.610Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-16T02:40:36.726Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-16T02:40:36.819Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-16T02:40:36.910Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-16T02:40:36.999Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-16T02:40:37.105Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-718 [Pipeline] echo [2021-01-16T02:40:37.191Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-718 [Pipeline] echo [2021-01-16T02:40:37.283Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-718 [Pipeline] echo [2021-01-16T02:40:37.383Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d7757e3a36caa7638257241c612e66b4176ca0d [Pipeline] echo [2021-01-16T02:40:37.470Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d7757e [Pipeline] echo [2021-01-16T02:40:37.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-16T02:40:37.816Z] provisioning config files... [2021-01-16T02:40:37.850Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/config4196564232859759319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:40:38.212Z] ---> docker-login.sh [2021-01-16T02:40:38.212Z] nexus3.edgexfoundry.org:10001 [2021-01-16T02:40:38.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:40:38.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:40:38.741Z] Configure a credential helper to remove this warning. See [2021-01-16T02:40:38.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:40:38.741Z] [2021-01-16T02:40:38.741Z] Login Succeeded [2021-01-16T02:40:38.741Z] nexus3.edgexfoundry.org:10002 [2021-01-16T02:40:38.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:40:39.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:40:39.005Z] Configure a credential helper to remove this warning. See [2021-01-16T02:40:39.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:40:39.005Z] [2021-01-16T02:40:39.005Z] Login Succeeded [2021-01-16T02:40:39.005Z] nexus3.edgexfoundry.org:10003 [2021-01-16T02:40:39.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:40:39.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:40:39.005Z] Configure a credential helper to remove this warning. See [2021-01-16T02:40:39.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:40:39.005Z] [2021-01-16T02:40:39.005Z] Login Succeeded [2021-01-16T02:40:39.005Z] nexus3.edgexfoundry.org:10004 [2021-01-16T02:40:39.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:40:39.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:40:39.267Z] Configure a credential helper to remove this warning. See [2021-01-16T02:40:39.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:40:39.267Z] [2021-01-16T02:40:39.267Z] Login Succeeded [2021-01-16T02:40:39.267Z] docker.io [2021-01-16T02:40:39.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:40:39.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:40:39.532Z] Configure a credential helper to remove this warning. See [2021-01-16T02:40:39.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:40:39.532Z] [2021-01-16T02:40:39.532Z] Login Succeeded [2021-01-16T02:40:39.532Z] ---> docker-login.sh ends [Pipeline] } [2021-01-16T02:40:39.549Z] 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-16T02:40:40.394Z] + git log --format=format:%s -1 5d7757e3a36caa7638257241c612e66b4176ca0d [Pipeline] echo [2021-01-16T02:40:40.471Z] GIT_COMMIT: 5d7757e3a36caa7638257241c612e66b4176ca0d, Commit Message: Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD [Pipeline] echo [2021-01-16T02:40:40.542Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:40:41.616Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-16T02:40:41.616Z] [2021-01-16T02:40:41.616Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:40:41.960Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-16T02:40:41.960Z] latest: Pulling from edgex-devops/git-semver [2021-01-16T02:40:41.960Z] 31603596830f: Pulling fs layer [2021-01-16T02:40:41.960Z] 2a8b12db71e7: Pulling fs layer [2021-01-16T02:40:41.960Z] 6ca5941a6612: Pulling fs layer [2021-01-16T02:40:41.960Z] ecc8261a40a4: Pulling fs layer [2021-01-16T02:40:41.960Z] ecc8261a40a4: Waiting [2021-01-16T02:40:41.960Z] 2a8b12db71e7: Download complete [2021-01-16T02:40:42.226Z] 31603596830f: Verifying Checksum [2021-01-16T02:40:42.226Z] 31603596830f: Download complete [2021-01-16T02:40:42.226Z] ecc8261a40a4: Verifying Checksum [2021-01-16T02:40:42.226Z] ecc8261a40a4: Download complete [2021-01-16T02:40:42.226Z] 6ca5941a6612: Verifying Checksum [2021-01-16T02:40:42.226Z] 6ca5941a6612: Download complete [2021-01-16T02:40:42.812Z] 31603596830f: Pull complete [2021-01-16T02:40:42.812Z] 2a8b12db71e7: Pull complete [2021-01-16T02:40:43.766Z] 6ca5941a6612: Pull complete [2021-01-16T02:40:43.766Z] ecc8261a40a4: Pull complete [2021-01-16T02:40:43.766Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-16T02:40:43.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-16T02:40:43.766Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-16T02:40:43.873Z] prd-centos7-docker-4c-2g-20740 does not seem to be running inside a container [2021-01-16T02:40:43.928Z] $ 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-16T02:40:46.559Z] $ docker top d54b72f5dc695452f51af0803db47a8ca00ad747c3c96d8ad6e616a8684c172a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-16T02:40:46.945Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-16T02:40:46.946Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-16T02:40:47.193Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-16T02:40:47.195Z] $ docker exec d54b72f5dc695452f51af0803db47a8ca00ad747c3c96d8ad6e616a8684c172a ssh-agent [2021-01-16T02:40:47.358Z] SSH_AUTH_SOCK=/tmp/ssh-jeT1hEMnyYqn/agent.12 [2021-01-16T02:40:47.358Z] SSH_AGENT_PID=18 [2021-01-16T02:40:47.373Z] Running ssh-add (command line suppressed) [2021-01-16T02:40:47.492Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_6177280365513546855.key (/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_6177280365513546855.key) [2021-01-16T02:40:47.548Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-16T02:40:47.898Z] + git tag --points-at HEAD [Pipeline] } [2021-01-16T02:40:47.928Z] $ docker exec --env ******** --env ******** d54b72f5dc695452f51af0803db47a8ca00ad747c3c96d8ad6e616a8684c172a ssh-agent -k [2021-01-16T02:40:48.041Z] unset SSH_AUTH_SOCK; [2021-01-16T02:40:48.041Z] unset SSH_AGENT_PID; [2021-01-16T02:40:48.041Z] echo Agent pid 18 killed; [2021-01-16T02:40:48.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-16T02:40:48.263Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-16T02:40:48.263Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-16T02:40:48.430Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-16T02:40:48.432Z] $ docker exec d54b72f5dc695452f51af0803db47a8ca00ad747c3c96d8ad6e616a8684c172a ssh-agent [2021-01-16T02:40:48.591Z] SSH_AUTH_SOCK=/tmp/ssh-lu1gXoG19Av1/agent.46 [2021-01-16T02:40:48.591Z] SSH_AGENT_PID=52 [2021-01-16T02:40:48.599Z] Running ssh-add (command line suppressed) [2021-01-16T02:40:48.713Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_3251217863005944332.key (/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_3251217863005944332.key) [2021-01-16T02:40:48.768Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-16T02:40:49.104Z] + git semver init [2021-01-16T02:40:49.104Z] # -> Open(): unable to determine branch for HEAD [2021-01-16T02:40:49.104Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-718/.git [2021-01-16T02:40:49.104Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-718 [2021-01-16T02:40:49.104Z] # $SEMVER_REMOTE_NAME = origin [2021-01-16T02:40:49.104Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-16T02:40:49.104Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-16T02:40:49.104Z] # $SEMVER_BRANCH = PR-718 [2021-01-16T02:40:49.104Z] # $SEMVER_TEMP = /tmp/semver-734228087 [2021-01-16T02:40:49.104Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-16T02:40:49.682Z] # '/tmp/semver-734228087' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-718/.semver' [2021-01-16T02:40:49.944Z] # -> Force: false [2021-01-16T02:40:49.944Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-718/.semver [Pipeline] } [2021-01-16T02:40:49.957Z] $ docker exec --env ******** --env ******** d54b72f5dc695452f51af0803db47a8ca00ad747c3c96d8ad6e616a8684c172a ssh-agent -k [2021-01-16T02:40:50.067Z] unset SSH_AUTH_SOCK; [2021-01-16T02:40:50.067Z] unset SSH_AGENT_PID; [2021-01-16T02:40:50.067Z] echo Agent pid 52 killed; [2021-01-16T02:40:50.117Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-16T02:40:50.595Z] + git semver [Pipeline] } [2021-01-16T02:40:50.612Z] $ docker stop --time=1 d54b72f5dc695452f51af0803db47a8ca00ad747c3c96d8ad6e616a8684c172a [2021-01-16T02:40:52.164Z] $ docker rm -f d54b72f5dc695452f51af0803db47a8ca00ad747c3c96d8ad6e616a8684c172a [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-16T02:40:52.658Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-16T02:40:53.131Z] Stashed 1 file(s) [Pipeline] echo [2021-01-16T02:40:53.133Z] [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-16T02:41:08.748Z] Still waiting to schedule task [2021-01-16T02:41:08.748Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-16T02:41:08.751Z] Still waiting to schedule task [2021-01-16T02:41:08.751Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-16T02:42:59.121Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20742 in /w/workspace/dgexfoundry_device-sdk-go_PR-718 [Pipeline] { [Pipeline] ws [2021-01-16T02:42:59.181Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-01-16T02:43:04.163Z] using credential edgex-jenkins-ssh [2021-01-16T02:43:04.238Z] Cloning the remote Git repository [2021-01-16T02:43:04.321Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:43:04.442Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-01-16T02:43:04.519Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:43:04.520Z] > git --version # timeout=10 [2021-01-16T02:43:04.546Z] > git --version # 'git version 2.17.1' [2021-01-16T02:43:04.548Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:43:04.615Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-16T02:43:06.497Z] Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 6f3dd4d201a93bcda4f4931f685f2c776ae14895 [2021-01-16T02:43:05.734Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-16T02:43:05.754Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-16T02:43:05.784Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-16T02:43:05.819Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:43:05.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:43:05.844Z] > 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-16T02:43:06.516Z] > git config core.sparsecheckout # timeout=10 [2021-01-16T02:43:06.528Z] > git checkout -f 6f3dd4d201a93bcda4f4931f685f2c776ae14895 # timeout=10 [2021-01-16T02:43:06.639Z] > git remote # timeout=10 [2021-01-16T02:43:06.656Z] > git config --get remote.origin.url # timeout=10 [2021-01-16T02:43:06.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:43:06.698Z] > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 [2021-01-16T02:43:06.863Z] Merge succeeded, producing a7adeccab9550d10efcf4f0c5c1bdc30e536518d [2021-01-16T02:43:06.863Z] Checking out Revision a7adeccab9550d10efcf4f0c5c1bdc30e536518d (PR-718) [2021-01-16T02:43:06.841Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-16T02:43:06.868Z] > git config core.sparsecheckout # timeout=10 [2021-01-16T02:43:06.885Z] > git checkout -f a7adeccab9550d10efcf4f0c5c1bdc30e536518d # timeout=10 [2021-01-16T02:43:11.222Z] Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" [2021-01-16T02:43:11.228Z] > git rev-list --no-walk 6f3dd4d201a93bcda4f4931f685f2c776ae14895 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-16T02:43:12.951Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-16T02:43:13.374Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-16T02:43:13.724Z] + true [2021-01-16T02:43:13.724Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-16T02:43:16.433Z] provisioning config files... [2021-01-16T02:43:16.474Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config2569106632646081704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:43:16.891Z] ---> docker-login.sh [2021-01-16T02:43:16.892Z] nexus3.edgexfoundry.org:10001 [2021-01-16T02:43:17.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:43:18.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:43:18.155Z] Configure a credential helper to remove this warning. See [2021-01-16T02:43:18.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:43:18.155Z] [2021-01-16T02:43:18.155Z] Login Succeeded [2021-01-16T02:43:18.155Z] nexus3.edgexfoundry.org:10002 [2021-01-16T02:43:18.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:43:18.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:43:18.763Z] Configure a credential helper to remove this warning. See [2021-01-16T02:43:18.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:43:18.763Z] [2021-01-16T02:43:18.763Z] Login Succeeded [2021-01-16T02:43:18.763Z] nexus3.edgexfoundry.org:10003 [2021-01-16T02:43:19.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:43:19.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:43:19.311Z] Configure a credential helper to remove this warning. See [2021-01-16T02:43:19.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:43:19.311Z] [2021-01-16T02:43:19.311Z] Login Succeeded [2021-01-16T02:43:19.311Z] nexus3.edgexfoundry.org:10004 [2021-01-16T02:43:19.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:43:19.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:43:19.586Z] Configure a credential helper to remove this warning. See [2021-01-16T02:43:19.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:43:19.586Z] [2021-01-16T02:43:19.586Z] Login Succeeded [2021-01-16T02:43:19.860Z] docker.io [2021-01-16T02:43:20.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:43:20.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:43:20.404Z] Configure a credential helper to remove this warning. See [2021-01-16T02:43:20.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:43:20.404Z] [2021-01-16T02:43:20.404Z] Login Succeeded [2021-01-16T02:43:20.404Z] ---> docker-login.sh ends [Pipeline] } [2021-01-16T02:43:20.421Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-16T02:43:20.945Z] ========================================================= [2021-01-16T02:43:20.945Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-16T02:43:20.945Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:43:21.320Z] + 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-16T02:43:21.936Z] Sending build context to Docker daemon 2.659MB [2021-01-16T02:43:21.936Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-16T02:43:21.936Z] Step 2/8 : FROM ${BASE} [2021-01-16T02:43:21.936Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-16T02:43:21.936Z] 5f621e34cdf4: Pulling fs layer [2021-01-16T02:43:21.936Z] a4357932f1b6: Pulling fs layer [2021-01-16T02:43:21.936Z] 18c013af1878: Pulling fs layer [2021-01-16T02:43:21.936Z] 00ac8860ef70: Pulling fs layer [2021-01-16T02:43:21.936Z] 63d7cb157983: Pulling fs layer [2021-01-16T02:43:21.936Z] b116817d02f9: Pulling fs layer [2021-01-16T02:43:21.936Z] 745a02a5169b: Pulling fs layer [2021-01-16T02:43:21.936Z] 00ac8860ef70: Waiting [2021-01-16T02:43:21.936Z] 63d7cb157983: Waiting [2021-01-16T02:43:21.936Z] b116817d02f9: Waiting [2021-01-16T02:43:21.936Z] 745a02a5169b: Waiting [2021-01-16T02:43:21.936Z] 18c013af1878: Verifying Checksum [2021-01-16T02:43:21.936Z] 18c013af1878: Download complete [2021-01-16T02:43:21.936Z] a4357932f1b6: Verifying Checksum [2021-01-16T02:43:21.936Z] a4357932f1b6: Download complete [2021-01-16T02:43:21.936Z] 63d7cb157983: Download complete [2021-01-16T02:43:22.209Z] b116817d02f9: Download complete [2021-01-16T02:43:22.483Z] 5f621e34cdf4: Download complete [2021-01-16T02:43:23.089Z] 5f621e34cdf4: Pull complete [2021-01-16T02:43:23.690Z] a4357932f1b6: Pull complete [2021-01-16T02:43:23.963Z] 18c013af1878: Pull complete [2021-01-16T02:43:24.948Z] 745a02a5169b: Verifying Checksum [2021-01-16T02:43:24.948Z] 745a02a5169b: Download complete [2021-01-16T02:43:26.389Z] 00ac8860ef70: Verifying Checksum [2021-01-16T02:43:26.389Z] 00ac8860ef70: Download complete [2021-01-16T02:43:38.806Z] 00ac8860ef70: Pull complete [2021-01-16T02:43:38.806Z] 63d7cb157983: Pull complete [2021-01-16T02:43:38.806Z] b116817d02f9: Pull complete [2021-01-16T02:43:41.447Z] 745a02a5169b: Pull complete [2021-01-16T02:43:41.447Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-16T02:43:41.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-16T02:43:41.447Z] ---> b7e6874047d6 [2021-01-16T02:43:41.447Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:43:44.087Z] ---> Running in 4713df107766 [2021-01-16T02:43:44.362Z] Removing intermediate container 4713df107766 [2021-01-16T02:43:44.362Z] ---> 6a7f5d0cc30e [2021-01-16T02:43:44.362Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-16T02:43:44.362Z] ---> Running in 2aaaca3e4d08 [2021-01-16T02:43:46.335Z] Removing intermediate container 2aaaca3e4d08 [2021-01-16T02:43:46.335Z] ---> e567d09c4403 [2021-01-16T02:43:46.335Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-16T02:43:46.614Z] ---> Running in 9b5ac1b5808b [2021-01-16T02:43:47.597Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-16T02:43:50.987Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-16T02:43:51.260Z] OK: 142 MiB in 39 packages [2021-01-16T02:43:52.693Z] Removing intermediate container 9b5ac1b5808b [2021-01-16T02:43:52.693Z] ---> 431c9883883e [2021-01-16T02:43:52.693Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-16T02:43:52.693Z] ---> Running in d75a1c0e1356 [2021-01-16T02:43:52.965Z] Removing intermediate container d75a1c0e1356 [2021-01-16T02:43:52.965Z] ---> de0a89760e0c [2021-01-16T02:43:52.965Z] Step 7/8 : COPY . . [2021-01-16T02:43:54.399Z] ---> 5a0d438d1346 [2021-01-16T02:43:54.399Z] Step 8/8 : RUN go mod download [2021-01-16T02:43:54.399Z] ---> Running in d6429d3db2f1 [2021-01-16T02:44:16.563Z] Removing intermediate container d6429d3db2f1 [2021-01-16T02:44:16.563Z] ---> a7091814553f [2021-01-16T02:44:16.563Z] Successfully built a7091814553f [2021-01-16T02:44:16.563Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:44:16.918Z] + docker inspect -f . ci-base-image-arm64 [2021-01-16T02:44:16.918Z] . [Pipeline] withDockerContainer [2021-01-16T02:44:17.166Z] prd-ubuntu18.04-docker-arm64-4c-16g-20742 does not seem to be running inside a container [2021-01-16T02:44:17.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-16T02:44:18.884Z] $ docker top fbb5c60ed1fb22f5d527ab7340ee19d3c578a340d0664488630d3cf5bc0ae07c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-16T02:44:19.887Z] + go version [2021-01-16T02:44:19.887Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-16T02:44:19.908Z] $ docker stop --time=1 fbb5c60ed1fb22f5d527ab7340ee19d3c578a340d0664488630d3cf5bc0ae07c [2021-01-16T02:44:21.954Z] $ docker rm -f fbb5c60ed1fb22f5d527ab7340ee19d3c578a340d0664488630d3cf5bc0ae07c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:44:22.982Z] + docker inspect -f . ci-base-image-arm64 [2021-01-16T02:44:22.983Z] . [Pipeline] withDockerContainer [2021-01-16T02:44:23.218Z] prd-ubuntu18.04-docker-arm64-4c-16g-20742 does not seem to be running inside a container [2021-01-16T02:44:23.298Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-16T02:44:24.954Z] $ docker top 391644a0a75a8d61e913a5ddd58cf8f648f42e59821902bd1e09d412e96341fc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-16T02:44:25.856Z] + make test [2021-01-16T02:44:25.856Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-16T02:44:48.045Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-16T02:45:20.277Z] Running on prd-centos7-docker-4c-2g-20745 in /w/workspace/dgexfoundry_device-sdk-go_PR-718 [Pipeline] { [Pipeline] ws [2021-01-16T02:45:20.329Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-01-16T02:45:23.075Z] using credential edgex-jenkins-ssh [2021-01-16T02:45:23.135Z] Cloning the remote Git repository [2021-01-16T02:45:23.166Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:45:23.268Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-01-16T02:45:23.330Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:45:23.330Z] > git --version # timeout=10 [2021-01-16T02:45:23.339Z] > git --version # 'git version 2.24.3' [2021-01-16T02:45:23.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:45:23.369Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-16T02:45:24.725Z] Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 6f3dd4d201a93bcda4f4931f685f2c776ae14895 [2021-01-16T02:45:24.912Z] Merge succeeded, producing cb48b99934abbc8d4cb43cf4b76a4de209a16e35 [2021-01-16T02:45:24.912Z] Checking out Revision cb48b99934abbc8d4cb43cf4b76a4de209a16e35 (PR-718) [2021-01-16T02:45:24.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-16T02:45:24.190Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-16T02:45:24.205Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-16T02:45:24.225Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:45:24.225Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:45:24.231Z] > 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-16T02:45:24.733Z] > git config core.sparsecheckout # timeout=10 [2021-01-16T02:45:24.744Z] > git checkout -f 6f3dd4d201a93bcda4f4931f685f2c776ae14895 # timeout=10 [2021-01-16T02:45:24.809Z] > git remote # timeout=10 [2021-01-16T02:45:24.827Z] > git config --get remote.origin.url # timeout=10 [2021-01-16T02:45:24.834Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:45:24.838Z] > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 [2021-01-16T02:45:24.904Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-16T02:45:24.915Z] > git config core.sparsecheckout # timeout=10 [2021-01-16T02:45:24.920Z] > git checkout -f cb48b99934abbc8d4cb43cf4b76a4de209a16e35 # timeout=10 [2021-01-16T02:45:27.119Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-16T02:45:27.119Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-16T02:45:27.119Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-16T02:45:27.119Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.151s coverage: 19.4% of statements [2021-01-16T02:45:28.551Z] Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" [2021-01-16T02:45:28.557Z] > git rev-list --no-walk 6f3dd4d201a93bcda4f4931f685f2c776ae14895 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-16T02:45:29.795Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-16T02:45:30.123Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-16T02:45:30.431Z] + sudo service docker restart [2021-01-16T02:45:30.431Z] + true [2021-01-16T02:45:30.431Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-16T02:45:31.907Z] provisioning config files... [2021-01-16T02:45:31.940Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config8766231640094737362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:45:32.322Z] ---> docker-login.sh [2021-01-16T02:45:32.322Z] nexus3.edgexfoundry.org:10001 [2021-01-16T02:45:32.559Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.274s coverage: 97.1% of statements [2021-01-16T02:45:32.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:45:32.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:45:32.856Z] Configure a credential helper to remove this warning. See [2021-01-16T02:45:32.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:45:32.856Z] [2021-01-16T02:45:32.856Z] Login Succeeded [2021-01-16T02:45:32.856Z] nexus3.edgexfoundry.org:10002 [2021-01-16T02:45:32.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:45:32.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:45:32.856Z] Configure a credential helper to remove this warning. See [2021-01-16T02:45:32.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:45:32.856Z] [2021-01-16T02:45:32.856Z] Login Succeeded [2021-01-16T02:45:32.856Z] nexus3.edgexfoundry.org:10003 [2021-01-16T02:45:33.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:45:33.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:45:33.122Z] Configure a credential helper to remove this warning. See [2021-01-16T02:45:33.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:45:33.122Z] [2021-01-16T02:45:33.122Z] Login Succeeded [2021-01-16T02:45:33.122Z] nexus3.edgexfoundry.org:10004 [2021-01-16T02:45:33.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:45:33.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:45:33.389Z] Configure a credential helper to remove this warning. See [2021-01-16T02:45:33.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:45:33.389Z] [2021-01-16T02:45:33.389Z] Login Succeeded [2021-01-16T02:45:33.389Z] docker.io [2021-01-16T02:45:33.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:45:33.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:45:33.652Z] Configure a credential helper to remove this warning. See [2021-01-16T02:45:33.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:45:33.652Z] [2021-01-16T02:45:33.652Z] Login Succeeded [2021-01-16T02:45:33.652Z] ---> docker-login.sh ends [Pipeline] } [2021-01-16T02:45:33.662Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-16T02:45:34.192Z] ========================================================= [2021-01-16T02:45:34.193Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-16T02:45:34.193Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:45:34.575Z] + 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-16T02:45:34.839Z] Sending build context to Docker daemon 2.659MB [2021-01-16T02:45:34.839Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-16T02:45:34.839Z] Step 2/8 : FROM ${BASE} [2021-01-16T02:45:34.839Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-16T02:45:34.839Z] 188c0c94c7c5: Pulling fs layer [2021-01-16T02:45:34.839Z] 0ef7d3d256c8: Pulling fs layer [2021-01-16T02:45:34.839Z] de9db76c5a1d: Pulling fs layer [2021-01-16T02:45:34.839Z] bca2f99d35d6: Pulling fs layer [2021-01-16T02:45:34.839Z] 93359f2a8cfa: Pulling fs layer [2021-01-16T02:45:34.839Z] 7c6f9722023f: Pulling fs layer [2021-01-16T02:45:34.839Z] a35cf1a2eb13: Pulling fs layer [2021-01-16T02:45:34.839Z] 93359f2a8cfa: Waiting [2021-01-16T02:45:34.839Z] bca2f99d35d6: Waiting [2021-01-16T02:45:34.839Z] 7c6f9722023f: Waiting [2021-01-16T02:45:34.839Z] a35cf1a2eb13: Waiting [2021-01-16T02:45:34.839Z] de9db76c5a1d: Verifying Checksum [2021-01-16T02:45:34.839Z] de9db76c5a1d: Download complete [2021-01-16T02:45:34.839Z] 0ef7d3d256c8: Verifying Checksum [2021-01-16T02:45:34.839Z] 0ef7d3d256c8: Download complete [2021-01-16T02:45:34.839Z] 93359f2a8cfa: Verifying Checksum [2021-01-16T02:45:34.839Z] 93359f2a8cfa: Download complete [2021-01-16T02:45:34.839Z] 188c0c94c7c5: Verifying Checksum [2021-01-16T02:45:34.839Z] 188c0c94c7c5: Download complete [2021-01-16T02:45:34.839Z] 7c6f9722023f: Verifying Checksum [2021-01-16T02:45:34.839Z] 7c6f9722023f: Download complete [2021-01-16T02:45:35.417Z] 188c0c94c7c5: Pull complete [2021-01-16T02:45:35.417Z] 0ef7d3d256c8: Pull complete [2021-01-16T02:45:35.680Z] de9db76c5a1d: Pull complete [2021-01-16T02:45:37.086Z] a35cf1a2eb13: Verifying Checksum [2021-01-16T02:45:37.086Z] a35cf1a2eb13: Download complete [2021-01-16T02:45:38.048Z] bca2f99d35d6: Verifying Checksum [2021-01-16T02:45:38.048Z] bca2f99d35d6: Download complete [2021-01-16T02:45:43.412Z] bca2f99d35d6: Pull complete [2021-01-16T02:45:43.676Z] 93359f2a8cfa: Pull complete [2021-01-16T02:45:43.676Z] 7c6f9722023f: Pull complete [2021-01-16T02:45:49.015Z] a35cf1a2eb13: Pull complete [2021-01-16T02:45:49.015Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-16T02:45:49.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-16T02:45:49.015Z] ---> a62c8e92a672 [2021-01-16T02:45:49.015Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:45:49.015Z] ---> Running in 51ddc6a33beb [2021-01-16T02:45:49.302Z] Removing intermediate container 51ddc6a33beb [2021-01-16T02:45:49.302Z] ---> d58251951061 [2021-01-16T02:45:49.302Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-16T02:45:49.302Z] ---> Running in 77c050ad8d97 [2021-01-16T02:45:50.707Z] Removing intermediate container 77c050ad8d97 [2021-01-16T02:45:50.707Z] ---> c42068595b1c [2021-01-16T02:45:50.707Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-16T02:45:50.707Z] ---> Running in 2eab376ce94f [2021-01-16T02:45:51.662Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-16T02:45:52.250Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-16T02:45:52.826Z] OK: 166 MiB in 39 packages [2021-01-16T02:45:53.409Z] Removing intermediate container 2eab376ce94f [2021-01-16T02:45:53.409Z] ---> 7cc7ae92a75a [2021-01-16T02:45:53.409Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-16T02:45:53.409Z] ---> Running in 5470aed74812 [2021-01-16T02:45:53.678Z] Removing intermediate container 5470aed74812 [2021-01-16T02:45:53.678Z] ---> 130cfa59d8a3 [2021-01-16T02:45:53.678Z] Step 7/8 : COPY . . [2021-01-16T02:45:55.087Z] ---> 758bc0a92257 [2021-01-16T02:45:55.087Z] Step 8/8 : RUN go mod download [2021-01-16T02:45:55.087Z] ---> Running in d24318f09077 [2021-01-16T02:46:04.911Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.146s coverage: 9.4% of statements [2021-01-16T02:46:04.911Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.162s coverage: 21.7% of statements [2021-01-16T02:46:04.911Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-16T02:46:04.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.581s coverage: 42.9% of statements [2021-01-16T02:46:04.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-16T02:46:04.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.744s coverage: 68.9% of statements [2021-01-16T02:46:04.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-16T02:46:04.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-16T02:46:04.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-16T02:46:04.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-16T02:46:04.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.199s coverage: 53.8% of statements [2021-01-16T02:46:04.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-16T02:46:04.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-16T02:46:04.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.195s coverage: 25.6% of statements [2021-01-16T02:46:04.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.710s coverage: 68.9% of statements [2021-01-16T02:46:04.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 4.2% of statements [2021-01-16T02:46:04.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-16T02:46:04.912Z] GO111MODULE=on go vet ./... [2021-01-16T02:46:13.302Z] Removing intermediate container d24318f09077 [2021-01-16T02:46:13.302Z] ---> d45beddc11af [2021-01-16T02:46:13.302Z] Successfully built d45beddc11af [2021-01-16T02:46:13.302Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:46:13.861Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-16T02:46:13.861Z] . [Pipeline] withDockerContainer [2021-01-16T02:46:13.987Z] prd-centos7-docker-4c-2g-20745 does not seem to be running inside a container [2021-01-16T02:46:14.045Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-16T02:46:14.843Z] $ docker top 8ecfb6996e739d1505928ba14210843241ab67446071c9a1b467b808b62e205e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-16T02:46:15.334Z] + go version [2021-01-16T02:46:15.334Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-16T02:46:15.349Z] $ docker stop --time=1 8ecfb6996e739d1505928ba14210843241ab67446071c9a1b467b808b62e205e [2021-01-16T02:46:16.715Z] $ docker rm -f 8ecfb6996e739d1505928ba14210843241ab67446071c9a1b467b808b62e205e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:46:17.575Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-16T02:46:17.575Z] . [Pipeline] withDockerContainer [2021-01-16T02:46:17.673Z] prd-centos7-docker-4c-2g-20745 does not seem to be running inside a container [2021-01-16T02:46:17.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-16T02:46:18.455Z] $ docker top e072390fea30bc8e583c126f10927edc224e2d3ed01b25c9c224d4da7e4772f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-16T02:46:19.002Z] + make test [2021-01-16T02:46:19.002Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-16T02:46:27.216Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-16T02:46:37.805Z] gofmt -l . [2021-01-16T02:46:37.805Z] [ "`gofmt -l .`" = "" ] [2021-01-16T02:46:37.805Z] ./bin/test-attribution-txt.sh [2021-01-16T02:46:37.805Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-16T02:46:37.824Z] $ docker stop --time=1 391644a0a75a8d61e913a5ddd58cf8f648f42e59821902bd1e09d412e96341fc [2021-01-16T02:46:40.100Z] $ docker rm -f 391644a0a75a8d61e913a5ddd58cf8f648f42e59821902bd1e09d412e96341fc [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-16T02:46:41.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-16T02:46:42.219Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-01-16T02:46:42.315Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-16T02:46:42.315Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-16T02:46:42.315Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-16T02:46:42.315Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.078s coverage: 19.4% of statements [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-16T02:46:45.132Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-16T02:46:45.461Z] + ls -al . [2021-01-16T02:46:45.461Z] total 260 [2021-01-16T02:46:45.461Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 02:46 . [2021-01-16T02:46:45.461Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:43 .. [2021-01-16T02:46:45.461Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 16 02:43 .dockerignore [2021-01-16T02:46:45.461Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 02:43 .git [2021-01-16T02:46:45.461Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 02:43 .github [2021-01-16T02:46:45.461Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 16 02:43 .gitignore [2021-01-16T02:46:45.461Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 16 02:43 Dockerfile.build [2021-01-16T02:46:45.461Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 16 02:43 Jenkinsfile [2021-01-16T02:46:45.461Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 16 02:43 LICENSE [2021-01-16T02:46:45.461Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 16 02:43 Makefile [2021-01-16T02:46:45.461Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 16 02:43 README.md [2021-01-16T02:46:45.461Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 16 02:43 RELEASE-NOTES.txt [2021-01-16T02:46:45.461Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 02:40 VERSION [2021-01-16T02:46:45.461Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 02:43 bin [2021-01-16T02:46:45.461Z] -rw-r--r-- 1 jenkins jenkins 144063 Jan 16 02:45 coverage.out [2021-01-16T02:46:45.461Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:43 example [2021-01-16T02:46:45.461Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 16 02:46 go.mod [2021-01-16T02:46:45.461Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 16 02:46 go.sum [2021-01-16T02:46:45.461Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 16 02:43 internal [2021-01-16T02:46:45.461Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:43 openapi [2021-01-16T02:46:45.461Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 16 02:43 pkg [2021-01-16T02:46:45.461Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:43 snap [2021-01-16T02:46:45.461Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 16 02:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:46:45.723Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.530s coverage: 97.1% of statements [2021-01-16T02:46:45.802Z] + 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=5d7757e3a36caa7638257241c612e66b4176ca0d --label arch=arm64 --label version=0.0.0 . [2021-01-16T02:46:46.415Z] Sending build context to Docker daemon 2.804MB [2021-01-16T02:46:46.415Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-16T02:46:46.415Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-16T02:46:46.415Z] ---> a7091814553f [2021-01-16T02:46:46.415Z] Step 3/24 : ARG MAKE='make build' [2021-01-16T02:46:46.415Z] ---> Running in 41f46e3ae070 [2021-01-16T02:46:47.012Z] Removing intermediate container 41f46e3ae070 [2021-01-16T02:46:47.012Z] ---> fe9959b1de94 [2021-01-16T02:46:47.012Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-16T02:46:47.012Z] ---> Running in b19976dd9e4e [2021-01-16T02:46:47.615Z] Removing intermediate container b19976dd9e4e [2021-01-16T02:46:47.615Z] ---> 644154a6d18a [2021-01-16T02:46:47.615Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:46:47.615Z] ---> Running in 4a4700b667a6 [2021-01-16T02:46:48.217Z] Removing intermediate container 4a4700b667a6 [2021-01-16T02:46:48.217Z] ---> a058689bdaeb [2021-01-16T02:46:48.217Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-16T02:46:48.217Z] ---> Running in 0bd30ed3997a [2021-01-16T02:46:50.838Z] Removing intermediate container 0bd30ed3997a [2021-01-16T02:46:50.838Z] ---> 228e5a536ca6 [2021-01-16T02:46:50.838Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-16T02:46:50.838Z] ---> Running in e4ac0c01a3bb [2021-01-16T02:46:51.461Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-16T02:46:52.456Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-16T02:46:52.733Z] OK: 142 MiB in 39 packages [2021-01-16T02:46:54.201Z] Removing intermediate container e4ac0c01a3bb [2021-01-16T02:46:54.201Z] ---> 3e2edd5d0862 [2021-01-16T02:46:54.201Z] Step 8/24 : COPY . . [2021-01-16T02:46:55.637Z] ---> 2d8c8987613d [2021-01-16T02:46:55.637Z] Step 9/24 : RUN ${MAKE} [2021-01-16T02:46:55.637Z] ---> Running in f052fbd573a4 [2021-01-16T02:46:56.618Z] 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-16T02:47:17.975Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.082s coverage: 9.4% of statements [2021-01-16T02:47:17.975Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.051s coverage: 21.7% of statements [2021-01-16T02:47:17.975Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-16T02:47:17.975Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.246s coverage: 42.9% of statements [2021-01-16T02:47:17.975Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-16T02:47:17.975Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.290s coverage: 68.9% of statements [2021-01-16T02:47:17.975Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-16T02:47:17.975Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-16T02:47:17.975Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-16T02:47:17.975Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-16T02:47:17.975Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 53.8% of statements [2021-01-16T02:47:17.975Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-16T02:47:17.975Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-16T02:47:17.975Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.080s coverage: 25.6% of statements [2021-01-16T02:47:17.975Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.426s coverage: 68.9% of statements [2021-01-16T02:47:17.975Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.2% of statements [2021-01-16T02:47:17.975Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-16T02:47:17.975Z] GO111MODULE=on go vet ./... [2021-01-16T02:47:23.468Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-16T02:47:23.469Z] Removing intermediate container f052fbd573a4 [2021-01-16T02:47:23.469Z] ---> 1e421d62f520 [2021-01-16T02:47:23.469Z] Step 10/24 : FROM scratch [2021-01-16T02:47:23.469Z] ---> [2021-01-16T02:47:23.469Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:47:23.469Z] ---> Running in 767d753d35e4 [2021-01-16T02:47:23.469Z] Removing intermediate container 767d753d35e4 [2021-01-16T02:47:23.469Z] ---> 377a20b5250f [2021-01-16T02:47:23.469Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-16T02:47:23.740Z] ---> Running in 714e9cf9a65e [2021-01-16T02:47:24.012Z] Removing intermediate container 714e9cf9a65e [2021-01-16T02:47:24.012Z] ---> bb79652d1c3b [2021-01-16T02:47:24.012Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-16T02:47:24.293Z] ---> Running in 8edfacbdeb47 [2021-01-16T02:47:24.563Z] Removing intermediate container 8edfacbdeb47 [2021-01-16T02:47:24.563Z] ---> 49aec4a3de45 [2021-01-16T02:47:24.563Z] Step 14/24 : WORKDIR / [2021-01-16T02:47:24.563Z] ---> Running in 9c842e688071 [2021-01-16T02:47:24.640Z] gofmt -l . [2021-01-16T02:47:24.640Z] [ "`gofmt -l .`" = "" ] [2021-01-16T02:47:24.640Z] ./bin/test-attribution-txt.sh [2021-01-16T02:47:25.158Z] Removing intermediate container 9c842e688071 [2021-01-16T02:47:25.158Z] ---> 96eac908c52c [2021-01-16T02:47:25.158Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-16T02:47:25.220Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-16T02:47:25.503Z] $ docker stop --time=1 e072390fea30bc8e583c126f10927edc224e2d3ed01b25c9c224d4da7e4772f1 [2021-01-16T02:47:26.139Z] ---> e676cf446ca5 [2021-01-16T02:47:26.139Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-16T02:47:26.735Z] ---> c67addec7f88 [2021-01-16T02:47:26.735Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-16T02:47:27.589Z] $ docker rm -f e072390fea30bc8e583c126f10927edc224e2d3ed01b25c9c224d4da7e4772f1 [2021-01-16T02:47:27.712Z] ---> 706e73daddf4 [2021-01-16T02:47:27.712Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-16T02:47:28.297Z] + sudo chown -R jenkins:jenkins . [2021-01-16T02:47:28.306Z] ---> b08a40a48038 [2021-01-16T02:47:28.306Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [Pipeline] stash [2021-01-16T02:47:28.354Z] Warning: overwriting stash ‘coverage-report’ [2021-01-16T02:47:28.702Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-01-16T02:47:28.903Z] ---> c3d7e906e19f [2021-01-16T02:47:28.903Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-16T02:47:29.176Z] ---> Running in c9bdd83b530b [2021-01-16T02:47:29.283Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-16T02:47:29.582Z] + ls -al . [2021-01-16T02:47:29.582Z] total 224 [2021-01-16T02:47:29.582Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 16 02:47 . [2021-01-16T02:47:29.582Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 16 02:45 .. [2021-01-16T02:47:29.582Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 16 02:45 bin [2021-01-16T02:47:29.582Z] -rw-r--r--. 1 jenkins jenkins 144063 Jan 16 02:47 coverage.out [2021-01-16T02:47:29.582Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 16 02:45 Dockerfile.build [2021-01-16T02:47:29.582Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 16 02:45 .dockerignore [2021-01-16T02:47:29.582Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 16 02:45 example [2021-01-16T02:47:29.582Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 16 02:45 .git [2021-01-16T02:47:29.582Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 16 02:45 .github [2021-01-16T02:47:29.582Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 16 02:45 .gitignore [2021-01-16T02:47:29.582Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 16 02:47 go.mod [2021-01-16T02:47:29.582Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 16 02:47 go.sum [2021-01-16T02:47:29.582Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 16 02:45 internal [2021-01-16T02:47:29.582Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 16 02:45 Jenkinsfile [2021-01-16T02:47:29.582Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 16 02:45 LICENSE [2021-01-16T02:47:29.582Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 16 02:45 Makefile [2021-01-16T02:47:29.582Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 16 02:45 openapi [2021-01-16T02:47:29.582Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 16 02:45 pkg [2021-01-16T02:47:29.582Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 16 02:45 README.md [2021-01-16T02:47:29.582Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 16 02:45 RELEASE-NOTES.txt [2021-01-16T02:47:29.582Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 16 02:45 snap [2021-01-16T02:47:29.582Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 16 02:40 VERSION [2021-01-16T02:47:29.582Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 16 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:47:29.776Z] Removing intermediate container c9bdd83b530b [2021-01-16T02:47:29.777Z] ---> 3caeb809ecb9 [2021-01-16T02:47:29.777Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-16T02:47:29.777Z] ---> Running in 050ae88b0ff5 [2021-01-16T02:47:29.897Z] + 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=5d7757e3a36caa7638257241c612e66b4176ca0d --label arch=amd64 --label version=0.0.0 . [2021-01-16T02:47:30.049Z] Removing intermediate container 050ae88b0ff5 [2021-01-16T02:47:30.049Z] ---> 111385864880 [2021-01-16T02:47:30.049Z] Step 22/24 : LABEL arch=arm64 [2021-01-16T02:47:30.323Z] ---> Running in 06d25fef1f40 [2021-01-16T02:47:30.473Z] Sending build context to Docker daemon 2.804MB [2021-01-16T02:47:30.473Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-16T02:47:30.473Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-16T02:47:30.473Z] ---> d45beddc11af [2021-01-16T02:47:30.473Z] Step 3/24 : ARG MAKE='make build' [2021-01-16T02:47:30.917Z] Removing intermediate container 06d25fef1f40 [2021-01-16T02:47:30.918Z] ---> 349eb9c1d401 [2021-01-16T02:47:30.918Z] Step 23/24 : LABEL git_sha=5d7757e3a36caa7638257241c612e66b4176ca0d [2021-01-16T02:47:30.918Z] ---> Running in 2af4e7c64938 [2021-01-16T02:47:31.046Z] ---> Running in 413df75bbb3b [2021-01-16T02:47:31.046Z] Removing intermediate container 413df75bbb3b [2021-01-16T02:47:31.046Z] ---> aca3d4ccbce3 [2021-01-16T02:47:31.046Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-16T02:47:31.309Z] ---> Running in 995cee93a828 [2021-01-16T02:47:31.309Z] Removing intermediate container 995cee93a828 [2021-01-16T02:47:31.309Z] ---> ff0057832e66 [2021-01-16T02:47:31.309Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:47:31.512Z] Removing intermediate container 2af4e7c64938 [2021-01-16T02:47:31.512Z] ---> 9a1cde6ae0bd [2021-01-16T02:47:31.512Z] Step 24/24 : LABEL version=0.0.0 [2021-01-16T02:47:31.512Z] ---> Running in dacd4ff4004e [2021-01-16T02:47:31.571Z] ---> Running in b9b0d13480f8 [2021-01-16T02:47:31.571Z] Removing intermediate container b9b0d13480f8 [2021-01-16T02:47:31.571Z] ---> 58a8f430a31b [2021-01-16T02:47:31.571Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-16T02:47:31.843Z] ---> Running in 04bbb5ed60bd [2021-01-16T02:47:32.104Z] Removing intermediate container dacd4ff4004e [2021-01-16T02:47:32.104Z] ---> 29a3fce48788 [2021-01-16T02:47:32.104Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-16T02:47:32.104Z] Successfully built 29a3fce48788 [2021-01-16T02:47:32.104Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-16T02:47:33.245Z] Removing intermediate container 04bbb5ed60bd [2021-01-16T02:47:33.245Z] ---> e51a9c51c49b [2021-01-16T02:47:33.245Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-16T02:47:33.245Z] ---> Running in b9295709d439 [2021-01-16T02:47:33.508Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-16T02:47:34.083Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-16T02:47:34.658Z] OK: 166 MiB in 39 packages [2021-01-16T02:47:34.926Z] Removing intermediate container b9295709d439 [2021-01-16T02:47:34.926Z] ---> 4a6e9f45b4a8 [2021-01-16T02:47:34.926Z] Step 8/24 : COPY . . [2021-01-16T02:47:36.318Z] ---> ec5b04ba2a41 [2021-01-16T02:47:36.318Z] Step 9/24 : RUN ${MAKE} [2021-01-16T02:47:36.318Z] ---> Running in ee9c0d1127f6 [2021-01-16T02:47:36.581Z] 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-16T02:47:47.417Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-16T02:47:48.818Z] Removing intermediate container ee9c0d1127f6 [2021-01-16T02:47:48.818Z] ---> 5703e4f9e31d [2021-01-16T02:47:48.818Z] Step 10/24 : FROM scratch [2021-01-16T02:47:48.818Z] ---> [2021-01-16T02:47:48.818Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:47:48.818Z] ---> Running in 09d12c0a857d [2021-01-16T02:47:48.818Z] Removing intermediate container 09d12c0a857d [2021-01-16T02:47:48.818Z] ---> 2b2dbd55ee1d [2021-01-16T02:47:48.818Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-16T02:47:48.818Z] ---> Running in 26093f29f2b3 [2021-01-16T02:47:49.082Z] Removing intermediate container 26093f29f2b3 [2021-01-16T02:47:49.082Z] ---> 19119934f91a [2021-01-16T02:47:49.082Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-16T02:47:49.082Z] ---> Running in 1d3cd7e8f6b9 [2021-01-16T02:47:49.346Z] Removing intermediate container 1d3cd7e8f6b9 [2021-01-16T02:47:49.347Z] ---> 20a873249038 [2021-01-16T02:47:49.347Z] Step 14/24 : WORKDIR / [2021-01-16T02:47:49.347Z] ---> Running in f58245238613 [2021-01-16T02:47:49.610Z] Removing intermediate container f58245238613 [2021-01-16T02:47:49.610Z] ---> 34034974fcc6 [2021-01-16T02:47:49.610Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-16T02:47:50.186Z] ---> 8ed17f26bd47 [2021-01-16T02:47:50.186Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-16T02:47:50.186Z] ---> 3eb7f4b6ddba [2021-01-16T02:47:50.186Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-16T02:47:50.449Z] ---> 2b958a0a53be [2021-01-16T02:47:50.449Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-16T02:47:50.712Z] ---> af25109e1aa2 [2021-01-16T02:47:50.712Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-16T02:47:50.975Z] ---> 5c7c90fe07c9 [2021-01-16T02:47:50.975Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-16T02:47:50.975Z] ---> Running in 1b5f9ac4df6b [2021-01-16T02:47:51.239Z] Removing intermediate container 1b5f9ac4df6b [2021-01-16T02:47:51.239Z] ---> b609db7b5b18 [2021-01-16T02:47:51.239Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-16T02:47:51.239Z] ---> Running in d37b6bd0160d [2021-01-16T02:47:51.502Z] Removing intermediate container d37b6bd0160d [2021-01-16T02:47:51.502Z] ---> 025a6881f5db [2021-01-16T02:47:51.502Z] Step 22/24 : LABEL arch=amd64 [2021-01-16T02:47:51.502Z] ---> Running in 3e4752a7d750 [2021-01-16T02:47:51.767Z] Removing intermediate container 3e4752a7d750 [2021-01-16T02:47:51.767Z] ---> e544427368e7 [2021-01-16T02:47:51.767Z] Step 23/24 : LABEL git_sha=5d7757e3a36caa7638257241c612e66b4176ca0d [2021-01-16T02:47:51.767Z] ---> Running in 70aec4032a7b [2021-01-16T02:47:51.767Z] Removing intermediate container 70aec4032a7b [2021-01-16T02:47:51.767Z] ---> 93dedac8ccff [2021-01-16T02:47:51.767Z] Step 24/24 : LABEL version=0.0.0 [2021-01-16T02:47:52.030Z] ---> Running in 8f31f51ffe64 [2021-01-16T02:47:52.030Z] Removing intermediate container 8f31f51ffe64 [2021-01-16T02:47:52.030Z] ---> dee64fd6bf1d [2021-01-16T02:47:52.030Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-16T02:47:52.030Z] Successfully built dee64fd6bf1d [2021-01-16T02:47:52.030Z] 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-16T02:47:53.965Z] provisioning config files... [2021-01-16T02:47:53.976Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/config3945897658630304163tmp [Pipeline] { [Pipeline] sh [2021-01-16T02:47:54.383Z] + set +x [2021-01-16T02:47:54.383Z] + curl -s https://codecov.io/bash [2021-01-16T02:47:54.383Z] + bash -s -- [2021-01-16T02:47:54.646Z] [2021-01-16T02:47:54.646Z] _____ _ [2021-01-16T02:47:54.646Z] / ____| | | [2021-01-16T02:47:54.646Z] | | ___ __| | ___ ___ _____ __ [2021-01-16T02:47:54.646Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-16T02:47:54.646Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-16T02:47:54.646Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-16T02:47:54.646Z] Bash-20210115-cec3c92 [2021-01-16T02:47:54.646Z] [2021-01-16T02:47:54.646Z] [2021-01-16T02:47:54.646Z] ==> git version 2.24.3 found [2021-01-16T02:47:54.646Z] ==> 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-16T02:47:54.646Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-16T02:47:54.646Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-16T02:47:54.646Z] ==> Jenkins CI detected. [2021-01-16T02:47:54.646Z] project root: . [2021-01-16T02:47:54.646Z] --> token set from env [2021-01-16T02:47:54.646Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-16T02:47:54.646Z] ==> Running gcov in . (disable via -X gcov) [2021-01-16T02:47:54.646Z] ==> Python coveragepy not found [2021-01-16T02:47:54.646Z] ==> Searching for coverage reports in: [2021-01-16T02:47:54.646Z] + . [2021-01-16T02:47:54.646Z] -> Found 1 reports [2021-01-16T02:47:54.646Z] ==> Detecting git/mercurial file structure [2021-01-16T02:47:54.646Z] ==> Reading reports [2021-01-16T02:47:54.646Z] + ./coverage.out bytes=144063 [2021-01-16T02:47:54.646Z] ==> Appending adjustments [2021-01-16T02:47:54.646Z] https://docs.codecov.io/docs/fixing-reports [2021-01-16T02:47:55.224Z] + Found adjustments [2021-01-16T02:47:55.224Z] ==> Gzipping contents [2021-01-16T02:47:55.224Z] 24K /tmp/codecov.Hbh6ef.gz [2021-01-16T02:47:55.224Z] ==> Uploading reports [2021-01-16T02:47:55.224Z] url: https://codecov.io [2021-01-16T02:47:55.224Z] query: branch=PR-718&commit=5d7757e3a36caa7638257241c612e66b4176ca0d&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-718%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=718&job=&cmd_args= [2021-01-16T02:47:55.224Z] -> Pinging Codecov [2021-01-16T02:47:55.224Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-718&commit=5d7757e3a36caa7638257241c612e66b4176ca0d&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-718%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=718&job=&cmd_args= [2021-01-16T02:47:55.801Z] -> Uploading to [2021-01-16T02:47:55.801Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-16/7E55EF52A471D76F132DFD9A03CDDE97/5d7757e3a36caa7638257241c612e66b4176ca0d/b948b111-6520-42c1-992f-006e2dc75c4d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210116T024755Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d47599e84be6a09c74046ef5510f1bd5e9eb85f67d85ea367a1478f16c2560ec [2021-01-16T02:47:55.802Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-16T02:47:55.802Z] Dload Upload Total Spent Left Speed [2021-01-16T02:47:56.064Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22331 0 0 100 22331 0 40910 --:--:-- --:--:-- --:--:-- 40974 [2021-01-16T02:47:56.064Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5d7757e3a36caa7638257241c612e66b4176ca0d [Pipeline] } [2021-01-16T02:47:56.075Z] 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-16T02:47:58.808Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:47:59.380Z] ---> package-listing.sh [2021-01-16T02:47:59.381Z] ++ facter osfamily [2021-01-16T02:47:59.381Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-16T02:47:59.381Z] + OS_FAMILY=redhat [2021-01-16T02:47:59.381Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-718 [2021-01-16T02:47:59.381Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-16T02:47:59.381Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-16T02:47:59.381Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-16T02:47:59.381Z] + PACKAGES=/tmp/packages_start.txt [2021-01-16T02:47:59.381Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-718 ']' [2021-01-16T02:47:59.381Z] + PACKAGES=/tmp/packages_end.txt [2021-01-16T02:47:59.381Z] + case "${OS_FAMILY}" in [2021-01-16T02:47:59.381Z] + rpm -qa [2021-01-16T02:47:59.381Z] + sort [2021-01-16T02:48:04.749Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-16T02:48:04.749Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-16T02:48:04.749Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-16T02:48:04.749Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-718 ']' [2021-01-16T02:48:04.749Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-718/archives/ [2021-01-16T02:48:04.749Z] + 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-16T02:48:04.764Z] 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-16T02:48:05.061Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:48:05.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-16T02:48:05.376Z] [2021-01-16T02:48:05.376Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:48:05.766Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-16T02:48:05.766Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-16T02:48:05.766Z] df20fa9351a1: Pulling fs layer [2021-01-16T02:48:05.766Z] 36b3adc4ff6f: Pulling fs layer [2021-01-16T02:48:05.766Z] 8ad3a11d3b57: Pulling fs layer [2021-01-16T02:48:05.766Z] 46f8f816bc3b: Pulling fs layer [2021-01-16T02:48:05.766Z] 93b61091891f: Pulling fs layer [2021-01-16T02:48:05.766Z] 93b9cdb0e59b: Pulling fs layer [2021-01-16T02:48:05.766Z] 5e14af77c1be: Pulling fs layer [2021-01-16T02:48:05.766Z] 01666e4c0597: Pulling fs layer [2021-01-16T02:48:05.766Z] aa168da1d23b: Pulling fs layer [2021-01-16T02:48:05.766Z] 93b9cdb0e59b: Waiting [2021-01-16T02:48:05.766Z] 01666e4c0597: Waiting [2021-01-16T02:48:05.766Z] 5e14af77c1be: Waiting [2021-01-16T02:48:05.766Z] 93b61091891f: Waiting [2021-01-16T02:48:05.766Z] 46f8f816bc3b: Waiting [2021-01-16T02:48:05.766Z] 36b3adc4ff6f: Verifying Checksum [2021-01-16T02:48:05.766Z] 36b3adc4ff6f: Download complete [2021-01-16T02:48:05.766Z] 46f8f816bc3b: Verifying Checksum [2021-01-16T02:48:05.766Z] 46f8f816bc3b: Download complete [2021-01-16T02:48:06.028Z] df20fa9351a1: Verifying Checksum [2021-01-16T02:48:06.029Z] df20fa9351a1: Download complete [2021-01-16T02:48:06.029Z] 93b9cdb0e59b: Verifying Checksum [2021-01-16T02:48:06.029Z] 93b9cdb0e59b: Download complete [2021-01-16T02:48:06.029Z] 93b61091891f: Download complete [2021-01-16T02:48:06.029Z] 5e14af77c1be: Verifying Checksum [2021-01-16T02:48:06.029Z] 5e14af77c1be: Download complete [2021-01-16T02:48:06.029Z] 01666e4c0597: Verifying Checksum [2021-01-16T02:48:06.029Z] 01666e4c0597: Download complete [2021-01-16T02:48:06.291Z] df20fa9351a1: Pull complete [2021-01-16T02:48:06.553Z] 36b3adc4ff6f: Pull complete [2021-01-16T02:48:06.816Z] 8ad3a11d3b57: Verifying Checksum [2021-01-16T02:48:06.816Z] 8ad3a11d3b57: Download complete [2021-01-16T02:48:08.891Z] aa168da1d23b: Download complete [2021-01-16T02:48:09.224Z] 8ad3a11d3b57: Pull complete [2021-01-16T02:48:09.487Z] 46f8f816bc3b: Pull complete [2021-01-16T02:48:10.061Z] 93b61091891f: Pull complete [2021-01-16T02:48:10.061Z] 93b9cdb0e59b: Pull complete [2021-01-16T02:48:10.061Z] 5e14af77c1be: Pull complete [2021-01-16T02:48:10.329Z] 01666e4c0597: Pull complete [2021-01-16T02:48:16.948Z] aa168da1d23b: Pull complete [2021-01-16T02:48:16.948Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-16T02:48:16.948Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-16T02:48:16.948Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-16T02:48:17.155Z] prd-centos7-docker-4c-2g-20740 does not seem to be running inside a container [2021-01-16T02:48:17.212Z] $ 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-16T02:48:20.576Z] $ docker top f2ad7dc46876075efb4696fd9bbb19f7d3381dc7d92e9e732c15067d13cc2a3b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-16T02:48:21.086Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-16T02:48:21.389Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-16T02:48:21.689Z] + ls /var/log/sa-host [2021-01-16T02:48:21.689Z] + sadf -c /var/log/sa-host/sa16 [2021-01-16T02:48:21.689Z] file_magic: OK [2021-01-16T02:48:21.689Z] HZ: Using current value: 100 [2021-01-16T02:48:21.689Z] file_header: OK [2021-01-16T02:48:21.689Z] 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-16T02:48:21.689Z] Statistics: [2021-01-16T02:48:21.689Z] 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... [2021-01-16T02:48:21.689Z] File successfully converted to sysstat format version 12.2.1 [2021-01-16T02:48:21.689Z] + sadf -c /var/log/sa-host/sa23 [2021-01-16T02:48:21.689Z] file_magic: OK [2021-01-16T02:48:21.689Z] HZ: Using current value: 100 [2021-01-16T02:48:21.689Z] file_header: OK [2021-01-16T02:48:21.689Z] 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-16T02:48:21.689Z] Statistics: [2021-01-16T02:48:21.689Z] Hnuu...uuuununununu... [2021-01-16T02:48:21.689Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-16T02:48:22.321Z] provisioning config files... [2021-01-16T02:48:22.340Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/config6357036357997697550tmp [Pipeline] { [Pipeline] echo [2021-01-16T02:48:22.426Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:48:22.725Z] ---> create-netrc.sh [Pipeline] } [2021-01-16T02:48:22.737Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-16T02:48:22.828Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:48:23.128Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-16T02:48:23.139Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:48:23.435Z] ---> sudo-logs.sh [2021-01-16T02:48:23.436Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-16T02:48:23.447Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:48:23.743Z] ---> job-cost.sh [2021-01-16T02:48:23.743Z] lf-activate-venv: SKIPPING [2021-01-16T02:48:23.743Z] INFO: No Stack... [2021-01-16T02:48:24.690Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-16T02:48:25.263Z] INFO: Archiving Costs [Pipeline] echo [2021-01-16T02:48:25.279Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:48:25.576Z] ---> logs-deploy.sh [2021-01-16T02:48:25.576Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-718/6 [2021-01-16T02:48:25.576Z] INFO: archiving workspace using pattern(s): [2021-01-16T02:48:26.963Z] Archives upload complete. [2021-01-16T02:48:27.225Z] INFO: archiving logs to Nexus [2021-01-16T02:48:28.170Z] ---> uname -a: [2021-01-16T02:48:28.170Z] Linux prd-centos7-docker-4c-2g-20740.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-01-16T02:48:28.170Z] [2021-01-16T02:48:28.170Z] [2021-01-16T02:48:28.170Z] ---> lscpu: [2021-01-16T02:48:28.170Z] Architecture: x86_64 [2021-01-16T02:48:28.170Z] CPU op-mode(s): 32-bit, 64-bit [2021-01-16T02:48:28.170Z] Byte Order: Little Endian [2021-01-16T02:48:28.170Z] Address sizes: 40 bits physical, 48 bits virtual [2021-01-16T02:48:28.170Z] CPU(s): 4 [2021-01-16T02:48:28.170Z] On-line CPU(s) list: 0-3 [2021-01-16T02:48:28.170Z] Thread(s) per core: 1 [2021-01-16T02:48:28.170Z] Core(s) per socket: 1 [2021-01-16T02:48:28.170Z] Socket(s): 4 [2021-01-16T02:48:28.170Z] NUMA node(s): 1 [2021-01-16T02:48:28.170Z] Vendor ID: GenuineIntel [2021-01-16T02:48:28.170Z] CPU family: 6 [2021-01-16T02:48:28.170Z] Model: 44 [2021-01-16T02:48:28.170Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-01-16T02:48:28.170Z] Stepping: 1 [2021-01-16T02:48:28.170Z] CPU MHz: 2933.442 [2021-01-16T02:48:28.170Z] BogoMIPS: 5866.88 [2021-01-16T02:48:28.170Z] Virtualization: VT-x [2021-01-16T02:48:28.170Z] Hypervisor vendor: KVM [2021-01-16T02:48:28.170Z] Virtualization type: full [2021-01-16T02:48:28.170Z] L1d cache: 128 KiB [2021-01-16T02:48:28.170Z] L1i cache: 128 KiB [2021-01-16T02:48:28.170Z] L2 cache: 16 MiB [2021-01-16T02:48:28.170Z] L3 cache: 64 MiB [2021-01-16T02:48:28.170Z] NUMA node0 CPU(s): 0-3 [2021-01-16T02:48:28.170Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-01-16T02:48:28.170Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-01-16T02:48:28.170Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-01-16T02:48:28.170Z] Vulnerability Meltdown: Mitigation; PTI [2021-01-16T02:48:28.170Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-01-16T02:48:28.170Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-01-16T02:48:28.170Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-01-16T02:48:28.170Z] Vulnerability Srbds: Not affected [2021-01-16T02:48:28.170Z] Vulnerability Tsx async abort: Not affected [2021-01-16T02:48:28.170Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-01-16T02:48:28.170Z] [2021-01-16T02:48:28.170Z] [2021-01-16T02:48:28.170Z] ---> nproc: [2021-01-16T02:48:28.170Z] 4 [2021-01-16T02:48:28.170Z] [2021-01-16T02:48:28.170Z] [2021-01-16T02:48:28.170Z] ---> df -h: [2021-01-16T02:48:28.170Z] Filesystem Size Used Available Use% Mounted on [2021-01-16T02:48:28.170Z] overlay 50.0G 6.9G 43.1G 14% / [2021-01-16T02:48:28.170Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-01-16T02:48:28.170Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-01-16T02:48:28.170Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-01-16T02:48:28.170Z] /dev/vda1 50.0G 6.9G 43.1G 14% /facter-os [2021-01-16T02:48:28.170Z] /dev/vda1 50.0G 6.9G 43.1G 14% /etc/resolv.conf [2021-01-16T02:48:28.170Z] /dev/vda1 50.0G 6.9G 43.1G 14% /etc/hostname [2021-01-16T02:48:28.170Z] /dev/vda1 50.0G 6.9G 43.1G 14% /etc/hosts [2021-01-16T02:48:28.170Z] /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/secure [2021-01-16T02:48:28.170Z] /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/auth.log [2021-01-16T02:48:28.170Z] /dev/vda1 50.0G 6.9G 43.1G 14% /run/cloud-init/result.json [2021-01-16T02:48:28.170Z] /dev/vda1 50.0G 6.9G 43.1G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-718 [2021-01-16T02:48:28.170Z] /dev/vda1 50.0G 6.9G 43.1G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp [2021-01-16T02:48:28.170Z] /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/sa-host [2021-01-16T02:48:28.170Z] [2021-01-16T02:48:28.170Z] [2021-01-16T02:48:28.170Z] ---> free -m: [2021-01-16T02:48:28.170Z] total used free shared buff/cache available [2021-01-16T02:48:28.170Z] Mem: 1837 801 99 0 936 943 [2021-01-16T02:48:28.170Z] Swap: 1023 1 1022 [2021-01-16T02:48:28.170Z] [2021-01-16T02:48:28.170Z] [2021-01-16T02:48:28.170Z] ---> ip addr: [2021-01-16T02:48:28.170Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-01-16T02:48:28.170Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-01-16T02:48:28.170Z] inet 127.0.0.1/8 scope host lo [2021-01-16T02:48:28.170Z] valid_lft forever preferred_lft forever [2021-01-16T02:48:28.170Z] inet6 ::1/128 scope host [2021-01-16T02:48:28.170Z] valid_lft forever preferred_lft forever [2021-01-16T02:48:28.170Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-01-16T02:48:28.170Z] link/ether fa:16:3e:cc:3d:a2 brd ff:ff:ff:ff:ff:ff [2021-01-16T02:48:28.170Z] inet 10.30.122.150/23 brd 10.30.123.255 scope global dynamic eth0 [2021-01-16T02:48:28.170Z] valid_lft 82939sec preferred_lft 82939sec [2021-01-16T02:48:28.170Z] inet6 fe80::f816:3eff:fecc:3da2/64 scope link [2021-01-16T02:48:28.170Z] valid_lft forever preferred_lft forever [2021-01-16T02:48:28.170Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-01-16T02:48:28.170Z] link/ether 02:42:2f:0c:f2:60 brd ff:ff:ff:ff:ff:ff [2021-01-16T02:48:28.170Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-01-16T02:48:28.170Z] valid_lft forever preferred_lft forever [2021-01-16T02:48:28.170Z] inet6 fe80::42:2fff:fe0c:f260/64 scope link [2021-01-16T02:48:28.170Z] valid_lft forever preferred_lft forever [2021-01-16T02:48:28.170Z] [2021-01-16T02:48:28.170Z]