Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+d47b03cf12e2f169eefdaad978a8d5668b399891 (4031ee48be31d6d9c6a87a7472be447868b2eccf) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f82e9360b4159668f7e3e090307a6179e9a8e48d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f82e9360b4159668f7e3e090307a6179e9a8e48d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-21049 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 > git remote # timeout=10 Merge succeeded, producing fd1d405e0f5f50a066d695d8c3b52aff05b38da4 Checking out Revision fd1d405e0f5f50a066d695d8c3b52aff05b38da4 (PR-725) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd1d405e0f5f50a066d695d8c3b52aff05b38da4 # timeout=10 Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-19T02:43:39.718Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-19T02:43:39.935Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-19T02:43:40.022Z] ========================================================= [2021-01-19T02:43:40.022Z] EdgeX Global Pipelines Version Info [2021-01-19T02:43:40.022Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 # timeout=10 [2021-01-19T02:43:41.521Z] ------------------- [2021-01-19T02:43:41.521Z] stable info: [2021-01-19T02:43:41.521Z] ------------------- [2021-01-19T02:43:41.521Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-19T02:43:41.521Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-19T02:43:41.521Z] Message: update stable to v1.0.177 [2021-01-19T02:43:42.471Z] ------------------- [2021-01-19T02:43:42.471Z] experimental info: [2021-01-19T02:43:42.471Z] ------------------- [2021-01-19T02:43:42.471Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-19T02:43:42.471Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-19T02:43:42.471Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-19T02:43:42.740Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-19T02:43:42.825Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-19T02:43:42.913Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-19T02:43:43.031Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-19T02:43:43.148Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-19T02:43:43.270Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-19T02:43:43.382Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-19T02:43:43.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-19T02:43:43.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-19T02:43:43.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-19T02:43:43.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-19T02:43:43.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-01-19T02:43:43.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-19T02:43:44.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-19T02:43:44.186Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-19T02:43:44.315Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T02:43:44.413Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T02:43:44.508Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T02:43:44.600Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-19T02:43:44.685Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-19T02:43:44.768Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-19T02:43:44.853Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-19T02:43:44.942Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-19T02:43:45.038Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-19T02:43:45.120Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-19T02:43:45.212Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-19T02:43:45.346Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-19T02:43:45.461Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-01-19T02:43:45.558Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-01-19T02:43:45.650Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-01-19T02:43:45.736Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd1d405e0f5f50a066d695d8c3b52aff05b38da4 [Pipeline] echo [2021-01-19T02:43:45.818Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd1d405 [Pipeline] echo [2021-01-19T02:43:45.927Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T02:43:46.110Z] provisioning config files... [2021-01-19T02:43:46.143Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config3532594268126314556tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:43:46.561Z] ---> docker-login.sh [2021-01-19T02:43:46.561Z] nexus3.edgexfoundry.org:10001 [2021-01-19T02:43:46.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:43:47.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:43:47.095Z] Configure a credential helper to remove this warning. See [2021-01-19T02:43:47.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:43:47.095Z] [2021-01-19T02:43:47.095Z] Login Succeeded [2021-01-19T02:43:47.095Z] nexus3.edgexfoundry.org:10002 [2021-01-19T02:43:47.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:43:47.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:43:47.095Z] Configure a credential helper to remove this warning. See [2021-01-19T02:43:47.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:43:47.095Z] [2021-01-19T02:43:47.095Z] Login Succeeded [2021-01-19T02:43:47.095Z] nexus3.edgexfoundry.org:10003 [2021-01-19T02:43:47.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:43:47.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:43:47.371Z] Configure a credential helper to remove this warning. See [2021-01-19T02:43:47.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:43:47.371Z] [2021-01-19T02:43:47.371Z] Login Succeeded [2021-01-19T02:43:47.371Z] nexus3.edgexfoundry.org:10004 [2021-01-19T02:43:47.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:43:47.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:43:47.633Z] Configure a credential helper to remove this warning. See [2021-01-19T02:43:47.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:43:47.633Z] [2021-01-19T02:43:47.633Z] Login Succeeded [2021-01-19T02:43:47.633Z] docker.io [2021-01-19T02:43:47.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:43:47.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:43:47.896Z] Configure a credential helper to remove this warning. See [2021-01-19T02:43:47.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:43:47.896Z] [2021-01-19T02:43:47.896Z] Login Succeeded [2021-01-19T02:43:47.896Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T02:43:47.916Z] 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-19T02:43:48.826Z] + git log --format=format:%s -1 fd1d405e0f5f50a066d695d8c3b52aff05b38da4 [Pipeline] echo [2021-01-19T02:43:48.898Z] GIT_COMMIT: fd1d405e0f5f50a066d695d8c3b52aff05b38da4, Commit Message: Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD [Pipeline] echo [2021-01-19T02:43:48.963Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:43:49.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T02:43:49.565Z] [2021-01-19T02:43:49.565Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:43:49.918Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T02:43:50.180Z] latest: Pulling from edgex-devops/git-semver [2021-01-19T02:43:50.180Z] 31603596830f: Pulling fs layer [2021-01-19T02:43:50.180Z] 2a8b12db71e7: Pulling fs layer [2021-01-19T02:43:50.180Z] 6ca5941a6612: Pulling fs layer [2021-01-19T02:43:50.180Z] ecc8261a40a4: Pulling fs layer [2021-01-19T02:43:50.180Z] ecc8261a40a4: Waiting [2021-01-19T02:43:50.180Z] 2a8b12db71e7: Verifying Checksum [2021-01-19T02:43:50.180Z] 2a8b12db71e7: Download complete [2021-01-19T02:43:51.571Z] 31603596830f: Verifying Checksum [2021-01-19T02:43:51.571Z] 31603596830f: Download complete [2021-01-19T02:43:51.571Z] ecc8261a40a4: Verifying Checksum [2021-01-19T02:43:51.571Z] ecc8261a40a4: Download complete [2021-01-19T02:43:51.834Z] 6ca5941a6612: Verifying Checksum [2021-01-19T02:43:51.835Z] 6ca5941a6612: Download complete [2021-01-19T02:43:51.835Z] 31603596830f: Pull complete [2021-01-19T02:43:51.835Z] 2a8b12db71e7: Pull complete [2021-01-19T02:43:52.792Z] 6ca5941a6612: Pull complete [2021-01-19T02:43:53.366Z] ecc8261a40a4: Pull complete [2021-01-19T02:43:53.366Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-19T02:43:53.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T02:43:53.366Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-19T02:43:53.493Z] prd-centos7-docker-4c-2g-21049 does not seem to be running inside a container [2021-01-19T02:43:53.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-19T02:43:55.384Z] $ docker top 6a80d59b4cffa1c2174a661138b75d16d6b85a147ca516e1920d09dce252e5a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-19T02:43:55.786Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T02:43:55.786Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T02:43:56.084Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T02:43:56.090Z] $ docker exec 6a80d59b4cffa1c2174a661138b75d16d6b85a147ca516e1920d09dce252e5a7 ssh-agent [2021-01-19T02:43:56.271Z] SSH_AUTH_SOCK=/tmp/ssh-3TnQNoTmjV11/agent.11 [2021-01-19T02:43:56.271Z] SSH_AGENT_PID=16 [2021-01-19T02:43:56.285Z] Running ssh-add (command line suppressed) [2021-01-19T02:43:56.409Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5142910881813914759.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5142910881813914759.key) [2021-01-19T02:43:56.462Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T02:43:56.802Z] + git tag --points-at HEAD [Pipeline] } [2021-01-19T02:43:56.825Z] $ docker exec --env ******** --env ******** 6a80d59b4cffa1c2174a661138b75d16d6b85a147ca516e1920d09dce252e5a7 ssh-agent -k [2021-01-19T02:43:56.945Z] unset SSH_AUTH_SOCK; [2021-01-19T02:43:56.946Z] unset SSH_AGENT_PID; [2021-01-19T02:43:56.946Z] echo Agent pid 16 killed; [2021-01-19T02:43:56.997Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-19T02:43:57.145Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T02:43:57.145Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T02:43:57.322Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T02:43:57.327Z] $ docker exec 6a80d59b4cffa1c2174a661138b75d16d6b85a147ca516e1920d09dce252e5a7 ssh-agent [2021-01-19T02:43:57.505Z] SSH_AUTH_SOCK=/tmp/ssh-2HXXYcTojKBc/agent.44 [2021-01-19T02:43:57.505Z] SSH_AGENT_PID=50 [2021-01-19T02:43:57.512Z] Running ssh-add (command line suppressed) [2021-01-19T02:43:57.647Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_978404839762608552.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_978404839762608552.key) [2021-01-19T02:43:57.702Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T02:43:58.039Z] + git semver init [2021-01-19T02:43:58.039Z] # -> Open(): unable to determine branch for HEAD [2021-01-19T02:43:58.039Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-01-19T02:43:58.039Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-01-19T02:43:58.039Z] # $SEMVER_REMOTE_NAME = origin [2021-01-19T02:43:58.039Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-19T02:43:58.039Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-19T02:43:58.039Z] # $SEMVER_BRANCH = PR-725 [2021-01-19T02:43:58.039Z] # $SEMVER_TEMP = /tmp/semver-152267481 [2021-01-19T02:43:58.039Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-19T02:43:59.001Z] # '/tmp/semver-152267481' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-01-19T02:43:59.001Z] # -> Force: false [2021-01-19T02:43:59.001Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-01-19T02:43:59.022Z] $ docker exec --env ******** --env ******** 6a80d59b4cffa1c2174a661138b75d16d6b85a147ca516e1920d09dce252e5a7 ssh-agent -k [2021-01-19T02:43:59.146Z] unset SSH_AUTH_SOCK; [2021-01-19T02:43:59.146Z] unset SSH_AGENT_PID; [2021-01-19T02:43:59.146Z] echo Agent pid 50 killed; [2021-01-19T02:43:59.226Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-19T02:43:59.810Z] + git semver [Pipeline] } [2021-01-19T02:43:59.829Z] $ docker stop --time=1 6a80d59b4cffa1c2174a661138b75d16d6b85a147ca516e1920d09dce252e5a7 [2021-01-19T02:44:01.646Z] $ docker rm -f 6a80d59b4cffa1c2174a661138b75d16d6b85a147ca516e1920d09dce252e5a7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T02:44:02.145Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-19T02:44:02.629Z] Stashed 1 file(s) [Pipeline] echo [2021-01-19T02:44:02.632Z] [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-19T02:44:18.129Z] Still waiting to schedule task [2021-01-19T02:44:18.129Z] Executor slot already in use; ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-21053’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-19T02:44:18.132Z] Still waiting to schedule task [2021-01-19T02:44:18.132Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-19T02:47:19.280Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21059 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-01-19T02:47:19.334Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-01-19T02:47:25.070Z] using credential edgex-jenkins-ssh [2021-01-19T02:47:25.127Z] Cloning the remote Git repository [2021-01-19T02:47:25.206Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:47:25.329Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-01-19T02:47:25.434Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:47:25.435Z] > git --version # timeout=10 [2021-01-19T02:47:25.458Z] > git --version # 'git version 2.17.1' [2021-01-19T02:47:25.460Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:47:25.517Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T02:47:26.746Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T02:47:26.794Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T02:47:26.842Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T02:47:26.916Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:47:26.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:47:26.931Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-19T02:47:27.617Z] Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-01-19T02:47:28.068Z] Merge succeeded, producing 31dbda3627477fcd02e64faacf745d40fe0c6a02 [2021-01-19T02:47:28.068Z] Checking out Revision 31dbda3627477fcd02e64faacf745d40fe0c6a02 (PR-725) [2021-01-19T02:47:27.645Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T02:47:27.670Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-01-19T02:47:27.816Z] > git remote # timeout=10 [2021-01-19T02:47:27.840Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T02:47:27.862Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:47:27.876Z] > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 [2021-01-19T02:47:28.040Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T02:47:28.080Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T02:47:28.100Z] > git checkout -f 31dbda3627477fcd02e64faacf745d40fe0c6a02 # timeout=10 [2021-01-19T02:47:32.725Z] Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" [2021-01-19T02:47:32.751Z] First time build. Skipping changelog. [2021-01-19T02:47:32.737Z] > git rev-list --no-walk d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T02:47:34.239Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-19T02:47:34.702Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T02:47:35.040Z] + sudo service docker+ restarttrue [2021-01-19T02:47:35.040Z] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T02:47:37.783Z] provisioning config files... [2021-01-19T02:47:37.845Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config3578747130935071865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:47:38.350Z] ---> docker-login.sh [2021-01-19T02:47:38.350Z] nexus3.edgexfoundry.org:10001 [2021-01-19T02:47:38.607Z] Running on prd-centos7-docker-4c-2g-21061 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-01-19T02:47:38.656Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-01-19T02:47:39.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:47:39.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:47:39.612Z] Configure a credential helper to remove this warning. See [2021-01-19T02:47:39.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:47:39.612Z] [2021-01-19T02:47:39.612Z] Login Succeeded [2021-01-19T02:47:39.612Z] nexus3.edgexfoundry.org:10002 [2021-01-19T02:47:39.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:47:40.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:47:40.183Z] Configure a credential helper to remove this warning. See [2021-01-19T02:47:40.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:47:40.183Z] [2021-01-19T02:47:40.183Z] Login Succeeded [2021-01-19T02:47:40.183Z] nexus3.edgexfoundry.org:10003 [2021-01-19T02:47:40.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:47:40.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:47:40.745Z] Configure a credential helper to remove this warning. See [2021-01-19T02:47:40.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:47:40.745Z] [2021-01-19T02:47:40.745Z] Login Succeeded [2021-01-19T02:47:40.745Z] nexus3.edgexfoundry.org:10004 [2021-01-19T02:47:41.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:47:41.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:47:41.302Z] Configure a credential helper to remove this warning. See [2021-01-19T02:47:41.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:47:41.302Z] [2021-01-19T02:47:41.302Z] Login Succeeded [2021-01-19T02:47:41.302Z] docker.io [2021-01-19T02:47:41.400Z] using credential edgex-jenkins-ssh [2021-01-19T02:47:41.460Z] Cloning the remote Git repository [2021-01-19T02:47:41.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:47:41.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:47:41.851Z] Configure a credential helper to remove this warning. See [2021-01-19T02:47:41.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:47:41.851Z] [2021-01-19T02:47:41.851Z] Login Succeeded [2021-01-19T02:47:41.851Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T02:47:41.871Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-01-19T02:47:41.489Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:47:41.560Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-01-19T02:47:41.644Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:47:41.645Z] > git --version # timeout=10 [2021-01-19T02:47:41.655Z] > git --version # 'git version 2.24.3' [2021-01-19T02:47:41.655Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:47:41.685Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] echo [2021-01-19T02:47:42.510Z] ========================================================= [2021-01-19T02:47:42.510Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-19T02:47:42.510Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:47:42.948Z] + 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-19T02:47:43.007Z] Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-01-19T02:47:43.168Z] Merge succeeded, producing b5f2ff935df884fe3e591f8838d4041c39f84fd4 [2021-01-19T02:47:43.169Z] Checking out Revision b5f2ff935df884fe3e591f8838d4041c39f84fd4 (PR-725) [2021-01-19T02:47:42.453Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T02:47:42.463Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T02:47:42.482Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T02:47:42.521Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:47:42.521Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:47:42.533Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-19T02:47:43.016Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T02:47:43.023Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-01-19T02:47:43.078Z] > git remote # timeout=10 [2021-01-19T02:47:43.085Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T02:47:43.091Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:47:43.095Z] > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 [2021-01-19T02:47:43.162Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T02:47:43.172Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T02:47:43.179Z] > git checkout -f b5f2ff935df884fe3e591f8838d4041c39f84fd4 # timeout=10 [2021-01-19T02:47:43.572Z] Sending build context to Docker daemon 2.527MB [2021-01-19T02:47:43.572Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T02:47:43.572Z] Step 2/8 : FROM ${BASE} [2021-01-19T02:47:43.572Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-19T02:47:43.572Z] 5f621e34cdf4: Pulling fs layer [2021-01-19T02:47:43.572Z] a4357932f1b6: Pulling fs layer [2021-01-19T02:47:43.572Z] 18c013af1878: Pulling fs layer [2021-01-19T02:47:43.572Z] 00ac8860ef70: Pulling fs layer [2021-01-19T02:47:43.572Z] 63d7cb157983: Pulling fs layer [2021-01-19T02:47:43.572Z] b116817d02f9: Pulling fs layer [2021-01-19T02:47:43.572Z] 745a02a5169b: Pulling fs layer [2021-01-19T02:47:43.572Z] 00ac8860ef70: Waiting [2021-01-19T02:47:43.572Z] 63d7cb157983: Waiting [2021-01-19T02:47:43.572Z] 745a02a5169b: Waiting [2021-01-19T02:47:43.572Z] 18c013af1878: Verifying Checksum [2021-01-19T02:47:43.572Z] 18c013af1878: Download complete [2021-01-19T02:47:43.572Z] a4357932f1b6: Download complete [2021-01-19T02:47:43.572Z] 63d7cb157983: Verifying Checksum [2021-01-19T02:47:43.572Z] 63d7cb157983: Download complete [2021-01-19T02:47:43.572Z] b116817d02f9: Verifying Checksum [2021-01-19T02:47:43.572Z] b116817d02f9: Download complete [2021-01-19T02:47:43.572Z] 5f621e34cdf4: Verifying Checksum [2021-01-19T02:47:43.572Z] 5f621e34cdf4: Download complete [2021-01-19T02:47:44.178Z] 5f621e34cdf4: Pull complete [2021-01-19T02:47:44.803Z] a4357932f1b6: Pull complete [2021-01-19T02:47:45.422Z] 18c013af1878: Pull complete [2021-01-19T02:47:46.035Z] 745a02a5169b: Verifying Checksum [2021-01-19T02:47:46.035Z] 745a02a5169b: Download complete [2021-01-19T02:47:47.041Z] Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" [2021-01-19T02:47:47.052Z] First time build. Skipping changelog. [2021-01-19T02:47:47.046Z] > git rev-list --no-walk d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-01-19T02:47:47.510Z] 00ac8860ef70: Verifying Checksum [2021-01-19T02:47:47.510Z] 00ac8860ef70: Download complete [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T02:47:48.437Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-19T02:47:48.762Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T02:47:49.096Z] + sudo service docker restart [2021-01-19T02:47:49.097Z] + true [2021-01-19T02:47:49.097Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T02:47:50.293Z] provisioning config files... [2021-01-19T02:47:50.325Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5142174185089305689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:47:50.685Z] ---> docker-login.sh [2021-01-19T02:47:50.685Z] nexus3.edgexfoundry.org:10001 [2021-01-19T02:47:50.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:47:51.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:47:51.209Z] Configure a credential helper to remove this warning. See [2021-01-19T02:47:51.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:47:51.209Z] [2021-01-19T02:47:51.209Z] Login Succeeded [2021-01-19T02:47:51.209Z] nexus3.edgexfoundry.org:10002 [2021-01-19T02:47:51.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:47:51.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:47:51.209Z] Configure a credential helper to remove this warning. See [2021-01-19T02:47:51.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:47:51.209Z] [2021-01-19T02:47:51.209Z] Login Succeeded [2021-01-19T02:47:51.209Z] nexus3.edgexfoundry.org:10003 [2021-01-19T02:47:51.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:47:51.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:47:51.472Z] Configure a credential helper to remove this warning. See [2021-01-19T02:47:51.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:47:51.472Z] [2021-01-19T02:47:51.472Z] Login Succeeded [2021-01-19T02:47:51.472Z] nexus3.edgexfoundry.org:10004 [2021-01-19T02:47:51.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:47:51.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:47:51.742Z] Configure a credential helper to remove this warning. See [2021-01-19T02:47:51.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:47:51.742Z] [2021-01-19T02:47:51.742Z] Login Succeeded [2021-01-19T02:47:51.742Z] docker.io [2021-01-19T02:47:51.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:47:52.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:47:52.004Z] Configure a credential helper to remove this warning. See [2021-01-19T02:47:52.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:47:52.004Z] [2021-01-19T02:47:52.004Z] Login Succeeded [2021-01-19T02:47:52.004Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T02:47:52.013Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-19T02:47:52.358Z] ========================================================= [2021-01-19T02:47:52.358Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-19T02:47:52.358Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:47:52.710Z] + 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-19T02:47:52.710Z] Sending build context to Docker daemon 2.528MB [2021-01-19T02:47:52.710Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T02:47:52.710Z] Step 2/8 : FROM ${BASE} [2021-01-19T02:47:52.973Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-19T02:47:52.973Z] 188c0c94c7c5: Pulling fs layer [2021-01-19T02:47:52.973Z] 0ef7d3d256c8: Pulling fs layer [2021-01-19T02:47:52.973Z] de9db76c5a1d: Pulling fs layer [2021-01-19T02:47:52.973Z] bca2f99d35d6: Pulling fs layer [2021-01-19T02:47:52.973Z] 93359f2a8cfa: Pulling fs layer [2021-01-19T02:47:52.973Z] 7c6f9722023f: Pulling fs layer [2021-01-19T02:47:52.973Z] a35cf1a2eb13: Pulling fs layer [2021-01-19T02:47:52.973Z] bca2f99d35d6: Waiting [2021-01-19T02:47:52.973Z] 93359f2a8cfa: Waiting [2021-01-19T02:47:52.973Z] 7c6f9722023f: Waiting [2021-01-19T02:47:52.973Z] a35cf1a2eb13: Waiting [2021-01-19T02:47:52.973Z] de9db76c5a1d: Verifying Checksum [2021-01-19T02:47:52.973Z] de9db76c5a1d: Download complete [2021-01-19T02:47:52.973Z] 0ef7d3d256c8: Verifying Checksum [2021-01-19T02:47:52.973Z] 0ef7d3d256c8: Download complete [2021-01-19T02:47:52.973Z] 93359f2a8cfa: Verifying Checksum [2021-01-19T02:47:52.973Z] 93359f2a8cfa: Download complete [2021-01-19T02:47:52.973Z] 7c6f9722023f: Verifying Checksum [2021-01-19T02:47:52.973Z] 7c6f9722023f: Download complete [2021-01-19T02:47:52.973Z] 188c0c94c7c5: Verifying Checksum [2021-01-19T02:47:52.973Z] 188c0c94c7c5: Download complete [2021-01-19T02:47:53.237Z] 188c0c94c7c5: Pull complete [2021-01-19T02:47:53.506Z] 0ef7d3d256c8: Pull complete [2021-01-19T02:47:53.776Z] de9db76c5a1d: Pull complete [2021-01-19T02:47:54.732Z] a35cf1a2eb13: Verifying Checksum [2021-01-19T02:47:54.732Z] a35cf1a2eb13: Download complete [2021-01-19T02:47:55.309Z] bca2f99d35d6: Verifying Checksum [2021-01-19T02:47:55.309Z] bca2f99d35d6: Download complete [2021-01-19T02:47:57.760Z] 00ac8860ef70: Pull complete [2021-01-19T02:47:57.760Z] 63d7cb157983: Pull complete [2021-01-19T02:47:57.760Z] b116817d02f9: Pull complete [2021-01-19T02:48:00.670Z] bca2f99d35d6: Pull complete [2021-01-19T02:48:00.671Z] 93359f2a8cfa: Pull complete [2021-01-19T02:48:00.943Z] 7c6f9722023f: Pull complete [2021-01-19T02:48:02.150Z] 745a02a5169b: Pull complete [2021-01-19T02:48:02.150Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-19T02:48:02.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-19T02:48:02.150Z] ---> b7e6874047d6 [2021-01-19T02:48:02.150Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:48:04.770Z] ---> Running in a4c3859735e0 [2021-01-19T02:48:05.371Z] Removing intermediate container a4c3859735e0 [2021-01-19T02:48:05.371Z] ---> 5da28d16394d [2021-01-19T02:48:05.371Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T02:48:05.371Z] ---> Running in 196d2831ea72 [2021-01-19T02:48:07.997Z] Removing intermediate container 196d2831ea72 [2021-01-19T02:48:07.997Z] ---> b4411d6587a3 [2021-01-19T02:48:07.997Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-19T02:48:07.997Z] ---> Running in 42e08ce94fb0 [2021-01-19T02:48:08.988Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T02:48:09.591Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T02:48:10.572Z] OK: 142 MiB in 39 packages [2021-01-19T02:48:11.026Z] a35cf1a2eb13: Pull complete [2021-01-19T02:48:11.026Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-19T02:48:11.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-19T02:48:11.026Z] ---> a62c8e92a672 [2021-01-19T02:48:11.026Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:48:11.026Z] ---> Running in 442aaedcb6e5 [2021-01-19T02:48:11.026Z] Removing intermediate container 442aaedcb6e5 [2021-01-19T02:48:11.026Z] ---> a1ac2601cd3f [2021-01-19T02:48:11.026Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T02:48:11.026Z] ---> Running in b1cd9a1d57d0 [2021-01-19T02:48:11.555Z] Removing intermediate container 42e08ce94fb0 [2021-01-19T02:48:11.555Z] ---> 47e589a3927c [2021-01-19T02:48:11.555Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-19T02:48:11.841Z] ---> Running in 74228e241e6f [2021-01-19T02:48:11.987Z] Removing intermediate container b1cd9a1d57d0 [2021-01-19T02:48:11.987Z] ---> dd68ac66e8f1 [2021-01-19T02:48:11.987Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-19T02:48:11.987Z] ---> Running in 0c42852a4970 [2021-01-19T02:48:12.454Z] Removing intermediate container 74228e241e6f [2021-01-19T02:48:12.454Z] ---> 2fd4e94e5c77 [2021-01-19T02:48:12.454Z] Step 7/8 : COPY . . [2021-01-19T02:48:12.944Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-19T02:48:13.523Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-19T02:48:13.905Z] ---> 5bc79278f8d2 [2021-01-19T02:48:13.905Z] Step 8/8 : RUN go mod download [2021-01-19T02:48:14.101Z] OK: 166 MiB in 39 packages [2021-01-19T02:48:14.180Z] ---> Running in 58a4940ea74f [2021-01-19T02:48:14.682Z] Removing intermediate container 0c42852a4970 [2021-01-19T02:48:14.682Z] ---> faac1ef857c6 [2021-01-19T02:48:14.682Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-19T02:48:14.682Z] ---> Running in e7e6fa70e69b [2021-01-19T02:48:14.945Z] Removing intermediate container e7e6fa70e69b [2021-01-19T02:48:14.945Z] ---> c1a279bf522d [2021-01-19T02:48:14.946Z] Step 7/8 : COPY . . [2021-01-19T02:48:15.900Z] ---> 716c3925c4df [2021-01-19T02:48:15.900Z] Step 8/8 : RUN go mod download [2021-01-19T02:48:15.900Z] ---> Running in 31a17fe0c3a9 [2021-01-19T02:48:34.193Z] Removing intermediate container 31a17fe0c3a9 [2021-01-19T02:48:34.193Z] ---> ef3c7478c309 [2021-01-19T02:48:34.193Z] Successfully built ef3c7478c309 [2021-01-19T02:48:34.193Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:48:34.529Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T02:48:34.529Z] . [Pipeline] withDockerContainer [2021-01-19T02:48:34.653Z] prd-centos7-docker-4c-2g-21061 does not seem to be running inside a container [2021-01-19T02:48:34.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-19T02:48:35.506Z] $ docker top c686ba1c7a8b8753f53cdd316baee41b4f86237001c15d8cda800bbb95a781da -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:48:36.176Z] + go version [2021-01-19T02:48:36.481Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-19T02:48:36.531Z] $ docker stop --time=1 c686ba1c7a8b8753f53cdd316baee41b4f86237001c15d8cda800bbb95a781da [2021-01-19T02:48:38.018Z] $ docker rm -f c686ba1c7a8b8753f53cdd316baee41b4f86237001c15d8cda800bbb95a781da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:48:38.782Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T02:48:38.782Z] . [Pipeline] withDockerContainer [2021-01-19T02:48:38.890Z] prd-centos7-docker-4c-2g-21061 does not seem to be running inside a container [2021-01-19T02:48:38.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-19T02:48:39.642Z] $ docker top 83ef425266c3f7a606c40d5f77a31845ef90c622a00b647d57aa98398d5ed75c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:48:40.237Z] + make test [2021-01-19T02:48:40.237Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-19T02:48:41.010Z] Removing intermediate container 58a4940ea74f [2021-01-19T02:48:41.010Z] ---> 356430e3b04d [2021-01-19T02:48:41.010Z] Successfully built 356430e3b04d [2021-01-19T02:48:41.010Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:48:41.377Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T02:48:41.377Z] . [Pipeline] withDockerContainer [2021-01-19T02:48:41.690Z] prd-ubuntu18.04-docker-arm64-4c-16g-21059 does not seem to be running inside a container [2021-01-19T02:48:41.796Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-19T02:48:43.478Z] $ docker top 9059a8fdc426b4aa8f07166b4eb587ce6b6a83d2579d88e34e39dd673d43da44 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:48:44.551Z] + go version [2021-01-19T02:48:44.551Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-19T02:48:44.581Z] $ docker stop --time=1 9059a8fdc426b4aa8f07166b4eb587ce6b6a83d2579d88e34e39dd673d43da44 [2021-01-19T02:48:46.606Z] $ docker rm -f 9059a8fdc426b4aa8f07166b4eb587ce6b6a83d2579d88e34e39dd673d43da44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:48:47.595Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T02:48:47.596Z] . [Pipeline] withDockerContainer [2021-01-19T02:48:47.882Z] prd-ubuntu18.04-docker-arm64-4c-16g-21059 does not seem to be running inside a container [2021-01-19T02:48:47.976Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-19T02:48:48.490Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-19T02:48:49.655Z] $ docker top 148f0afd6180972538579f1d10f96ac3f6fa113d879e57168250bb590e13ff0c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:48:50.740Z] + make test [2021-01-19T02:48:50.740Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-19T02:49:03.549Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-19T02:49:03.549Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-19T02:49:03.549Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-19T02:49:03.549Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.083s coverage: 19.4% of statements [2021-01-19T02:49:04.986Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.465s coverage: 97.1% of statements [2021-01-19T02:49:17.565Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-19T02:49:38.190Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.064s coverage: 9.4% of statements [2021-01-19T02:49:38.190Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.053s coverage: 21.7% of statements [2021-01-19T02:49:38.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-19T02:49:38.190Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.241s coverage: 42.9% of statements [2021-01-19T02:49:38.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-19T02:49:38.190Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.279s coverage: 68.9% of statements [2021-01-19T02:49:38.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-19T02:49:38.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-19T02:49:38.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-19T02:49:38.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-19T02:49:38.190Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 53.8% of statements [2021-01-19T02:49:38.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-19T02:49:38.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-19T02:49:38.190Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.073s coverage: 25.6% of statements [2021-01-19T02:49:38.190Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.525s coverage: 68.9% of statements [2021-01-19T02:49:38.190Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements [2021-01-19T02:49:38.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-19T02:49:38.190Z] GO111MODULE=on go vet ./... [2021-01-19T02:49:46.482Z] gofmt -l . [2021-01-19T02:49:46.482Z] [ "`gofmt -l .`" = "" ] [2021-01-19T02:49:46.482Z] ./bin/test-attribution-txt.sh [2021-01-19T02:49:46.482Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-19T02:49:46.507Z] $ docker stop --time=1 83ef425266c3f7a606c40d5f77a31845ef90c622a00b647d57aa98398d5ed75c [2021-01-19T02:49:48.487Z] $ docker rm -f 83ef425266c3f7a606c40d5f77a31845ef90c622a00b647d57aa98398d5ed75c [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T02:49:49.152Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T02:49:49.602Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-19T02:49:50.827Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-19T02:49:51.135Z] + ls -al . [2021-01-19T02:49:51.135Z] total 224 [2021-01-19T02:49:51.135Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 02:49 . [2021-01-19T02:49:51.135Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 19 02:47 .. [2021-01-19T02:49:51.135Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 19 02:47 bin [2021-01-19T02:49:51.135Z] -rw-r--r--. 1 jenkins jenkins 144063 Jan 19 02:49 coverage.out [2021-01-19T02:49:51.135Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 19 02:47 Dockerfile.build [2021-01-19T02:49:51.135Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 19 02:47 .dockerignore [2021-01-19T02:49:51.135Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 19 02:47 example [2021-01-19T02:49:51.135Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 02:47 .git [2021-01-19T02:49:51.135Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 02:47 .github [2021-01-19T02:49:51.135Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 19 02:47 .gitignore [2021-01-19T02:49:51.135Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 19 02:49 go.mod [2021-01-19T02:49:51.135Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 19 02:49 go.sum [2021-01-19T02:49:51.135Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 19 02:47 internal [2021-01-19T02:49:51.135Z] -rw-rw-r--. 1 jenkins jenkins 894 Jan 19 02:47 Jenkinsfile [2021-01-19T02:49:51.135Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 19 02:47 LICENSE [2021-01-19T02:49:51.135Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 19 02:47 Makefile [2021-01-19T02:49:51.135Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 19 02:47 openapi [2021-01-19T02:49:51.135Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 19 02:47 pkg [2021-01-19T02:49:51.135Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 19 02:47 README.md [2021-01-19T02:49:51.135Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 19 02:47 RELEASE-NOTES.txt [2021-01-19T02:49:51.136Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 19 02:47 snap [2021-01-19T02:49:51.136Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 02:44 VERSION [2021-01-19T02:49:51.136Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 19 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:49:51.443Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=fd1d405e0f5f50a066d695d8c3b52aff05b38da4 --label arch=amd64 --label version=0.0.0 . [2021-01-19T02:49:51.706Z] Sending build context to Docker daemon 2.673MB [2021-01-19T02:49:51.706Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T02:49:51.706Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-19T02:49:51.706Z] ---> ef3c7478c309 [2021-01-19T02:49:51.706Z] Step 3/24 : ARG MAKE='make build' [2021-01-19T02:49:52.283Z] ---> Running in 173d45532fb2 [2021-01-19T02:49:52.546Z] Removing intermediate container 173d45532fb2 [2021-01-19T02:49:52.546Z] ---> 6cee4287b7f4 [2021-01-19T02:49:52.546Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-19T02:49:52.546Z] ---> Running in dcf7348436a0 [2021-01-19T02:49:52.807Z] Removing intermediate container dcf7348436a0 [2021-01-19T02:49:52.807Z] ---> 6a637a1eba90 [2021-01-19T02:49:52.807Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:49:52.807Z] ---> Running in 6c6447078378 [2021-01-19T02:49:53.071Z] Removing intermediate container 6c6447078378 [2021-01-19T02:49:53.071Z] ---> 0f6ce30ee68f [2021-01-19T02:49:53.071Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T02:49:53.071Z] ---> Running in 17124d5df506 [2021-01-19T02:49:54.060Z] Removing intermediate container 17124d5df506 [2021-01-19T02:49:54.060Z] ---> ee3c6e541e27 [2021-01-19T02:49:54.060Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-19T02:49:54.061Z] ---> Running in 082bde5dd83f [2021-01-19T02:49:54.651Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-19T02:49:55.603Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-19T02:49:56.181Z] OK: 166 MiB in 39 packages [2021-01-19T02:49:56.447Z] Removing intermediate container 082bde5dd83f [2021-01-19T02:49:56.447Z] ---> 54f2fcdc004d [2021-01-19T02:49:56.447Z] Step 8/24 : COPY . . [2021-01-19T02:49:57.890Z] ---> 581b0eb92584 [2021-01-19T02:49:57.890Z] Step 9/24 : RUN ${MAKE} [2021-01-19T02:49:57.890Z] ---> Running in 2af991643e2c [2021-01-19T02:49:58.157Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-19T02:50:04.652Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-19T02:50:04.652Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-19T02:50:04.652Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-19T02:50:04.652Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.134s coverage: 19.4% of statements [2021-01-19T02:50:04.652Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.522s coverage: 97.1% of statements [2021-01-19T02:50:08.338Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-19T02:50:09.769Z] Removing intermediate container 2af991643e2c [2021-01-19T02:50:09.769Z] ---> 91d8280044f2 [2021-01-19T02:50:09.769Z] Step 10/24 : FROM scratch [2021-01-19T02:50:09.769Z] ---> [2021-01-19T02:50:09.769Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:50:10.035Z] ---> Running in 992453893c68 [2021-01-19T02:50:10.035Z] Removing intermediate container 992453893c68 [2021-01-19T02:50:10.035Z] ---> bb1617695ce8 [2021-01-19T02:50:10.035Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-19T02:50:10.035Z] ---> Running in 8e50bb202edf [2021-01-19T02:50:10.300Z] Removing intermediate container 8e50bb202edf [2021-01-19T02:50:10.300Z] ---> d7562aa48ec3 [2021-01-19T02:50:10.300Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-19T02:50:10.300Z] ---> Running in edda3a9bb4b2 [2021-01-19T02:50:10.579Z] Removing intermediate container edda3a9bb4b2 [2021-01-19T02:50:10.579Z] ---> 4600bcf74cfb [2021-01-19T02:50:10.579Z] Step 14/24 : WORKDIR / [2021-01-19T02:50:10.579Z] ---> Running in c215ec639e3a [2021-01-19T02:50:10.844Z] Removing intermediate container c215ec639e3a [2021-01-19T02:50:10.844Z] ---> a4d689c1c5be [2021-01-19T02:50:10.844Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-19T02:50:11.420Z] ---> 789d8ba8a01e [2021-01-19T02:50:11.421Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-19T02:50:11.421Z] ---> cb5907ddace4 [2021-01-19T02:50:11.421Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-19T02:50:11.691Z] ---> 550f863d765f [2021-01-19T02:50:11.691Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-19T02:50:11.960Z] ---> 55bc7510adb0 [2021-01-19T02:50:11.960Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-19T02:50:12.233Z] ---> e00e8407f1b5 [2021-01-19T02:50:12.233Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-19T02:50:12.233Z] ---> Running in e38c28e1eb57 [2021-01-19T02:50:12.500Z] Removing intermediate container e38c28e1eb57 [2021-01-19T02:50:12.500Z] ---> d26ada207e11 [2021-01-19T02:50:12.500Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-19T02:50:12.500Z] ---> Running in f8d4f6190015 [2021-01-19T02:50:12.766Z] Removing intermediate container f8d4f6190015 [2021-01-19T02:50:12.766Z] ---> ba0c00254f1d [2021-01-19T02:50:12.766Z] Step 22/24 : LABEL arch=amd64 [2021-01-19T02:50:12.766Z] ---> Running in 6767bc7e32d7 [2021-01-19T02:50:13.029Z] Removing intermediate container 6767bc7e32d7 [2021-01-19T02:50:13.029Z] ---> 3f23feb289b0 [2021-01-19T02:50:13.029Z] Step 23/24 : LABEL git_sha=fd1d405e0f5f50a066d695d8c3b52aff05b38da4 [2021-01-19T02:50:13.029Z] ---> Running in 3c61f77ed175 [2021-01-19T02:50:13.295Z] Removing intermediate container 3c61f77ed175 [2021-01-19T02:50:13.295Z] ---> 94f893caff0d [2021-01-19T02:50:13.295Z] Step 24/24 : LABEL version=0.0.0 [2021-01-19T02:50:13.295Z] ---> Running in 2fdf9ef993e9 [2021-01-19T02:50:13.560Z] Removing intermediate container 2fdf9ef993e9 [2021-01-19T02:50:13.560Z] ---> fb6d4766aca1 [2021-01-19T02:50:13.560Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-19T02:50:13.560Z] Successfully built fb6d4766aca1 [2021-01-19T02:50:13.560Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-19T02:50:37.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.140s coverage: 9.4% of statements [2021-01-19T02:50:37.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.158s coverage: 21.7% of statements [2021-01-19T02:50:37.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-19T02:50:37.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.659s coverage: 42.9% of statements [2021-01-19T02:50:37.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-19T02:50:37.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.799s coverage: 68.9% of statements [2021-01-19T02:50:37.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-19T02:50:37.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-19T02:50:37.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-19T02:50:37.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-19T02:50:37.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.252s coverage: 53.8% of statements [2021-01-19T02:50:37.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-19T02:50:37.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-19T02:50:37.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.264s coverage: 25.6% of statements [2021-01-19T02:50:37.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.908s coverage: 68.9% of statements [2021-01-19T02:50:37.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.161s coverage: 4.2% of statements [2021-01-19T02:50:37.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-19T02:50:37.383Z] GO111MODULE=on go vet ./... [2021-01-19T02:51:09.891Z] gofmt -l . [2021-01-19T02:51:09.891Z] [ "`gofmt -l .`" = "" ] [2021-01-19T02:51:09.891Z] ./bin/test-attribution-txt.sh [2021-01-19T02:51:09.891Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-19T02:51:09.920Z] $ docker stop --time=1 148f0afd6180972538579f1d10f96ac3f6fa113d879e57168250bb590e13ff0c [2021-01-19T02:51:12.252Z] $ docker rm -f 148f0afd6180972538579f1d10f96ac3f6fa113d879e57168250bb590e13ff0c [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T02:51:13.333Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T02:51:13.353Z] Warning: overwriting stash ‘coverage-report’ [2021-01-19T02:51:14.133Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T02:51:14.834Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-19T02:51:15.170Z] + ls -al . [2021-01-19T02:51:15.170Z] total 260 [2021-01-19T02:51:15.170Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:51 . [2021-01-19T02:51:15.170Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:47 .. [2021-01-19T02:51:15.170Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 02:47 .dockerignore [2021-01-19T02:51:15.170Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:47 .git [2021-01-19T02:51:15.170Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:47 .github [2021-01-19T02:51:15.170Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 19 02:47 .gitignore [2021-01-19T02:51:15.170Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 19 02:47 Dockerfile.build [2021-01-19T02:51:15.170Z] -rw-rw-r-- 1 jenkins jenkins 894 Jan 19 02:47 Jenkinsfile [2021-01-19T02:51:15.170Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 19 02:47 LICENSE [2021-01-19T02:51:15.170Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 19 02:47 Makefile [2021-01-19T02:51:15.170Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 19 02:47 README.md [2021-01-19T02:51:15.170Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 19 02:47 RELEASE-NOTES.txt [2021-01-19T02:51:15.170Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:44 VERSION [2021-01-19T02:51:15.170Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:47 bin [2021-01-19T02:51:15.170Z] -rw-r--r-- 1 jenkins jenkins 144063 Jan 19 02:50 coverage.out [2021-01-19T02:51:15.170Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:47 example [2021-01-19T02:51:15.170Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 19 02:51 go.mod [2021-01-19T02:51:15.170Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 19 02:51 go.sum [2021-01-19T02:51:15.170Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 19 02:47 internal [2021-01-19T02:51:15.170Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:47 openapi [2021-01-19T02:51:15.170Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 19 02:47 pkg [2021-01-19T02:51:15.170Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:47 snap [2021-01-19T02:51:15.171Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 19 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:51:15.522Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=fd1d405e0f5f50a066d695d8c3b52aff05b38da4 --label arch=arm64 --label version=0.0.0 . [2021-01-19T02:51:15.799Z] Sending build context to Docker daemon 2.672MB [2021-01-19T02:51:16.074Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T02:51:16.074Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-19T02:51:16.074Z] ---> 356430e3b04d [2021-01-19T02:51:16.074Z] Step 3/24 : ARG MAKE='make build' [2021-01-19T02:51:16.350Z] ---> Running in 37d7999d6952 [2021-01-19T02:51:16.623Z] Removing intermediate container 37d7999d6952 [2021-01-19T02:51:16.623Z] ---> f33ed443a3ba [2021-01-19T02:51:16.623Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-19T02:51:16.895Z] ---> Running in 0e39de2414eb [2021-01-19T02:51:17.211Z] Removing intermediate container 0e39de2414eb [2021-01-19T02:51:17.211Z] ---> e1b12cdc2fb9 [2021-01-19T02:51:17.211Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:51:17.487Z] ---> Running in 11db1aed5937 [2021-01-19T02:51:18.087Z] Removing intermediate container 11db1aed5937 [2021-01-19T02:51:18.087Z] ---> 341f906fc832 [2021-01-19T02:51:18.087Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T02:51:18.087Z] ---> Running in f184663c1929 [2021-01-19T02:51:20.703Z] Removing intermediate container f184663c1929 [2021-01-19T02:51:20.703Z] ---> 24c88d880e48 [2021-01-19T02:51:20.703Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-19T02:51:20.703Z] ---> Running in f14f9f6b6034 [2021-01-19T02:51:21.689Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T02:51:22.676Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T02:51:23.667Z] OK: 142 MiB in 39 packages [2021-01-19T02:51:24.649Z] Removing intermediate container f14f9f6b6034 [2021-01-19T02:51:24.649Z] ---> 0e8044b9205b [2021-01-19T02:51:24.649Z] Step 8/24 : COPY . . [2021-01-19T02:51:26.089Z] ---> 1d9295dcc8a9 [2021-01-19T02:51:26.089Z] Step 9/24 : RUN ${MAKE} [2021-01-19T02:51:26.362Z] ---> Running in 1006f5c05fc0 [2021-01-19T02:51:27.352Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-19T02:51:54.242Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-19T02:51:54.242Z] Removing intermediate container 1006f5c05fc0 [2021-01-19T02:51:54.242Z] ---> d392677c9a0b [2021-01-19T02:51:54.242Z] Step 10/24 : FROM scratch [2021-01-19T02:51:54.242Z] ---> [2021-01-19T02:51:54.242Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:51:54.515Z] ---> Running in 0c91be8a717c [2021-01-19T02:51:54.788Z] Removing intermediate container 0c91be8a717c [2021-01-19T02:51:54.788Z] ---> b279430c83f9 [2021-01-19T02:51:54.788Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-19T02:51:55.064Z] ---> Running in b9ed54ebc809 [2021-01-19T02:51:55.339Z] Removing intermediate container b9ed54ebc809 [2021-01-19T02:51:55.339Z] ---> 03c27c47ad35 [2021-01-19T02:51:55.339Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-19T02:51:55.339Z] ---> Running in d6018e77464b [2021-01-19T02:51:55.935Z] Removing intermediate container d6018e77464b [2021-01-19T02:51:55.935Z] ---> 95e57097fd13 [2021-01-19T02:51:55.935Z] Step 14/24 : WORKDIR / [2021-01-19T02:51:55.935Z] ---> Running in f49b4b3f7c89 [2021-01-19T02:51:56.532Z] Removing intermediate container f49b4b3f7c89 [2021-01-19T02:51:56.532Z] ---> c411e6a17320 [2021-01-19T02:51:56.532Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-19T02:51:57.960Z] ---> e8f8914fb33e [2021-01-19T02:51:57.960Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-19T02:51:58.553Z] ---> 139de5415ab7 [2021-01-19T02:51:58.553Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-19T02:51:59.149Z] ---> 48ebf1826946 [2021-01-19T02:51:59.149Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-19T02:52:00.125Z] ---> 8bc563534c83 [2021-01-19T02:52:00.125Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-19T02:52:00.718Z] ---> 0ed614fdd974 [2021-01-19T02:52:00.718Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-19T02:52:00.718Z] ---> Running in 9748a86cb595 [2021-01-19T02:52:01.312Z] Removing intermediate container 9748a86cb595 [2021-01-19T02:52:01.312Z] ---> 610a143fae1e [2021-01-19T02:52:01.312Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-19T02:52:01.312Z] ---> Running in 9d51756e4087 [2021-01-19T02:52:01.914Z] Removing intermediate container 9d51756e4087 [2021-01-19T02:52:01.914Z] ---> 3a7ed50390e5 [2021-01-19T02:52:01.914Z] Step 22/24 : LABEL arch=arm64 [2021-01-19T02:52:01.914Z] ---> Running in b56f3538c072 [2021-01-19T02:52:02.509Z] Removing intermediate container b56f3538c072 [2021-01-19T02:52:02.509Z] ---> d28e2708e2d9 [2021-01-19T02:52:02.509Z] Step 23/24 : LABEL git_sha=fd1d405e0f5f50a066d695d8c3b52aff05b38da4 [2021-01-19T02:52:02.509Z] ---> Running in 9b7a7148e63f [2021-01-19T02:52:03.106Z] Removing intermediate container 9b7a7148e63f [2021-01-19T02:52:03.106Z] ---> f40ff9ad6461 [2021-01-19T02:52:03.106Z] Step 24/24 : LABEL version=0.0.0 [2021-01-19T02:52:03.106Z] ---> Running in 8724ff67720d [2021-01-19T02:52:03.700Z] Removing intermediate container 8724ff67720d [2021-01-19T02:52:03.700Z] ---> 34c8cbc4a4b0 [2021-01-19T02:52:03.700Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-19T02:52:03.700Z] Successfully built 34c8cbc4a4b0 [2021-01-19T02:52:03.700Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-19T02:52:05.069Z] provisioning config files... [2021-01-19T02:52:05.082Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config7834637116454483157tmp [Pipeline] { [Pipeline] sh [2021-01-19T02:52:05.494Z] + set +x [2021-01-19T02:52:05.494Z] + curl -s https://codecov.io/bash [2021-01-19T02:52:05.494Z] + bash -s -- [2021-01-19T02:52:05.781Z] [2021-01-19T02:52:05.781Z] _____ _ [2021-01-19T02:52:05.781Z] / ____| | | [2021-01-19T02:52:05.781Z] | | ___ __| | ___ ___ _____ __ [2021-01-19T02:52:05.781Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-19T02:52:05.781Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-19T02:52:05.781Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-19T02:52:05.781Z] Bash-20210115-cec3c92 [2021-01-19T02:52:05.781Z] [2021-01-19T02:52:05.781Z] [2021-01-19T02:52:05.781Z] ==> git version 2.24.3 found [2021-01-19T02:52:05.781Z] ==> 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-19T02:52:05.781Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-19T02:52:05.781Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-19T02:52:05.781Z] ==> Jenkins CI detected. [2021-01-19T02:52:05.781Z] project root: . [2021-01-19T02:52:05.781Z] --> token set from env [2021-01-19T02:52:05.781Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-19T02:52:05.781Z] ==> Running gcov in . (disable via -X gcov) [2021-01-19T02:52:05.781Z] ==> Python coveragepy not found [2021-01-19T02:52:05.781Z] ==> Searching for coverage reports in: [2021-01-19T02:52:05.781Z] + . [2021-01-19T02:52:05.781Z] -> Found 1 reports [2021-01-19T02:52:05.781Z] ==> Detecting git/mercurial file structure [2021-01-19T02:52:05.781Z] ==> Reading reports [2021-01-19T02:52:05.781Z] + ./coverage.out bytes=144063 [2021-01-19T02:52:05.781Z] ==> Appending adjustments [2021-01-19T02:52:05.781Z] https://docs.codecov.io/docs/fixing-reports [2021-01-19T02:52:06.359Z] + Found adjustments [2021-01-19T02:52:06.359Z] ==> Gzipping contents [2021-01-19T02:52:06.359Z] 24K /tmp/codecov.oylRKl.gz [2021-01-19T02:52:06.359Z] ==> Uploading reports [2021-01-19T02:52:06.359Z] url: https://codecov.io [2021-01-19T02:52:06.359Z] query: branch=PR-725&commit=fd1d405e0f5f50a066d695d8c3b52aff05b38da4&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-01-19T02:52:06.359Z] -> Pinging Codecov [2021-01-19T02:52:06.359Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-725&commit=fd1d405e0f5f50a066d695d8c3b52aff05b38da4&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-01-19T02:52:06.939Z] -> Uploading to [2021-01-19T02:52:06.939Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-19/7E55EF52A471D76F132DFD9A03CDDE97/fd1d405e0f5f50a066d695d8c3b52aff05b38da4/0bb241c1-b9d6-4a69-a9e8-a7682543b120.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T025206Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7de15c4843907ba16550dde71b8ef82ecf5818b0b41606cdfbfe04ff270c475d [2021-01-19T02:52:06.939Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-19T02:52:06.939Z] Dload Upload Total Spent Left Speed [2021-01-19T02:52:07.520Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22380 0 0 100 22380 0 42572 --:--:-- --:--:-- --:--:-- 42628 [2021-01-19T02:52:07.521Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fd1d405e0f5f50a066d695d8c3b52aff05b38da4 [Pipeline] } [2021-01-19T02:52:07.536Z] 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-19T02:52:10.178Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:52:10.763Z] ---> package-listing.sh [2021-01-19T02:52:10.763Z] ++ facter osfamily [2021-01-19T02:52:10.763Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-19T02:52:10.763Z] + OS_FAMILY=redhat [2021-01-19T02:52:10.763Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-01-19T02:52:10.763Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-19T02:52:10.763Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-19T02:52:10.763Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-19T02:52:10.763Z] + PACKAGES=/tmp/packages_start.txt [2021-01-19T02:52:10.763Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-01-19T02:52:10.763Z] + PACKAGES=/tmp/packages_end.txt [2021-01-19T02:52:10.763Z] + case "${OS_FAMILY}" in [2021-01-19T02:52:10.763Z] + rpm -qa [2021-01-19T02:52:10.763Z] + sort [2021-01-19T02:52:16.154Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-19T02:52:16.154Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-19T02:52:16.154Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-19T02:52:16.154Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-01-19T02:52:16.154Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-01-19T02:52:16.154Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-01-19T02:52:16.195Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-19T02:52:16.511Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:52:16.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T02:52:16.822Z] [2021-01-19T02:52:16.822Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:52:17.172Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T02:52:17.172Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-19T02:52:17.172Z] df20fa9351a1: Pulling fs layer [2021-01-19T02:52:17.172Z] 36b3adc4ff6f: Pulling fs layer [2021-01-19T02:52:17.172Z] 8ad3a11d3b57: Pulling fs layer [2021-01-19T02:52:17.172Z] 46f8f816bc3b: Pulling fs layer [2021-01-19T02:52:17.172Z] 93b61091891f: Pulling fs layer [2021-01-19T02:52:17.172Z] 93b9cdb0e59b: Pulling fs layer [2021-01-19T02:52:17.172Z] 5e14af77c1be: Pulling fs layer [2021-01-19T02:52:17.172Z] 01666e4c0597: Pulling fs layer [2021-01-19T02:52:17.172Z] aa168da1d23b: Pulling fs layer [2021-01-19T02:52:17.172Z] 46f8f816bc3b: Waiting [2021-01-19T02:52:17.172Z] 93b9cdb0e59b: Waiting [2021-01-19T02:52:17.172Z] 5e14af77c1be: Waiting [2021-01-19T02:52:17.172Z] 01666e4c0597: Waiting [2021-01-19T02:52:17.172Z] 93b61091891f: Waiting [2021-01-19T02:52:17.172Z] aa168da1d23b: Waiting [2021-01-19T02:52:17.172Z] 36b3adc4ff6f: Download complete [2021-01-19T02:52:17.172Z] 46f8f816bc3b: Verifying Checksum [2021-01-19T02:52:17.172Z] 46f8f816bc3b: Download complete [2021-01-19T02:52:17.172Z] df20fa9351a1: Verifying Checksum [2021-01-19T02:52:17.437Z] 93b9cdb0e59b: Verifying Checksum [2021-01-19T02:52:17.437Z] 93b9cdb0e59b: Download complete [2021-01-19T02:52:17.437Z] 5e14af77c1be: Verifying Checksum [2021-01-19T02:52:17.437Z] 5e14af77c1be: Download complete [2021-01-19T02:52:17.437Z] 01666e4c0597: Download complete [2021-01-19T02:52:17.437Z] 93b61091891f: Verifying Checksum [2021-01-19T02:52:17.437Z] 93b61091891f: Download complete [2021-01-19T02:52:17.437Z] 8ad3a11d3b57: Verifying Checksum [2021-01-19T02:52:17.437Z] 8ad3a11d3b57: Download complete [2021-01-19T02:52:17.705Z] df20fa9351a1: Pull complete [2021-01-19T02:52:17.984Z] 36b3adc4ff6f: Pull complete [2021-01-19T02:52:18.944Z] 8ad3a11d3b57: Pull complete [2021-01-19T02:52:18.944Z] 46f8f816bc3b: Pull complete [2021-01-19T02:52:19.531Z] 93b61091891f: Pull complete [2021-01-19T02:52:19.531Z] 93b9cdb0e59b: Pull complete [2021-01-19T02:52:19.531Z] aa168da1d23b: Verifying Checksum [2021-01-19T02:52:19.531Z] aa168da1d23b: Download complete [2021-01-19T02:52:19.802Z] 5e14af77c1be: Pull complete [2021-01-19T02:52:19.802Z] 01666e4c0597: Pull complete [2021-01-19T02:52:28.090Z] aa168da1d23b: Pull complete [2021-01-19T02:52:28.090Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-19T02:52:28.090Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T02:52:28.090Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-19T02:52:28.303Z] prd-centos7-docker-4c-2g-21049 does not seem to be running inside a container [2021-01-19T02:52:28.361Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-19T02:52:31.785Z] $ docker top 8ec7da3b50d6371c2bda76925ccd8955b12d668a461048d9f602b7973efd534f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:52:32.345Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-19T02:52:32.649Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-19T02:52:32.958Z] + ls /var/log/sa-host [2021-01-19T02:52:32.958Z] + sadf -c /var/log/sa-host/sa19 [2021-01-19T02:52:32.958Z] file_magic: OK [2021-01-19T02:52:32.958Z] HZ: Using current value: 100 [2021-01-19T02:52:32.958Z] file_header: OK [2021-01-19T02:52:32.958Z] 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-19T02:52:32.958Z] Statistics: [2021-01-19T02:52:32.958Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-19T02:52:32.958Z] File successfully converted to sysstat format version 12.2.1 [2021-01-19T02:52:32.958Z] + sadf -c /var/log/sa-host/sa23 [2021-01-19T02:52:32.958Z] file_magic: OK [2021-01-19T02:52:32.958Z] HZ: Using current value: 100 [2021-01-19T02:52:32.958Z] file_header: OK [2021-01-19T02:52:32.958Z] 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-19T02:52:32.958Z] Statistics: [2021-01-19T02:52:32.958Z] Hnuu...uuuununununu... [2021-01-19T02:52:32.958Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-19T02:52:33.178Z] provisioning config files... [2021-01-19T02:52:33.195Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config6498303303920995909tmp [Pipeline] { [Pipeline] echo [2021-01-19T02:52:33.265Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:52:33.583Z] ---> create-netrc.sh [Pipeline] } [2021-01-19T02:52:33.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-19T02:52:33.682Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:52:33.986Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-19T02:52:33.998Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:52:34.305Z] ---> sudo-logs.sh [2021-01-19T02:52:34.305Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-19T02:52:34.317Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:52:34.625Z] ---> job-cost.sh [2021-01-19T02:52:34.625Z] lf-activate-venv: SKIPPING [2021-01-19T02:52:34.625Z] INFO: No Stack... [2021-01-19T02:52:35.202Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-19T02:52:35.777Z] INFO: Archiving Costs [Pipeline] echo [2021-01-19T02:52:35.793Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:52:36.096Z] ---> logs-deploy.sh [2021-01-19T02:52:36.096Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/5 [2021-01-19T02:52:36.096Z] INFO: archiving workspace using pattern(s): [2021-01-19T02:52:38.025Z] Archives upload complete. [2021-01-19T02:52:38.025Z] INFO: archiving logs to Nexus [2021-01-19T02:52:38.979Z] ---> uname -a: [2021-01-19T02:52:38.979Z] Linux prd-centos7-docker-4c-2g-21049.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-01-19T02:52:38.979Z] [2021-01-19T02:52:38.979Z]