Pull request #720 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7f9fab5afdf02143f468fd7fcc0985681ec1d95b+909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 (32e810efd389d94298db04f02a0c2fa35c2cc5b7) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19260 in /w/workspace/dgexfoundry_device-sdk-go_PR-720 [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-720 # 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/720/head:refs/remotes/origin/PR-720 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 into PR head commit 7f9fab5afdf02143f468fd7fcc0985681ec1d95b Merge succeeded, producing 7f9fab5afdf02143f468fd7fcc0985681ec1d95b Checking out Revision 7f9fab5afdf02143f468fd7fcc0985681ec1d95b (PR-720) > git config core.sparsecheckout # timeout=10 > git checkout -f 7f9fab5afdf02143f468fd7fcc0985681ec1d95b # 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 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f9fab5afdf02143f468fd7fcc0985681ec1d95b # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-09T13:22:34.289Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-09T13:22:34.564Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk b2a7f5277469ef6d625da12ae42ca404d4ee5c6b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-09T13:22:34.660Z] ========================================================= [2021-01-09T13:22:34.660Z] EdgeX Global Pipelines Version Info [2021-01-09T13:22:34.660Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:22:36.123Z] ------------------- [2021-01-09T13:22:36.123Z] stable info: [2021-01-09T13:22:36.123Z] ------------------- [2021-01-09T13:22:36.123Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-09T13:22:36.123Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-09T13:22:36.123Z] Message: update stable to v1.0.173 [2021-01-09T13:22:37.072Z] ------------------- [2021-01-09T13:22:37.073Z] experimental info: [2021-01-09T13:22:37.073Z] ------------------- [2021-01-09T13:22:37.073Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-09T13:22:37.073Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-09T13:22:37.073Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-09T13:22:37.359Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-09T13:22:37.463Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-09T13:22:37.553Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-09T13:22:37.647Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-09T13:22:37.737Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-09T13:22:37.833Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-09T13:22:37.927Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-09T13:22:38.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-09T13:22:38.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-09T13:22:38.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-09T13:22:38.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-09T13:22:38.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-09T13:22:38.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-09T13:22:38.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-09T13:22:38.662Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-09T13:22:38.753Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-09T13:22:38.845Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-09T13:22:38.937Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-09T13:22:39.030Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-09T13:22:39.127Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-09T13:22:39.218Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-09T13:22:39.307Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-09T13:22:39.402Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-09T13:22:39.511Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-09T13:22:39.606Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-09T13:22:39.710Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-09T13:22:39.808Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-09T13:22:39.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-720 [Pipeline] echo [2021-01-09T13:22:39.994Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-720 [Pipeline] echo [2021-01-09T13:22:40.092Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-720 [Pipeline] echo [2021-01-09T13:22:40.246Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f9fab5afdf02143f468fd7fcc0985681ec1d95b [Pipeline] echo [2021-01-09T13:22:40.359Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f9fab5 [Pipeline] echo [2021-01-09T13:22:40.549Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-09T13:22:40.751Z] provisioning config files... [2021-01-09T13:22:40.799Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp/config4319483457595841122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:22:41.217Z] ---> docker-login.sh [2021-01-09T13:22:41.217Z] nexus3.edgexfoundry.org:10001 [2021-01-09T13:22:41.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:22:41.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:22:41.745Z] Configure a credential helper to remove this warning. See [2021-01-09T13:22:41.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:22:41.745Z] [2021-01-09T13:22:41.745Z] Login Succeeded [2021-01-09T13:22:41.745Z] nexus3.edgexfoundry.org:10002 [2021-01-09T13:22:41.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:22:41.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:22:41.745Z] Configure a credential helper to remove this warning. See [2021-01-09T13:22:41.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:22:41.745Z] [2021-01-09T13:22:41.745Z] Login Succeeded [2021-01-09T13:22:41.745Z] nexus3.edgexfoundry.org:10003 [2021-01-09T13:22:42.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:22:42.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:22:42.007Z] Configure a credential helper to remove this warning. See [2021-01-09T13:22:42.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:22:42.007Z] [2021-01-09T13:22:42.007Z] Login Succeeded [2021-01-09T13:22:42.007Z] nexus3.edgexfoundry.org:10004 [2021-01-09T13:22:42.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:22:42.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:22:42.269Z] Configure a credential helper to remove this warning. See [2021-01-09T13:22:42.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:22:42.269Z] [2021-01-09T13:22:42.269Z] Login Succeeded [2021-01-09T13:22:42.269Z] docker.io [2021-01-09T13:22:42.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:22:42.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:22:42.532Z] Configure a credential helper to remove this warning. See [2021-01-09T13:22:42.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:22:42.532Z] [2021-01-09T13:22:42.532Z] Login Succeeded [2021-01-09T13:22:42.532Z] ---> docker-login.sh ends [Pipeline] } [2021-01-09T13:22:42.543Z] 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-09T13:22:43.489Z] + git log --format=format:%s -1 7f9fab5afdf02143f468fd7fcc0985681ec1d95b [Pipeline] echo [2021-01-09T13:22:43.563Z] GIT_COMMIT: 7f9fab5afdf02143f468fd7fcc0985681ec1d95b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2021-01-09T13:22:43.613Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:22:44.229Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-09T13:22:44.229Z] [2021-01-09T13:22:44.229Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:22:44.585Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-09T13:22:44.586Z] latest: Pulling from edgex-devops/git-semver [2021-01-09T13:22:44.586Z] 31603596830f: Pulling fs layer [2021-01-09T13:22:44.586Z] 2a8b12db71e7: Pulling fs layer [2021-01-09T13:22:44.586Z] 6ca5941a6612: Pulling fs layer [2021-01-09T13:22:44.586Z] ecc8261a40a4: Pulling fs layer [2021-01-09T13:22:44.586Z] ecc8261a40a4: Waiting [2021-01-09T13:22:44.586Z] 2a8b12db71e7: Verifying Checksum [2021-01-09T13:22:44.586Z] 2a8b12db71e7: Download complete [2021-01-09T13:22:44.586Z] 31603596830f: Verifying Checksum [2021-01-09T13:22:44.586Z] 31603596830f: Download complete [2021-01-09T13:22:44.856Z] ecc8261a40a4: Verifying Checksum [2021-01-09T13:22:44.856Z] ecc8261a40a4: Download complete [2021-01-09T13:22:44.856Z] 6ca5941a6612: Verifying Checksum [2021-01-09T13:22:44.856Z] 6ca5941a6612: Download complete [2021-01-09T13:22:45.121Z] 31603596830f: Pull complete [2021-01-09T13:22:45.121Z] 2a8b12db71e7: Pull complete [2021-01-09T13:22:46.073Z] 6ca5941a6612: Pull complete [2021-01-09T13:22:46.336Z] ecc8261a40a4: Pull complete [2021-01-09T13:22:46.336Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-09T13:22:46.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-09T13:22:46.336Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-09T13:22:46.477Z] prd-centos7-docker-4c-2g-19260 does not seem to be running inside a container [2021-01-09T13:22:46.536Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-720 -v /w/workspace/dgexfoundry_device-sdk-go_PR-720:/w/workspace/dgexfoundry_device-sdk-go_PR-720:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-720@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-09T13:22:48.442Z] $ docker top 7cf07682e2b967b30b1d4fd051e0a2dd6307f92a91ecf618a56db8d1f95f80f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-09T13:22:48.737Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-09T13:22:48.737Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-09T13:22:48.963Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-09T13:22:48.966Z] $ docker exec 7cf07682e2b967b30b1d4fd051e0a2dd6307f92a91ecf618a56db8d1f95f80f8 ssh-agent [2021-01-09T13:22:49.138Z] SSH_AUTH_SOCK=/tmp/ssh-0ofYIQZa2Nli/agent.12 [2021-01-09T13:22:49.138Z] SSH_AGENT_PID=17 [2021-01-09T13:22:49.148Z] Running ssh-add (command line suppressed) [2021-01-09T13:22:49.271Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp/private_key_139911706287236902.key (/w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp/private_key_139911706287236902.key) [2021-01-09T13:22:49.325Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-09T13:22:49.661Z] + git tag --points-at HEAD [Pipeline] } [2021-01-09T13:22:49.683Z] $ docker exec --env ******** --env ******** 7cf07682e2b967b30b1d4fd051e0a2dd6307f92a91ecf618a56db8d1f95f80f8 ssh-agent -k [2021-01-09T13:22:49.801Z] unset SSH_AUTH_SOCK; [2021-01-09T13:22:49.801Z] unset SSH_AGENT_PID; [2021-01-09T13:22:49.802Z] echo Agent pid 17 killed; [2021-01-09T13:22:49.848Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-09T13:22:50.023Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-09T13:22:50.023Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-09T13:22:50.195Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-09T13:22:50.198Z] $ docker exec 7cf07682e2b967b30b1d4fd051e0a2dd6307f92a91ecf618a56db8d1f95f80f8 ssh-agent [2021-01-09T13:22:50.357Z] SSH_AUTH_SOCK=/tmp/ssh-WqE2TaXUHxJx/agent.47 [2021-01-09T13:22:50.357Z] SSH_AGENT_PID=52 [2021-01-09T13:22:50.364Z] Running ssh-add (command line suppressed) [2021-01-09T13:22:50.490Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp/private_key_5107536918890129235.key (/w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp/private_key_5107536918890129235.key) [2021-01-09T13:22:50.546Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-09T13:22:50.883Z] + git semver init [2021-01-09T13:22:50.884Z] # -> Open(): unable to determine branch for HEAD [2021-01-09T13:22:50.884Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-720/.git [2021-01-09T13:22:50.884Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-720 [2021-01-09T13:22:50.884Z] # $SEMVER_REMOTE_NAME = origin [2021-01-09T13:22:50.884Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-09T13:22:50.884Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-09T13:22:50.884Z] # $SEMVER_BRANCH = PR-720 [2021-01-09T13:22:50.884Z] # $SEMVER_TEMP = /tmp/semver-005445706 [2021-01-09T13:22:50.884Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-09T13:22:51.539Z] # '/tmp/semver-005445706' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-720/.semver' [2021-01-09T13:22:51.539Z] # -> Force: false [2021-01-09T13:22:51.539Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-720/.semver [Pipeline] } [2021-01-09T13:22:51.588Z] $ docker exec --env ******** --env ******** 7cf07682e2b967b30b1d4fd051e0a2dd6307f92a91ecf618a56db8d1f95f80f8 ssh-agent -k [2021-01-09T13:22:51.707Z] unset SSH_AUTH_SOCK; [2021-01-09T13:22:51.707Z] unset SSH_AGENT_PID; [2021-01-09T13:22:51.707Z] echo Agent pid 52 killed; [2021-01-09T13:22:51.756Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-09T13:22:52.270Z] + git semver [Pipeline] } [2021-01-09T13:22:52.288Z] $ docker stop --time=1 7cf07682e2b967b30b1d4fd051e0a2dd6307f92a91ecf618a56db8d1f95f80f8 [2021-01-09T13:22:53.935Z] $ docker rm -f 7cf07682e2b967b30b1d4fd051e0a2dd6307f92a91ecf618a56db8d1f95f80f8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-09T13:22:54.430Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-09T13:22:54.886Z] Stashed 1 file(s) [Pipeline] echo [2021-01-09T13:22:54.889Z] [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-09T13:23:10.437Z] Still waiting to schedule task [2021-01-09T13:23:10.438Z] ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19248’ is offline; ‘prd-centos7-docker-4c-2g-19250’ is offline; ‘prd-centos7-docker-4c-2g-19251’ is offline; ‘prd-centos7-docker-4c-2g-19257’ is offline; ‘prd-centos7-docker-4c-2g-19261’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19254’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19255’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19256’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-09T13:23:10.440Z] Still waiting to schedule task [2021-01-09T13:23:10.440Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-09T13:25:02.698Z] Running on prd-centos7-docker-4c-2g-19262 in /w/workspace/dgexfoundry_device-sdk-go_PR-720 [Pipeline] { [Pipeline] ws [2021-01-09T13:25:02.747Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-09T13:25:09.404Z] using credential edgex-jenkins-ssh [2021-01-09T13:25:09.491Z] Cloning the remote Git repository [2021-01-09T13:25:09.738Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-09T13:25:09.846Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-09T13:25:09.958Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-09T13:25:09.959Z] > git --version # timeout=10 [2021-01-09T13:25:09.975Z] > git --version # 'git version 2.24.3' [2021-01-09T13:25:09.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-09T13:25:10.062Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-09T13:25:11.034Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-09T13:25:11.077Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-09T13:25:11.161Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-09T13:25:11.696Z] Merging remotes/origin/master commit 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 into PR head commit 7f9fab5afdf02143f468fd7fcc0985681ec1d95b [2021-01-09T13:25:11.942Z] Merge succeeded, producing 7f9fab5afdf02143f468fd7fcc0985681ec1d95b [2021-01-09T13:25:11.942Z] Checking out Revision 7f9fab5afdf02143f468fd7fcc0985681ec1d95b (PR-720) [2021-01-09T13:25:11.220Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-09T13:25:11.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-09T13:25:11.236Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/720/head:refs/remotes/origin/PR-720 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-09T13:25:11.707Z] > git config core.sparsecheckout # timeout=10 [2021-01-09T13:25:11.726Z] > git checkout -f 7f9fab5afdf02143f468fd7fcc0985681ec1d95b # timeout=10 [2021-01-09T13:25:11.840Z] > git remote # timeout=10 [2021-01-09T13:25:11.850Z] > git config --get remote.origin.url # timeout=10 [2021-01-09T13:25:11.877Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-09T13:25:11.884Z] > git merge 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 # timeout=10 [2021-01-09T13:25:11.916Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-09T13:25:11.947Z] > git config core.sparsecheckout # timeout=10 [2021-01-09T13:25:11.975Z] > git checkout -f 7f9fab5afdf02143f468fd7fcc0985681ec1d95b # timeout=10 [2021-01-09T13:25:16.144Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-09T13:25:17.978Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-09T13:25:18.389Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-09T13:25:18.723Z] + sudo service docker restart [2021-01-09T13:25:18.723Z] + true [2021-01-09T13:25:18.723Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-09T13:25:20.841Z] provisioning config files... [2021-01-09T13:25:20.872Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config9147968654377128919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:25:21.396Z] ---> docker-login.sh [2021-01-09T13:25:21.396Z] nexus3.edgexfoundry.org:10001 [2021-01-09T13:25:22.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:25:22.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:25:22.439Z] Configure a credential helper to remove this warning. See [2021-01-09T13:25:22.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:25:22.439Z] [2021-01-09T13:25:22.439Z] Login Succeeded [2021-01-09T13:25:22.439Z] nexus3.edgexfoundry.org:10002 [2021-01-09T13:25:22.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:25:23.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:25:23.002Z] Configure a credential helper to remove this warning. See [2021-01-09T13:25:23.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:25:23.002Z] [2021-01-09T13:25:23.002Z] Login Succeeded [2021-01-09T13:25:23.002Z] nexus3.edgexfoundry.org:10003 [2021-01-09T13:25:23.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:25:23.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:25:23.265Z] Configure a credential helper to remove this warning. See [2021-01-09T13:25:23.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:25:23.265Z] [2021-01-09T13:25:23.265Z] Login Succeeded [2021-01-09T13:25:23.265Z] nexus3.edgexfoundry.org:10004 [2021-01-09T13:25:23.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:25:23.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:25:23.532Z] Configure a credential helper to remove this warning. See [2021-01-09T13:25:23.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:25:23.532Z] [2021-01-09T13:25:23.532Z] Login Succeeded [2021-01-09T13:25:23.532Z] docker.io [2021-01-09T13:25:23.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:25:23.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:25:23.815Z] Configure a credential helper to remove this warning. See [2021-01-09T13:25:23.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:25:23.815Z] [2021-01-09T13:25:23.815Z] Login Succeeded [2021-01-09T13:25:23.815Z] ---> docker-login.sh ends [Pipeline] } [2021-01-09T13:25:23.846Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-09T13:25:24.317Z] ========================================================= [2021-01-09T13:25:24.317Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-09T13:25:24.317Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:25:24.691Z] + 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-09T13:25:25.002Z] Sending build context to Docker daemon 2.441MB [2021-01-09T13:25:25.002Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-09T13:25:25.002Z] Step 2/8 : FROM ${BASE} [2021-01-09T13:25:25.002Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-09T13:25:25.002Z] 188c0c94c7c5: Pulling fs layer [2021-01-09T13:25:25.002Z] 0ef7d3d256c8: Pulling fs layer [2021-01-09T13:25:25.002Z] de9db76c5a1d: Pulling fs layer [2021-01-09T13:25:25.002Z] bca2f99d35d6: Pulling fs layer [2021-01-09T13:25:25.002Z] 93359f2a8cfa: Pulling fs layer [2021-01-09T13:25:25.002Z] 7c6f9722023f: Pulling fs layer [2021-01-09T13:25:25.002Z] a35cf1a2eb13: Pulling fs layer [2021-01-09T13:25:25.002Z] 93359f2a8cfa: Waiting [2021-01-09T13:25:25.002Z] 7c6f9722023f: Waiting [2021-01-09T13:25:25.002Z] a35cf1a2eb13: Waiting [2021-01-09T13:25:25.002Z] bca2f99d35d6: Waiting [2021-01-09T13:25:25.002Z] de9db76c5a1d: Verifying Checksum [2021-01-09T13:25:25.002Z] de9db76c5a1d: Download complete [2021-01-09T13:25:25.274Z] 0ef7d3d256c8: Verifying Checksum [2021-01-09T13:25:25.274Z] 0ef7d3d256c8: Download complete [2021-01-09T13:25:25.274Z] 93359f2a8cfa: Verifying Checksum [2021-01-09T13:25:25.274Z] 93359f2a8cfa: Download complete [2021-01-09T13:25:25.274Z] 7c6f9722023f: Verifying Checksum [2021-01-09T13:25:25.274Z] 7c6f9722023f: Download complete [2021-01-09T13:25:25.891Z] 188c0c94c7c5: Verifying Checksum [2021-01-09T13:25:25.891Z] 188c0c94c7c5: Download complete [2021-01-09T13:25:26.514Z] 188c0c94c7c5: Pull complete [2021-01-09T13:25:26.514Z] 0ef7d3d256c8: Pull complete [2021-01-09T13:25:27.129Z] de9db76c5a1d: Pull complete [2021-01-09T13:25:28.624Z] a35cf1a2eb13: Verifying Checksum [2021-01-09T13:25:28.624Z] a35cf1a2eb13: Download complete [2021-01-09T13:25:30.076Z] bca2f99d35d6: Verifying Checksum [2021-01-09T13:25:30.076Z] bca2f99d35d6: Download complete [2021-01-09T13:25:45.460Z] bca2f99d35d6: Pull complete [2021-01-09T13:25:45.460Z] 93359f2a8cfa: Pull complete [2021-01-09T13:25:45.460Z] 7c6f9722023f: Pull complete [2021-01-09T13:25:50.932Z] a35cf1a2eb13: Pull complete [2021-01-09T13:25:50.932Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-09T13:25:50.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-09T13:25:50.932Z] ---> a62c8e92a672 [2021-01-09T13:25:50.932Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-09T13:25:50.932Z] ---> Running in 3e86b14b1b0b [2021-01-09T13:25:51.209Z] Removing intermediate container 3e86b14b1b0b [2021-01-09T13:25:51.209Z] ---> 98b1c16a24bc [2021-01-09T13:25:51.209Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-09T13:25:51.486Z] ---> Running in ad2729308e7a [2021-01-09T13:25:53.870Z] Removing intermediate container ad2729308e7a [2021-01-09T13:25:53.870Z] ---> a968952bfeb7 [2021-01-09T13:25:53.870Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-09T13:25:53.870Z] ---> Running in 9d6cfe7c6973 [2021-01-09T13:25:54.905Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-09T13:25:55.569Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-09T13:25:56.174Z] OK: 166 MiB in 39 packages [2021-01-09T13:25:56.700Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19263 in /w/workspace/dgexfoundry_device-sdk-go_PR-720 [Pipeline] { [Pipeline] ws [2021-01-09T13:25:56.751Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [2021-01-09T13:25:56.773Z] Removing intermediate container 9d6cfe7c6973 [2021-01-09T13:25:56.773Z] ---> 6100dd4949c9 [2021-01-09T13:25:56.773Z] Step 6/8 : WORKDIR /device-sdk-go [Pipeline] checkout [2021-01-09T13:25:57.058Z] ---> Running in dc7672ab72cf [2021-01-09T13:25:57.059Z] Removing intermediate container dc7672ab72cf [2021-01-09T13:25:57.059Z] ---> 0f68cc05314d [2021-01-09T13:25:57.059Z] Step 7/8 : COPY . . [2021-01-09T13:25:58.492Z] ---> cc645bb9d528 [2021-01-09T13:25:58.492Z] Step 8/8 : RUN go mod download [2021-01-09T13:25:58.492Z] ---> Running in d04dad1fea60 [2021-01-09T13:26:02.492Z] using credential edgex-jenkins-ssh [2021-01-09T13:26:02.555Z] Cloning the remote Git repository [2021-01-09T13:26:02.616Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-09T13:26:02.731Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-09T13:26:02.828Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-09T13:26:02.829Z] > git --version # timeout=10 [2021-01-09T13:26:02.844Z] > git --version # 'git version 2.17.1' [2021-01-09T13:26:02.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-09T13:26:02.898Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-09T13:26:04.201Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-09T13:26:04.222Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-09T13:26:04.254Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-09T13:26:04.802Z] Merging remotes/origin/master commit 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 into PR head commit 7f9fab5afdf02143f468fd7fcc0985681ec1d95b [2021-01-09T13:26:05.082Z] Merge succeeded, producing 7f9fab5afdf02143f468fd7fcc0985681ec1d95b [2021-01-09T13:26:05.083Z] Checking out Revision 7f9fab5afdf02143f468fd7fcc0985681ec1d95b (PR-720) [2021-01-09T13:26:04.304Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-09T13:26:04.305Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-09T13:26:04.323Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/720/head:refs/remotes/origin/PR-720 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-09T13:26:04.819Z] > git config core.sparsecheckout # timeout=10 [2021-01-09T13:26:04.839Z] > git checkout -f 7f9fab5afdf02143f468fd7fcc0985681ec1d95b # timeout=10 [2021-01-09T13:26:04.958Z] > git remote # timeout=10 [2021-01-09T13:26:04.973Z] > git config --get remote.origin.url # timeout=10 [2021-01-09T13:26:04.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-09T13:26:04.996Z] > git merge 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 # timeout=10 [2021-01-09T13:26:05.020Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-09T13:26:05.089Z] > git config core.sparsecheckout # timeout=10 [2021-01-09T13:26:05.124Z] > git checkout -f 7f9fab5afdf02143f468fd7fcc0985681ec1d95b # timeout=10 [2021-01-09T13:26:09.534Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-09T13:26:11.002Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-09T13:26:11.419Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-09T13:26:11.814Z] + sudo service docker+ restart [2021-01-09T13:26:11.814Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-09T13:26:14.526Z] provisioning config files... [2021-01-09T13:26:14.563Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7920134642412715238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:26:14.988Z] ---> docker-login.sh [2021-01-09T13:26:14.988Z] nexus3.edgexfoundry.org:10001 [2021-01-09T13:26:15.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:26:16.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:26:16.253Z] Configure a credential helper to remove this warning. See [2021-01-09T13:26:16.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:26:16.253Z] [2021-01-09T13:26:16.253Z] Login Succeeded [2021-01-09T13:26:16.254Z] nexus3.edgexfoundry.org:10002 [2021-01-09T13:26:16.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:26:16.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:26:16.805Z] Configure a credential helper to remove this warning. See [2021-01-09T13:26:16.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:26:16.805Z] [2021-01-09T13:26:16.805Z] Login Succeeded [2021-01-09T13:26:16.805Z] nexus3.edgexfoundry.org:10003 [2021-01-09T13:26:17.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:26:17.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:26:17.353Z] Configure a credential helper to remove this warning. See [2021-01-09T13:26:17.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:26:17.353Z] [2021-01-09T13:26:17.353Z] Login Succeeded [2021-01-09T13:26:17.353Z] nexus3.edgexfoundry.org:10004 [2021-01-09T13:26:17.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:26:17.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:26:17.906Z] Configure a credential helper to remove this warning. See [2021-01-09T13:26:17.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:26:17.906Z] [2021-01-09T13:26:17.906Z] Login Succeeded [2021-01-09T13:26:17.906Z] docker.io [2021-01-09T13:26:18.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:26:18.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:26:18.454Z] Configure a credential helper to remove this warning. See [2021-01-09T13:26:18.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:26:18.454Z] [2021-01-09T13:26:18.454Z] Login Succeeded [2021-01-09T13:26:18.454Z] ---> docker-login.sh ends [Pipeline] } [2021-01-09T13:26:18.474Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-09T13:26:18.930Z] ========================================================= [2021-01-09T13:26:18.930Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-09T13:26:18.930Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:26:19.319Z] + 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-09T13:26:19.920Z] Sending build context to Docker daemon 2.44MB [2021-01-09T13:26:19.920Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-09T13:26:19.920Z] Step 2/8 : FROM ${BASE} [2021-01-09T13:26:19.920Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-09T13:26:19.920Z] 5f621e34cdf4: Pulling fs layer [2021-01-09T13:26:19.920Z] a4357932f1b6: Pulling fs layer [2021-01-09T13:26:19.920Z] 18c013af1878: Pulling fs layer [2021-01-09T13:26:19.920Z] 00ac8860ef70: Pulling fs layer [2021-01-09T13:26:19.920Z] 63d7cb157983: Pulling fs layer [2021-01-09T13:26:19.920Z] b116817d02f9: Pulling fs layer [2021-01-09T13:26:19.920Z] 745a02a5169b: Pulling fs layer [2021-01-09T13:26:19.920Z] 63d7cb157983: Waiting [2021-01-09T13:26:19.920Z] b116817d02f9: Waiting [2021-01-09T13:26:19.920Z] 00ac8860ef70: Waiting [2021-01-09T13:26:19.920Z] 745a02a5169b: Waiting [2021-01-09T13:26:19.920Z] 18c013af1878: Download complete [2021-01-09T13:26:19.920Z] a4357932f1b6: Verifying Checksum [2021-01-09T13:26:19.920Z] a4357932f1b6: Download complete [2021-01-09T13:26:19.920Z] 63d7cb157983: Verifying Checksum [2021-01-09T13:26:19.920Z] 63d7cb157983: Download complete [2021-01-09T13:26:19.920Z] b116817d02f9: Verifying Checksum [2021-01-09T13:26:19.920Z] b116817d02f9: Download complete [2021-01-09T13:26:19.920Z] 5f621e34cdf4: Verifying Checksum [2021-01-09T13:26:19.921Z] 5f621e34cdf4: Download complete [2021-01-09T13:26:20.832Z] Removing intermediate container d04dad1fea60 [2021-01-09T13:26:20.832Z] ---> b752f92a136c [2021-01-09T13:26:20.832Z] Successfully built b752f92a136c [2021-01-09T13:26:20.833Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:26:20.929Z] 5f621e34cdf4: Pull complete [2021-01-09T13:26:21.185Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-09T13:26:21.185Z] . [Pipeline] withDockerContainer [2021-01-09T13:26:21.543Z] a4357932f1b6: Pull complete [2021-01-09T13:26:21.826Z] 18c013af1878: Pull complete [2021-01-09T13:26:22.049Z] prd-centos7-docker-4c-2g-19262 does not seem to be running inside a container [2021-01-09T13:26:22.167Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-09T13:26:22.814Z] 745a02a5169b: Verifying Checksum [2021-01-09T13:26:22.814Z] 745a02a5169b: Download complete [2021-01-09T13:26:23.415Z] 00ac8860ef70: Verifying Checksum [2021-01-09T13:26:23.415Z] 00ac8860ef70: Download complete [2021-01-09T13:26:24.318Z] $ docker top f1d728c97ac02bff9f60df16c49f6bfbab68a314e73d7b97e843163966e4c4dc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-09T13:26:25.524Z] + go version [2021-01-09T13:26:25.524Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-09T13:26:25.563Z] $ docker stop --time=1 f1d728c97ac02bff9f60df16c49f6bfbab68a314e73d7b97e843163966e4c4dc [2021-01-09T13:26:27.251Z] $ docker rm -f f1d728c97ac02bff9f60df16c49f6bfbab68a314e73d7b97e843163966e4c4dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:26:28.229Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-09T13:26:28.229Z] . [Pipeline] withDockerContainer [2021-01-09T13:26:28.360Z] prd-centos7-docker-4c-2g-19262 does not seem to be running inside a container [2021-01-09T13:26:28.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-09T13:26:29.380Z] $ docker top 7a4d45294984eae050c1494d8c48ceb7c2d70d17b283f673ddd1a758a37bcb18 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-09T13:26:30.186Z] + make test [2021-01-09T13:26:30.186Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-09T13:26:33.603Z] 00ac8860ef70: Pull complete [2021-01-09T13:26:33.877Z] 63d7cb157983: Pull complete [2021-01-09T13:26:34.151Z] b116817d02f9: Pull complete [2021-01-09T13:26:38.471Z] 745a02a5169b: Pull complete [2021-01-09T13:26:38.471Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-09T13:26:38.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-09T13:26:38.471Z] ---> b7e6874047d6 [2021-01-09T13:26:38.471Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-09T13:26:41.104Z] ---> Running in ad33bba86378 [2021-01-09T13:26:41.384Z] Removing intermediate container ad33bba86378 [2021-01-09T13:26:41.384Z] ---> 6d034310c338 [2021-01-09T13:26:41.384Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-09T13:26:41.384Z] ---> Running in dccd9187bde0 [2021-01-09T13:26:44.026Z] Removing intermediate container dccd9187bde0 [2021-01-09T13:26:44.026Z] ---> 684e316a7a80 [2021-01-09T13:26:44.026Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-09T13:26:44.026Z] ---> Running in 1f5c429c8e63 [2021-01-09T13:26:45.014Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-09T13:26:45.507Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-09T13:26:45.990Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-09T13:26:46.587Z] OK: 142 MiB in 39 packages [2021-01-09T13:26:47.576Z] Removing intermediate container 1f5c429c8e63 [2021-01-09T13:26:47.576Z] ---> 3d2f06254425 [2021-01-09T13:26:47.576Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-09T13:26:47.854Z] ---> Running in ffe5bc1aed23 [2021-01-09T13:26:48.453Z] Removing intermediate container ffe5bc1aed23 [2021-01-09T13:26:48.453Z] ---> 5bce5f3d8cc3 [2021-01-09T13:26:48.453Z] Step 7/8 : COPY . . [2021-01-09T13:26:49.434Z] ---> 5f01d85f275c [2021-01-09T13:26:49.434Z] Step 8/8 : RUN go mod download [2021-01-09T13:26:49.705Z] ---> Running in 29aca36f2900 [2021-01-09T13:27:16.481Z] Removing intermediate container 29aca36f2900 [2021-01-09T13:27:16.481Z] ---> 96d28c1e32b8 [2021-01-09T13:27:16.481Z] Successfully built 96d28c1e32b8 [2021-01-09T13:27:16.481Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:27:16.815Z] + docker inspect -f . ci-base-image-arm64 [2021-01-09T13:27:16.815Z] . [Pipeline] withDockerContainer [2021-01-09T13:27:17.069Z] prd-ubuntu18.04-docker-arm64-4c-16g-19263 does not seem to be running inside a container [2021-01-09T13:27:17.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-09T13:27:18.609Z] $ docker top 1aae3fbb80ea0daed79760760a20930315463ef6790135e5ac634e7d988d8977 -eo pid,comm [2021-01-09T13:27:18.681Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-09T13:27:18.681Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-09T13:27:18.681Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-09T13:27:18.681Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.181s coverage: 19.4% of statements [2021-01-09T13:27:18.681Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.699s coverage: 97.1% of statements [Pipeline] { [Pipeline] sh [2021-01-09T13:27:19.581Z] + go version [2021-01-09T13:27:19.581Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-09T13:27:19.633Z] $ docker stop --time=1 1aae3fbb80ea0daed79760760a20930315463ef6790135e5ac634e7d988d8977 [2021-01-09T13:27:21.535Z] $ docker rm -f 1aae3fbb80ea0daed79760760a20930315463ef6790135e5ac634e7d988d8977 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:27:22.505Z] + docker inspect -f . ci-base-image-arm64 [2021-01-09T13:27:22.505Z] . [Pipeline] withDockerContainer [2021-01-09T13:27:22.740Z] prd-ubuntu18.04-docker-arm64-4c-16g-19263 does not seem to be running inside a container [2021-01-09T13:27:22.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-09T13:27:24.356Z] $ docker top 91d39c748c4c03934c82d20f63f81c90572d03428534fbd975e3362873634881 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-09T13:27:25.343Z] + make test [2021-01-09T13:27:25.343Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-09T13:27:47.516Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-09T13:27:51.277Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.080s coverage: 9.4% of statements [2021-01-09T13:27:51.277Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.091s coverage: 21.7% of statements [2021-01-09T13:27:51.277Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-09T13:27:51.277Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.411s coverage: 42.5% of statements [2021-01-09T13:27:51.277Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-09T13:27:51.277Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.475s coverage: 68.9% of statements [2021-01-09T13:27:51.278Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-09T13:27:51.278Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-09T13:27:51.278Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-09T13:27:51.278Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-09T13:27:51.278Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.102s coverage: 53.8% of statements [2021-01-09T13:27:51.278Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-09T13:27:51.278Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-09T13:27:51.278Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2021-01-09T13:27:51.278Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.808s coverage: 68.9% of statements [2021-01-09T13:27:51.278Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.128s coverage: 4.2% of statements [2021-01-09T13:27:51.278Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-09T13:27:51.278Z] GO111MODULE=on go vet ./... [2021-01-09T13:28:10.303Z] gofmt -l . [2021-01-09T13:28:10.303Z] [ "`gofmt -l .`" = "" ] [2021-01-09T13:28:10.303Z] ./bin/test-attribution-txt.sh [2021-01-09T13:28:10.613Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-09T13:28:11.256Z] $ docker stop --time=1 7a4d45294984eae050c1494d8c48ceb7c2d70d17b283f673ddd1a758a37bcb18 [2021-01-09T13:28:13.629Z] $ docker rm -f 7a4d45294984eae050c1494d8c48ceb7c2d70d17b283f673ddd1a758a37bcb18 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-09T13:28:14.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-09T13:28:15.293Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-09T13:28:16.575Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-09T13:28:16.902Z] + ls -al . [2021-01-09T13:28:16.902Z] total 208 [2021-01-09T13:28:16.902Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 9 13:28 . [2021-01-09T13:28:16.902Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 9 13:25 .. [2021-01-09T13:28:16.902Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 9 13:25 bin [2021-01-09T13:28:16.902Z] -rw-r--r--. 1 jenkins jenkins 130605 Jan 9 13:27 coverage.out [2021-01-09T13:28:16.902Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 9 13:25 Dockerfile.build [2021-01-09T13:28:16.902Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 9 13:25 .dockerignore [2021-01-09T13:28:16.902Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 9 13:25 example [2021-01-09T13:28:16.902Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 9 13:25 .git [2021-01-09T13:28:16.902Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 9 13:25 .github [2021-01-09T13:28:16.902Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 9 13:25 .gitignore [2021-01-09T13:28:16.902Z] -rw-r--r--. 1 jenkins jenkins 488 Jan 9 13:28 go.mod [2021-01-09T13:28:16.902Z] -rw-r--r--. 1 jenkins jenkins 14209 Jan 9 13:28 go.sum [2021-01-09T13:28:16.902Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 9 13:25 internal [2021-01-09T13:28:16.902Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 9 13:25 Jenkinsfile [2021-01-09T13:28:16.902Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 9 13:25 LICENSE [2021-01-09T13:28:16.902Z] -rw-rw-r--. 1 jenkins jenkins 1013 Jan 9 13:25 Makefile [2021-01-09T13:28:16.902Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 9 13:25 openapi [2021-01-09T13:28:16.902Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 9 13:25 pkg [2021-01-09T13:28:16.902Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 9 13:25 README.md [2021-01-09T13:28:16.902Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 9 13:25 RELEASE-NOTES.txt [2021-01-09T13:28:16.902Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 9 13:25 snap [2021-01-09T13:28:16.902Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 9 13:22 VERSION [2021-01-09T13:28:16.902Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 9 13:25 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:28:17.263Z] + 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=7f9fab5afdf02143f468fd7fcc0985681ec1d95b --label arch=amd64 --label version=0.0.0 . [2021-01-09T13:28:17.857Z] Sending build context to Docker daemon 2.572MB [2021-01-09T13:28:17.857Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-09T13:28:17.857Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-09T13:28:17.857Z] ---> b752f92a136c [2021-01-09T13:28:17.857Z] Step 3/24 : ARG MAKE='make build' [2021-01-09T13:28:18.521Z] ---> Running in a4b6ece5baf5 [2021-01-09T13:28:18.521Z] Removing intermediate container a4b6ece5baf5 [2021-01-09T13:28:18.521Z] ---> 164fafa523f7 [2021-01-09T13:28:18.521Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-09T13:28:18.796Z] ---> Running in c3a92a2c58c7 [2021-01-09T13:28:19.063Z] Removing intermediate container c3a92a2c58c7 [2021-01-09T13:28:19.063Z] ---> e1ac8412f745 [2021-01-09T13:28:19.063Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-09T13:28:19.063Z] ---> Running in 92f3076b395f [2021-01-09T13:28:19.358Z] Removing intermediate container 92f3076b395f [2021-01-09T13:28:19.358Z] ---> 02a1cfff14f3 [2021-01-09T13:28:19.358Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-09T13:28:19.358Z] ---> Running in 1e37515551f5 [2021-01-09T13:28:20.806Z] Removing intermediate container 1e37515551f5 [2021-01-09T13:28:20.806Z] ---> af26747ede9c [2021-01-09T13:28:20.806Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-09T13:28:21.075Z] ---> Running in b4883ab57b22 [2021-01-09T13:28:22.068Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-09T13:28:23.020Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-09T13:28:26.452Z] OK: 166 MiB in 39 packages [2021-01-09T13:28:26.534Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-09T13:28:26.534Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-09T13:28:26.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-09T13:28:27.044Z] Removing intermediate container b4883ab57b22 [2021-01-09T13:28:27.044Z] ---> 994df155d7f8 [2021-01-09T13:28:27.044Z] Step 8/24 : COPY . . [2021-01-09T13:28:27.133Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.144s coverage: 19.4% of statements [2021-01-09T13:28:28.042Z] ---> f3a326c686c9 [2021-01-09T13:28:28.042Z] Step 9/24 : RUN ${MAKE} [2021-01-09T13:28:28.313Z] ---> Running in 008cffa6a6f2 [2021-01-09T13:28:29.318Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-09T13:28:32.606Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.163s coverage: 97.1% of statements [2021-01-09T13:28:44.825Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-09T13:28:47.458Z] Removing intermediate container 008cffa6a6f2 [2021-01-09T13:28:47.458Z] ---> d23338a26a95 [2021-01-09T13:28:47.458Z] Step 10/24 : FROM scratch [2021-01-09T13:28:47.458Z] ---> [2021-01-09T13:28:47.458Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-09T13:28:47.458Z] ---> Running in 822b26325a0c [2021-01-09T13:28:47.731Z] Removing intermediate container 822b26325a0c [2021-01-09T13:28:47.731Z] ---> 99f39c97a802 [2021-01-09T13:28:47.731Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-09T13:28:47.731Z] ---> Running in cc981d7bae98 [2021-01-09T13:28:48.044Z] Removing intermediate container cc981d7bae98 [2021-01-09T13:28:48.044Z] ---> 32c2474d9f7f [2021-01-09T13:28:48.044Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-09T13:28:48.044Z] ---> Running in 8945c7bdb2ef [2021-01-09T13:28:48.322Z] Removing intermediate container 8945c7bdb2ef [2021-01-09T13:28:48.322Z] ---> 36a66c7aed59 [2021-01-09T13:28:48.322Z] Step 14/24 : WORKDIR / [2021-01-09T13:28:48.322Z] ---> Running in a6aedcf148b8 [2021-01-09T13:28:48.609Z] Removing intermediate container a6aedcf148b8 [2021-01-09T13:28:48.609Z] ---> 4c109496726e [2021-01-09T13:28:48.609Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-09T13:28:49.609Z] ---> e2444d2d3127 [2021-01-09T13:28:49.609Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-09T13:28:49.609Z] ---> 6362c049c742 [2021-01-09T13:28:49.609Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-09T13:28:50.210Z] ---> 97335b638d70 [2021-01-09T13:28:50.210Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-09T13:28:50.496Z] ---> edf8df83316b [2021-01-09T13:28:50.496Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-09T13:28:50.771Z] ---> 9c9068234483 [2021-01-09T13:28:50.771Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-09T13:28:51.040Z] ---> Running in c505c5c164ce [2021-01-09T13:28:51.311Z] Removing intermediate container c505c5c164ce [2021-01-09T13:28:51.311Z] ---> dba98b4b5cd3 [2021-01-09T13:28:51.311Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-09T13:28:51.311Z] ---> Running in 72cf65721fc1 [2021-01-09T13:28:51.580Z] Removing intermediate container 72cf65721fc1 [2021-01-09T13:28:51.580Z] ---> 05abcc9a026d [2021-01-09T13:28:51.580Z] Step 22/24 : LABEL arch=amd64 [2021-01-09T13:28:51.580Z] ---> Running in 071fed851182 [2021-01-09T13:28:51.854Z] Removing intermediate container 071fed851182 [2021-01-09T13:28:51.854Z] ---> 6dfbf53b3e03 [2021-01-09T13:28:51.854Z] Step 23/24 : LABEL git_sha=7f9fab5afdf02143f468fd7fcc0985681ec1d95b [2021-01-09T13:28:51.854Z] ---> Running in 38948d9602e3 [2021-01-09T13:28:52.127Z] Removing intermediate container 38948d9602e3 [2021-01-09T13:28:52.127Z] ---> ace601ac1659 [2021-01-09T13:28:52.127Z] Step 24/24 : LABEL version=0.0.0 [2021-01-09T13:28:52.127Z] ---> Running in cc68c9e5c993 [2021-01-09T13:28:52.394Z] Removing intermediate container cc68c9e5c993 [2021-01-09T13:28:52.394Z] ---> 337c6de43c2a [2021-01-09T13:28:52.394Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-09T13:28:52.394Z] Successfully built 337c6de43c2a [2021-01-09T13:28:52.394Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-09T13:29:05.097Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.143s coverage: 9.4% of statements [2021-01-09T13:29:05.097Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.107s coverage: 21.7% of statements [2021-01-09T13:29:05.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-09T13:29:05.097Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.623s coverage: 42.5% of statements [2021-01-09T13:29:05.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-09T13:29:05.097Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.700s coverage: 68.9% of statements [2021-01-09T13:29:05.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-09T13:29:05.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-09T13:29:05.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-09T13:29:05.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-09T13:29:05.097Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.191s coverage: 53.8% of statements [2021-01-09T13:29:05.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-09T13:29:05.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-09T13:29:05.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2021-01-09T13:29:05.097Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.715s coverage: 68.9% of statements [2021-01-09T13:29:05.097Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.139s coverage: 4.2% of statements [2021-01-09T13:29:05.097Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-09T13:29:05.097Z] GO111MODULE=on go vet ./... [2021-01-09T13:29:31.991Z] gofmt -l . [2021-01-09T13:29:31.991Z] [ "`gofmt -l .`" = "" ] [2021-01-09T13:29:31.991Z] ./bin/test-attribution-txt.sh [2021-01-09T13:29:32.592Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-09T13:29:33.332Z] $ docker stop --time=1 91d39c748c4c03934c82d20f63f81c90572d03428534fbd975e3362873634881 [2021-01-09T13:29:35.426Z] $ docker rm -f 91d39c748c4c03934c82d20f63f81c90572d03428534fbd975e3362873634881 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-09T13:29:36.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-09T13:29:36.444Z] Warning: overwriting stash ‘coverage-report’ [2021-01-09T13:29:37.347Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-09T13:29:38.067Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-09T13:29:38.450Z] + ls -al . [2021-01-09T13:29:38.450Z] total 244 [2021-01-09T13:29:38.450Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 13:29 . [2021-01-09T13:29:38.450Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:26 .. [2021-01-09T13:29:38.450Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 9 13:26 .dockerignore [2021-01-09T13:29:38.450Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 13:26 .git [2021-01-09T13:29:38.450Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:26 .github [2021-01-09T13:29:38.450Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 9 13:26 .gitignore [2021-01-09T13:29:38.450Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 9 13:26 Dockerfile.build [2021-01-09T13:29:38.450Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 9 13:26 Jenkinsfile [2021-01-09T13:29:38.450Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 9 13:26 LICENSE [2021-01-09T13:29:38.450Z] -rw-rw-r-- 1 jenkins jenkins 1013 Jan 9 13:26 Makefile [2021-01-09T13:29:38.450Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 9 13:26 README.md [2021-01-09T13:29:38.450Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 9 13:26 RELEASE-NOTES.txt [2021-01-09T13:29:38.450Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 13:22 VERSION [2021-01-09T13:29:38.450Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:26 bin [2021-01-09T13:29:38.450Z] -rw-r--r-- 1 jenkins jenkins 130605 Jan 9 13:28 coverage.out [2021-01-09T13:29:38.450Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:26 example [2021-01-09T13:29:38.450Z] -rw-r--r-- 1 jenkins jenkins 488 Jan 9 13:29 go.mod [2021-01-09T13:29:38.450Z] -rw-r--r-- 1 jenkins jenkins 14209 Jan 9 13:29 go.sum [2021-01-09T13:29:38.450Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 9 13:26 internal [2021-01-09T13:29:38.450Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:26 openapi [2021-01-09T13:29:38.450Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 9 13:26 pkg [2021-01-09T13:29:38.450Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:26 snap [2021-01-09T13:29:38.450Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 9 13:26 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:29:38.896Z] + 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=7f9fab5afdf02143f468fd7fcc0985681ec1d95b --label arch=arm64 --label version=0.0.0 . [2021-01-09T13:29:39.208Z] Sending build context to Docker daemon 2.571MB [2021-01-09T13:29:39.485Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-09T13:29:39.485Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-09T13:29:39.485Z] ---> 96d28c1e32b8 [2021-01-09T13:29:39.485Z] Step 3/24 : ARG MAKE='make build' [2021-01-09T13:29:39.760Z] ---> Running in 461ddcb0fbaf [2021-01-09T13:29:40.033Z] Removing intermediate container 461ddcb0fbaf [2021-01-09T13:29:40.033Z] ---> 6c0db640d64c [2021-01-09T13:29:40.033Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-09T13:29:40.309Z] ---> Running in ea47034c1562 [2021-01-09T13:29:40.904Z] Removing intermediate container ea47034c1562 [2021-01-09T13:29:40.904Z] ---> 81a25b33c820 [2021-01-09T13:29:40.904Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-09T13:29:40.904Z] ---> Running in 4aaa5fbe7947 [2021-01-09T13:29:41.506Z] Removing intermediate container 4aaa5fbe7947 [2021-01-09T13:29:41.506Z] ---> a072c43d6cb3 [2021-01-09T13:29:41.506Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-09T13:29:41.506Z] ---> Running in 464d51b21814 [2021-01-09T13:29:43.480Z] Removing intermediate container 464d51b21814 [2021-01-09T13:29:43.480Z] ---> 8ecc5f27ae33 [2021-01-09T13:29:43.480Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-09T13:29:43.751Z] ---> Running in 293f53987e25 [2021-01-09T13:29:44.734Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-09T13:29:46.697Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-09T13:29:48.161Z] OK: 142 MiB in 39 packages [2021-01-09T13:29:49.158Z] Removing intermediate container 293f53987e25 [2021-01-09T13:29:49.158Z] ---> b55621d770b1 [2021-01-09T13:29:49.158Z] Step 8/24 : COPY . . [2021-01-09T13:29:50.594Z] ---> 1142bc0de89a [2021-01-09T13:29:50.594Z] Step 9/24 : RUN ${MAKE} [2021-01-09T13:29:50.866Z] ---> Running in 9cf477f4fd4d [2021-01-09T13:29:51.838Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-09T13:30:18.678Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-09T13:30:18.678Z] Removing intermediate container 9cf477f4fd4d [2021-01-09T13:30:18.678Z] ---> 6b483265cfac [2021-01-09T13:30:18.678Z] Step 10/24 : FROM scratch [2021-01-09T13:30:18.678Z] ---> [2021-01-09T13:30:18.678Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-09T13:30:18.678Z] ---> Running in f8de454426cf [2021-01-09T13:30:18.951Z] Removing intermediate container f8de454426cf [2021-01-09T13:30:18.951Z] ---> ca1071c8744c [2021-01-09T13:30:18.951Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-09T13:30:18.951Z] ---> Running in 8934b05dd3fe [2021-01-09T13:30:19.545Z] Removing intermediate container 8934b05dd3fe [2021-01-09T13:30:19.545Z] ---> e7441588007c [2021-01-09T13:30:19.545Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-09T13:30:19.545Z] ---> Running in 9ddf65f79b61 [2021-01-09T13:30:19.819Z] Removing intermediate container 9ddf65f79b61 [2021-01-09T13:30:19.819Z] ---> 4fd45d013221 [2021-01-09T13:30:19.819Z] Step 14/24 : WORKDIR / [2021-01-09T13:30:20.091Z] ---> Running in 54d4d460d4f6 [2021-01-09T13:30:20.371Z] Removing intermediate container 54d4d460d4f6 [2021-01-09T13:30:20.371Z] ---> 313c98a06c01 [2021-01-09T13:30:20.371Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-09T13:30:21.818Z] ---> dc0b880a34f2 [2021-01-09T13:30:21.818Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-09T13:30:22.414Z] ---> dfcb69291640 [2021-01-09T13:30:22.414Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-09T13:30:23.011Z] ---> e3d2cc43d269 [2021-01-09T13:30:23.011Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-09T13:30:23.617Z] ---> 2c0f055b1264 [2021-01-09T13:30:23.617Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-09T13:30:24.595Z] ---> 7833823b5d43 [2021-01-09T13:30:24.596Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-09T13:30:24.596Z] ---> Running in d29dc548d5ac [2021-01-09T13:30:24.867Z] Removing intermediate container d29dc548d5ac [2021-01-09T13:30:24.867Z] ---> cba73c7529cf [2021-01-09T13:30:24.867Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-09T13:30:25.137Z] ---> Running in 4c4242a59512 [2021-01-09T13:30:25.412Z] Removing intermediate container 4c4242a59512 [2021-01-09T13:30:25.412Z] ---> 5f8e6715e5e7 [2021-01-09T13:30:25.412Z] Step 22/24 : LABEL arch=arm64 [2021-01-09T13:30:25.682Z] ---> Running in 7418c84d4c03 [2021-01-09T13:30:26.276Z] Removing intermediate container 7418c84d4c03 [2021-01-09T13:30:26.276Z] ---> d4b6b67f22f7 [2021-01-09T13:30:26.276Z] Step 23/24 : LABEL git_sha=7f9fab5afdf02143f468fd7fcc0985681ec1d95b [2021-01-09T13:30:26.276Z] ---> Running in c418caf4dd13 [2021-01-09T13:30:26.869Z] Removing intermediate container c418caf4dd13 [2021-01-09T13:30:26.869Z] ---> f0d2691127c0 [2021-01-09T13:30:26.869Z] Step 24/24 : LABEL version=0.0.0 [2021-01-09T13:30:26.869Z] ---> Running in ee8150ed05e9 [2021-01-09T13:30:27.140Z] Removing intermediate container ee8150ed05e9 [2021-01-09T13:30:27.140Z] ---> 113ee143aa49 [2021-01-09T13:30:27.140Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-09T13:30:27.413Z] Successfully built 113ee143aa49 [2021-01-09T13:30:27.413Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-09T13:30:28.990Z] provisioning config files... [2021-01-09T13:30:29.003Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp/config684445213701318612tmp [Pipeline] { [Pipeline] sh [2021-01-09T13:30:29.391Z] + set +x [2021-01-09T13:30:29.391Z] + curl -s https://codecov.io/bash [2021-01-09T13:30:29.391Z] + bash -s -- [2021-01-09T13:30:29.656Z] [2021-01-09T13:30:29.656Z] _____ _ [2021-01-09T13:30:29.656Z] / ____| | | [2021-01-09T13:30:29.656Z] | | ___ __| | ___ ___ _____ __ [2021-01-09T13:30:29.656Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-09T13:30:29.656Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-09T13:30:29.656Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-09T13:30:29.656Z] Bash-20201231-23d4836 [2021-01-09T13:30:29.656Z] [2021-01-09T13:30:29.656Z] [2021-01-09T13:30:29.656Z] ==> git version 2.24.3 found [2021-01-09T13:30:29.656Z] ==> 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-09T13:30:29.656Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-09T13:30:29.656Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-09T13:30:29.656Z] ==> Jenkins CI detected. [2021-01-09T13:30:29.656Z] project root: . [2021-01-09T13:30:29.656Z] --> token set from env [2021-01-09T13:30:29.656Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-09T13:30:29.656Z] ==> Running gcov in . (disable via -X gcov) [2021-01-09T13:30:29.656Z] ==> Python coveragepy not found [2021-01-09T13:30:29.656Z] ==> Searching for coverage reports in: [2021-01-09T13:30:29.656Z] + . [2021-01-09T13:30:29.656Z] -> Found 1 reports [2021-01-09T13:30:29.656Z] ==> Detecting git/mercurial file structure [2021-01-09T13:30:29.656Z] ==> Reading reports [2021-01-09T13:30:29.656Z] + ./coverage.out bytes=130605 [2021-01-09T13:30:29.656Z] ==> Appending adjustments [2021-01-09T13:30:29.656Z] https://docs.codecov.io/docs/fixing-reports [2021-01-09T13:30:30.233Z] + Found adjustments [2021-01-09T13:30:30.233Z] ==> Gzipping contents [2021-01-09T13:30:30.233Z] 24K /tmp/codecov.QTcKNA.gz [2021-01-09T13:30:30.233Z] ==> Uploading reports [2021-01-09T13:30:30.233Z] url: https://codecov.io [2021-01-09T13:30:30.233Z] query: branch=PR-720&commit=7f9fab5afdf02143f468fd7fcc0985681ec1d95b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-720%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=720&job=&cmd_args= [2021-01-09T13:30:30.233Z] -> Pinging Codecov [2021-01-09T13:30:30.233Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-720&commit=7f9fab5afdf02143f468fd7fcc0985681ec1d95b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-720%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=720&job=&cmd_args= [2021-01-09T13:30:30.496Z] -> Uploading to [2021-01-09T13:30:30.496Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-09/7E55EF52A471D76F132DFD9A03CDDE97/7f9fab5afdf02143f468fd7fcc0985681ec1d95b/22ccbe75-9fd9-42e5-a89f-3faa31d26bff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210109T133030Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=96e9cdc408f354a294f5092e0df21443715c0d38b997e3f0fd66e75e0dddc16e [2021-01-09T13:30:30.496Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-09T13:30:30.496Z] Dload Upload Total Spent Left Speed [2021-01-09T13:30:31.072Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21284 0 0 100 21284 0 48505 --:--:-- --:--:-- --:--:-- 48482 100 21284 0 0 100 21284 0 48487 --:--:-- --:--:-- --:--:-- 48482 [2021-01-09T13:30:31.072Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7f9fab5afdf02143f468fd7fcc0985681ec1d95b [Pipeline] } [2021-01-09T13:30:31.083Z] 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-09T13:30:33.918Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:30:34.225Z] ---> package-listing.sh [2021-01-09T13:30:34.226Z] ++ facter osfamily [2021-01-09T13:30:34.226Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-09T13:30:34.226Z] + OS_FAMILY=redhat [2021-01-09T13:30:34.226Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-720 [2021-01-09T13:30:34.226Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-09T13:30:34.226Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-09T13:30:34.226Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-09T13:30:34.226Z] + PACKAGES=/tmp/packages_start.txt [2021-01-09T13:30:34.226Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-720 ']' [2021-01-09T13:30:34.226Z] + PACKAGES=/tmp/packages_end.txt [2021-01-09T13:30:34.226Z] + case "${OS_FAMILY}" in [2021-01-09T13:30:34.226Z] + rpm -qa [2021-01-09T13:30:34.226Z] + sort [2021-01-09T13:30:39.545Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-09T13:30:39.545Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-09T13:30:39.545Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-09T13:30:39.545Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-720 ']' [2021-01-09T13:30:39.545Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-720/archives/ [2021-01-09T13:30:39.545Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-720/archives/ [Pipeline] echo [2021-01-09T13:30:39.561Z] 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-720/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-09T13:30:39.854Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:30:40.195Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-09T13:30:40.195Z] [2021-01-09T13:30:40.195Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:30:40.580Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-09T13:30:40.580Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-09T13:30:40.580Z] df20fa9351a1: Pulling fs layer [2021-01-09T13:30:40.580Z] 36b3adc4ff6f: Pulling fs layer [2021-01-09T13:30:40.580Z] 8ad3a11d3b57: Pulling fs layer [2021-01-09T13:30:40.580Z] 46f8f816bc3b: Pulling fs layer [2021-01-09T13:30:40.580Z] 93b61091891f: Pulling fs layer [2021-01-09T13:30:40.580Z] 93b9cdb0e59b: Pulling fs layer [2021-01-09T13:30:40.580Z] 5e14af77c1be: Pulling fs layer [2021-01-09T13:30:40.580Z] 01666e4c0597: Pulling fs layer [2021-01-09T13:30:40.580Z] aa168da1d23b: Pulling fs layer [2021-01-09T13:30:40.580Z] 46f8f816bc3b: Waiting [2021-01-09T13:30:40.580Z] 93b61091891f: Waiting [2021-01-09T13:30:40.580Z] 93b9cdb0e59b: Waiting [2021-01-09T13:30:40.580Z] 5e14af77c1be: Waiting [2021-01-09T13:30:40.580Z] 01666e4c0597: Waiting [2021-01-09T13:30:40.580Z] aa168da1d23b: Waiting [2021-01-09T13:30:40.580Z] 36b3adc4ff6f: Verifying Checksum [2021-01-09T13:30:40.580Z] 36b3adc4ff6f: Download complete [2021-01-09T13:30:40.580Z] 46f8f816bc3b: Verifying Checksum [2021-01-09T13:30:40.580Z] 46f8f816bc3b: Download complete [2021-01-09T13:30:40.580Z] df20fa9351a1: Verifying Checksum [2021-01-09T13:30:40.580Z] df20fa9351a1: Download complete [2021-01-09T13:30:40.846Z] 93b9cdb0e59b: Verifying Checksum [2021-01-09T13:30:40.846Z] 93b9cdb0e59b: Download complete [2021-01-09T13:30:40.846Z] 5e14af77c1be: Verifying Checksum [2021-01-09T13:30:40.846Z] 5e14af77c1be: Download complete [2021-01-09T13:30:40.846Z] 01666e4c0597: Download complete [2021-01-09T13:30:40.846Z] 93b61091891f: Verifying Checksum [2021-01-09T13:30:40.846Z] 93b61091891f: Download complete [2021-01-09T13:30:40.846Z] 8ad3a11d3b57: Verifying Checksum [2021-01-09T13:30:40.846Z] 8ad3a11d3b57: Download complete [2021-01-09T13:30:41.109Z] df20fa9351a1: Pull complete [2021-01-09T13:30:41.373Z] 36b3adc4ff6f: Pull complete [2021-01-09T13:30:42.779Z] 8ad3a11d3b57: Pull complete [2021-01-09T13:30:42.779Z] aa168da1d23b: Verifying Checksum [2021-01-09T13:30:42.779Z] aa168da1d23b: Download complete [2021-01-09T13:30:42.779Z] 46f8f816bc3b: Pull complete [2021-01-09T13:30:43.355Z] 93b61091891f: Pull complete [2021-01-09T13:30:43.355Z] 93b9cdb0e59b: Pull complete [2021-01-09T13:30:43.355Z] 5e14af77c1be: Pull complete [2021-01-09T13:30:43.617Z] 01666e4c0597: Pull complete [2021-01-09T13:30:51.817Z] aa168da1d23b: Pull complete [2021-01-09T13:30:51.817Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-09T13:30:51.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-09T13:30:51.817Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-09T13:30:52.013Z] prd-centos7-docker-4c-2g-19260 does not seem to be running inside a container [2021-01-09T13:30:52.060Z] $ 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-720/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-720 -v /w/workspace/dgexfoundry_device-sdk-go_PR-720:/w/workspace/dgexfoundry_device-sdk-go_PR-720:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-720@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:10003/edgex-lftools-log-publisher:alpine cat [2021-01-09T13:30:55.047Z] $ docker top 0ba5c939ea4ae161e457f630a37f8667160bf8d62aaf149adf0d5875e24f2607 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-09T13:30:55.562Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-09T13:30:55.858Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-09T13:30:56.157Z] + ls /var/log/sa-host [2021-01-09T13:30:56.158Z] + sadf -c /var/log/sa-host/sa09 [2021-01-09T13:30:56.158Z] file_magic: OK [2021-01-09T13:30:56.158Z] HZ: Using current value: 100 [2021-01-09T13:30:56.158Z] file_header: OK [2021-01-09T13:30:56.158Z] 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-09T13:30:56.158Z] Statistics: [2021-01-09T13:30:56.158Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-09T13:30:56.158Z] File successfully converted to sysstat format version 12.2.1 [2021-01-09T13:30:56.158Z] + sadf -c /var/log/sa-host/sa23 [2021-01-09T13:30:56.158Z] file_magic: OK [2021-01-09T13:30:56.158Z] HZ: Using current value: 100 [2021-01-09T13:30:56.158Z] file_header: OK [2021-01-09T13:30:56.158Z] 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-09T13:30:56.158Z] Statistics: [2021-01-09T13:30:56.158Z] Hnuu...uuuununununu... [2021-01-09T13:30:56.158Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-09T13:30:56.367Z] provisioning config files... [2021-01-09T13:30:56.382Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp/config3861830705768081995tmp [Pipeline] { [Pipeline] echo [2021-01-09T13:30:56.474Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:30:56.774Z] ---> create-netrc.sh [Pipeline] } [2021-01-09T13:30:56.784Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-09T13:30:56.882Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:30:57.183Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-09T13:30:57.195Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:30:57.494Z] ---> sudo-logs.sh [2021-01-09T13:30:57.494Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-09T13:30:57.506Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:30:57.801Z] ---> job-cost.sh [2021-01-09T13:30:57.801Z] lf-activate-venv: SKIPPING [2021-01-09T13:30:57.801Z] INFO: No Stack... [2021-01-09T13:30:58.747Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-09T13:30:59.322Z] INFO: Archiving Costs [Pipeline] echo [2021-01-09T13:30:59.335Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:30:59.636Z] ---> logs-deploy.sh [2021-01-09T13:30:59.636Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-720/2 [2021-01-09T13:30:59.636Z] INFO: archiving workspace using pattern(s): [2021-01-09T13:31:01.557Z] Archives upload complete. [2021-01-09T13:31:01.557Z] INFO: archiving logs to Nexus