Pull request #792 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bc00545e44993ecf59cd92c98ce97789de7bf8d3+90f0e220c38dfa765b59e93e9c62ca721e898d74 (6b055cc78e22b89b650ed5df14e766c4d6b640a0) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-792/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-792/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-27126 in /w/workspace/dgexfoundry_device-sdk-go_PR-792 [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-792 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/792/head:refs/remotes/origin/PR-792 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 90f0e220c38dfa765b59e93e9c62ca721e898d74 into PR head commit bc00545e44993ecf59cd92c98ce97789de7bf8d3 Merge succeeded, producing bc00545e44993ecf59cd92c98ce97789de7bf8d3 Checking out Revision bc00545e44993ecf59cd92c98ce97789de7bf8d3 (PR-792) > git config core.sparsecheckout # timeout=10 > git checkout -f bc00545e44993ecf59cd92c98ce97789de7bf8d3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 90f0e220c38dfa765b59e93e9c62ca721e898d74 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc00545e44993ecf59cd92c98ce97789de7bf8d3 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-22T06:45:56.379Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-22T06:45:56.748Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-22T06:45:56.979Z] ========================================================= [2021-02-22T06:45:56.979Z] EdgeX Global Pipelines Version Info [2021-02-22T06:45:56.979Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:45:58.491Z] ------------------- [2021-02-22T06:45:58.491Z] stable info: [2021-02-22T06:45:58.491Z] ------------------- [2021-02-22T06:45:58.491Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-22T06:45:58.491Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-22T06:45:58.491Z] Message: update stable to v1.0.179 [2021-02-22T06:45:59.437Z] ------------------- [2021-02-22T06:45:59.437Z] experimental info: [2021-02-22T06:45:59.437Z] ------------------- [2021-02-22T06:45:59.437Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-22T06:45:59.437Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-22T06:45:59.437Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-22T06:45:59.816Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-22T06:45:59.942Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-22T06:46:00.084Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-22T06:46:00.220Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-22T06:46:00.420Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-22T06:46:00.545Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-22T06:46:00.665Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-22T06:46:00.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-22T06:46:00.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-22T06:46:01.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-22T06:46:01.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-22T06:46:01.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-22T06:46:01.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-22T06:46:01.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-22T06:46:01.776Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-22T06:46:01.927Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-22T06:46:02.095Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-22T06:46:02.214Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-22T06:46:02.356Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-22T06:46:02.478Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-22T06:46:02.596Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-22T06:46:02.718Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-22T06:46:02.848Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-22T06:46:02.973Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-22T06:46:03.097Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-22T06:46:03.218Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-22T06:46:03.362Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-22T06:46:03.489Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-792 [Pipeline] echo [2021-02-22T06:46:03.615Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-792 [Pipeline] echo [2021-02-22T06:46:03.740Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-792 [Pipeline] echo [2021-02-22T06:46:03.863Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc00545e44993ecf59cd92c98ce97789de7bf8d3 [Pipeline] echo [2021-02-22T06:46:04.034Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc00545 [Pipeline] echo [2021-02-22T06:46:04.157Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-22T06:46:04.464Z] provisioning config files... [2021-02-22T06:46:04.538Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/config2282087897266145647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:46:04.970Z] ---> docker-login.sh [2021-02-22T06:46:04.970Z] nexus3.edgexfoundry.org:10001 [2021-02-22T06:46:05.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:46:05.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:46:05.495Z] Configure a credential helper to remove this warning. See [2021-02-22T06:46:05.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:46:05.495Z] [2021-02-22T06:46:05.495Z] Login Succeeded [2021-02-22T06:46:05.495Z] nexus3.edgexfoundry.org:10002 [2021-02-22T06:46:05.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:46:05.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:46:05.495Z] Configure a credential helper to remove this warning. See [2021-02-22T06:46:05.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:46:05.495Z] [2021-02-22T06:46:05.495Z] Login Succeeded [2021-02-22T06:46:05.495Z] nexus3.edgexfoundry.org:10003 [2021-02-22T06:46:05.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:46:05.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:46:05.757Z] Configure a credential helper to remove this warning. See [2021-02-22T06:46:05.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:46:05.757Z] [2021-02-22T06:46:05.757Z] Login Succeeded [2021-02-22T06:46:05.757Z] nexus3.edgexfoundry.org:10004 [2021-02-22T06:46:05.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:46:06.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:46:06.021Z] Configure a credential helper to remove this warning. See [2021-02-22T06:46:06.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:46:06.021Z] [2021-02-22T06:46:06.021Z] Login Succeeded [2021-02-22T06:46:06.021Z] docker.io [2021-02-22T06:46:06.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:46:06.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:46:06.282Z] Configure a credential helper to remove this warning. See [2021-02-22T06:46:06.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:46:06.282Z] [2021-02-22T06:46:06.282Z] Login Succeeded [2021-02-22T06:46:06.282Z] ---> docker-login.sh ends [Pipeline] } [2021-02-22T06:46:06.307Z] 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-02-22T06:46:07.428Z] + git log --format=format:%s -1 bc00545e44993ecf59cd92c98ce97789de7bf8d3 [Pipeline] echo [2021-02-22T06:46:07.510Z] GIT_COMMIT: bc00545e44993ecf59cd92c98ce97789de7bf8d3, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-02-22T06:46:07.579Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:46:08.550Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T06:46:08.550Z] [2021-02-22T06:46:08.550Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:46:08.932Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T06:46:08.932Z] latest: Pulling from edgex-devops/git-semver [2021-02-22T06:46:08.932Z] 31603596830f: Pulling fs layer [2021-02-22T06:46:08.932Z] 2a8b12db71e7: Pulling fs layer [2021-02-22T06:46:08.932Z] 6ca5941a6612: Pulling fs layer [2021-02-22T06:46:08.932Z] ecc8261a40a4: Pulling fs layer [2021-02-22T06:46:08.932Z] ecc8261a40a4: Waiting [2021-02-22T06:46:08.932Z] 2a8b12db71e7: Verifying Checksum [2021-02-22T06:46:08.932Z] 2a8b12db71e7: Download complete [2021-02-22T06:46:08.932Z] 31603596830f: Verifying Checksum [2021-02-22T06:46:08.932Z] 31603596830f: Download complete [2021-02-22T06:46:09.195Z] ecc8261a40a4: Verifying Checksum [2021-02-22T06:46:09.195Z] ecc8261a40a4: Download complete [2021-02-22T06:46:09.195Z] 6ca5941a6612: Verifying Checksum [2021-02-22T06:46:09.195Z] 6ca5941a6612: Download complete [2021-02-22T06:46:09.458Z] 31603596830f: Pull complete [2021-02-22T06:46:09.458Z] 2a8b12db71e7: Pull complete [2021-02-22T06:46:10.405Z] 6ca5941a6612: Pull complete [2021-02-22T06:46:10.668Z] ecc8261a40a4: Pull complete [2021-02-22T06:46:10.668Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-22T06:46:10.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T06:46:10.668Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-22T06:46:10.790Z] prd-centos7-docker-4c-2g-27126 does not seem to be running inside a container [2021-02-22T06:46:10.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-792 -v /w/workspace/dgexfoundry_device-sdk-go_PR-792:/w/workspace/dgexfoundry_device-sdk-go_PR-792:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-792@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-22T06:46:12.840Z] $ docker top 668bb7b200a96e9c7a5ec5d07bf1d5bbb5f64322a75c817d2c938aac6bdfd604 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-22T06:46:13.189Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-22T06:46:13.189Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-22T06:46:13.400Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-22T06:46:13.405Z] $ docker exec 668bb7b200a96e9c7a5ec5d07bf1d5bbb5f64322a75c817d2c938aac6bdfd604 ssh-agent [2021-02-22T06:46:13.573Z] SSH_AUTH_SOCK=/tmp/ssh-6ogFstz6hAzT/agent.11 [2021-02-22T06:46:13.573Z] SSH_AGENT_PID=17 [2021-02-22T06:46:13.581Z] Running ssh-add (command line suppressed) [2021-02-22T06:46:13.697Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/private_key_12624966437863279.key (/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/private_key_12624966437863279.key) [2021-02-22T06:46:13.749Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-22T06:46:14.141Z] + git tag --points-at HEAD [Pipeline] } [2021-02-22T06:46:14.168Z] $ docker exec --env ******** --env ******** 668bb7b200a96e9c7a5ec5d07bf1d5bbb5f64322a75c817d2c938aac6bdfd604 ssh-agent -k [2021-02-22T06:46:14.285Z] unset SSH_AUTH_SOCK; [2021-02-22T06:46:14.286Z] unset SSH_AGENT_PID; [2021-02-22T06:46:14.286Z] echo Agent pid 17 killed; [2021-02-22T06:46:14.331Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-22T06:46:14.543Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-22T06:46:14.543Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-22T06:46:14.697Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-22T06:46:14.702Z] $ docker exec 668bb7b200a96e9c7a5ec5d07bf1d5bbb5f64322a75c817d2c938aac6bdfd604 ssh-agent [2021-02-22T06:46:14.854Z] SSH_AUTH_SOCK=/tmp/ssh-GzXjcXcV6ULK/agent.47 [2021-02-22T06:46:14.854Z] SSH_AGENT_PID=52 [2021-02-22T06:46:14.860Z] Running ssh-add (command line suppressed) [2021-02-22T06:46:14.974Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/private_key_8249709645189270249.key (/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/private_key_8249709645189270249.key) [2021-02-22T06:46:15.022Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-22T06:46:15.393Z] + git semver init [2021-02-22T06:46:15.393Z] # -> Open(): unable to determine branch for HEAD [2021-02-22T06:46:15.393Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-792/.git [2021-02-22T06:46:15.393Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-792 [2021-02-22T06:46:15.393Z] # $SEMVER_REMOTE_NAME = origin [2021-02-22T06:46:15.393Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-22T06:46:15.393Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-22T06:46:15.393Z] # $SEMVER_BRANCH = PR-792 [2021-02-22T06:46:15.393Z] # $SEMVER_TEMP = /tmp/semver-659726415 [2021-02-22T06:46:15.393Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-22T06:46:15.968Z] # '/tmp/semver-659726415' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-792/.semver' [2021-02-22T06:46:15.968Z] # -> Force: false [2021-02-22T06:46:15.968Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-792/.semver [Pipeline] } [2021-02-22T06:46:15.988Z] $ docker exec --env ******** --env ******** 668bb7b200a96e9c7a5ec5d07bf1d5bbb5f64322a75c817d2c938aac6bdfd604 ssh-agent -k [2021-02-22T06:46:16.104Z] unset SSH_AUTH_SOCK; [2021-02-22T06:46:16.105Z] unset SSH_AGENT_PID; [2021-02-22T06:46:16.105Z] echo Agent pid 52 killed; [2021-02-22T06:46:16.144Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-22T06:46:16.719Z] + git semver [Pipeline] } [2021-02-22T06:46:16.752Z] $ docker stop --time=1 668bb7b200a96e9c7a5ec5d07bf1d5bbb5f64322a75c817d2c938aac6bdfd604 [2021-02-22T06:46:18.125Z] $ docker rm -f 668bb7b200a96e9c7a5ec5d07bf1d5bbb5f64322a75c817d2c938aac6bdfd604 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-22T06:46:18.636Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-22T06:46:19.044Z] Stashed 1 file(s) [Pipeline] echo [2021-02-22T06:46:19.068Z] [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-02-22T06:46:34.964Z] Still waiting to schedule task [2021-02-22T06:46:34.964Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27126’ [2021-02-22T06:46:34.991Z] Still waiting to schedule task [2021-02-22T06:46:34.991Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline [2021-02-22T06:48:34.342Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27127 in /w/workspace/dgexfoundry_device-sdk-go_PR-792 [Pipeline] { [Pipeline] ws [2021-02-22T06:48:34.440Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-22T06:48:39.288Z] using credential edgex-jenkins-ssh [2021-02-22T06:48:39.346Z] Cloning the remote Git repository [2021-02-22T06:48:39.395Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:48:39.501Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-22T06:48:39.565Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:48:39.565Z] > git --version # timeout=10 [2021-02-22T06:48:39.583Z] > git --version # 'git version 2.17.1' [2021-02-22T06:48:39.584Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T06:48:39.643Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T06:48:40.685Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-22T06:48:40.705Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T06:48:40.730Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-22T06:48:41.230Z] Merging remotes/origin/master commit 90f0e220c38dfa765b59e93e9c62ca721e898d74 into PR head commit bc00545e44993ecf59cd92c98ce97789de7bf8d3 [2021-02-22T06:48:41.451Z] Merge succeeded, producing bc00545e44993ecf59cd92c98ce97789de7bf8d3 [2021-02-22T06:48:41.452Z] Checking out Revision bc00545e44993ecf59cd92c98ce97789de7bf8d3 (PR-792) [2021-02-22T06:48:40.764Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:48:40.765Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T06:48:40.778Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/792/head:refs/remotes/origin/PR-792 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-22T06:48:41.245Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T06:48:41.258Z] > git checkout -f bc00545e44993ecf59cd92c98ce97789de7bf8d3 # timeout=10 [2021-02-22T06:48:41.370Z] > git remote # timeout=10 [2021-02-22T06:48:41.388Z] > git config --get remote.origin.url # timeout=10 [2021-02-22T06:48:41.400Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T06:48:41.410Z] > git merge 90f0e220c38dfa765b59e93e9c62ca721e898d74 # timeout=10 [2021-02-22T06:48:41.433Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-22T06:48:41.452Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T06:48:41.462Z] > git checkout -f bc00545e44993ecf59cd92c98ce97789de7bf8d3 # timeout=10 [2021-02-22T06:48:45.785Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-02-22T06:48:45.834Z] > git --version # timeout=10 [2021-02-22T06:48:45.849Z] > git --version # 'git version 2.17.1' [2021-02-22T06:48:45.863Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-22T06:48:47.618Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-22T06:48:48.051Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-22T06:48:48.434Z] + sudo service docker restart [2021-02-22T06:48:48.434Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-22T06:48:51.199Z] provisioning config files... [2021-02-22T06:48:51.236Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1449490370153034682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:48:51.875Z] ---> docker-login.sh [2021-02-22T06:48:51.875Z] nexus3.edgexfoundry.org:10001 [2021-02-22T06:48:52.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:48:53.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:48:53.134Z] Configure a credential helper to remove this warning. See [2021-02-22T06:48:53.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:48:53.134Z] [2021-02-22T06:48:53.134Z] Login Succeeded [2021-02-22T06:48:53.134Z] nexus3.edgexfoundry.org:10002 [2021-02-22T06:48:53.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:48:53.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:48:53.683Z] Configure a credential helper to remove this warning. See [2021-02-22T06:48:53.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:48:53.683Z] [2021-02-22T06:48:53.683Z] Login Succeeded [2021-02-22T06:48:53.683Z] nexus3.edgexfoundry.org:10003 [2021-02-22T06:48:53.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:48:54.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:48:54.230Z] Configure a credential helper to remove this warning. See [2021-02-22T06:48:54.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:48:54.230Z] [2021-02-22T06:48:54.230Z] Login Succeeded [2021-02-22T06:48:54.230Z] nexus3.edgexfoundry.org:10004 [2021-02-22T06:48:54.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:48:54.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:48:54.781Z] Configure a credential helper to remove this warning. See [2021-02-22T06:48:54.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:48:54.781Z] [2021-02-22T06:48:54.781Z] Login Succeeded [2021-02-22T06:48:54.781Z] docker.io [2021-02-22T06:48:55.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:48:55.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:48:55.324Z] Configure a credential helper to remove this warning. See [2021-02-22T06:48:55.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:48:55.324Z] [2021-02-22T06:48:55.324Z] Login Succeeded [2021-02-22T06:48:55.598Z] ---> docker-login.sh ends [Pipeline] } [2021-02-22T06:48:55.638Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-22T06:48:56.187Z] ========================================================= [2021-02-22T06:48:56.187Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-22T06:48:56.187Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:48:56.606Z] + 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-02-22T06:48:56.882Z] Sending build context to Docker daemon 2.388MB [2021-02-22T06:48:57.156Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-22T06:48:57.156Z] Step 2/8 : FROM ${BASE} [2021-02-22T06:48:57.156Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-22T06:48:57.156Z] 5f621e34cdf4: Pulling fs layer [2021-02-22T06:48:57.156Z] a4357932f1b6: Pulling fs layer [2021-02-22T06:48:57.156Z] 18c013af1878: Pulling fs layer [2021-02-22T06:48:57.156Z] 00ac8860ef70: Pulling fs layer [2021-02-22T06:48:57.156Z] 63d7cb157983: Pulling fs layer [2021-02-22T06:48:57.156Z] b116817d02f9: Pulling fs layer [2021-02-22T06:48:57.156Z] 745a02a5169b: Pulling fs layer [2021-02-22T06:48:57.156Z] 63d7cb157983: Waiting [2021-02-22T06:48:57.156Z] b116817d02f9: Waiting [2021-02-22T06:48:57.156Z] 745a02a5169b: Waiting [2021-02-22T06:48:57.156Z] 00ac8860ef70: Waiting [2021-02-22T06:48:57.156Z] 18c013af1878: Download complete [2021-02-22T06:48:57.156Z] a4357932f1b6: Verifying Checksum [2021-02-22T06:48:57.156Z] a4357932f1b6: Download complete [2021-02-22T06:48:57.156Z] 63d7cb157983: Verifying Checksum [2021-02-22T06:48:57.156Z] 63d7cb157983: Download complete [2021-02-22T06:48:57.757Z] b116817d02f9: Verifying Checksum [2021-02-22T06:48:57.757Z] b116817d02f9: Download complete [2021-02-22T06:48:57.757Z] 5f621e34cdf4: Verifying Checksum [2021-02-22T06:48:57.757Z] 5f621e34cdf4: Download complete [2021-02-22T06:48:58.741Z] 5f621e34cdf4: Pull complete [2021-02-22T06:48:59.338Z] a4357932f1b6: Pull complete [2021-02-22T06:48:59.613Z] 18c013af1878: Pull complete [2021-02-22T06:49:00.209Z] 745a02a5169b: Verifying Checksum [2021-02-22T06:49:00.209Z] 745a02a5169b: Download complete [2021-02-22T06:49:01.190Z] 00ac8860ef70: Verifying Checksum [2021-02-22T06:49:01.190Z] 00ac8860ef70: Download complete [2021-02-22T06:49:11.371Z] 00ac8860ef70: Pull complete [2021-02-22T06:49:11.647Z] 63d7cb157983: Pull complete [2021-02-22T06:49:11.924Z] b116817d02f9: Pull complete [2021-02-22T06:49:16.243Z] 745a02a5169b: Pull complete [2021-02-22T06:49:16.243Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-22T06:49:16.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-22T06:49:16.243Z] ---> b7e6874047d6 [2021-02-22T06:49:16.243Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T06:49:18.219Z] ---> Running in 771205ef82bf [2021-02-22T06:49:18.817Z] Removing intermediate container 771205ef82bf [2021-02-22T06:49:18.817Z] ---> c1a66e6f52c7 [2021-02-22T06:49:18.817Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-22T06:49:18.817Z] ---> Running in d4d1f01ec090 [2021-02-22T06:49:21.463Z] Removing intermediate container d4d1f01ec090 [2021-02-22T06:49:21.463Z] ---> 3927dfdf149f [2021-02-22T06:49:21.463Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-22T06:49:21.463Z] ---> Running in 776f39d745b3 [2021-02-22T06:49:22.442Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-22T06:49:23.041Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-22T06:49:23.637Z] OK: 142 MiB in 39 packages [2021-02-22T06:49:25.078Z] Removing intermediate container 776f39d745b3 [2021-02-22T06:49:25.078Z] ---> 5f62da1f91b3 [2021-02-22T06:49:25.078Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-22T06:49:25.078Z] ---> Running in b5adb274b154 [2021-02-22T06:49:25.353Z] Removing intermediate container b5adb274b154 [2021-02-22T06:49:25.353Z] ---> 47b799c3c7a4 [2021-02-22T06:49:25.353Z] Step 7/8 : COPY . . [2021-02-22T06:49:26.802Z] ---> 5ec2c493a522 [2021-02-22T06:49:26.802Z] Step 8/8 : RUN go mod download [2021-02-22T06:49:26.802Z] ---> Running in 7a22d55dc9bb [2021-02-22T06:49:53.607Z] Removing intermediate container 7a22d55dc9bb [2021-02-22T06:49:53.607Z] ---> d4a0a6f7e32f [2021-02-22T06:49:53.607Z] Successfully built d4a0a6f7e32f [2021-02-22T06:49:53.607Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:49:53.983Z] + docker inspect -f . ci-base-image-arm64 [2021-02-22T06:49:53.983Z] . [Pipeline] withDockerContainer [2021-02-22T06:49:54.277Z] prd-ubuntu18.04-docker-arm64-4c-16g-27127 does not seem to be running inside a container [2021-02-22T06:49:54.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-02-22T06:49:55.873Z] $ docker top 2a74494d4de1dd11ca7cbc6473b6bf1b3e6ce25e00fe5dd3bcc433fba7bf2ab1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T06:49:56.968Z] + go version [2021-02-22T06:49:56.968Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-22T06:49:57.003Z] $ docker stop --time=1 2a74494d4de1dd11ca7cbc6473b6bf1b3e6ce25e00fe5dd3bcc433fba7bf2ab1 [2021-02-22T06:49:58.860Z] $ docker rm -f 2a74494d4de1dd11ca7cbc6473b6bf1b3e6ce25e00fe5dd3bcc433fba7bf2ab1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:50:00.154Z] + docker inspect -f . ci-base-image-arm64 [2021-02-22T06:50:00.154Z] . [Pipeline] withDockerContainer [2021-02-22T06:50:00.392Z] prd-ubuntu18.04-docker-arm64-4c-16g-27127 does not seem to be running inside a container [2021-02-22T06:50:00.468Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-02-22T06:50:01.883Z] $ docker top 33581cc3e99237711d8c74fc36643af0512ea270c2daafb1f39aa0f38aef76e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T06:50:02.944Z] + make test [2021-02-22T06:50:02.944Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-22T06:50:16.076Z] Running on prd-centos7-docker-4c-2g-27128 in /w/workspace/dgexfoundry_device-sdk-go_PR-792 [Pipeline] { [Pipeline] ws [2021-02-22T06:50:16.240Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-22T06:50:22.673Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-22T06:50:29.995Z] using credential edgex-jenkins-ssh [2021-02-22T06:50:30.082Z] Cloning the remote Git repository [2021-02-22T06:50:30.313Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:50:30.431Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-22T06:50:30.591Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:50:30.591Z] > git --version # timeout=10 [2021-02-22T06:50:30.627Z] > git --version # 'git version 2.24.3' [2021-02-22T06:50:30.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T06:50:30.765Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T06:50:32.601Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-22T06:50:33.496Z] Merging remotes/origin/master commit 90f0e220c38dfa765b59e93e9c62ca721e898d74 into PR head commit bc00545e44993ecf59cd92c98ce97789de7bf8d3 [2021-02-22T06:50:33.996Z] Merge succeeded, producing bc00545e44993ecf59cd92c98ce97789de7bf8d3 [2021-02-22T06:50:33.997Z] Checking out Revision bc00545e44993ecf59cd92c98ce97789de7bf8d3 (PR-792) [2021-02-22T06:50:32.703Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T06:50:32.863Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-22T06:50:32.979Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:50:32.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T06:50:32.998Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/792/head:refs/remotes/origin/PR-792 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-22T06:50:33.521Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T06:50:33.595Z] > git checkout -f bc00545e44993ecf59cd92c98ce97789de7bf8d3 # timeout=10 [2021-02-22T06:50:33.756Z] > git remote # timeout=10 [2021-02-22T06:50:33.822Z] > git config --get remote.origin.url # timeout=10 [2021-02-22T06:50:33.889Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T06:50:33.894Z] > git merge 90f0e220c38dfa765b59e93e9c62ca721e898d74 # timeout=10 [2021-02-22T06:50:33.953Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-22T06:50:34.004Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T06:50:34.132Z] > git checkout -f bc00545e44993ecf59cd92c98ce97789de7bf8d3 # timeout=10 [2021-02-22T06:50:40.444Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-02-22T06:50:40.504Z] > git --version # timeout=10 [2021-02-22T06:50:40.606Z] > git --version # 'git version 2.24.3' [2021-02-22T06:50:40.757Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-22T06:50:45.055Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-22T06:50:45.897Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-22T06:50:48.220Z] + sudo service docker restart [2021-02-22T06:50:48.220Z] + true [2021-02-22T06:50:48.220Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-22T06:50:52.289Z] provisioning config files... [2021-02-22T06:50:52.356Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4884850637115322063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:50:53.025Z] ---> docker-login.sh [2021-02-22T06:50:53.025Z] nexus3.edgexfoundry.org:10001 [2021-02-22T06:50:56.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:50:56.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:50:56.477Z] Configure a credential helper to remove this warning. See [2021-02-22T06:50:56.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:50:56.477Z] [2021-02-22T06:50:56.477Z] Login Succeeded [2021-02-22T06:50:56.477Z] nexus3.edgexfoundry.org:10002 [2021-02-22T06:50:57.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:50:57.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:50:57.617Z] Configure a credential helper to remove this warning. See [2021-02-22T06:50:57.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:50:57.617Z] [2021-02-22T06:50:57.617Z] Login Succeeded [2021-02-22T06:50:57.617Z] nexus3.edgexfoundry.org:10003 [2021-02-22T06:50:57.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:50:58.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:50:58.224Z] Configure a credential helper to remove this warning. See [2021-02-22T06:50:58.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:50:58.224Z] [2021-02-22T06:50:58.224Z] Login Succeeded [2021-02-22T06:50:58.224Z] nexus3.edgexfoundry.org:10004 [2021-02-22T06:50:58.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:50:58.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:50:58.908Z] Configure a credential helper to remove this warning. See [2021-02-22T06:50:58.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:50:58.908Z] [2021-02-22T06:50:58.908Z] Login Succeeded [2021-02-22T06:50:58.908Z] docker.io [2021-02-22T06:50:59.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:50:59.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:50:59.912Z] Configure a credential helper to remove this warning. See [2021-02-22T06:50:59.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:50:59.912Z] [2021-02-22T06:50:59.912Z] Login Succeeded [2021-02-22T06:50:59.912Z] ---> docker-login.sh ends [Pipeline] } [2021-02-22T06:50:59.983Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-22T06:51:02.803Z] ========================================================= [2021-02-22T06:51:02.803Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-22T06:51:02.803Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:51:03.376Z] + 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-02-22T06:51:04.016Z] Sending build context to Docker daemon 2.398MB [2021-02-22T06:51:04.016Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-22T06:51:04.016Z] Step 2/8 : FROM ${BASE} [2021-02-22T06:51:04.342Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-22T06:51:04.342Z] 188c0c94c7c5: Pulling fs layer [2021-02-22T06:51:04.342Z] 0ef7d3d256c8: Pulling fs layer [2021-02-22T06:51:04.342Z] de9db76c5a1d: Pulling fs layer [2021-02-22T06:51:04.342Z] bca2f99d35d6: Pulling fs layer [2021-02-22T06:51:04.342Z] 93359f2a8cfa: Pulling fs layer [2021-02-22T06:51:04.342Z] 7c6f9722023f: Pulling fs layer [2021-02-22T06:51:04.342Z] a35cf1a2eb13: Pulling fs layer [2021-02-22T06:51:04.342Z] bca2f99d35d6: Waiting [2021-02-22T06:51:04.342Z] 93359f2a8cfa: Waiting [2021-02-22T06:51:04.342Z] 7c6f9722023f: Waiting [2021-02-22T06:51:04.342Z] a35cf1a2eb13: Waiting [2021-02-22T06:51:04.342Z] de9db76c5a1d: Verifying Checksum [2021-02-22T06:51:04.342Z] de9db76c5a1d: Download complete [2021-02-22T06:51:04.342Z] 0ef7d3d256c8: Verifying Checksum [2021-02-22T06:51:04.342Z] 0ef7d3d256c8: Download complete [2021-02-22T06:51:05.369Z] 93359f2a8cfa: Verifying Checksum [2021-02-22T06:51:05.369Z] 93359f2a8cfa: Download complete [2021-02-22T06:51:05.369Z] 7c6f9722023f: Verifying Checksum [2021-02-22T06:51:05.369Z] 7c6f9722023f: Download complete [2021-02-22T06:51:05.369Z] 188c0c94c7c5: Verifying Checksum [2021-02-22T06:51:05.369Z] 188c0c94c7c5: Download complete [2021-02-22T06:51:06.527Z] 188c0c94c7c5: Pull complete [2021-02-22T06:51:08.196Z] 0ef7d3d256c8: Pull complete [2021-02-22T06:51:08.901Z] de9db76c5a1d: Pull complete [2021-02-22T06:51:09.709Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-22T06:51:09.709Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-22T06:51:09.709Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-22T06:51:09.709Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.112s coverage: 25.5% of statements [2021-02-22T06:51:11.613Z] a35cf1a2eb13: Verifying Checksum [2021-02-22T06:51:11.613Z] a35cf1a2eb13: Download complete [2021-02-22T06:51:15.184Z] bca2f99d35d6: Download complete [2021-02-22T06:51:30.873Z] bca2f99d35d6: Pull complete [2021-02-22T06:51:30.873Z] 93359f2a8cfa: Pull complete [2021-02-22T06:51:30.873Z] 7c6f9722023f: Pull complete [2021-02-22T06:51:36.502Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.140s coverage: 10.1% of statements [2021-02-22T06:51:36.502Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.127s coverage: 12.5% of statements [2021-02-22T06:51:36.502Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-22T06:51:36.502Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.147s coverage: 84.8% of statements [2021-02-22T06:51:36.502Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-22T06:51:36.502Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-22T06:51:36.502Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-22T06:51:36.502Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-22T06:51:36.502Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.181s coverage: 49.2% of statements [2021-02-22T06:51:36.502Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-22T06:51:36.502Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.192s coverage: 81.3% of statements [2021-02-22T06:51:36.502Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.161s coverage: 24.8% of statements [2021-02-22T06:51:36.502Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.911s coverage: 83.5% of statements [2021-02-22T06:51:36.502Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.3% of statements [2021-02-22T06:51:36.502Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-22T06:51:37.095Z] GO111MODULE=on go vet ./... [2021-02-22T06:51:43.342Z] a35cf1a2eb13: Pull complete [2021-02-22T06:51:43.342Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-22T06:51:43.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-22T06:51:43.342Z] ---> a62c8e92a672 [2021-02-22T06:51:43.342Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T06:51:43.342Z] ---> Running in 6d7e285ea502 [2021-02-22T06:51:43.342Z] Removing intermediate container 6d7e285ea502 [2021-02-22T06:51:43.342Z] ---> ceb5573dd059 [2021-02-22T06:51:43.342Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-22T06:51:43.342Z] ---> Running in e3dc77841bac [2021-02-22T06:51:45.431Z] Removing intermediate container e3dc77841bac [2021-02-22T06:51:45.431Z] ---> 56ca68c3b8a5 [2021-02-22T06:51:45.431Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-22T06:51:45.431Z] ---> Running in 76ed27cb51a0 [2021-02-22T06:51:46.470Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-22T06:51:47.090Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-22T06:51:48.150Z] OK: 166 MiB in 39 packages [2021-02-22T06:51:49.330Z] Removing intermediate container 76ed27cb51a0 [2021-02-22T06:51:49.330Z] ---> 3a11c6ce9f69 [2021-02-22T06:51:49.330Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-22T06:51:49.623Z] ---> Running in c416c6a87e24 [2021-02-22T06:51:49.940Z] Removing intermediate container c416c6a87e24 [2021-02-22T06:51:49.940Z] ---> 706e172202c9 [2021-02-22T06:51:49.940Z] Step 7/8 : COPY . . [2021-02-22T06:51:52.314Z] ---> c8195eb60d9d [2021-02-22T06:51:52.314Z] Step 8/8 : RUN go mod download [2021-02-22T06:51:52.743Z] ---> Running in 844ee1b756ae [2021-02-22T06:52:16.462Z] gofmt -l . [2021-02-22T06:52:16.463Z] [ "`gofmt -l .`" = "" ] [2021-02-22T06:52:16.463Z] ./bin/test-attribution-txt.sh [2021-02-22T06:52:16.463Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-22T06:52:16.522Z] $ docker stop --time=1 33581cc3e99237711d8c74fc36643af0512ea270c2daafb1f39aa0f38aef76e2 [2021-02-22T06:52:18.629Z] $ docker rm -f 33581cc3e99237711d8c74fc36643af0512ea270c2daafb1f39aa0f38aef76e2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-22T06:52:19.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-22T06:52:20.618Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-22T06:52:23.869Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-22T06:52:24.230Z] + ls -al . [2021-02-22T06:52:24.230Z] total 220 [2021-02-22T06:52:24.230Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 06:52 . [2021-02-22T06:52:24.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 06:48 .. [2021-02-22T06:52:24.230Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 06:48 .dockerignore [2021-02-22T06:52:24.230Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 06:48 .git [2021-02-22T06:52:24.230Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 06:48 .github [2021-02-22T06:52:24.230Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 22 06:48 .gitignore [2021-02-22T06:52:24.230Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 22 06:48 Dockerfile.build [2021-02-22T06:52:24.230Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 22 06:48 Jenkinsfile [2021-02-22T06:52:24.230Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 06:48 LICENSE [2021-02-22T06:52:24.230Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 22 06:48 Makefile [2021-02-22T06:52:24.230Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 22 06:48 README.md [2021-02-22T06:52:24.230Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 22 06:48 RELEASE-NOTES.txt [2021-02-22T06:52:24.230Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 06:46 VERSION [2021-02-22T06:52:24.230Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 06:48 bin [2021-02-22T06:52:24.230Z] -rw-r--r-- 1 jenkins jenkins 101758 Feb 22 06:51 coverage.out [2021-02-22T06:52:24.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 06:48 example [2021-02-22T06:52:24.230Z] -rw-r--r-- 1 jenkins jenkins 516 Feb 22 06:52 go.mod [2021-02-22T06:52:24.230Z] -rw-r--r-- 1 jenkins jenkins 17254 Feb 22 06:52 go.sum [2021-02-22T06:52:24.230Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 06:48 internal [2021-02-22T06:52:24.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 06:48 openapi [2021-02-22T06:52:24.230Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 06:48 pkg [2021-02-22T06:52:24.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 06:48 snap [2021-02-22T06:52:24.230Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 06:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:52:24.618Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=bc00545e44993ecf59cd92c98ce97789de7bf8d3 --label arch=arm64 --label version=0.0.0 . [2021-02-22T06:52:24.895Z] Sending build context to Docker daemon 2.49MB [2021-02-22T06:52:25.167Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-22T06:52:25.167Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-22T06:52:25.167Z] ---> d4a0a6f7e32f [2021-02-22T06:52:25.167Z] Step 3/24 : ARG MAKE='make build' [2021-02-22T06:52:25.442Z] ---> Running in d15cbe74d181 [2021-02-22T06:52:25.715Z] Removing intermediate container d15cbe74d181 [2021-02-22T06:52:25.715Z] ---> 904fef0965ad [2021-02-22T06:52:25.715Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-22T06:52:25.988Z] ---> Running in c3d840183b4c [2021-02-22T06:52:26.262Z] Removing intermediate container c3d840183b4c [2021-02-22T06:52:26.262Z] ---> 49ea47bb465b [2021-02-22T06:52:26.262Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T06:52:26.536Z] ---> Running in 38b51a46fd5d [2021-02-22T06:52:26.809Z] Removing intermediate container 38b51a46fd5d [2021-02-22T06:52:26.809Z] ---> 1ddf8c82e304 [2021-02-22T06:52:26.809Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-22T06:52:27.084Z] ---> Running in 6811fa3dbd24 [2021-02-22T06:52:29.074Z] Removing intermediate container 6811fa3dbd24 [2021-02-22T06:52:29.074Z] ---> 0ae0cc78068b [2021-02-22T06:52:29.074Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-22T06:52:29.074Z] ---> Running in a17612fcaee6 [2021-02-22T06:52:30.056Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-22T06:52:31.113Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-22T06:52:31.707Z] OK: 142 MiB in 39 packages [2021-02-22T06:52:32.695Z] Removing intermediate container a17612fcaee6 [2021-02-22T06:52:32.695Z] ---> eb83e7c10ccb [2021-02-22T06:52:32.695Z] Step 8/24 : COPY . . [2021-02-22T06:52:34.129Z] ---> ce6327f0842b [2021-02-22T06:52:34.129Z] Step 9/24 : RUN ${MAKE} [2021-02-22T06:52:34.129Z] ---> Running in 0c50c94c48c0 [2021-02-22T06:52:35.377Z] 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-02-22T06:52:42.051Z] Removing intermediate container 844ee1b756ae [2021-02-22T06:52:42.052Z] ---> 48bbbee679b7 [2021-02-22T06:52:42.052Z] Successfully built 48bbbee679b7 [2021-02-22T06:52:42.052Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:52:42.550Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-22T06:52:42.861Z] . [Pipeline] withDockerContainer [2021-02-22T06:52:43.514Z] prd-centos7-docker-4c-2g-27128 does not seem to be running inside a container [2021-02-22T06:52:44.335Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-02-22T06:52:46.802Z] $ docker top 9cb7081e0d5ef290286030914691a47a03d5f4985eab4c558bf6571168cb89a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T06:52:49.849Z] + go version [2021-02-22T06:52:49.849Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-22T06:52:50.113Z] $ docker stop --time=1 9cb7081e0d5ef290286030914691a47a03d5f4985eab4c558bf6571168cb89a7 [2021-02-22T06:52:52.368Z] $ docker rm -f 9cb7081e0d5ef290286030914691a47a03d5f4985eab4c558bf6571168cb89a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:52:54.340Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-22T06:52:54.341Z] . [Pipeline] withDockerContainer [2021-02-22T06:52:55.247Z] prd-centos7-docker-4c-2g-27128 does not seem to be running inside a container [2021-02-22T06:52:56.339Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-02-22T06:52:57.711Z] $ docker top 26c2f555b599b3c7b99ba712f80dd74b27c67d9d981119d2db0a4b75ab46991b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T06:52:59.534Z] + make test [2021-02-22T06:52:59.534Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-22T06:53:02.220Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-22T06:53:02.220Z] Removing intermediate container 0c50c94c48c0 [2021-02-22T06:53:02.220Z] ---> 9e07040873e9 [2021-02-22T06:53:02.220Z] Step 10/24 : FROM scratch [2021-02-22T06:53:02.220Z] ---> [2021-02-22T06:53:02.220Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T06:53:02.220Z] ---> Running in 810f954f0271 [2021-02-22T06:53:02.494Z] Removing intermediate container 810f954f0271 [2021-02-22T06:53:02.494Z] ---> f71d0d6dbf73 [2021-02-22T06:53:02.494Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-22T06:53:02.494Z] ---> Running in f4cc7de2dfef [2021-02-22T06:53:02.765Z] Removing intermediate container f4cc7de2dfef [2021-02-22T06:53:02.765Z] ---> 364cd7e31afa [2021-02-22T06:53:02.765Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-22T06:53:03.036Z] ---> Running in 80df525df862 [2021-02-22T06:53:03.307Z] Removing intermediate container 80df525df862 [2021-02-22T06:53:03.307Z] ---> 8e4b333c53db [2021-02-22T06:53:03.307Z] Step 14/24 : WORKDIR / [2021-02-22T06:53:03.307Z] ---> Running in 30d629a6eff1 [2021-02-22T06:53:03.903Z] Removing intermediate container 30d629a6eff1 [2021-02-22T06:53:03.903Z] ---> 7d704d498979 [2021-02-22T06:53:03.903Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-22T06:53:04.883Z] ---> 5bb596bcc383 [2021-02-22T06:53:04.883Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-22T06:53:05.861Z] ---> e9a517efbf6d [2021-02-22T06:53:05.861Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-22T06:53:06.455Z] ---> bcec8b39a8b0 [2021-02-22T06:53:06.455Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-22T06:53:07.432Z] ---> bd6442a8aa0b [2021-02-22T06:53:07.432Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-22T06:53:08.033Z] ---> 682cecb50257 [2021-02-22T06:53:08.033Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-22T06:53:08.033Z] ---> Running in 56c6bf61fc1a [2021-02-22T06:53:08.631Z] Removing intermediate container 56c6bf61fc1a [2021-02-22T06:53:08.631Z] ---> 3e985a3d58ce [2021-02-22T06:53:08.631Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-22T06:53:08.631Z] ---> Running in 6972ffab3df1 [2021-02-22T06:53:09.225Z] Removing intermediate container 6972ffab3df1 [2021-02-22T06:53:09.225Z] ---> f60190c1d346 [2021-02-22T06:53:09.225Z] Step 22/24 : LABEL arch=arm64 [2021-02-22T06:53:09.225Z] ---> Running in 30216306d7e2 [2021-02-22T06:53:09.816Z] Removing intermediate container 30216306d7e2 [2021-02-22T06:53:09.816Z] ---> e27b3dfac4a0 [2021-02-22T06:53:09.816Z] Step 23/24 : LABEL git_sha=bc00545e44993ecf59cd92c98ce97789de7bf8d3 [2021-02-22T06:53:09.816Z] ---> Running in 209cce3db858 [2021-02-22T06:53:10.411Z] Removing intermediate container 209cce3db858 [2021-02-22T06:53:10.411Z] ---> d58150ff7216 [2021-02-22T06:53:10.411Z] Step 24/24 : LABEL version=0.0.0 [2021-02-22T06:53:10.411Z] ---> Running in 1af94f9eb1f4 [2021-02-22T06:53:11.006Z] Removing intermediate container 1af94f9eb1f4 [2021-02-22T06:53:11.006Z] ---> c66d627d2195 [2021-02-22T06:53:11.006Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-22T06:53:11.006Z] Successfully built c66d627d2195 [2021-02-22T06:53:11.006Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-22T06:53:18.992Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-22T06:53:42.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-22T06:53:42.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-22T06:53:42.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-22T06:53:47.018Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.077s coverage: 25.5% of statements [2021-02-22T06:54:14.857Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.336s coverage: 10.1% of statements [2021-02-22T06:54:14.857Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.196s coverage: 12.5% of statements [2021-02-22T06:54:14.857Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-22T06:54:14.857Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.076s coverage: 84.8% of statements [2021-02-22T06:54:14.857Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-22T06:54:14.857Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-22T06:54:14.857Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-22T06:54:14.857Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-22T06:54:14.857Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.126s coverage: 49.2% of statements [2021-02-22T06:54:14.857Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-22T06:54:14.857Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.075s coverage: 81.3% of statements [2021-02-22T06:54:14.857Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.104s coverage: 24.8% of statements [2021-02-22T06:54:14.857Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.303s coverage: 83.5% of statements [2021-02-22T06:54:14.857Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.082s coverage: 5.3% of statements [2021-02-22T06:54:14.857Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-22T06:54:14.857Z] GO111MODULE=on go vet ./... [2021-02-22T06:54:38.309Z] gofmt -l . [2021-02-22T06:54:38.309Z] [ "`gofmt -l .`" = "" ] [2021-02-22T06:54:38.309Z] ./bin/test-attribution-txt.sh [2021-02-22T06:54:38.309Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-22T06:54:39.224Z] $ docker stop --time=1 26c2f555b599b3c7b99ba712f80dd74b27c67d9d981119d2db0a4b75ab46991b [2021-02-22T06:54:43.788Z] $ docker rm -f 26c2f555b599b3c7b99ba712f80dd74b27c67d9d981119d2db0a4b75ab46991b [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-22T06:54:45.033Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-22T06:54:45.409Z] Warning: overwriting stash ‘coverage-report’ [2021-02-22T06:54:47.223Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-22T06:54:48.065Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-22T06:54:48.625Z] + ls -al . [2021-02-22T06:54:48.626Z] total 184 [2021-02-22T06:54:48.626Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 22 06:54 . [2021-02-22T06:54:48.626Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 22 06:50 .. [2021-02-22T06:54:48.626Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 22 06:50 bin [2021-02-22T06:54:48.626Z] -rw-r--r--. 1 jenkins jenkins 101757 Feb 22 06:54 coverage.out [2021-02-22T06:54:48.626Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 22 06:50 Dockerfile.build [2021-02-22T06:54:48.626Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 22 06:50 .dockerignore [2021-02-22T06:54:48.626Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 22 06:50 example [2021-02-22T06:54:48.626Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 22 06:50 .git [2021-02-22T06:54:48.626Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 22 06:50 .github [2021-02-22T06:54:48.626Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 22 06:50 .gitignore [2021-02-22T06:54:48.626Z] -rw-r--r--. 1 jenkins jenkins 516 Feb 22 06:54 go.mod [2021-02-22T06:54:48.626Z] -rw-r--r--. 1 jenkins jenkins 17254 Feb 22 06:54 go.sum [2021-02-22T06:54:48.626Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 22 06:50 internal [2021-02-22T06:54:48.626Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 22 06:50 Jenkinsfile [2021-02-22T06:54:48.626Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 22 06:50 LICENSE [2021-02-22T06:54:48.626Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 22 06:50 Makefile [2021-02-22T06:54:48.626Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 22 06:50 openapi [2021-02-22T06:54:48.626Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 22 06:50 pkg [2021-02-22T06:54:48.626Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 22 06:50 README.md [2021-02-22T06:54:48.626Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 22 06:50 RELEASE-NOTES.txt [2021-02-22T06:54:48.626Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 22 06:50 snap [2021-02-22T06:54:48.626Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 22 06:46 VERSION [2021-02-22T06:54:48.626Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 22 06:50 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:54:49.238Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=bc00545e44993ecf59cd92c98ce97789de7bf8d3 --label arch=amd64 --label version=0.0.0 . [2021-02-22T06:54:50.110Z] Sending build context to Docker daemon 2.5MB [2021-02-22T06:54:50.110Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-22T06:54:50.110Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-22T06:54:50.110Z] ---> 48bbbee679b7 [2021-02-22T06:54:50.110Z] Step 3/24 : ARG MAKE='make build' [2021-02-22T06:54:51.177Z] ---> Running in 3d86bf9e3286 [2021-02-22T06:54:52.022Z] Removing intermediate container 3d86bf9e3286 [2021-02-22T06:54:52.022Z] ---> 1b69f2a4f4c5 [2021-02-22T06:54:52.022Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-22T06:54:52.022Z] ---> Running in e230ec43e1d2 [2021-02-22T06:54:52.022Z] Removing intermediate container e230ec43e1d2 [2021-02-22T06:54:52.022Z] ---> 19c5aabe3519 [2021-02-22T06:54:52.022Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T06:54:52.389Z] ---> Running in 0baf019e46f2 [2021-02-22T06:54:52.824Z] Removing intermediate container 0baf019e46f2 [2021-02-22T06:54:52.824Z] ---> d3cf6e70c57c [2021-02-22T06:54:52.824Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-22T06:54:53.175Z] ---> Running in 4bc7d6b14770 [2021-02-22T06:54:54.512Z] Removing intermediate container 4bc7d6b14770 [2021-02-22T06:54:54.512Z] ---> 9c81c0162c83 [2021-02-22T06:54:54.512Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-22T06:54:54.935Z] ---> Running in 11fb5d383054 [2021-02-22T06:54:55.974Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-22T06:54:57.328Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-22T06:54:57.730Z] OK: 166 MiB in 39 packages [2021-02-22T06:54:59.103Z] Removing intermediate container 11fb5d383054 [2021-02-22T06:54:59.103Z] ---> 0032f004155f [2021-02-22T06:54:59.103Z] Step 8/24 : COPY . . [2021-02-22T06:55:01.026Z] ---> 7fe3f824e877 [2021-02-22T06:55:01.026Z] Step 9/24 : RUN ${MAKE} [2021-02-22T06:55:01.026Z] ---> Running in cfa7037dfe81 [2021-02-22T06:55:04.247Z] 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-02-22T06:55:22.207Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-22T06:55:23.725Z] Removing intermediate container cfa7037dfe81 [2021-02-22T06:55:23.725Z] ---> d1eec08922a6 [2021-02-22T06:55:23.725Z] Step 10/24 : FROM scratch [2021-02-22T06:55:23.725Z] ---> [2021-02-22T06:55:23.725Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T06:55:23.725Z] ---> Running in 6aaeff45f063 [2021-02-22T06:55:24.418Z] Removing intermediate container 6aaeff45f063 [2021-02-22T06:55:24.418Z] ---> bf472e561ce5 [2021-02-22T06:55:24.418Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-22T06:55:24.418Z] ---> Running in 8fcd2700bb97 [2021-02-22T06:55:24.826Z] Removing intermediate container 8fcd2700bb97 [2021-02-22T06:55:24.826Z] ---> fbac90a1e14b [2021-02-22T06:55:24.826Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-22T06:55:25.287Z] ---> Running in 0d77d7505e9b [2021-02-22T06:55:25.641Z] Removing intermediate container 0d77d7505e9b [2021-02-22T06:55:25.641Z] ---> 71e1d46fd1ab [2021-02-22T06:55:25.641Z] Step 14/24 : WORKDIR / [2021-02-22T06:55:25.987Z] ---> Running in 16522240d29f [2021-02-22T06:55:26.310Z] Removing intermediate container 16522240d29f [2021-02-22T06:55:26.310Z] ---> a7cb8246032d [2021-02-22T06:55:26.310Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-22T06:55:26.992Z] ---> b78f3302eb58 [2021-02-22T06:55:26.992Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-22T06:55:29.112Z] ---> 92af96835be5 [2021-02-22T06:55:29.112Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-22T06:55:29.455Z] ---> aed45810713b [2021-02-22T06:55:29.455Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-22T06:55:29.757Z] ---> 2fb754fbc66f [2021-02-22T06:55:29.757Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-22T06:55:30.425Z] ---> 904a8d85c52d [2021-02-22T06:55:30.425Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-22T06:55:30.425Z] ---> Running in 418067137af1 [2021-02-22T06:55:31.426Z] Removing intermediate container 418067137af1 [2021-02-22T06:55:31.426Z] ---> 94ac0bb25750 [2021-02-22T06:55:31.426Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-22T06:55:31.724Z] ---> Running in b3f50eda1229 [2021-02-22T06:55:32.530Z] Removing intermediate container b3f50eda1229 [2021-02-22T06:55:32.530Z] ---> 270e1569fe2b [2021-02-22T06:55:32.530Z] Step 22/24 : LABEL arch=amd64 [2021-02-22T06:55:32.530Z] ---> Running in cce63dd9451f [2021-02-22T06:55:33.197Z] Removing intermediate container cce63dd9451f [2021-02-22T06:55:33.197Z] ---> 07477fe291f1 [2021-02-22T06:55:33.197Z] Step 23/24 : LABEL git_sha=bc00545e44993ecf59cd92c98ce97789de7bf8d3 [2021-02-22T06:55:33.197Z] ---> Running in 76cc30f8ab2f [2021-02-22T06:55:33.559Z] Removing intermediate container 76cc30f8ab2f [2021-02-22T06:55:33.559Z] ---> 183c638e3129 [2021-02-22T06:55:33.559Z] Step 24/24 : LABEL version=0.0.0 [2021-02-22T06:55:33.559Z] ---> Running in 06f3946435ee [2021-02-22T06:55:34.005Z] Removing intermediate container 06f3946435ee [2021-02-22T06:55:34.005Z] ---> 875ac9fa5356 [2021-02-22T06:55:34.005Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-22T06:55:34.005Z] Successfully built 875ac9fa5356 [2021-02-22T06:55:34.005Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-02-22T06:55:36.670Z] provisioning config files... [2021-02-22T06:55:36.683Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/config1262500491999590968tmp [Pipeline] { [Pipeline] sh [2021-02-22T06:55:37.119Z] + set +x [2021-02-22T06:55:37.119Z] + curl -s https://codecov.io/bash [2021-02-22T06:55:37.119Z] + bash -s -- [2021-02-22T06:55:37.393Z] [2021-02-22T06:55:37.393Z] _____ _ [2021-02-22T06:55:37.393Z] / ____| | | [2021-02-22T06:55:37.393Z] | | ___ __| | ___ ___ _____ __ [2021-02-22T06:55:37.393Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-22T06:55:37.393Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-22T06:55:37.393Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-22T06:55:37.393Z] Bash-20210129-7c25fce [2021-02-22T06:55:37.393Z] [2021-02-22T06:55:37.393Z] [2021-02-22T06:55:37.393Z] ==> git version 2.24.3 found [2021-02-22T06:55:37.393Z] ==> 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-02-22T06:55:37.393Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-22T06:55:37.393Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-22T06:55:37.393Z] ==> Jenkins CI detected. [2021-02-22T06:55:37.393Z] project root: . [2021-02-22T06:55:37.393Z] --> token set from env [2021-02-22T06:55:37.393Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-22T06:55:37.393Z] ==> Running gcov in . (disable via -X gcov) [2021-02-22T06:55:37.393Z] ==> Python coveragepy not found [2021-02-22T06:55:37.393Z] ==> Searching for coverage reports in: [2021-02-22T06:55:37.393Z] + . [2021-02-22T06:55:37.393Z] -> Found 1 reports [2021-02-22T06:55:37.393Z] ==> Detecting git/mercurial file structure [2021-02-22T06:55:37.393Z] ==> Reading reports [2021-02-22T06:55:37.393Z] + ./coverage.out bytes=101757 [2021-02-22T06:55:37.393Z] ==> Appending adjustments [2021-02-22T06:55:37.393Z] https://docs.codecov.io/docs/fixing-reports [2021-02-22T06:55:37.970Z] + Found adjustments [2021-02-22T06:55:37.970Z] ==> Gzipping contents [2021-02-22T06:55:37.970Z] 20K /tmp/codecov.h0hUwd.gz [2021-02-22T06:55:37.970Z] ==> Uploading reports [2021-02-22T06:55:37.970Z] url: https://codecov.io [2021-02-22T06:55:37.970Z] query: branch=PR-792&commit=bc00545e44993ecf59cd92c98ce97789de7bf8d3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-792%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=792&job=&cmd_args= [2021-02-22T06:55:37.970Z] -> Pinging Codecov [2021-02-22T06:55:37.970Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-792&commit=bc00545e44993ecf59cd92c98ce97789de7bf8d3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-792%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=792&job=&cmd_args= [2021-02-22T06:55:38.232Z] -> Uploading to [2021-02-22T06:55:38.233Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-22/7E55EF52A471D76F132DFD9A03CDDE97/bc00545e44993ecf59cd92c98ce97789de7bf8d3/a3fb19e3-5271-451e-b291-85fc3a8cd606.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210222T065538Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7cca640b30c5455b71a02df912d6724f89dc6874b47b9f53ab72d3acbb384c00 [2021-02-22T06:55:38.233Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-22T06:55:38.233Z] Dload Upload Total Spent Left Speed [2021-02-22T06:55:38.807Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16481 0 0 100 16481 0 37364 --:--:-- --:--:-- --:--:-- 37371 100 16481 0 0 100 16481 0 37349 --:--:-- --:--:-- --:--:-- 37287 [2021-02-22T06:55:38.807Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/bc00545e44993ecf59cd92c98ce97789de7bf8d3 [Pipeline] } [2021-02-22T06:55:38.830Z] 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-02-22T06:55:42.452Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:55:42.795Z] ---> package-listing.sh [2021-02-22T06:55:42.795Z] ++ facter osfamily [2021-02-22T06:55:42.795Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-22T06:55:42.795Z] + OS_FAMILY=redhat [2021-02-22T06:55:42.795Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-792 [2021-02-22T06:55:42.795Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-22T06:55:42.795Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-22T06:55:42.795Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-22T06:55:42.795Z] + PACKAGES=/tmp/packages_start.txt [2021-02-22T06:55:42.795Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-792 ']' [2021-02-22T06:55:42.795Z] + PACKAGES=/tmp/packages_end.txt [2021-02-22T06:55:42.795Z] + case "${OS_FAMILY}" in [2021-02-22T06:55:42.795Z] + rpm -qa [2021-02-22T06:55:42.795Z] + sort [2021-02-22T06:55:48.100Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-22T06:55:48.100Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-22T06:55:48.100Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-22T06:55:48.100Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-792 ']' [2021-02-22T06:55:48.100Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-792/archives/ [2021-02-22T06:55:48.100Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-792/archives/ [Pipeline] echo [2021-02-22T06:55:48.132Z] 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-792/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-22T06:55:48.440Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:55:48.775Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-22T06:55:48.775Z] [2021-02-22T06:55:48.775Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:55:49.174Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-22T06:55:49.174Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-22T06:55:49.174Z] df20fa9351a1: Pulling fs layer [2021-02-22T06:55:49.174Z] 36b3adc4ff6f: Pulling fs layer [2021-02-22T06:55:49.174Z] 8ad3a11d3b57: Pulling fs layer [2021-02-22T06:55:49.174Z] 46f8f816bc3b: Pulling fs layer [2021-02-22T06:55:49.174Z] 93b61091891f: Pulling fs layer [2021-02-22T06:55:49.174Z] 93b9cdb0e59b: Pulling fs layer [2021-02-22T06:55:49.174Z] 5e14af77c1be: Pulling fs layer [2021-02-22T06:55:49.174Z] 01666e4c0597: Pulling fs layer [2021-02-22T06:55:49.174Z] aa168da1d23b: Pulling fs layer [2021-02-22T06:55:49.174Z] 46f8f816bc3b: Waiting [2021-02-22T06:55:49.174Z] 93b61091891f: Waiting [2021-02-22T06:55:49.174Z] 93b9cdb0e59b: Waiting [2021-02-22T06:55:49.174Z] 5e14af77c1be: Waiting [2021-02-22T06:55:49.174Z] 01666e4c0597: Waiting [2021-02-22T06:55:49.174Z] aa168da1d23b: Waiting [2021-02-22T06:55:49.174Z] 36b3adc4ff6f: Verifying Checksum [2021-02-22T06:55:49.174Z] 36b3adc4ff6f: Download complete [2021-02-22T06:55:49.174Z] 46f8f816bc3b: Verifying Checksum [2021-02-22T06:55:49.174Z] 46f8f816bc3b: Download complete [2021-02-22T06:55:49.441Z] df20fa9351a1: Verifying Checksum [2021-02-22T06:55:49.441Z] df20fa9351a1: Download complete [2021-02-22T06:55:49.441Z] 93b9cdb0e59b: Download complete [2021-02-22T06:55:49.441Z] 93b61091891f: Verifying Checksum [2021-02-22T06:55:49.441Z] 93b61091891f: Download complete [2021-02-22T06:55:49.441Z] 01666e4c0597: Verifying Checksum [2021-02-22T06:55:49.441Z] 01666e4c0597: Download complete [2021-02-22T06:55:49.441Z] 5e14af77c1be: Download complete [2021-02-22T06:55:49.704Z] df20fa9351a1: Pull complete [2021-02-22T06:55:49.704Z] 8ad3a11d3b57: Verifying Checksum [2021-02-22T06:55:49.704Z] 8ad3a11d3b57: Download complete [2021-02-22T06:55:49.967Z] 36b3adc4ff6f: Pull complete [2021-02-22T06:55:50.562Z] 8ad3a11d3b57: Pull complete [2021-02-22T06:55:50.828Z] 46f8f816bc3b: Pull complete [2021-02-22T06:55:51.408Z] 93b61091891f: Pull complete [2021-02-22T06:55:51.672Z] aa168da1d23b: Verifying Checksum [2021-02-22T06:55:51.672Z] aa168da1d23b: Download complete [2021-02-22T06:55:51.938Z] 93b9cdb0e59b: Pull complete [2021-02-22T06:55:52.201Z] 5e14af77c1be: Pull complete [2021-02-22T06:55:52.201Z] 01666e4c0597: Pull complete [2021-02-22T06:55:58.832Z] aa168da1d23b: Pull complete [2021-02-22T06:55:58.832Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-22T06:55:58.832Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-22T06:55:58.832Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-22T06:55:59.042Z] prd-centos7-docker-4c-2g-27126 does not seem to be running inside a container [2021-02-22T06:55:59.088Z] $ 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-792/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-792 -v /w/workspace/dgexfoundry_device-sdk-go_PR-792:/w/workspace/dgexfoundry_device-sdk-go_PR-792:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-22T06:56:02.564Z] $ docker top 8453cb7722377f9432cf78bf38c1e8304d88fb9eaee9783d6a9e24ca94698503 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T06:56:03.199Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-22T06:56:03.530Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-22T06:56:03.858Z] + ls /var/log/sa-host [2021-02-22T06:56:03.858Z] + sadf -c /var/log/sa-host/sa22 [2021-02-22T06:56:03.858Z] file_magic: OK [2021-02-22T06:56:03.858Z] HZ: Using current value: 100 [2021-02-22T06:56:03.858Z] file_header: OK [2021-02-22T06:56:03.858Z] 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-02-22T06:56:03.859Z] Statistics: [2021-02-22T06:56:03.859Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-22T06:56:03.859Z] File successfully converted to sysstat format version 12.2.1 [2021-02-22T06:56:03.859Z] + sadf -c /var/log/sa-host/sa23 [2021-02-22T06:56:03.859Z] file_magic: OK [2021-02-22T06:56:03.859Z] HZ: Using current value: 100 [2021-02-22T06:56:03.859Z] file_header: OK [2021-02-22T06:56:03.859Z] 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-02-22T06:56:03.859Z] Statistics: [2021-02-22T06:56:03.859Z] Hnuu...uuuununununu... [2021-02-22T06:56:03.859Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-22T06:56:04.539Z] provisioning config files... [2021-02-22T06:56:04.553Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/config7727221968609155377tmp [Pipeline] { [Pipeline] echo [2021-02-22T06:56:04.678Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:56:05.010Z] ---> create-netrc.sh [Pipeline] } [2021-02-22T06:56:05.035Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-22T06:56:05.173Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:56:05.520Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-22T06:56:05.550Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:56:05.876Z] ---> sudo-logs.sh [2021-02-22T06:56:05.876Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-22T06:56:06.013Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:56:06.342Z] ---> job-cost.sh [2021-02-22T06:56:06.342Z] lf-activate-venv: SKIPPING [2021-02-22T06:56:06.342Z] INFO: No Stack... [2021-02-22T06:56:07.293Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-22T06:56:07.867Z] INFO: Archiving Costs [Pipeline] echo [2021-02-22T06:56:07.910Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:56:08.247Z] ---> logs-deploy.sh [2021-02-22T06:56:08.247Z] lf-activate-venv: SKIPPING [2021-02-22T06:56:08.248Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-792/1 [2021-02-22T06:56:08.248Z] INFO: archiving workspace using pattern(s): [2021-02-22T06:56:10.178Z] Archives upload complete. [2021-02-22T06:56:10.178Z] INFO: archiving logs to Nexus