Pull request #794 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cf1e79a50c13038e4678ee9448babdfd976f7249+848c16ec05d796c9e5a16abafab7aa79fc4967e4 (d7534f4364e888145991e0702a91a45076d18ea0) 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-794/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-794/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-27279 in /w/workspace/dgexfoundry_device-sdk-go_PR-794 [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-794 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit cf1e79a50c13038e4678ee9448babdfd976f7249 Merge succeeded, producing cf1e79a50c13038e4678ee9448babdfd976f7249 Checking out Revision cf1e79a50c13038e4678ee9448babdfd976f7249 (PR-794) > 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/794/head:refs/remotes/origin/PR-794 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf1e79a50c13038e4678ee9448babdfd976f7249 # 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 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf1e79a50c13038e4678ee9448babdfd976f7249 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/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-23T05:53:31.541Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-23T05:53:31.923Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-23T05:53:32.145Z] ========================================================= [2021-02-23T05:53:32.145Z] EdgeX Global Pipelines Version Info [2021-02-23T05:53:32.146Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-23T05:53:33.733Z] ------------------- [2021-02-23T05:53:33.733Z] stable info: [2021-02-23T05:53:33.733Z] ------------------- [2021-02-23T05:53:33.733Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-23T05:53:33.733Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-23T05:53:33.733Z] Message: update stable to v1.0.179 [2021-02-23T05:53:34.680Z] ------------------- [2021-02-23T05:53:34.680Z] experimental info: [2021-02-23T05:53:34.680Z] ------------------- [2021-02-23T05:53:34.680Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-23T05:53:34.680Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-23T05:53:34.680Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-23T05:53:35.064Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-23T05:53:35.230Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-23T05:53:35.395Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-23T05:53:35.543Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-23T05:53:35.688Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-23T05:53:35.823Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-23T05:53:35.956Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-23T05:53:36.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-23T05:53:36.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-23T05:53:36.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-23T05:53:36.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-23T05:53:36.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-23T05:53:36.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-23T05:53:36.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-23T05:53:37.090Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-23T05:53:37.234Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T05:53:37.364Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T05:53:37.497Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T05:53:37.684Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-23T05:53:37.827Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-23T05:53:37.963Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-23T05:53:38.098Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-23T05:53:38.233Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-23T05:53:38.381Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-23T05:53:38.514Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-23T05:53:38.672Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-23T05:53:38.839Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-23T05:53:38.987Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-794 [Pipeline] echo [2021-02-23T05:53:39.140Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-794 [Pipeline] echo [2021-02-23T05:53:39.272Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-794 [Pipeline] echo [2021-02-23T05:53:39.403Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf1e79a50c13038e4678ee9448babdfd976f7249 [Pipeline] echo [2021-02-23T05:53:39.536Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf1e79a [Pipeline] echo [2021-02-23T05:53:39.678Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T05:53:39.936Z] provisioning config files... [2021-02-23T05:53:39.966Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/config6015334507700651888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T05:53:40.392Z] ---> docker-login.sh [2021-02-23T05:53:40.392Z] nexus3.edgexfoundry.org:10001 [2021-02-23T05:53:40.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T05:53:40.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T05:53:40.920Z] Configure a credential helper to remove this warning. See [2021-02-23T05:53:40.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T05:53:40.920Z] [2021-02-23T05:53:40.920Z] Login Succeeded [2021-02-23T05:53:40.920Z] nexus3.edgexfoundry.org:10002 [2021-02-23T05:53:41.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T05:53:41.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T05:53:41.183Z] Configure a credential helper to remove this warning. See [2021-02-23T05:53:41.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T05:53:41.183Z] [2021-02-23T05:53:41.183Z] Login Succeeded [2021-02-23T05:53:41.183Z] nexus3.edgexfoundry.org:10003 [2021-02-23T05:53:41.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T05:53:41.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T05:53:41.446Z] Configure a credential helper to remove this warning. See [2021-02-23T05:53:41.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T05:53:41.446Z] [2021-02-23T05:53:41.446Z] Login Succeeded [2021-02-23T05:53:41.446Z] nexus3.edgexfoundry.org:10004 [2021-02-23T05:53:41.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T05:53:41.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T05:53:41.711Z] Configure a credential helper to remove this warning. See [2021-02-23T05:53:41.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T05:53:41.711Z] [2021-02-23T05:53:41.711Z] Login Succeeded [2021-02-23T05:53:41.711Z] docker.io [2021-02-23T05:53:41.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T05:53:41.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T05:53:41.980Z] Configure a credential helper to remove this warning. See [2021-02-23T05:53:41.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T05:53:41.980Z] [2021-02-23T05:53:41.980Z] Login Succeeded [2021-02-23T05:53:41.980Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T05:53:42.006Z] 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-23T05:53:43.124Z] + git log --format=format:%s -1 cf1e79a50c13038e4678ee9448babdfd976f7249 [Pipeline] echo [2021-02-23T05:53:43.219Z] GIT_COMMIT: cf1e79a50c13038e4678ee9448babdfd976f7249, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-02-23T05:53:43.294Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-23T05:53:44.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T05:53:44.454Z] [2021-02-23T05:53:44.454Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T05:53:44.858Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T05:53:44.858Z] latest: Pulling from edgex-devops/git-semver [2021-02-23T05:53:44.858Z] 31603596830f: Pulling fs layer [2021-02-23T05:53:44.858Z] 2a8b12db71e7: Pulling fs layer [2021-02-23T05:53:44.858Z] 6ca5941a6612: Pulling fs layer [2021-02-23T05:53:44.858Z] ecc8261a40a4: Pulling fs layer [2021-02-23T05:53:44.858Z] ecc8261a40a4: Waiting [2021-02-23T05:53:44.858Z] 2a8b12db71e7: Verifying Checksum [2021-02-23T05:53:44.858Z] 2a8b12db71e7: Download complete [2021-02-23T05:53:45.124Z] 31603596830f: Verifying Checksum [2021-02-23T05:53:45.124Z] 31603596830f: Download complete [2021-02-23T05:53:45.124Z] ecc8261a40a4: Verifying Checksum [2021-02-23T05:53:45.124Z] ecc8261a40a4: Download complete [2021-02-23T05:53:45.124Z] 6ca5941a6612: Verifying Checksum [2021-02-23T05:53:45.124Z] 6ca5941a6612: Download complete [2021-02-23T05:53:45.391Z] 31603596830f: Pull complete [2021-02-23T05:53:45.653Z] 2a8b12db71e7: Pull complete [2021-02-23T05:53:46.232Z] 6ca5941a6612: Pull complete [2021-02-23T05:53:46.495Z] ecc8261a40a4: Pull complete [2021-02-23T05:53:46.758Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-23T05:53:46.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T05:53:46.759Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-23T05:53:46.895Z] prd-centos7-docker-4c-2g-27279 does not seem to be running inside a container [2021-02-23T05:53:47.013Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-794 -v /w/workspace/dgexfoundry_device-sdk-go_PR-794:/w/workspace/dgexfoundry_device-sdk-go_PR-794:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-794@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-23T05:53:49.555Z] $ docker top 7945c7ed898240b62278e8bdccb483925d1e6bdea7fa1097dce048fb8d89350e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-23T05:53:49.997Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T05:53:49.997Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T05:53:50.208Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T05:53:50.212Z] $ docker exec 7945c7ed898240b62278e8bdccb483925d1e6bdea7fa1097dce048fb8d89350e ssh-agent [2021-02-23T05:53:50.389Z] SSH_AUTH_SOCK=/tmp/ssh-6x8PEzvyUeZD/agent.11 [2021-02-23T05:53:50.389Z] SSH_AGENT_PID=16 [2021-02-23T05:53:50.403Z] Running ssh-add (command line suppressed) [2021-02-23T05:53:50.522Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/private_key_4408715902044917533.key (/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/private_key_4408715902044917533.key) [2021-02-23T05:53:50.578Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T05:53:50.959Z] + git tag --points-at HEAD [Pipeline] } [2021-02-23T05:53:50.988Z] $ docker exec --env ******** --env ******** 7945c7ed898240b62278e8bdccb483925d1e6bdea7fa1097dce048fb8d89350e ssh-agent -k [2021-02-23T05:53:51.111Z] unset SSH_AUTH_SOCK; [2021-02-23T05:53:51.112Z] unset SSH_AGENT_PID; [2021-02-23T05:53:51.112Z] echo Agent pid 16 killed; [2021-02-23T05:53:51.157Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-23T05:53:51.384Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T05:53:51.384Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T05:53:51.546Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T05:53:51.550Z] $ docker exec 7945c7ed898240b62278e8bdccb483925d1e6bdea7fa1097dce048fb8d89350e ssh-agent [2021-02-23T05:53:51.726Z] SSH_AUTH_SOCK=/tmp/ssh-7ygPayGvUSHV/agent.45 [2021-02-23T05:53:51.726Z] SSH_AGENT_PID=51 [2021-02-23T05:53:51.733Z] Running ssh-add (command line suppressed) [2021-02-23T05:53:51.855Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/private_key_7634671788447929349.key (/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/private_key_7634671788447929349.key) [2021-02-23T05:53:51.915Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T05:53:52.288Z] + git semver init [2021-02-23T05:53:52.288Z] # -> Open(): unable to determine branch for HEAD [2021-02-23T05:53:52.288Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-794/.git [2021-02-23T05:53:52.288Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-794 [2021-02-23T05:53:52.288Z] # $SEMVER_REMOTE_NAME = origin [2021-02-23T05:53:52.288Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-23T05:53:52.288Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-23T05:53:52.288Z] # $SEMVER_BRANCH = PR-794 [2021-02-23T05:53:52.288Z] # $SEMVER_TEMP = /tmp/semver-742337391 [2021-02-23T05:53:52.288Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-23T05:53:52.874Z] # '/tmp/semver-742337391' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-794/.semver' [2021-02-23T05:53:53.137Z] # -> Force: false [2021-02-23T05:53:53.137Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-794/.semver [Pipeline] } [2021-02-23T05:53:53.161Z] $ docker exec --env ******** --env ******** 7945c7ed898240b62278e8bdccb483925d1e6bdea7fa1097dce048fb8d89350e ssh-agent -k [2021-02-23T05:53:53.281Z] unset SSH_AUTH_SOCK; [2021-02-23T05:53:53.282Z] unset SSH_AGENT_PID; [2021-02-23T05:53:53.282Z] echo Agent pid 51 killed; [2021-02-23T05:53:53.331Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-23T05:53:53.896Z] + git semver [Pipeline] } [2021-02-23T05:53:53.928Z] $ docker stop --time=1 7945c7ed898240b62278e8bdccb483925d1e6bdea7fa1097dce048fb8d89350e [2021-02-23T05:53:55.372Z] $ docker rm -f 7945c7ed898240b62278e8bdccb483925d1e6bdea7fa1097dce048fb8d89350e [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T05:53:55.892Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-23T05:53:56.331Z] Stashed 1 file(s) [Pipeline] echo [2021-02-23T05:53:56.355Z] [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-23T05:54:12.529Z] Still waiting to schedule task [2021-02-23T05:54:12.529Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27279’ [2021-02-23T05:54:12.591Z] Still waiting to schedule task [2021-02-23T05:54:12.591Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline [2021-02-23T05:55:56.232Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27280 in /w/workspace/dgexfoundry_device-sdk-go_PR-794 [Pipeline] { [Pipeline] ws [2021-02-23T05:55:56.336Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-23T05:56:01.498Z] using credential edgex-jenkins-ssh [2021-02-23T05:56:01.568Z] Cloning the remote Git repository [2021-02-23T05:56:01.624Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T05:56:01.733Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-23T05:56:01.835Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T05:56:01.836Z] > git --version # timeout=10 [2021-02-23T05:56:01.855Z] > git --version # 'git version 2.17.1' [2021-02-23T05:56:01.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T05:56:01.958Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T05:56:03.950Z] Merging remotes/origin/master commit 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit cf1e79a50c13038e4678ee9448babdfd976f7249 [2021-02-23T05:56:04.228Z] Merge succeeded, producing cf1e79a50c13038e4678ee9448babdfd976f7249 [2021-02-23T05:56:04.229Z] Checking out Revision cf1e79a50c13038e4678ee9448babdfd976f7249 (PR-794) [2021-02-23T05:56:03.375Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T05:56:03.397Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T05:56:03.429Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T05:56:03.472Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T05:56:03.473Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T05:56:03.490Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/794/head:refs/remotes/origin/PR-794 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-23T05:56:03.971Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T05:56:03.990Z] > git checkout -f cf1e79a50c13038e4678ee9448babdfd976f7249 # timeout=10 [2021-02-23T05:56:04.116Z] > git remote # timeout=10 [2021-02-23T05:56:04.140Z] > git config --get remote.origin.url # timeout=10 [2021-02-23T05:56:04.160Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T05:56:04.171Z] > git merge 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 [2021-02-23T05:56:04.208Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-23T05:56:04.234Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T05:56:04.254Z] > git checkout -f cf1e79a50c13038e4678ee9448babdfd976f7249 # timeout=10 [2021-02-23T05:56:08.737Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-23T05:56:08.790Z] > git --version # timeout=10 [2021-02-23T05:56:08.808Z] > git --version # 'git version 2.17.1' [2021-02-23T05:56:08.833Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T05:56:10.588Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-23T05:56:11.042Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-23T05:56:11.418Z] + true [2021-02-23T05:56:11.418Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T05:56:14.230Z] provisioning config files... [2021-02-23T05:56:14.268Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4816532329014835784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T05:56:14.731Z] ---> docker-login.sh [2021-02-23T05:56:14.731Z] nexus3.edgexfoundry.org:10001 [2021-02-23T05:56:15.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T05:56:15.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T05:56:15.981Z] Configure a credential helper to remove this warning. See [2021-02-23T05:56:15.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T05:56:15.981Z] [2021-02-23T05:56:15.981Z] Login Succeeded [2021-02-23T05:56:16.255Z] nexus3.edgexfoundry.org:10002 [2021-02-23T05:56:16.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T05:56:16.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T05:56:16.529Z] Configure a credential helper to remove this warning. See [2021-02-23T05:56:16.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T05:56:16.529Z] [2021-02-23T05:56:16.529Z] Login Succeeded [2021-02-23T05:56:16.529Z] nexus3.edgexfoundry.org:10003 [2021-02-23T05:56:16.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T05:56:17.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T05:56:17.078Z] Configure a credential helper to remove this warning. See [2021-02-23T05:56:17.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T05:56:17.078Z] [2021-02-23T05:56:17.078Z] Login Succeeded [2021-02-23T05:56:17.078Z] nexus3.edgexfoundry.org:10004 [2021-02-23T05:56:17.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T05:56:17.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T05:56:17.628Z] Configure a credential helper to remove this warning. See [2021-02-23T05:56:17.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T05:56:17.628Z] [2021-02-23T05:56:17.628Z] Login Succeeded [2021-02-23T05:56:17.628Z] docker.io [2021-02-23T05:56:17.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T05:56:18.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T05:56:18.175Z] Configure a credential helper to remove this warning. See [2021-02-23T05:56:18.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T05:56:18.175Z] [2021-02-23T05:56:18.175Z] Login Succeeded [2021-02-23T05:56:18.175Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T05:56:18.207Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-23T05:56:18.750Z] ========================================================= [2021-02-23T05:56:18.750Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-23T05:56:18.750Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-23T05:56:19.162Z] + 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-23T05:56:19.434Z] Sending build context to Docker daemon 2.394MB [2021-02-23T05:56:19.711Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T05:56:19.711Z] Step 2/8 : FROM ${BASE} [2021-02-23T05:56:19.711Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-23T05:56:19.711Z] 5f621e34cdf4: Pulling fs layer [2021-02-23T05:56:19.711Z] a4357932f1b6: Pulling fs layer [2021-02-23T05:56:19.711Z] 18c013af1878: Pulling fs layer [2021-02-23T05:56:19.711Z] 00ac8860ef70: Pulling fs layer [2021-02-23T05:56:19.711Z] 63d7cb157983: Pulling fs layer [2021-02-23T05:56:19.711Z] b116817d02f9: Pulling fs layer [2021-02-23T05:56:19.711Z] 745a02a5169b: Pulling fs layer [2021-02-23T05:56:19.711Z] 63d7cb157983: Waiting [2021-02-23T05:56:19.711Z] b116817d02f9: Waiting [2021-02-23T05:56:19.711Z] 745a02a5169b: Waiting [2021-02-23T05:56:19.711Z] 00ac8860ef70: Waiting [2021-02-23T05:56:19.711Z] 18c013af1878: Verifying Checksum [2021-02-23T05:56:19.711Z] 18c013af1878: Download complete [2021-02-23T05:56:19.711Z] a4357932f1b6: Verifying Checksum [2021-02-23T05:56:19.711Z] a4357932f1b6: Download complete [2021-02-23T05:56:19.711Z] 63d7cb157983: Verifying Checksum [2021-02-23T05:56:19.711Z] 63d7cb157983: Download complete [2021-02-23T05:56:19.711Z] b116817d02f9: Verifying Checksum [2021-02-23T05:56:19.711Z] b116817d02f9: Download complete [2021-02-23T05:56:19.711Z] 5f621e34cdf4: Verifying Checksum [2021-02-23T05:56:19.989Z] 5f621e34cdf4: Download complete [2021-02-23T05:56:20.605Z] 5f621e34cdf4: Pull complete [2021-02-23T05:56:21.217Z] a4357932f1b6: Pull complete [2021-02-23T05:56:21.492Z] 18c013af1878: Pull complete [2021-02-23T05:56:22.476Z] 745a02a5169b: Verifying Checksum [2021-02-23T05:56:22.476Z] 745a02a5169b: Download complete [2021-02-23T05:56:23.916Z] 00ac8860ef70: Verifying Checksum [2021-02-23T05:56:23.916Z] 00ac8860ef70: Download complete [2021-02-23T05:56:34.118Z] 00ac8860ef70: Pull complete [2021-02-23T05:56:34.394Z] 63d7cb157983: Pull complete [2021-02-23T05:56:34.666Z] b116817d02f9: Pull complete [2021-02-23T05:56:39.000Z] 745a02a5169b: Pull complete [2021-02-23T05:56:39.000Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-23T05:56:39.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-23T05:56:39.000Z] ---> b7e6874047d6 [2021-02-23T05:56:39.000Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T05:56:41.614Z] ---> Running in a0dd92cc9138 [2021-02-23T05:56:41.614Z] Removing intermediate container a0dd92cc9138 [2021-02-23T05:56:41.614Z] ---> 7f6c87f84a63 [2021-02-23T05:56:41.614Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T05:56:41.894Z] ---> Running in c42166c07fde [2021-02-23T05:56:44.530Z] Removing intermediate container c42166c07fde [2021-02-23T05:56:44.530Z] ---> 39ad958409ff [2021-02-23T05:56:44.530Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-23T05:56:44.530Z] ---> Running in 92b80210c651 [2021-02-23T05:56:45.506Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-23T05:56:46.098Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-23T05:56:47.079Z] OK: 142 MiB in 39 packages [2021-02-23T05:56:48.072Z] Removing intermediate container 92b80210c651 [2021-02-23T05:56:48.072Z] ---> ada505ebb45e [2021-02-23T05:56:48.072Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-23T05:56:48.072Z] ---> Running in e86326c61845 [2021-02-23T05:56:48.667Z] Removing intermediate container e86326c61845 [2021-02-23T05:56:48.667Z] ---> bccf13b44f0f [2021-02-23T05:56:48.667Z] Step 7/8 : COPY . . [2021-02-23T05:56:50.109Z] ---> 6057af6391cf [2021-02-23T05:56:50.109Z] Step 8/8 : RUN go mod download [2021-02-23T05:56:50.109Z] ---> Running in 837190c1b2ef [2021-02-23T05:57:16.925Z] Removing intermediate container 837190c1b2ef [2021-02-23T05:57:16.925Z] ---> 44d88dc43523 [2021-02-23T05:57:16.925Z] Successfully built 44d88dc43523 [2021-02-23T05:57:16.925Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T05:57:17.304Z] + docker inspect -f . ci-base-image-arm64 [2021-02-23T05:57:17.304Z] . [Pipeline] withDockerContainer [2021-02-23T05:57:17.591Z] prd-ubuntu18.04-docker-arm64-4c-16g-27280 does not seem to be running inside a container [2021-02-23T05:57:17.668Z] $ 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-23T05:57:19.126Z] $ docker top 754d39736ab3cf57cee573902788fa52168739a26e9f972d77ae450d3aedc50e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T05:57:20.211Z] + go version [2021-02-23T05:57:20.211Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-23T05:57:20.242Z] $ docker stop --time=1 754d39736ab3cf57cee573902788fa52168739a26e9f972d77ae450d3aedc50e [2021-02-23T05:57:22.061Z] $ docker rm -f 754d39736ab3cf57cee573902788fa52168739a26e9f972d77ae450d3aedc50e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-23T05:57:23.347Z] + docker inspect -f . ci-base-image-arm64 [2021-02-23T05:57:23.347Z] . [Pipeline] withDockerContainer [2021-02-23T05:57:23.625Z] prd-ubuntu18.04-docker-arm64-4c-16g-27280 does not seem to be running inside a container [2021-02-23T05:57:23.702Z] $ 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-23T05:57:25.147Z] $ docker top 4b9137613b5777bbc9aed0e1150e7a1eceb97322a6aebd5145331d4473a0bf55 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T05:57:26.230Z] + make test [2021-02-23T05:57:26.231Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-23T05:57:48.442Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-23T05:57:52.286Z] Running on prd-centos7-docker-4c-2g-27281 in /w/workspace/dgexfoundry_device-sdk-go_PR-794 [Pipeline] { [Pipeline] ws [2021-02-23T05:57:52.438Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-23T05:58:05.609Z] using credential edgex-jenkins-ssh [2021-02-23T05:58:05.670Z] Cloning the remote Git repository [2021-02-23T05:58:05.782Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T05:58:06.039Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-23T05:58:06.268Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T05:58:06.268Z] > git --version # timeout=10 [2021-02-23T05:58:06.338Z] > git --version # 'git version 2.24.3' [2021-02-23T05:58:06.339Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T05:58:06.489Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T05:58:07.919Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T05:58:07.974Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T05:58:08.012Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T05:58:08.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T05:58:08.064Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T05:58:08.084Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/794/head:refs/remotes/origin/PR-794 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-23T05:58:08.986Z] Merging remotes/origin/master commit 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit cf1e79a50c13038e4678ee9448babdfd976f7249 [2021-02-23T05:58:09.449Z] Merge succeeded, producing cf1e79a50c13038e4678ee9448babdfd976f7249 [2021-02-23T05:58:09.450Z] Checking out Revision cf1e79a50c13038e4678ee9448babdfd976f7249 (PR-794) [2021-02-23T05:58:09.005Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T05:58:09.072Z] > git checkout -f cf1e79a50c13038e4678ee9448babdfd976f7249 # timeout=10 [2021-02-23T05:58:09.243Z] > git remote # timeout=10 [2021-02-23T05:58:09.269Z] > git config --get remote.origin.url # timeout=10 [2021-02-23T05:58:09.341Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T05:58:09.350Z] > git merge 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 [2021-02-23T05:58:09.403Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-23T05:58:09.455Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T05:58:09.532Z] > git checkout -f cf1e79a50c13038e4678ee9448babdfd976f7249 # timeout=10 [2021-02-23T05:58:15.136Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-23T05:58:15.189Z] > git --version # timeout=10 [2021-02-23T05:58:15.283Z] > git --version # 'git version 2.24.3' [2021-02-23T05:58:15.424Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T05:58:17.856Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-23T05:58:18.879Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-23T05:58:19.317Z] + sudo service docker restart [2021-02-23T05:58:19.317Z] + true [2021-02-23T05:58:19.317Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T05:58:21.560Z] provisioning config files... [2021-02-23T05:58:21.596Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6157696054301133908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T05:58:22.306Z] ---> docker-login.sh [2021-02-23T05:58:22.306Z] nexus3.edgexfoundry.org:10001 [2021-02-23T05:58:23.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T05:58:24.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T05:58:24.155Z] Configure a credential helper to remove this warning. See [2021-02-23T05:58:24.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T05:58:24.155Z] [2021-02-23T05:58:24.155Z] Login Succeeded [2021-02-23T05:58:24.155Z] nexus3.edgexfoundry.org:10002 [2021-02-23T05:58:24.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T05:58:24.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T05:58:24.785Z] Configure a credential helper to remove this warning. See [2021-02-23T05:58:24.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T05:58:24.785Z] [2021-02-23T05:58:24.785Z] Login Succeeded [2021-02-23T05:58:24.785Z] nexus3.edgexfoundry.org:10003 [2021-02-23T05:58:25.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T05:58:25.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T05:58:25.390Z] Configure a credential helper to remove this warning. See [2021-02-23T05:58:25.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T05:58:25.390Z] [2021-02-23T05:58:25.390Z] Login Succeeded [2021-02-23T05:58:25.390Z] nexus3.edgexfoundry.org:10004 [2021-02-23T05:58:26.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T05:58:26.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T05:58:26.090Z] Configure a credential helper to remove this warning. See [2021-02-23T05:58:26.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T05:58:26.090Z] [2021-02-23T05:58:26.090Z] Login Succeeded [2021-02-23T05:58:26.090Z] docker.io [2021-02-23T05:58:27.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T05:58:27.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T05:58:27.428Z] Configure a credential helper to remove this warning. See [2021-02-23T05:58:27.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T05:58:27.428Z] [2021-02-23T05:58:27.428Z] Login Succeeded [2021-02-23T05:58:27.428Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T05:58:27.536Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-23T05:58:29.807Z] ========================================================= [2021-02-23T05:58:29.807Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-23T05:58:29.807Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-23T05:58:30.381Z] + 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-23T05:58:31.712Z] Sending build context to Docker daemon 2.393MB [2021-02-23T05:58:31.712Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T05:58:31.712Z] Step 2/8 : FROM ${BASE} [2021-02-23T05:58:32.143Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-23T05:58:32.143Z] 188c0c94c7c5: Pulling fs layer [2021-02-23T05:58:32.143Z] 0ef7d3d256c8: Pulling fs layer [2021-02-23T05:58:32.143Z] de9db76c5a1d: Pulling fs layer [2021-02-23T05:58:32.143Z] bca2f99d35d6: Pulling fs layer [2021-02-23T05:58:32.143Z] 93359f2a8cfa: Pulling fs layer [2021-02-23T05:58:32.143Z] 7c6f9722023f: Pulling fs layer [2021-02-23T05:58:32.143Z] a35cf1a2eb13: Pulling fs layer [2021-02-23T05:58:32.143Z] bca2f99d35d6: Waiting [2021-02-23T05:58:32.143Z] 93359f2a8cfa: Waiting [2021-02-23T05:58:32.143Z] 7c6f9722023f: Waiting [2021-02-23T05:58:32.143Z] a35cf1a2eb13: Waiting [2021-02-23T05:58:32.143Z] de9db76c5a1d: Verifying Checksum [2021-02-23T05:58:32.143Z] de9db76c5a1d: Download complete [2021-02-23T05:58:32.143Z] 0ef7d3d256c8: Verifying Checksum [2021-02-23T05:58:32.143Z] 0ef7d3d256c8: Download complete [2021-02-23T05:58:32.952Z] 93359f2a8cfa: Download complete [2021-02-23T05:58:32.952Z] 7c6f9722023f: Verifying Checksum [2021-02-23T05:58:32.952Z] 7c6f9722023f: Download complete [2021-02-23T05:58:33.777Z] 188c0c94c7c5: Verifying Checksum [2021-02-23T05:58:33.777Z] 188c0c94c7c5: Download complete [2021-02-23T05:58:34.470Z] 188c0c94c7c5: Pull complete [2021-02-23T05:58:35.334Z] 0ef7d3d256c8: Pull complete [2021-02-23T05:58:35.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-23T05:58:35.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-23T05:58:35.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-23T05:58:35.435Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.119s coverage: 25.5% of statements [2021-02-23T05:58:35.671Z] de9db76c5a1d: Pull complete [2021-02-23T05:58:41.879Z] a35cf1a2eb13: Verifying Checksum [2021-02-23T05:58:41.879Z] a35cf1a2eb13: Download complete [2021-02-23T05:58:43.513Z] bca2f99d35d6: Verifying Checksum [2021-02-23T05:58:43.513Z] bca2f99d35d6: Download complete [2021-02-23T05:58:53.929Z] bca2f99d35d6: Pull complete [2021-02-23T05:58:54.277Z] 93359f2a8cfa: Pull complete [2021-02-23T05:58:55.399Z] 7c6f9722023f: Pull complete [2021-02-23T05:59:02.236Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.156s coverage: 10.1% of statements [2021-02-23T05:59:02.236Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.140s coverage: 12.5% of statements [2021-02-23T05:59:02.236Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-23T05:59:02.236Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.143s coverage: 84.8% of statements [2021-02-23T05:59:02.236Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-23T05:59:02.236Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-23T05:59:02.236Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-23T05:59:02.236Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-23T05:59:02.236Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.210s coverage: 49.2% of statements [2021-02-23T05:59:02.236Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-23T05:59:02.236Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.149s coverage: 81.3% of statements [2021-02-23T05:59:02.236Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.195s coverage: 24.8% of statements [2021-02-23T05:59:02.236Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.908s coverage: 83.5% of statements [2021-02-23T05:59:02.236Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.142s coverage: 5.3% of statements [2021-02-23T05:59:02.236Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-23T05:59:02.236Z] GO111MODULE=on go vet ./... [2021-02-23T05:59:04.229Z] a35cf1a2eb13: Pull complete [2021-02-23T05:59:04.229Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-23T05:59:04.229Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-23T05:59:04.229Z] ---> a62c8e92a672 [2021-02-23T05:59:04.229Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T05:59:04.229Z] ---> Running in 7a1f7e0facd9 [2021-02-23T05:59:04.229Z] Removing intermediate container 7a1f7e0facd9 [2021-02-23T05:59:04.229Z] ---> 0e0f79e53bbe [2021-02-23T05:59:04.229Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T05:59:04.229Z] ---> Running in 6492940d51ca [2021-02-23T05:59:07.278Z] Removing intermediate container 6492940d51ca [2021-02-23T05:59:07.278Z] ---> 8c7061ee490a [2021-02-23T05:59:07.278Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-23T05:59:07.278Z] ---> Running in 3a76e6a423de [2021-02-23T05:59:08.667Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-23T05:59:09.980Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-23T05:59:10.658Z] OK: 166 MiB in 39 packages [2021-02-23T05:59:11.829Z] Removing intermediate container 3a76e6a423de [2021-02-23T05:59:11.829Z] ---> f35e7038fa48 [2021-02-23T05:59:11.829Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-23T05:59:12.097Z] ---> Running in aa93f08aed5b [2021-02-23T05:59:12.381Z] Removing intermediate container aa93f08aed5b [2021-02-23T05:59:12.381Z] ---> 37ba2a7eb815 [2021-02-23T05:59:12.381Z] Step 7/8 : COPY . . [2021-02-23T05:59:14.501Z] ---> 7b435468bf99 [2021-02-23T05:59:14.501Z] Step 8/8 : RUN go mod download [2021-02-23T05:59:14.501Z] ---> Running in 6c8ef249c7c7 [2021-02-23T05:59:34.776Z] gofmt -l . [2021-02-23T05:59:35.050Z] [ "`gofmt -l .`" = "" ] [2021-02-23T05:59:35.327Z] ./bin/test-attribution-txt.sh [2021-02-23T05:59:36.305Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-23T05:59:36.930Z] $ docker stop --time=1 4b9137613b5777bbc9aed0e1150e7a1eceb97322a6aebd5145331d4473a0bf55 [2021-02-23T05:59:39.079Z] $ docker rm -f 4b9137613b5777bbc9aed0e1150e7a1eceb97322a6aebd5145331d4473a0bf55 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T05:59:40.239Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-23T05:59:40.994Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T05:59:43.940Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-23T05:59:44.291Z] + ls -al . [2021-02-23T05:59:44.291Z] total 220 [2021-02-23T05:59:44.291Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 05:59 . [2021-02-23T05:59:44.291Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 05:56 .. [2021-02-23T05:59:44.291Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 05:56 .dockerignore [2021-02-23T05:59:44.291Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 05:56 .git [2021-02-23T05:59:44.291Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 05:56 .github [2021-02-23T05:59:44.291Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 23 05:56 .gitignore [2021-02-23T05:59:44.291Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 23 05:56 Dockerfile.build [2021-02-23T05:59:44.291Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 23 05:56 Jenkinsfile [2021-02-23T05:59:44.291Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 23 05:56 LICENSE [2021-02-23T05:59:44.291Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 23 05:56 Makefile [2021-02-23T05:59:44.291Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 23 05:56 README.md [2021-02-23T05:59:44.291Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 23 05:56 RELEASE-NOTES.txt [2021-02-23T05:59:44.291Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 05:53 VERSION [2021-02-23T05:59:44.291Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 05:56 bin [2021-02-23T05:59:44.291Z] -rw-r--r-- 1 jenkins jenkins 101757 Feb 23 05:59 coverage.out [2021-02-23T05:59:44.291Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 05:56 example [2021-02-23T05:59:44.291Z] -rw-r--r-- 1 jenkins jenkins 515 Feb 23 05:59 go.mod [2021-02-23T05:59:44.291Z] -rw-r--r-- 1 jenkins jenkins 19062 Feb 23 05:59 go.sum [2021-02-23T05:59:44.291Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 23 05:56 internal [2021-02-23T05:59:44.291Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 05:56 openapi [2021-02-23T05:59:44.291Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 23 05:56 pkg [2021-02-23T05:59:44.291Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 05:56 snap [2021-02-23T05:59:44.291Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 23 05:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-23T05:59:44.676Z] + 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=cf1e79a50c13038e4678ee9448babdfd976f7249 --label arch=arm64 --label version=0.0.0 . [2021-02-23T05:59:44.948Z] Sending build context to Docker daemon 2.496MB [2021-02-23T05:59:44.948Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T05:59:44.948Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-23T05:59:44.948Z] ---> 44d88dc43523 [2021-02-23T05:59:44.948Z] Step 3/24 : ARG MAKE='make build' [2021-02-23T05:59:45.218Z] ---> Running in 89a4ee78a1cd [2021-02-23T05:59:45.815Z] Removing intermediate container 89a4ee78a1cd [2021-02-23T05:59:45.815Z] ---> 70ace959aaa5 [2021-02-23T05:59:45.815Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-23T05:59:45.815Z] ---> Running in 5fe4fb7995e7 [2021-02-23T05:59:46.410Z] Removing intermediate container 5fe4fb7995e7 [2021-02-23T05:59:46.410Z] ---> 20260eb2666a [2021-02-23T05:59:46.410Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T05:59:46.410Z] ---> Running in 24837cb7faa1 [2021-02-23T05:59:47.009Z] Removing intermediate container 24837cb7faa1 [2021-02-23T05:59:47.009Z] ---> dd25937ef227 [2021-02-23T05:59:47.009Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T05:59:47.009Z] ---> Running in 3a17d85e0280 [2021-02-23T05:59:48.995Z] Removing intermediate container 3a17d85e0280 [2021-02-23T05:59:48.995Z] ---> 90cf3237da8f [2021-02-23T05:59:48.995Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-23T05:59:49.274Z] ---> Running in 76bc57c42b4f [2021-02-23T05:59:50.250Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-23T05:59:50.844Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-23T05:59:51.437Z] OK: 142 MiB in 39 packages [2021-02-23T05:59:52.419Z] Removing intermediate container 76bc57c42b4f [2021-02-23T05:59:52.419Z] ---> a38c52e6ce7c [2021-02-23T05:59:52.419Z] Step 8/24 : COPY . . [2021-02-23T05:59:53.858Z] ---> 16983eb36436 [2021-02-23T05:59:53.858Z] Step 9/24 : RUN ${MAKE} [2021-02-23T05:59:53.858Z] ---> Running in 02400598d2c7 [2021-02-23T05:59:54.838Z] 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-23T06:00:04.330Z] Removing intermediate container 6c8ef249c7c7 [2021-02-23T06:00:04.330Z] ---> bbacadb9b51a [2021-02-23T06:00:04.330Z] Successfully built bbacadb9b51a [2021-02-23T06:00:04.330Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T06:00:04.953Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-23T06:00:05.893Z] . [Pipeline] withDockerContainer [2021-02-23T06:00:06.492Z] prd-centos7-docker-4c-2g-27281 does not seem to be running inside a container [2021-02-23T06:00:06.755Z] $ 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-23T06:00:08.915Z] $ docker top 30be9d1063b7e7bc696afa63dafdb963285835392479662b7d16ea11510959da -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T06:00:10.283Z] + go version [2021-02-23T06:00:10.283Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-23T06:00:10.381Z] $ docker stop --time=1 30be9d1063b7e7bc696afa63dafdb963285835392479662b7d16ea11510959da [2021-02-23T06:00:12.355Z] $ docker rm -f 30be9d1063b7e7bc696afa63dafdb963285835392479662b7d16ea11510959da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-23T06:00:14.218Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-23T06:00:14.495Z] . [Pipeline] withDockerContainer [2021-02-23T06:00:15.323Z] prd-centos7-docker-4c-2g-27281 does not seem to be running inside a container [2021-02-23T06:00:15.508Z] $ 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-23T06:00:17.914Z] $ docker top b3fb3c59cda57365023bdc29ac8475b1197fd3ec2ec90934de24dbba029cf567 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T06:00:20.563Z] + make test [2021-02-23T06:00:20.563Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-23T06:00:21.673Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-23T06:00:22.316Z] Removing intermediate container 02400598d2c7 [2021-02-23T06:00:22.316Z] ---> a2b985ae0f8c [2021-02-23T06:00:22.316Z] Step 10/24 : FROM scratch [2021-02-23T06:00:22.316Z] ---> [2021-02-23T06:00:22.316Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T06:00:22.316Z] ---> Running in 568e01638c42 [2021-02-23T06:00:22.588Z] Removing intermediate container 568e01638c42 [2021-02-23T06:00:22.588Z] ---> 4ac7fc2fdfe2 [2021-02-23T06:00:22.588Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-23T06:00:22.862Z] ---> Running in 3424a076bb9f [2021-02-23T06:00:23.134Z] Removing intermediate container 3424a076bb9f [2021-02-23T06:00:23.134Z] ---> edf2b75df90c [2021-02-23T06:00:23.134Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-23T06:00:23.407Z] ---> Running in cd2c9f9319f4 [2021-02-23T06:00:23.681Z] Removing intermediate container cd2c9f9319f4 [2021-02-23T06:00:23.681Z] ---> 3715e2cb5dbe [2021-02-23T06:00:23.682Z] Step 14/24 : WORKDIR / [2021-02-23T06:00:23.959Z] ---> Running in d9d3e72b66bd [2021-02-23T06:00:24.236Z] Removing intermediate container d9d3e72b66bd [2021-02-23T06:00:24.236Z] ---> 6685c200580e [2021-02-23T06:00:24.236Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-23T06:00:25.674Z] ---> e54e953f6cef [2021-02-23T06:00:25.674Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-23T06:00:26.269Z] ---> 61b4fbc55886 [2021-02-23T06:00:26.269Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-23T06:00:26.867Z] ---> cad3941a3b06 [2021-02-23T06:00:26.867Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-23T06:00:27.849Z] ---> 13d0b1290313 [2021-02-23T06:00:27.849Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-23T06:00:28.445Z] ---> 806bad8763ba [2021-02-23T06:00:28.445Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-23T06:00:28.719Z] ---> Running in c3e011c9e50c [2021-02-23T06:00:28.991Z] Removing intermediate container c3e011c9e50c [2021-02-23T06:00:28.991Z] ---> 98d444409575 [2021-02-23T06:00:28.991Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-23T06:00:29.265Z] ---> Running in 340a95279109 [2021-02-23T06:00:29.540Z] Removing intermediate container 340a95279109 [2021-02-23T06:00:29.540Z] ---> e8c4debdbea0 [2021-02-23T06:00:29.540Z] Step 22/24 : LABEL arch=arm64 [2021-02-23T06:00:29.815Z] ---> Running in 1601e1eedce5 [2021-02-23T06:00:30.413Z] Removing intermediate container 1601e1eedce5 [2021-02-23T06:00:30.413Z] ---> 48ebba1f9143 [2021-02-23T06:00:30.413Z] Step 23/24 : LABEL git_sha=cf1e79a50c13038e4678ee9448babdfd976f7249 [2021-02-23T06:00:30.413Z] ---> Running in 83ce17f9b379 [2021-02-23T06:00:30.695Z] Removing intermediate container 83ce17f9b379 [2021-02-23T06:00:30.695Z] ---> 8966e4a3fbc5 [2021-02-23T06:00:30.695Z] Step 24/24 : LABEL version=0.0.0 [2021-02-23T06:00:30.970Z] ---> Running in 10dc03a51a5f [2021-02-23T06:00:31.242Z] Removing intermediate container 10dc03a51a5f [2021-02-23T06:00:31.243Z] ---> bddfea3ee0dc [2021-02-23T06:00:31.243Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-23T06:00:31.523Z] Successfully built bddfea3ee0dc [2021-02-23T06:00:31.523Z] 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-23T06:00:44.008Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-23T06:01:24.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-23T06:01:24.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-23T06:01:24.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-23T06:01:28.015Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.089s coverage: 25.5% of statements [2021-02-23T06:01:55.976Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.265s coverage: 10.1% of statements [2021-02-23T06:01:55.976Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.197s coverage: 12.5% of statements [2021-02-23T06:01:55.976Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-23T06:01:55.976Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.192s coverage: 84.8% of statements [2021-02-23T06:01:55.976Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-23T06:01:55.976Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-23T06:01:55.976Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-23T06:01:55.976Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-23T06:01:55.976Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.323s coverage: 49.2% of statements [2021-02-23T06:01:55.976Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-23T06:01:55.976Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.139s coverage: 81.3% of statements [2021-02-23T06:01:55.976Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.106s coverage: 24.8% of statements [2021-02-23T06:01:55.976Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.449s coverage: 83.5% of statements [2021-02-23T06:01:55.976Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.102s coverage: 5.3% of statements [2021-02-23T06:01:55.976Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-23T06:01:55.976Z] GO111MODULE=on go vet ./... [2021-02-23T06:02:29.691Z] gofmt -l . [2021-02-23T06:02:29.691Z] [ "`gofmt -l .`" = "" ] [2021-02-23T06:02:29.691Z] ./bin/test-attribution-txt.sh [2021-02-23T06:02:29.691Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-23T06:02:30.472Z] $ docker stop --time=1 b3fb3c59cda57365023bdc29ac8475b1197fd3ec2ec90934de24dbba029cf567 [2021-02-23T06:02:33.457Z] $ docker rm -f b3fb3c59cda57365023bdc29ac8475b1197fd3ec2ec90934de24dbba029cf567 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T06:02:35.996Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-23T06:02:36.075Z] Warning: overwriting stash ‘coverage-report’ [2021-02-23T06:02:37.591Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-23T06:02:38.657Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-23T06:02:39.088Z] + ls -al . [2021-02-23T06:02:39.088Z] total 184 [2021-02-23T06:02:39.088Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 23 06:02 . [2021-02-23T06:02:39.088Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 23 05:58 .. [2021-02-23T06:02:39.088Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 23 05:58 bin [2021-02-23T06:02:39.088Z] -rw-r--r--. 1 jenkins jenkins 101758 Feb 23 06:01 coverage.out [2021-02-23T06:02:39.088Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 23 05:58 Dockerfile.build [2021-02-23T06:02:39.088Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 23 05:58 .dockerignore [2021-02-23T06:02:39.088Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 23 05:58 example [2021-02-23T06:02:39.088Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 23 05:58 .git [2021-02-23T06:02:39.088Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 23 05:58 .github [2021-02-23T06:02:39.088Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 23 05:58 .gitignore [2021-02-23T06:02:39.088Z] -rw-r--r--. 1 jenkins jenkins 515 Feb 23 06:02 go.mod [2021-02-23T06:02:39.088Z] -rw-r--r--. 1 jenkins jenkins 19062 Feb 23 06:02 go.sum [2021-02-23T06:02:39.088Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 23 05:58 internal [2021-02-23T06:02:39.088Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 23 05:58 Jenkinsfile [2021-02-23T06:02:39.088Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 23 05:58 LICENSE [2021-02-23T06:02:39.088Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 23 05:58 Makefile [2021-02-23T06:02:39.088Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 23 05:58 openapi [2021-02-23T06:02:39.088Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 23 05:58 pkg [2021-02-23T06:02:39.088Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 23 05:58 README.md [2021-02-23T06:02:39.088Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 23 05:58 RELEASE-NOTES.txt [2021-02-23T06:02:39.088Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 23 05:58 snap [2021-02-23T06:02:39.088Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 23 05:53 VERSION [2021-02-23T06:02:39.088Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 23 05:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-23T06:02:39.552Z] + 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=cf1e79a50c13038e4678ee9448babdfd976f7249 --label arch=amd64 --label version=0.0.0 . [2021-02-23T06:02:40.776Z] Sending build context to Docker daemon 2.495MB [2021-02-23T06:02:40.776Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T06:02:40.776Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-23T06:02:40.776Z] ---> bbacadb9b51a [2021-02-23T06:02:40.776Z] Step 3/24 : ARG MAKE='make build' [2021-02-23T06:02:41.086Z] ---> Running in 8920745c7727 [2021-02-23T06:02:41.734Z] Removing intermediate container 8920745c7727 [2021-02-23T06:02:41.734Z] ---> 3e7c5e2ef5f3 [2021-02-23T06:02:41.734Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-23T06:02:41.734Z] ---> Running in bc7b36bd9176 [2021-02-23T06:02:42.133Z] Removing intermediate container bc7b36bd9176 [2021-02-23T06:02:42.133Z] ---> 662580c22c75 [2021-02-23T06:02:42.133Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T06:02:42.133Z] ---> Running in 0c871425e7ba [2021-02-23T06:02:42.768Z] Removing intermediate container 0c871425e7ba [2021-02-23T06:02:42.768Z] ---> 6ce562ed1f6c [2021-02-23T06:02:42.768Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T06:02:42.768Z] ---> Running in 8edab64aa0f4 [2021-02-23T06:02:44.321Z] Removing intermediate container 8edab64aa0f4 [2021-02-23T06:02:44.321Z] ---> f65f77d8eef7 [2021-02-23T06:02:44.321Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-23T06:02:44.321Z] ---> Running in aeb917935905 [2021-02-23T06:02:47.118Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-23T06:02:47.402Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-23T06:02:48.069Z] OK: 166 MiB in 39 packages [2021-02-23T06:02:49.419Z] Removing intermediate container aeb917935905 [2021-02-23T06:02:49.419Z] ---> b07bccb2c406 [2021-02-23T06:02:49.419Z] Step 8/24 : COPY . . [2021-02-23T06:02:51.353Z] ---> 69a39bdd62c0 [2021-02-23T06:02:51.353Z] Step 9/24 : RUN ${MAKE} [2021-02-23T06:02:51.672Z] ---> Running in c5e0c3064ba9 [2021-02-23T06:02:53.348Z] 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-23T06:03:16.837Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-23T06:03:18.261Z] Removing intermediate container c5e0c3064ba9 [2021-02-23T06:03:18.261Z] ---> dd9946885f64 [2021-02-23T06:03:18.261Z] Step 10/24 : FROM scratch [2021-02-23T06:03:18.261Z] ---> [2021-02-23T06:03:18.261Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T06:03:18.261Z] ---> Running in dc9e8a058502 [2021-02-23T06:03:19.001Z] Removing intermediate container dc9e8a058502 [2021-02-23T06:03:19.001Z] ---> 9753f155486d [2021-02-23T06:03:19.001Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-23T06:03:19.276Z] ---> Running in dbf97c5c33a7 [2021-02-23T06:03:19.551Z] Removing intermediate container dbf97c5c33a7 [2021-02-23T06:03:19.551Z] ---> c5a4e5ab1250 [2021-02-23T06:03:19.551Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-23T06:03:20.149Z] ---> Running in 9da475bf1c44 [2021-02-23T06:03:20.779Z] Removing intermediate container 9da475bf1c44 [2021-02-23T06:03:20.779Z] ---> 95f33e565fe6 [2021-02-23T06:03:20.779Z] Step 14/24 : WORKDIR / [2021-02-23T06:03:21.066Z] ---> Running in c60d313252f7 [2021-02-23T06:03:21.354Z] Removing intermediate container c60d313252f7 [2021-02-23T06:03:21.354Z] ---> 403c88c88c74 [2021-02-23T06:03:21.354Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-23T06:03:22.423Z] ---> 29854af4ee14 [2021-02-23T06:03:22.423Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-23T06:03:23.064Z] ---> 8ff28b08817f [2021-02-23T06:03:23.064Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-23T06:03:23.706Z] ---> e964ff98e747 [2021-02-23T06:03:23.706Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-23T06:03:23.997Z] ---> d13c136d1a5b [2021-02-23T06:03:23.997Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-23T06:03:24.600Z] ---> 897e75d1f6f0 [2021-02-23T06:03:24.600Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-23T06:03:24.922Z] ---> Running in 303761ea8391 [2021-02-23T06:03:26.847Z] Removing intermediate container 303761ea8391 [2021-02-23T06:03:26.848Z] ---> e8d88b8ac87d [2021-02-23T06:03:26.848Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-23T06:03:26.848Z] ---> Running in 227aadf97f1f [2021-02-23T06:03:26.848Z] Removing intermediate container 227aadf97f1f [2021-02-23T06:03:26.848Z] ---> 71364627d1cd [2021-02-23T06:03:26.848Z] Step 22/24 : LABEL arch=amd64 [2021-02-23T06:03:27.146Z] ---> Running in efd7c99d71ec [2021-02-23T06:03:27.426Z] Removing intermediate container efd7c99d71ec [2021-02-23T06:03:27.426Z] ---> 7b020c31a7ab [2021-02-23T06:03:27.426Z] Step 23/24 : LABEL git_sha=cf1e79a50c13038e4678ee9448babdfd976f7249 [2021-02-23T06:03:27.787Z] ---> Running in ebc653f82952 [2021-02-23T06:03:29.272Z] Removing intermediate container ebc653f82952 [2021-02-23T06:03:29.272Z] ---> efae193176c5 [2021-02-23T06:03:29.272Z] Step 24/24 : LABEL version=0.0.0 [2021-02-23T06:03:29.272Z] ---> Running in 462535f4070d [2021-02-23T06:03:29.902Z] Removing intermediate container 462535f4070d [2021-02-23T06:03:29.902Z] ---> 84df14be22f8 [2021-02-23T06:03:29.902Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-23T06:03:30.230Z] Successfully built 84df14be22f8 [2021-02-23T06:03:30.230Z] 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-23T06:03:33.000Z] provisioning config files... [2021-02-23T06:03:33.010Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/config4763934857699909222tmp [Pipeline] { [Pipeline] sh [2021-02-23T06:03:33.445Z] + set +x [2021-02-23T06:03:33.445Z] + curl -s https://codecov.io/bash [2021-02-23T06:03:33.445Z] + bash -s -- [2021-02-23T06:03:33.709Z] [2021-02-23T06:03:33.709Z] _____ _ [2021-02-23T06:03:33.709Z] / ____| | | [2021-02-23T06:03:33.709Z] | | ___ __| | ___ ___ _____ __ [2021-02-23T06:03:33.709Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-23T06:03:33.709Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-23T06:03:33.709Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-23T06:03:33.709Z] Bash-20210129-7c25fce [2021-02-23T06:03:33.709Z] [2021-02-23T06:03:33.709Z] [2021-02-23T06:03:33.709Z] ==> git version 2.24.3 found [2021-02-23T06:03:33.971Z] ==> 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-23T06:03:33.971Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-23T06:03:33.972Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-23T06:03:33.972Z] ==> Jenkins CI detected. [2021-02-23T06:03:33.972Z] project root: . [2021-02-23T06:03:33.972Z] --> token set from env [2021-02-23T06:03:33.972Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-23T06:03:33.972Z] ==> Running gcov in . (disable via -X gcov) [2021-02-23T06:03:33.972Z] ==> Python coveragepy not found [2021-02-23T06:03:33.972Z] ==> Searching for coverage reports in: [2021-02-23T06:03:33.972Z] + . [2021-02-23T06:03:33.972Z] -> Found 1 reports [2021-02-23T06:03:33.972Z] ==> Detecting git/mercurial file structure [2021-02-23T06:03:33.972Z] ==> Reading reports [2021-02-23T06:03:33.972Z] + ./coverage.out bytes=101758 [2021-02-23T06:03:33.972Z] ==> Appending adjustments [2021-02-23T06:03:33.972Z] https://docs.codecov.io/docs/fixing-reports [2021-02-23T06:03:34.241Z] + Found adjustments [2021-02-23T06:03:34.241Z] ==> Gzipping contents [2021-02-23T06:03:34.241Z] 20K /tmp/codecov.21uVAx.gz [2021-02-23T06:03:34.241Z] ==> Uploading reports [2021-02-23T06:03:34.241Z] url: https://codecov.io [2021-02-23T06:03:34.241Z] query: branch=PR-794&commit=cf1e79a50c13038e4678ee9448babdfd976f7249&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-794%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=794&job=&cmd_args= [2021-02-23T06:03:34.505Z] -> Pinging Codecov [2021-02-23T06:03:34.505Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-794&commit=cf1e79a50c13038e4678ee9448babdfd976f7249&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-794%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=794&job=&cmd_args= [2021-02-23T06:03:35.457Z] -> Uploading to [2021-02-23T06:03:35.457Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-23/7E55EF52A471D76F132DFD9A03CDDE97/cf1e79a50c13038e4678ee9448babdfd976f7249/4a29304a-6d59-4d60-b068-a0bb038b91cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210223T060335Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=444bf5c3e3c3f816581d8c26a972ceedc46cf5ce0b6407f3d50f8bc33f9ce284 [2021-02-23T06:03:35.457Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-23T06:03:35.457Z] Dload Upload Total Spent Left Speed [2021-02-23T06:03:36.062Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16479 0 0 100 16479 0 33682 --:--:-- --:--:-- --:--:-- 33630 100 16479 0 0 100 16479 0 33670 --:--:-- --:--:-- --:--:-- 33630 [2021-02-23T06:03:36.062Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cf1e79a50c13038e4678ee9448babdfd976f7249 [Pipeline] } [2021-02-23T06:03:36.094Z] 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-23T06:03:39.805Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T06:03:40.175Z] ---> package-listing.sh [2021-02-23T06:03:40.175Z] ++ facter osfamily [2021-02-23T06:03:40.175Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-23T06:03:40.175Z] + OS_FAMILY=redhat [2021-02-23T06:03:40.175Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-794 [2021-02-23T06:03:40.175Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-23T06:03:40.175Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-23T06:03:40.175Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-23T06:03:40.175Z] + PACKAGES=/tmp/packages_start.txt [2021-02-23T06:03:40.175Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-794 ']' [2021-02-23T06:03:40.175Z] + PACKAGES=/tmp/packages_end.txt [2021-02-23T06:03:40.175Z] + case "${OS_FAMILY}" in [2021-02-23T06:03:40.175Z] + rpm -qa [2021-02-23T06:03:40.175Z] + sort [2021-02-23T06:03:45.524Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-23T06:03:45.524Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-23T06:03:45.524Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-23T06:03:45.524Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-794 ']' [2021-02-23T06:03:45.524Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-794/archives/ [2021-02-23T06:03:45.524Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-794/archives/ [Pipeline] echo [2021-02-23T06:03:45.574Z] 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-794/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-23T06:03:45.885Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-23T06:03:46.238Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T06:03:46.238Z] [2021-02-23T06:03:46.238Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-23T06:03:46.656Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T06:03:46.657Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-23T06:03:46.657Z] df20fa9351a1: Pulling fs layer [2021-02-23T06:03:46.657Z] 36b3adc4ff6f: Pulling fs layer [2021-02-23T06:03:46.657Z] 8ad3a11d3b57: Pulling fs layer [2021-02-23T06:03:46.657Z] 46f8f816bc3b: Pulling fs layer [2021-02-23T06:03:46.657Z] 93b61091891f: Pulling fs layer [2021-02-23T06:03:46.657Z] 93b9cdb0e59b: Pulling fs layer [2021-02-23T06:03:46.657Z] 5e14af77c1be: Pulling fs layer [2021-02-23T06:03:46.657Z] 01666e4c0597: Pulling fs layer [2021-02-23T06:03:46.657Z] aa168da1d23b: Pulling fs layer [2021-02-23T06:03:46.657Z] 93b9cdb0e59b: Waiting [2021-02-23T06:03:46.657Z] 5e14af77c1be: Waiting [2021-02-23T06:03:46.657Z] aa168da1d23b: Waiting [2021-02-23T06:03:46.657Z] 46f8f816bc3b: Waiting [2021-02-23T06:03:46.657Z] 01666e4c0597: Waiting [2021-02-23T06:03:46.657Z] 93b61091891f: Waiting [2021-02-23T06:03:46.657Z] 36b3adc4ff6f: Verifying Checksum [2021-02-23T06:03:46.657Z] 36b3adc4ff6f: Download complete [2021-02-23T06:03:46.657Z] 46f8f816bc3b: Verifying Checksum [2021-02-23T06:03:46.657Z] 46f8f816bc3b: Download complete [2021-02-23T06:03:46.657Z] df20fa9351a1: Verifying Checksum [2021-02-23T06:03:46.657Z] df20fa9351a1: Download complete [2021-02-23T06:03:46.657Z] 93b9cdb0e59b: Verifying Checksum [2021-02-23T06:03:46.657Z] 93b9cdb0e59b: Download complete [2021-02-23T06:03:46.922Z] 5e14af77c1be: Verifying Checksum [2021-02-23T06:03:46.922Z] 5e14af77c1be: Download complete [2021-02-23T06:03:46.922Z] 93b61091891f: Verifying Checksum [2021-02-23T06:03:46.922Z] 93b61091891f: Download complete [2021-02-23T06:03:46.922Z] 01666e4c0597: Verifying Checksum [2021-02-23T06:03:46.922Z] 01666e4c0597: Download complete [2021-02-23T06:03:46.922Z] 8ad3a11d3b57: Verifying Checksum [2021-02-23T06:03:46.922Z] 8ad3a11d3b57: Download complete [2021-02-23T06:03:47.187Z] df20fa9351a1: Pull complete [2021-02-23T06:03:47.455Z] 36b3adc4ff6f: Pull complete [2021-02-23T06:03:48.428Z] 8ad3a11d3b57: Pull complete [2021-02-23T06:03:48.695Z] aa168da1d23b: Verifying Checksum [2021-02-23T06:03:48.695Z] aa168da1d23b: Download complete [2021-02-23T06:03:48.695Z] 46f8f816bc3b: Pull complete [2021-02-23T06:03:48.958Z] 93b61091891f: Pull complete [2021-02-23T06:03:49.221Z] 93b9cdb0e59b: Pull complete [2021-02-23T06:03:49.221Z] 5e14af77c1be: Pull complete [2021-02-23T06:03:49.485Z] 01666e4c0597: Pull complete [2021-02-23T06:03:56.136Z] aa168da1d23b: Pull complete [2021-02-23T06:03:56.136Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-23T06:03:56.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T06:03:56.136Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-23T06:03:56.351Z] prd-centos7-docker-4c-2g-27279 does not seem to be running inside a container [2021-02-23T06:03:56.399Z] $ 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-794/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-794 -v /w/workspace/dgexfoundry_device-sdk-go_PR-794:/w/workspace/dgexfoundry_device-sdk-go_PR-794:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-794@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-23T06:04:00.259Z] $ docker top b52f82c1680e5ea107f321fe76e05d62bd0b14a9a1da784ca5d88549b3bb3b31 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T06:04:00.797Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-23T06:04:01.118Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-23T06:04:01.443Z] + ls /var/log/sa-host [2021-02-23T06:04:01.443Z] + sadf -c /var/log/sa-host/sa23 [2021-02-23T06:04:01.443Z] file_magic: OK [2021-02-23T06:04:01.443Z] HZ: Using current value: 100 [2021-02-23T06:04:01.443Z] file_header: OK [2021-02-23T06:04:01.443Z] 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-23T06:04:01.443Z] Statistics: [2021-02-23T06:04:01.443Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-23T06:04:01.443Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-23T06:04:02.109Z] provisioning config files... [2021-02-23T06:04:02.127Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/config4899669155972963555tmp [Pipeline] { [Pipeline] echo [2021-02-23T06:04:02.273Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T06:04:02.615Z] ---> create-netrc.sh [Pipeline] } [2021-02-23T06:04:02.639Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-23T06:04:02.784Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T06:04:03.116Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-23T06:04:03.147Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T06:04:03.483Z] ---> sudo-logs.sh [2021-02-23T06:04:03.483Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-23T06:04:03.610Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T06:04:03.953Z] ---> job-cost.sh [2021-02-23T06:04:03.953Z] lf-activate-venv: SKIPPING [2021-02-23T06:04:03.953Z] INFO: No Stack... [2021-02-23T06:04:05.355Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-23T06:04:05.618Z] INFO: Archiving Costs [Pipeline] echo [2021-02-23T06:04:05.659Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T06:04:06.011Z] ---> logs-deploy.sh [2021-02-23T06:04:06.011Z] lf-activate-venv: SKIPPING [2021-02-23T06:04:06.011Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-794/1 [2021-02-23T06:04:06.011Z] INFO: archiving workspace using pattern(s): [2021-02-23T06:04:07.932Z] Archives upload complete. [2021-02-23T06:04:07.932Z] INFO: archiving logs to Nexus