Pull request #818 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 691fc8b9f319e7052e6cfef84f2f113a2a103960+4a48ed36b56f70f387819c322f1a51e9c7883451 (20c44d30f2cc3d9587f72a67b7d58bcbc0b29b8c) 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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-818/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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-818/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29930’ Running on prd-centos7-docker-4c-2g-29932 in /w/workspace/dgexfoundry_device-sdk-go_PR-818 [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-818 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/818/head:refs/remotes/origin/PR-818 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4a48ed36b56f70f387819c322f1a51e9c7883451 into PR head commit 691fc8b9f319e7052e6cfef84f2f113a2a103960 Merge succeeded, producing 691fc8b9f319e7052e6cfef84f2f113a2a103960 Checking out Revision 691fc8b9f319e7052e6cfef84f2f113a2a103960 (PR-818) > git config core.sparsecheckout # timeout=10 > git checkout -f 691fc8b9f319e7052e6cfef84f2f113a2a103960 # 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 4a48ed36b56f70f387819c322f1a51e9c7883451 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 691fc8b9f319e7052e6cfef84f2f113a2a103960 # timeout=10 Commit message: "feat: add GetProfileByName function API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-16T04:04:42.410Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-16T04:04:42.818Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-16T04:04:43.137Z] ========================================================= [2021-03-16T04:04:43.137Z] EdgeX Global Pipelines Version Info [2021-03-16T04:04:43.137Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:04:46.521Z] ------------------- [2021-03-16T04:04:46.521Z] stable info: [2021-03-16T04:04:46.521Z] ------------------- [2021-03-16T04:04:46.521Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-16T04:04:46.521Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-16T04:04:46.521Z] Message: update stable to v1.0.184 [2021-03-16T04:04:47.522Z] ------------------- [2021-03-16T04:04:47.522Z] experimental info: [2021-03-16T04:04:47.522Z] ------------------- [2021-03-16T04:04:47.522Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-16T04:04:47.522Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-16T04:04:47.522Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-16T04:04:47.925Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-16T04:04:48.099Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-16T04:04:48.242Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-16T04:04:48.394Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-16T04:04:48.525Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-16T04:04:48.653Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-16T04:04:48.808Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-16T04:04:48.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-16T04:04:49.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-16T04:04:49.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-16T04:04:49.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-16T04:04:49.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-16T04:04:49.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-16T04:04:49.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-16T04:04:50.124Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-16T04:04:50.324Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T04:04:50.507Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T04:04:50.640Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T04:04:50.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-16T04:04:50.920Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-16T04:04:51.089Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-16T04:04:51.238Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-16T04:04:51.403Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-16T04:04:51.560Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-16T04:04:51.774Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-16T04:04:51.897Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-16T04:04:52.049Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-818 [Pipeline] echo [2021-03-16T04:04:52.188Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-818 [Pipeline] echo [2021-03-16T04:04:52.306Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-818 [Pipeline] echo [2021-03-16T04:04:52.433Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 691fc8b9f319e7052e6cfef84f2f113a2a103960 [Pipeline] echo [2021-03-16T04:04:52.561Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 691fc8b [Pipeline] echo [2021-03-16T04:04:52.729Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T04:04:52.982Z] provisioning config files... [2021-03-16T04:04:53.038Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp/config50867435194875374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:04:53.600Z] ---> docker-login.sh [2021-03-16T04:04:53.600Z] nexus3.edgexfoundry.org:10001 [2021-03-16T04:04:55.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:04:56.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:04:56.223Z] Configure a credential helper to remove this warning. See [2021-03-16T04:04:56.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:04:56.223Z] [2021-03-16T04:04:56.223Z] Login Succeeded [2021-03-16T04:04:56.224Z] nexus3.edgexfoundry.org:10002 [2021-03-16T04:04:57.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:04:57.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:04:57.350Z] Configure a credential helper to remove this warning. See [2021-03-16T04:04:57.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:04:57.350Z] [2021-03-16T04:04:57.350Z] Login Succeeded [2021-03-16T04:04:57.350Z] nexus3.edgexfoundry.org:10003 [2021-03-16T04:04:57.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:04:57.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:04:57.938Z] Configure a credential helper to remove this warning. See [2021-03-16T04:04:57.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:04:57.938Z] [2021-03-16T04:04:57.938Z] Login Succeeded [2021-03-16T04:04:57.938Z] nexus3.edgexfoundry.org:10004 [2021-03-16T04:04:57.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:04:58.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:04:58.206Z] Configure a credential helper to remove this warning. See [2021-03-16T04:04:58.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:04:58.206Z] [2021-03-16T04:04:58.206Z] Login Succeeded [2021-03-16T04:04:58.206Z] docker.io [2021-03-16T04:04:58.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:04:58.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:04:58.473Z] Configure a credential helper to remove this warning. See [2021-03-16T04:04:58.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:04:58.473Z] [2021-03-16T04:04:58.473Z] Login Succeeded [2021-03-16T04:04:58.473Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T04:04:58.514Z] 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-03-16T04:04:59.688Z] + git log --format=format:%s -1 691fc8b9f319e7052e6cfef84f2f113a2a103960 [Pipeline] echo [2021-03-16T04:04:59.847Z] GIT_COMMIT: 691fc8b9f319e7052e6cfef84f2f113a2a103960, Commit Message: feat: add GetProfileByName function API [Pipeline] echo [2021-03-16T04:04:59.921Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:05:00.690Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T04:05:00.966Z] [2021-03-16T04:05:00.966Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:05:01.470Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T04:05:01.781Z] latest: Pulling from edgex-devops/git-semver [2021-03-16T04:05:01.781Z] 31603596830f: Pulling fs layer [2021-03-16T04:05:01.781Z] 2a8b12db71e7: Pulling fs layer [2021-03-16T04:05:01.781Z] 6ca5941a6612: Pulling fs layer [2021-03-16T04:05:01.781Z] ecc8261a40a4: Pulling fs layer [2021-03-16T04:05:01.781Z] ecc8261a40a4: Waiting [2021-03-16T04:05:01.781Z] 2a8b12db71e7: Verifying Checksum [2021-03-16T04:05:01.781Z] 2a8b12db71e7: Download complete [2021-03-16T04:05:02.054Z] 31603596830f: Verifying Checksum [2021-03-16T04:05:02.054Z] 31603596830f: Download complete [2021-03-16T04:05:02.054Z] ecc8261a40a4: Verifying Checksum [2021-03-16T04:05:02.054Z] ecc8261a40a4: Download complete [2021-03-16T04:05:02.328Z] 6ca5941a6612: Verifying Checksum [2021-03-16T04:05:02.328Z] 6ca5941a6612: Download complete [2021-03-16T04:05:02.921Z] 31603596830f: Pull complete [2021-03-16T04:05:03.228Z] 2a8b12db71e7: Pull complete [2021-03-16T04:05:05.947Z] 6ca5941a6612: Pull complete [2021-03-16T04:05:06.546Z] ecc8261a40a4: Pull complete [2021-03-16T04:05:06.546Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-16T04:05:06.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T04:05:06.546Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-16T04:05:06.964Z] prd-centos7-docker-4c-2g-29932 does not seem to be running inside a container [2021-03-16T04:05:07.147Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-818 -v /w/workspace/dgexfoundry_device-sdk-go_PR-818:/w/workspace/dgexfoundry_device-sdk-go_PR-818:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-16T04:05:11.152Z] $ docker top d929b751a58dc16b846ea5b731e56b80edfcf37176eb9ccc3f4446f80569b5fe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-16T04:05:11.625Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T04:05:11.625Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T04:05:12.560Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T04:05:12.567Z] $ docker exec d929b751a58dc16b846ea5b731e56b80edfcf37176eb9ccc3f4446f80569b5fe ssh-agent [2021-03-16T04:05:13.150Z] SSH_AUTH_SOCK=/tmp/ssh-nly4YLDsya0p/agent.11 [2021-03-16T04:05:13.150Z] SSH_AGENT_PID=16 [2021-03-16T04:05:13.192Z] Running ssh-add (command line suppressed) [2021-03-16T04:05:13.663Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp/private_key_5905054200930076591.key (/w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp/private_key_5905054200930076591.key) [2021-03-16T04:05:13.977Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T04:05:14.776Z] + git tag --points-at HEAD [Pipeline] } [2021-03-16T04:05:14.889Z] $ docker exec --env ******** --env ******** d929b751a58dc16b846ea5b731e56b80edfcf37176eb9ccc3f4446f80569b5fe ssh-agent -k [2021-03-16T04:05:15.513Z] unset SSH_AUTH_SOCK; [2021-03-16T04:05:15.514Z] unset SSH_AGENT_PID; [2021-03-16T04:05:15.514Z] echo Agent pid 16 killed; [2021-03-16T04:05:15.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-16T04:05:15.904Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T04:05:15.904Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T04:05:16.471Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T04:05:16.478Z] $ docker exec d929b751a58dc16b846ea5b731e56b80edfcf37176eb9ccc3f4446f80569b5fe ssh-agent [2021-03-16T04:05:16.868Z] SSH_AUTH_SOCK=/tmp/ssh-rrZ6J7vVEHnk/agent.44 [2021-03-16T04:05:16.868Z] SSH_AGENT_PID=49 [2021-03-16T04:05:16.889Z] Running ssh-add (command line suppressed) [2021-03-16T04:05:17.158Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp/private_key_1733284928352895106.key (/w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp/private_key_1733284928352895106.key) [2021-03-16T04:05:17.250Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T04:05:17.818Z] + git semver init [2021-03-16T04:05:17.818Z] # -> Open(): unable to determine branch for HEAD [2021-03-16T04:05:17.818Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-818/.git [2021-03-16T04:05:17.818Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-818 [2021-03-16T04:05:17.818Z] # $SEMVER_REMOTE_NAME = origin [2021-03-16T04:05:17.818Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-16T04:05:17.818Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-16T04:05:17.818Z] # $SEMVER_BRANCH = PR-818 [2021-03-16T04:05:17.818Z] # $SEMVER_TEMP = /tmp/semver-261104402 [2021-03-16T04:05:17.818Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-16T04:05:18.785Z] # '/tmp/semver-261104402' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-818/.semver' [2021-03-16T04:05:18.785Z] # -> Force: false [2021-03-16T04:05:18.785Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-818/.semver [Pipeline] } [2021-03-16T04:05:18.814Z] $ docker exec --env ******** --env ******** d929b751a58dc16b846ea5b731e56b80edfcf37176eb9ccc3f4446f80569b5fe ssh-agent -k [2021-03-16T04:05:19.037Z] unset SSH_AUTH_SOCK; [2021-03-16T04:05:19.037Z] unset SSH_AGENT_PID; [2021-03-16T04:05:19.037Z] echo Agent pid 49 killed; [2021-03-16T04:05:19.137Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-16T04:05:19.737Z] + git semver [Pipeline] } [2021-03-16T04:05:19.777Z] $ docker stop --time=1 d929b751a58dc16b846ea5b731e56b80edfcf37176eb9ccc3f4446f80569b5fe [2021-03-16T04:05:21.906Z] $ docker rm -f d929b751a58dc16b846ea5b731e56b80edfcf37176eb9ccc3f4446f80569b5fe [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T04:05:22.577Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-16T04:05:23.231Z] Stashed 1 file(s) [Pipeline] echo [2021-03-16T04:05:23.256Z] [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-03-16T04:05:39.133Z] Still waiting to schedule task [2021-03-16T04:05:39.134Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-16T04:05:39.160Z] Still waiting to schedule task [2021-03-16T04:05:39.160Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-16T04:08:27.640Z] Running on prd-centos7-docker-4c-2g-29934 in /w/workspace/dgexfoundry_device-sdk-go_PR-818 [Pipeline] { [Pipeline] ws [2021-03-16T04:08:27.742Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-16T04:08:30.194Z] using credential edgex-jenkins-ssh [2021-03-16T04:08:30.314Z] Cloning the remote Git repository [2021-03-16T04:08:30.358Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T04:08:30.423Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-16T04:08:30.485Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T04:08:30.485Z] > git --version # timeout=10 [2021-03-16T04:08:30.491Z] > git --version # 'git version 2.24.3' [2021-03-16T04:08:30.491Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T04:08:30.515Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T04:08:31.240Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T04:08:31.247Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T04:08:31.258Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T04:08:31.271Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T04:08:31.272Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T04:08:31.277Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/818/head:refs/remotes/origin/PR-818 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-16T04:08:31.748Z] Merging remotes/origin/master commit 4a48ed36b56f70f387819c322f1a51e9c7883451 into PR head commit 691fc8b9f319e7052e6cfef84f2f113a2a103960 [2021-03-16T04:08:31.837Z] Merge succeeded, producing 691fc8b9f319e7052e6cfef84f2f113a2a103960 [2021-03-16T04:08:31.838Z] Checking out Revision 691fc8b9f319e7052e6cfef84f2f113a2a103960 (PR-818) [2021-03-16T04:08:31.758Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T04:08:31.765Z] > git checkout -f 691fc8b9f319e7052e6cfef84f2f113a2a103960 # timeout=10 [2021-03-16T04:08:31.809Z] > git remote # timeout=10 [2021-03-16T04:08:31.814Z] > git config --get remote.origin.url # timeout=10 [2021-03-16T04:08:31.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T04:08:31.822Z] > git merge 4a48ed36b56f70f387819c322f1a51e9c7883451 # timeout=10 [2021-03-16T04:08:31.831Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-16T04:08:31.841Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T04:08:31.846Z] > git checkout -f 691fc8b9f319e7052e6cfef84f2f113a2a103960 # timeout=10 [2021-03-16T04:08:35.468Z] Commit message: "feat: add GetProfileByName function API" [2021-03-16T04:08:35.494Z] > git --version # timeout=10 [2021-03-16T04:08:35.501Z] > git --version # 'git version 2.24.3' [2021-03-16T04:08:35.507Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T04:08:37.045Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-16T04:08:37.425Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-16T04:08:37.762Z] + true [2021-03-16T04:08:37.762Z] + sudo service docker restart [2021-03-16T04:08:37.762Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T04:08:39.282Z] provisioning config files... [2021-03-16T04:08:39.320Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7557348405024204836tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:08:39.745Z] ---> docker-login.sh [2021-03-16T04:08:39.745Z] nexus3.edgexfoundry.org:10001 [2021-03-16T04:08:40.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:08:40.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:08:40.008Z] Configure a credential helper to remove this warning. See [2021-03-16T04:08:40.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:08:40.008Z] [2021-03-16T04:08:40.008Z] Login Succeeded [2021-03-16T04:08:40.008Z] nexus3.edgexfoundry.org:10002 [2021-03-16T04:08:40.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:08:40.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:08:40.270Z] Configure a credential helper to remove this warning. See [2021-03-16T04:08:40.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:08:40.270Z] [2021-03-16T04:08:40.270Z] Login Succeeded [2021-03-16T04:08:40.270Z] nexus3.edgexfoundry.org:10003 [2021-03-16T04:08:40.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:08:40.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:08:40.534Z] Configure a credential helper to remove this warning. See [2021-03-16T04:08:40.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:08:40.534Z] [2021-03-16T04:08:40.534Z] Login Succeeded [2021-03-16T04:08:40.534Z] nexus3.edgexfoundry.org:10004 [2021-03-16T04:08:40.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:08:40.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:08:40.796Z] Configure a credential helper to remove this warning. See [2021-03-16T04:08:40.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:08:40.796Z] [2021-03-16T04:08:40.796Z] Login Succeeded [2021-03-16T04:08:40.796Z] docker.io [2021-03-16T04:08:40.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:08:41.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:08:41.058Z] Configure a credential helper to remove this warning. See [2021-03-16T04:08:41.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:08:41.058Z] [2021-03-16T04:08:41.058Z] Login Succeeded [2021-03-16T04:08:41.058Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T04:08:41.083Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-16T04:08:41.623Z] ========================================================= [2021-03-16T04:08:41.623Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-16T04:08:41.623Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:08:42.011Z] + 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-03-16T04:08:42.011Z] Sending build context to Docker daemon 2.27MB [2021-03-16T04:08:42.011Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T04:08:42.011Z] Step 2/8 : FROM ${BASE} [2021-03-16T04:08:42.276Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-16T04:08:42.276Z] 188c0c94c7c5: Pulling fs layer [2021-03-16T04:08:42.276Z] 0ef7d3d256c8: Pulling fs layer [2021-03-16T04:08:42.276Z] de9db76c5a1d: Pulling fs layer [2021-03-16T04:08:42.276Z] bca2f99d35d6: Pulling fs layer [2021-03-16T04:08:42.276Z] 93359f2a8cfa: Pulling fs layer [2021-03-16T04:08:42.276Z] 7c6f9722023f: Pulling fs layer [2021-03-16T04:08:42.276Z] a35cf1a2eb13: Pulling fs layer [2021-03-16T04:08:42.276Z] bca2f99d35d6: Waiting [2021-03-16T04:08:42.276Z] 93359f2a8cfa: Waiting [2021-03-16T04:08:42.276Z] 7c6f9722023f: Waiting [2021-03-16T04:08:42.276Z] a35cf1a2eb13: Waiting [2021-03-16T04:08:42.276Z] de9db76c5a1d: Verifying Checksum [2021-03-16T04:08:42.276Z] de9db76c5a1d: Download complete [2021-03-16T04:08:42.276Z] 0ef7d3d256c8: Download complete [2021-03-16T04:08:42.276Z] 93359f2a8cfa: Verifying Checksum [2021-03-16T04:08:42.276Z] 93359f2a8cfa: Download complete [2021-03-16T04:08:42.276Z] 7c6f9722023f: Verifying Checksum [2021-03-16T04:08:42.276Z] 7c6f9722023f: Download complete [2021-03-16T04:08:42.276Z] 188c0c94c7c5: Verifying Checksum [2021-03-16T04:08:42.276Z] 188c0c94c7c5: Download complete [2021-03-16T04:08:42.537Z] 188c0c94c7c5: Pull complete [2021-03-16T04:08:42.537Z] 0ef7d3d256c8: Pull complete [2021-03-16T04:08:42.799Z] de9db76c5a1d: Pull complete [2021-03-16T04:08:44.729Z] a35cf1a2eb13: Verifying Checksum [2021-03-16T04:08:44.729Z] a35cf1a2eb13: Download complete [2021-03-16T04:08:45.309Z] bca2f99d35d6: Verifying Checksum [2021-03-16T04:08:45.309Z] bca2f99d35d6: Download complete [2021-03-16T04:08:50.669Z] bca2f99d35d6: Pull complete [2021-03-16T04:08:50.669Z] 93359f2a8cfa: Pull complete [2021-03-16T04:08:50.669Z] 7c6f9722023f: Pull complete [2021-03-16T04:08:56.025Z] a35cf1a2eb13: Pull complete [2021-03-16T04:08:56.609Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-16T04:08:56.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-16T04:08:56.873Z] ---> a62c8e92a672 [2021-03-16T04:08:56.873Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T04:08:56.873Z] ---> Running in a0e47b48d5b4 [2021-03-16T04:08:57.139Z] Removing intermediate container a0e47b48d5b4 [2021-03-16T04:08:57.139Z] ---> 5f5b8db5bcb4 [2021-03-16T04:08:57.139Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T04:08:57.403Z] ---> Running in 726234870c04 [2021-03-16T04:08:58.357Z] Removing intermediate container 726234870c04 [2021-03-16T04:08:58.357Z] ---> 7de0e4014707 [2021-03-16T04:08:58.357Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-16T04:08:58.357Z] ---> Running in 045bf6c7fca9 [2021-03-16T04:08:58.624Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-16T04:09:00.027Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-16T04:09:01.431Z] OK: 166 MiB in 39 packages [2021-03-16T04:09:01.431Z] Removing intermediate container 045bf6c7fca9 [2021-03-16T04:09:01.431Z] ---> a0de37b08610 [2021-03-16T04:09:01.431Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-16T04:09:01.695Z] ---> Running in 3d13ce4bf963 [2021-03-16T04:09:01.695Z] Removing intermediate container 3d13ce4bf963 [2021-03-16T04:09:01.695Z] ---> e42721d56b4e [2021-03-16T04:09:01.695Z] Step 7/8 : COPY . . [2021-03-16T04:09:03.098Z] ---> 575f1fce37b6 [2021-03-16T04:09:03.098Z] Step 8/8 : RUN go mod download [2021-03-16T04:09:03.098Z] ---> Running in 3968e588609f [2021-03-16T04:09:17.500Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29935 in /w/workspace/dgexfoundry_device-sdk-go_PR-818 [Pipeline] { [Pipeline] ws [2021-03-16T04:09:17.590Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-16T04:09:22.572Z] using credential edgex-jenkins-ssh [2021-03-16T04:09:22.708Z] Cloning the remote Git repository [2021-03-16T04:09:22.776Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T04:09:22.889Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-16T04:09:22.966Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T04:09:22.967Z] > git --version # timeout=10 [2021-03-16T04:09:22.988Z] > git --version # 'git version 2.17.1' [2021-03-16T04:09:22.989Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T04:09:23.078Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T04:09:24.873Z] Merging remotes/origin/master commit 4a48ed36b56f70f387819c322f1a51e9c7883451 into PR head commit 691fc8b9f319e7052e6cfef84f2f113a2a103960 [2021-03-16T04:09:25.138Z] Removing intermediate container 3968e588609f [2021-03-16T04:09:25.138Z] ---> e9cca7b05eb1 [2021-03-16T04:09:25.138Z] Successfully built e9cca7b05eb1 [2021-03-16T04:09:25.138Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:09:25.232Z] Merge succeeded, producing 691fc8b9f319e7052e6cfef84f2f113a2a103960 [2021-03-16T04:09:25.232Z] Checking out Revision 691fc8b9f319e7052e6cfef84f2f113a2a103960 (PR-818) [2021-03-16T04:09:24.149Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T04:09:24.167Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T04:09:24.190Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T04:09:24.235Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T04:09:24.236Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T04:09:24.251Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/818/head:refs/remotes/origin/PR-818 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-16T04:09:24.890Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T04:09:24.911Z] > git checkout -f 691fc8b9f319e7052e6cfef84f2f113a2a103960 # timeout=10 [2021-03-16T04:09:25.056Z] > git remote # timeout=10 [2021-03-16T04:09:25.119Z] > git config --get remote.origin.url # timeout=10 [2021-03-16T04:09:25.144Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T04:09:25.155Z] > git merge 4a48ed36b56f70f387819c322f1a51e9c7883451 # timeout=10 [2021-03-16T04:09:25.185Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-16T04:09:25.242Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T04:09:25.490Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-16T04:09:25.490Z] . [Pipeline] withDockerContainer [2021-03-16T04:09:25.629Z] prd-centos7-docker-4c-2g-29934 does not seem to be running inside a container [2021-03-16T04:09:25.686Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-16T04:09:25.266Z] > git checkout -f 691fc8b9f319e7052e6cfef84f2f113a2a103960 # timeout=10 [2021-03-16T04:09:26.935Z] $ docker top 1a08baab89956bc818264e4697e7331e127801190583138ea8cba971b9a0e9b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T04:09:27.532Z] + go version [2021-03-16T04:09:27.532Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-16T04:09:27.562Z] $ docker stop --time=1 1a08baab89956bc818264e4697e7331e127801190583138ea8cba971b9a0e9b0 [2021-03-16T04:09:28.909Z] $ docker rm -f 1a08baab89956bc818264e4697e7331e127801190583138ea8cba971b9a0e9b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2021-03-16T04:09:29.614Z] Commit message: "feat: add GetProfileByName function API" [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:09:29.667Z] > git --version # timeout=10 [2021-03-16T04:09:29.685Z] > git --version # 'git version 2.17.1' [2021-03-16T04:09:29.702Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-16T04:09:29.930Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-16T04:09:29.930Z] . [Pipeline] withDockerContainer [2021-03-16T04:09:30.059Z] prd-centos7-docker-4c-2g-29934 does not seem to be running inside a container [2021-03-16T04:09:30.124Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-16T04:09:30.791Z] $ docker top 89cbb7305f5154e4505ec7d9f079dc55b9923b63c01633dbff78dedb99c7f55c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-03-16T04:09:31.360Z] + make test [2021-03-16T04:09:31.360Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T04:09:32.464Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-16T04:09:32.871Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-16T04:09:33.226Z] + sudo service docker+ restart [2021-03-16T04:09:33.226Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T04:09:36.002Z] provisioning config files... [2021-03-16T04:09:36.042Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7323865502245572784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:09:36.490Z] ---> docker-login.sh [2021-03-16T04:09:36.490Z] nexus3.edgexfoundry.org:10001 [2021-03-16T04:09:37.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:09:37.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:09:37.744Z] Configure a credential helper to remove this warning. See [2021-03-16T04:09:37.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:09:37.744Z] [2021-03-16T04:09:37.744Z] Login Succeeded [2021-03-16T04:09:37.744Z] nexus3.edgexfoundry.org:10002 [2021-03-16T04:09:38.014Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-16T04:09:38.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:09:38.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:09:38.019Z] Configure a credential helper to remove this warning. See [2021-03-16T04:09:38.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:09:38.019Z] [2021-03-16T04:09:38.019Z] Login Succeeded [2021-03-16T04:09:38.019Z] nexus3.edgexfoundry.org:10003 [2021-03-16T04:09:38.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:09:38.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:09:38.571Z] Configure a credential helper to remove this warning. See [2021-03-16T04:09:38.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:09:38.571Z] [2021-03-16T04:09:38.571Z] Login Succeeded [2021-03-16T04:09:38.571Z] nexus3.edgexfoundry.org:10004 [2021-03-16T04:09:38.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:09:39.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:09:39.121Z] Configure a credential helper to remove this warning. See [2021-03-16T04:09:39.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:09:39.121Z] [2021-03-16T04:09:39.121Z] Login Succeeded [2021-03-16T04:09:39.121Z] docker.io [2021-03-16T04:09:39.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:09:39.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:09:39.666Z] Configure a credential helper to remove this warning. See [2021-03-16T04:09:39.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:09:39.666Z] [2021-03-16T04:09:39.666Z] Login Succeeded [2021-03-16T04:09:39.666Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T04:09:39.695Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-16T04:09:40.257Z] ========================================================= [2021-03-16T04:09:40.257Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-16T04:09:40.257Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:09:40.719Z] + 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-03-16T04:09:41.317Z] Sending build context to Docker daemon 2.27MB [2021-03-16T04:09:41.317Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T04:09:41.317Z] Step 2/8 : FROM ${BASE} [2021-03-16T04:09:41.317Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-16T04:09:41.317Z] 5f621e34cdf4: Pulling fs layer [2021-03-16T04:09:41.317Z] a4357932f1b6: Pulling fs layer [2021-03-16T04:09:41.317Z] 18c013af1878: Pulling fs layer [2021-03-16T04:09:41.317Z] 00ac8860ef70: Pulling fs layer [2021-03-16T04:09:41.317Z] 63d7cb157983: Pulling fs layer [2021-03-16T04:09:41.317Z] b116817d02f9: Pulling fs layer [2021-03-16T04:09:41.317Z] 745a02a5169b: Pulling fs layer [2021-03-16T04:09:41.317Z] 00ac8860ef70: Waiting [2021-03-16T04:09:41.317Z] 63d7cb157983: Waiting [2021-03-16T04:09:41.317Z] b116817d02f9: Waiting [2021-03-16T04:09:41.317Z] 745a02a5169b: Waiting [2021-03-16T04:09:41.317Z] 18c013af1878: Verifying Checksum [2021-03-16T04:09:41.317Z] 18c013af1878: Download complete [2021-03-16T04:09:41.317Z] a4357932f1b6: Verifying Checksum [2021-03-16T04:09:41.317Z] a4357932f1b6: Download complete [2021-03-16T04:09:41.317Z] 63d7cb157983: Verifying Checksum [2021-03-16T04:09:41.317Z] 63d7cb157983: Download complete [2021-03-16T04:09:41.317Z] 5f621e34cdf4: Verifying Checksum [2021-03-16T04:09:41.317Z] b116817d02f9: Verifying Checksum [2021-03-16T04:09:41.317Z] b116817d02f9: Download complete [2021-03-16T04:09:41.931Z] 5f621e34cdf4: Pull complete [2021-03-16T04:09:42.535Z] a4357932f1b6: Pull complete [2021-03-16T04:09:43.137Z] 18c013af1878: Pull complete [2021-03-16T04:09:43.736Z] 745a02a5169b: Verifying Checksum [2021-03-16T04:09:43.736Z] 745a02a5169b: Download complete [2021-03-16T04:09:44.709Z] 00ac8860ef70: Verifying Checksum [2021-03-16T04:09:44.709Z] 00ac8860ef70: Download complete [2021-03-16T04:09:53.044Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-16T04:09:53.044Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-16T04:09:53.044Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-16T04:09:54.842Z] 00ac8860ef70: Pull complete [2021-03-16T04:09:54.842Z] 63d7cb157983: Pull complete [2021-03-16T04:09:54.842Z] b116817d02f9: Pull complete [2021-03-16T04:09:55.003Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 25.5% of statements [2021-03-16T04:09:58.231Z] 745a02a5169b: Pull complete [2021-03-16T04:09:58.231Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-16T04:09:58.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-16T04:09:58.231Z] ---> b7e6874047d6 [2021-03-16T04:09:58.231Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T04:10:00.892Z] ---> Running in a39d1eb28b5b [2021-03-16T04:10:00.892Z] Removing intermediate container a39d1eb28b5b [2021-03-16T04:10:00.892Z] ---> 92aede01cc6f [2021-03-16T04:10:00.892Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T04:10:01.175Z] ---> Running in 315078c24565 [2021-03-16T04:10:03.800Z] Removing intermediate container 315078c24565 [2021-03-16T04:10:03.800Z] ---> 816de4247f5f [2021-03-16T04:10:03.800Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-16T04:10:03.800Z] ---> Running in 109fd5ea80c4 [2021-03-16T04:10:04.794Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-16T04:10:05.769Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-16T04:10:06.743Z] OK: 142 MiB in 39 packages [2021-03-16T04:10:07.730Z] Removing intermediate container 109fd5ea80c4 [2021-03-16T04:10:07.730Z] ---> 785f278f0141 [2021-03-16T04:10:07.730Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-16T04:10:07.730Z] ---> Running in 55db4b1882e0 [2021-03-16T04:10:08.328Z] Removing intermediate container 55db4b1882e0 [2021-03-16T04:10:08.328Z] ---> 156504cae0fa [2021-03-16T04:10:08.328Z] Step 7/8 : COPY . . [2021-03-16T04:10:09.300Z] ---> 8fb0247f5363 [2021-03-16T04:10:09.300Z] Step 8/8 : RUN go mod download [2021-03-16T04:10:09.577Z] ---> Running in 4c5064a202bb [2021-03-16T04:10:27.174Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.076s coverage: 10.5% of statements [2021-03-16T04:10:27.174Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.065s coverage: 12.5% of statements [2021-03-16T04:10:27.174Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-16T04:10:27.174Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.053s coverage: 84.8% of statements [2021-03-16T04:10:27.174Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-16T04:10:27.174Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-16T04:10:27.174Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-16T04:10:27.174Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.084s coverage: 57.3% of statements [2021-03-16T04:10:27.174Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-16T04:10:27.174Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.076s coverage: 81.2% of statements [2021-03-16T04:10:27.174Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.065s coverage: 24.8% of statements [2021-03-16T04:10:27.174Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.144s coverage: 6.4% of statements [2021-03-16T04:10:27.174Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.1% of statements [2021-03-16T04:10:27.174Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-16T04:10:27.174Z] GO111MODULE=on go vet ./... [2021-03-16T04:10:36.359Z] Removing intermediate container 4c5064a202bb [2021-03-16T04:10:36.359Z] ---> a62f8e96ef58 [2021-03-16T04:10:36.359Z] Successfully built a62f8e96ef58 [2021-03-16T04:10:36.359Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:10:36.734Z] + docker inspect -f . ci-base-image-arm64 [2021-03-16T04:10:36.734Z] . [Pipeline] withDockerContainer [2021-03-16T04:10:36.985Z] prd-ubuntu18.04-docker-arm64-4c-16g-29935 does not seem to be running inside a container [2021-03-16T04:10:37.065Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-16T04:10:37.326Z] gofmt -l . [2021-03-16T04:10:37.326Z] [ "`gofmt -l .`" = "" ] [2021-03-16T04:10:37.326Z] ./bin/test-attribution-txt.sh [2021-03-16T04:10:37.326Z] ./bin/test-go-mod-tidy.sh [2021-03-16T04:10:38.522Z] $ docker top ac9df623a58de49770616496f52b4a14153837d5c7702bdab1322796cdc16160 -eo pid,comm [Pipeline] { [Pipeline] } [2021-03-16T04:10:38.955Z] $ docker stop --time=1 89cbb7305f5154e4505ec7d9f079dc55b9923b63c01633dbff78dedb99c7f55c [2021-03-16T04:10:40.965Z] $ docker rm -f 89cbb7305f5154e4505ec7d9f079dc55b9923b63c01633dbff78dedb99c7f55c [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-03-16T04:10:41.660Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-16T04:10:42.005Z] Stashed 1 file(s) [Pipeline] } [2021-03-16T04:10:42.083Z] + go version [2021-03-16T04:10:42.083Z] go version go1.15.5 linux/arm64 [Pipeline] // script [Pipeline] } [Pipeline] } [2021-03-16T04:10:42.217Z] $ docker stop --time=1 ac9df623a58de49770616496f52b4a14153837d5c7702bdab1322796cdc16160 [2021-03-16T04:10:44.176Z] $ docker rm -f ac9df623a58de49770616496f52b4a14153837d5c7702bdab1322796cdc16160 [Pipeline] // stage [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:10:46.554Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-16T04:10:46.739Z] + docker inspect -f . ci-base-image-arm64 [2021-03-16T04:10:46.740Z] . [Pipeline] withDockerContainer [2021-03-16T04:10:46.876Z] + ls -al . [2021-03-16T04:10:46.877Z] total 188 [2021-03-16T04:10:46.877Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 16 04:10 . [2021-03-16T04:10:46.877Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 16 04:08 .. [2021-03-16T04:10:46.877Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 16 04:08 bin [2021-03-16T04:10:46.877Z] -rw-r--r--. 1 jenkins jenkins 103668 Mar 16 04:10 coverage.out [2021-03-16T04:10:46.877Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 16 04:08 Dockerfile.build [2021-03-16T04:10:46.877Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 16 04:08 .dockerignore [2021-03-16T04:10:46.877Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 16 04:08 example [2021-03-16T04:10:46.877Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 16 04:08 .git [2021-03-16T04:10:46.877Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 16 04:08 .github [2021-03-16T04:10:46.877Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 16 04:08 .gitignore [2021-03-16T04:10:46.877Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 16 04:10 go.mod [2021-03-16T04:10:46.877Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 16 04:10 go.sum [2021-03-16T04:10:46.877Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 16 04:08 internal [2021-03-16T04:10:46.877Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 16 04:08 Jenkinsfile [2021-03-16T04:10:46.877Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 16 04:08 LICENSE [2021-03-16T04:10:46.877Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 16 04:08 Makefile [2021-03-16T04:10:46.877Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 16 04:08 openapi [2021-03-16T04:10:46.877Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 16 04:08 pkg [2021-03-16T04:10:46.877Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 16 04:08 README.md [2021-03-16T04:10:46.877Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 16 04:08 RELEASE-NOTES.txt [2021-03-16T04:10:46.877Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 16 04:08 snap [2021-03-16T04:10:46.877Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 16 04:05 VERSION [2021-03-16T04:10:46.877Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 16 04:08 version.go [2021-03-16T04:10:46.978Z] prd-ubuntu18.04-docker-arm64-4c-16g-29935 does not seem to be running inside a container [2021-03-16T04:10:47.064Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-16T04:10:48.569Z] $ docker top e641853e7c25437b8f4a5860d91f09415073ef4a7518df58785955fcd84e848b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:10:49.451Z] + 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=691fc8b9f319e7052e6cfef84f2f113a2a103960 --label arch=amd64 --label version=0.0.0 . [2021-03-16T04:10:49.670Z] + make test [2021-03-16T04:10:49.670Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-16T04:10:49.714Z] Sending build context to Docker daemon 2.374MB [2021-03-16T04:10:49.714Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T04:10:49.714Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-16T04:10:49.714Z] ---> e9cca7b05eb1 [2021-03-16T04:10:49.714Z] Step 3/24 : ARG MAKE='make build' [2021-03-16T04:10:50.286Z] ---> Running in 01773649e94d [2021-03-16T04:10:50.286Z] Removing intermediate container 01773649e94d [2021-03-16T04:10:50.286Z] ---> f416ff33a2b2 [2021-03-16T04:10:50.286Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-16T04:10:50.550Z] ---> Running in 9cb6a5df1e86 [2021-03-16T04:10:50.550Z] Removing intermediate container 9cb6a5df1e86 [2021-03-16T04:10:50.550Z] ---> dbc9ae85ed22 [2021-03-16T04:10:50.550Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T04:10:50.550Z] ---> Running in 9acb51270775 [2021-03-16T04:10:50.814Z] Removing intermediate container 9acb51270775 [2021-03-16T04:10:50.814Z] ---> 4b89160a8a06 [2021-03-16T04:10:50.814Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T04:10:50.814Z] ---> Running in 6cc132cd5f66 [2021-03-16T04:10:51.763Z] Removing intermediate container 6cc132cd5f66 [2021-03-16T04:10:51.763Z] ---> 91be7f83857a [2021-03-16T04:10:51.763Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-16T04:10:52.035Z] ---> Running in 91a724a973df [2021-03-16T04:10:52.299Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-16T04:10:53.245Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-16T04:10:54.191Z] OK: 166 MiB in 39 packages [2021-03-16T04:10:54.766Z] Removing intermediate container 91a724a973df [2021-03-16T04:10:54.767Z] ---> f7102144829e [2021-03-16T04:10:54.767Z] Step 8/24 : COPY . . [2021-03-16T04:10:55.710Z] ---> 84fc18802ac4 [2021-03-16T04:10:55.710Z] Step 9/24 : RUN ${MAKE} [2021-03-16T04:10:55.710Z] ---> Running in 7cee2af28c3f [2021-03-16T04:10:56.286Z] 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-03-16T04:11:06.372Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-16T04:11:07.763Z] Removing intermediate container 7cee2af28c3f [2021-03-16T04:11:07.763Z] ---> 951e62bc0c4b [2021-03-16T04:11:07.763Z] Step 10/24 : FROM scratch [2021-03-16T04:11:07.763Z] ---> [2021-03-16T04:11:07.763Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T04:11:07.763Z] ---> Running in 735b05519307 [2021-03-16T04:11:07.763Z] Removing intermediate container 735b05519307 [2021-03-16T04:11:07.763Z] ---> 53a594737952 [2021-03-16T04:11:07.763Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-16T04:11:07.763Z] ---> Running in 16e8aaca4942 [2021-03-16T04:11:08.031Z] Removing intermediate container 16e8aaca4942 [2021-03-16T04:11:08.031Z] ---> 746968fa641b [2021-03-16T04:11:08.031Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-16T04:11:08.031Z] ---> Running in 3e4fe1c63e6a [2021-03-16T04:11:08.031Z] Removing intermediate container 3e4fe1c63e6a [2021-03-16T04:11:08.031Z] ---> db7094aa34ea [2021-03-16T04:11:08.031Z] Step 14/24 : WORKDIR / [2021-03-16T04:11:08.031Z] ---> Running in 6fdb2c301348 [2021-03-16T04:11:08.295Z] Removing intermediate container 6fdb2c301348 [2021-03-16T04:11:08.295Z] ---> 486312e2c173 [2021-03-16T04:11:08.295Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-16T04:11:08.911Z] ---> c29db88f7476 [2021-03-16T04:11:08.911Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-16T04:11:08.911Z] ---> 2a1878aab665 [2021-03-16T04:11:08.911Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-16T04:11:09.220Z] ---> 68ca12e9d0c7 [2021-03-16T04:11:09.220Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-16T04:11:09.496Z] ---> dbf2faca0801 [2021-03-16T04:11:09.496Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-16T04:11:09.765Z] ---> 0b4e8470c685 [2021-03-16T04:11:09.765Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-16T04:11:09.765Z] ---> Running in f1534c46b0e1 [2021-03-16T04:11:10.033Z] Removing intermediate container f1534c46b0e1 [2021-03-16T04:11:10.033Z] ---> 527358be3327 [2021-03-16T04:11:10.033Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-16T04:11:10.033Z] ---> Running in 0189cd6aa082 [2021-03-16T04:11:10.033Z] Removing intermediate container 0189cd6aa082 [2021-03-16T04:11:10.033Z] ---> f799cd5759e5 [2021-03-16T04:11:10.033Z] Step 22/24 : LABEL arch=amd64 [2021-03-16T04:11:10.347Z] ---> Running in 4beda4ecabdf [2021-03-16T04:11:10.347Z] Removing intermediate container 4beda4ecabdf [2021-03-16T04:11:10.347Z] ---> 18683c0f7633 [2021-03-16T04:11:10.347Z] Step 23/24 : LABEL git_sha=691fc8b9f319e7052e6cfef84f2f113a2a103960 [2021-03-16T04:11:10.347Z] ---> Running in 56d084797978 [2021-03-16T04:11:10.638Z] Removing intermediate container 56d084797978 [2021-03-16T04:11:10.638Z] ---> c207e61d928f [2021-03-16T04:11:10.638Z] Step 24/24 : LABEL version=0.0.0 [2021-03-16T04:11:10.638Z] ---> Running in 14ac7d39b7a2 [2021-03-16T04:11:10.917Z] Removing intermediate container 14ac7d39b7a2 [2021-03-16T04:11:10.917Z] ---> 11673bbaab87 [2021-03-16T04:11:10.917Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-16T04:11:10.917Z] Successfully built 11673bbaab87 [2021-03-16T04:11:10.917Z] 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 Post stage [2021-03-16T04:11:11.848Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:11:12.271Z] ---> job-cost.sh [2021-03-16T04:11:12.271Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ir5S [2021-03-16T04:11:27.215Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-16T04:11:50.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-16T04:11:50.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-16T04:11:50.882Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-16T04:11:53.884Z] lf-activate-venv(): INFO: Adding /tmp/venv-Ir5S/bin to PATH [2021-03-16T04:11:53.884Z] INFO: No Stack... [2021-03-16T04:11:53.884Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-16T04:11:53.884Z] INFO: Archiving Costs [Pipeline] sh [2021-03-16T04:11:54.243Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-16T04:11:54.243Z] + cut -d, -f6 [Pipeline] lock [2021-03-16T04:11:54.394Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-818-1-stack-cost] [2021-03-16T04:11:54.400Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-818-1-stack-cost] did not exist. Created. [2021-03-16T04:11:54.401Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-818-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-16T04:11:54.961Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-16T04:11:55.098Z] Stashed 1 file(s) [Pipeline] } [2021-03-16T04:11:55.118Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-818-1-stack-cost] [Pipeline] // lock [2021-03-16T04:11:55.216Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.151s coverage: 25.5% of statements [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-16T04:12:27.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.133s coverage: 10.5% of statements [2021-03-16T04:12:27.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.116s coverage: 12.5% of statements [2021-03-16T04:12:27.828Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-16T04:12:27.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.153s coverage: 84.8% of statements [2021-03-16T04:12:27.828Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-16T04:12:27.828Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-16T04:12:27.828Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-16T04:12:27.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.286s coverage: 57.3% of statements [2021-03-16T04:12:27.828Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-16T04:12:27.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.168s coverage: 81.2% of statements [2021-03-16T04:12:27.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.171s coverage: 24.8% of statements [2021-03-16T04:12:27.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.839s coverage: 6.4% of statements [2021-03-16T04:12:27.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.1% of statements [2021-03-16T04:12:27.828Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-16T04:12:27.828Z] GO111MODULE=on go vet ./... [2021-03-16T04:13:00.427Z] gofmt -l . [2021-03-16T04:13:00.427Z] [ "`gofmt -l .`" = "" ] [2021-03-16T04:13:00.427Z] ./bin/test-attribution-txt.sh [2021-03-16T04:13:00.427Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-16T04:13:00.468Z] $ docker stop --time=1 e641853e7c25437b8f4a5860d91f09415073ef4a7518df58785955fcd84e848b [2021-03-16T04:13:02.685Z] $ docker rm -f e641853e7c25437b8f4a5860d91f09415073ef4a7518df58785955fcd84e848b [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T04:13:03.777Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-16T04:13:03.821Z] Warning: overwriting stash ‘coverage-report’ [2021-03-16T04:13:04.575Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T04:13:05.440Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-16T04:13:05.820Z] + ls -al . [2021-03-16T04:13:05.820Z] total 224 [2021-03-16T04:13:05.820Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 04:12 . [2021-03-16T04:13:05.820Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:09 .. [2021-03-16T04:13:05.820Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 04:09 .dockerignore [2021-03-16T04:13:05.820Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 04:09 .git [2021-03-16T04:13:05.820Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 04:09 .github [2021-03-16T04:13:05.820Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 16 04:09 .gitignore [2021-03-16T04:13:05.820Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 16 04:09 Dockerfile.build [2021-03-16T04:13:05.820Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 16 04:09 Jenkinsfile [2021-03-16T04:13:05.820Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 16 04:09 LICENSE [2021-03-16T04:13:05.820Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 16 04:09 Makefile [2021-03-16T04:13:05.820Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 16 04:09 README.md [2021-03-16T04:13:05.820Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 16 04:09 RELEASE-NOTES.txt [2021-03-16T04:13:05.820Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 04:05 VERSION [2021-03-16T04:13:05.820Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 04:09 bin [2021-03-16T04:13:05.820Z] -rw-r--r-- 1 jenkins jenkins 103667 Mar 16 04:12 coverage.out [2021-03-16T04:13:05.820Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:09 example [2021-03-16T04:13:05.820Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 16 04:12 go.mod [2021-03-16T04:13:05.820Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 16 04:12 go.sum [2021-03-16T04:13:05.820Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 04:09 internal [2021-03-16T04:13:05.820Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:09 openapi [2021-03-16T04:13:05.820Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 04:09 pkg [2021-03-16T04:13:05.820Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:09 snap [2021-03-16T04:13:05.820Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 16 04:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:13:06.183Z] + 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=691fc8b9f319e7052e6cfef84f2f113a2a103960 --label arch=arm64 --label version=0.0.0 . [2021-03-16T04:13:06.454Z] Sending build context to Docker daemon 2.374MB [2021-03-16T04:13:06.732Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T04:13:06.732Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-16T04:13:06.732Z] ---> a62f8e96ef58 [2021-03-16T04:13:06.732Z] Step 3/24 : ARG MAKE='make build' [2021-03-16T04:13:07.005Z] ---> Running in 041d60929659 [2021-03-16T04:13:07.279Z] Removing intermediate container 041d60929659 [2021-03-16T04:13:07.279Z] ---> e2f68a33074a [2021-03-16T04:13:07.279Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-16T04:13:07.552Z] ---> Running in 2230e7f56660 [2021-03-16T04:13:08.148Z] Removing intermediate container 2230e7f56660 [2021-03-16T04:13:08.148Z] ---> 42f073aa2e79 [2021-03-16T04:13:08.148Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T04:13:08.148Z] ---> Running in c346c07646ec [2021-03-16T04:13:08.425Z] Removing intermediate container c346c07646ec [2021-03-16T04:13:08.425Z] ---> fc23f85be99d [2021-03-16T04:13:08.425Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T04:13:08.700Z] ---> Running in 247ff1a07735 [2021-03-16T04:13:10.696Z] Removing intermediate container 247ff1a07735 [2021-03-16T04:13:10.696Z] ---> 3fb3867c1a69 [2021-03-16T04:13:10.696Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-16T04:13:10.696Z] ---> Running in 1699658f8971 [2021-03-16T04:13:11.677Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-16T04:13:12.646Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-16T04:13:13.234Z] OK: 142 MiB in 39 packages [2021-03-16T04:13:14.667Z] Removing intermediate container 1699658f8971 [2021-03-16T04:13:14.667Z] ---> da9ab8385765 [2021-03-16T04:13:14.667Z] Step 8/24 : COPY . . [2021-03-16T04:13:15.645Z] ---> 6a16fc6f1323 [2021-03-16T04:13:15.645Z] Step 9/24 : RUN ${MAKE} [2021-03-16T04:13:15.917Z] ---> Running in 463a7efe1621 [2021-03-16T04:13:16.899Z] 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-03-16T04:13:43.700Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-16T04:13:47.068Z] Removing intermediate container 463a7efe1621 [2021-03-16T04:13:47.068Z] ---> 7c1bed7c0ad5 [2021-03-16T04:13:47.068Z] Step 10/24 : FROM scratch [2021-03-16T04:13:47.068Z] ---> [2021-03-16T04:13:47.068Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T04:13:47.345Z] ---> Running in 13528611de98 [2021-03-16T04:13:47.616Z] Removing intermediate container 13528611de98 [2021-03-16T04:13:47.616Z] ---> a4ca3cf2798b [2021-03-16T04:13:47.616Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-16T04:13:47.892Z] ---> Running in 00a53b145340 [2021-03-16T04:13:48.165Z] Removing intermediate container 00a53b145340 [2021-03-16T04:13:48.165Z] ---> a8e4f5224606 [2021-03-16T04:13:48.165Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-16T04:13:48.438Z] ---> Running in 09eb8b0e8a5a [2021-03-16T04:13:48.710Z] Removing intermediate container 09eb8b0e8a5a [2021-03-16T04:13:48.710Z] ---> 530362f203e0 [2021-03-16T04:13:48.710Z] Step 14/24 : WORKDIR / [2021-03-16T04:13:48.982Z] ---> Running in 7e5978342173 [2021-03-16T04:13:49.574Z] Removing intermediate container 7e5978342173 [2021-03-16T04:13:49.574Z] ---> db4cf7550b0d [2021-03-16T04:13:49.574Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-16T04:13:50.548Z] ---> a8d4abbedad8 [2021-03-16T04:13:50.548Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-16T04:13:51.138Z] ---> 4e2c3bf7ae00 [2021-03-16T04:13:51.138Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-16T04:13:52.121Z] ---> a634a78ed9b2 [2021-03-16T04:13:52.121Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-16T04:13:52.714Z] ---> 9ac83940a64b [2021-03-16T04:13:52.715Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-16T04:13:53.689Z] ---> fd25f85ea6e9 [2021-03-16T04:13:53.689Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-16T04:13:53.689Z] ---> Running in d1640dd6b553 [2021-03-16T04:13:54.287Z] Removing intermediate container d1640dd6b553 [2021-03-16T04:13:54.287Z] ---> 355144059627 [2021-03-16T04:13:54.287Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-16T04:13:54.564Z] ---> Running in 5a6c26aeb8c9 [2021-03-16T04:13:54.838Z] Removing intermediate container 5a6c26aeb8c9 [2021-03-16T04:13:54.838Z] ---> d3ad075a0235 [2021-03-16T04:13:54.838Z] Step 22/24 : LABEL arch=arm64 [2021-03-16T04:13:55.110Z] ---> Running in 49b9178360bc [2021-03-16T04:13:55.705Z] Removing intermediate container 49b9178360bc [2021-03-16T04:13:55.705Z] ---> 5c3b1419a05c [2021-03-16T04:13:55.705Z] Step 23/24 : LABEL git_sha=691fc8b9f319e7052e6cfef84f2f113a2a103960 [2021-03-16T04:13:55.705Z] ---> Running in 6aebd6ce7149 [2021-03-16T04:13:56.298Z] Removing intermediate container 6aebd6ce7149 [2021-03-16T04:13:56.298Z] ---> dc167a9c0ab9 [2021-03-16T04:13:56.298Z] Step 24/24 : LABEL version=0.0.0 [2021-03-16T04:13:56.570Z] ---> Running in cd53e26dc881 [2021-03-16T04:13:56.845Z] Removing intermediate container cd53e26dc881 [2021-03-16T04:13:56.845Z] ---> 57da3648ad17 [2021-03-16T04:13:56.845Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-16T04:13:57.116Z] Successfully built 57da3648ad17 [2021-03-16T04:13:57.116Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:13:58.178Z] ---> job-cost.sh [2021-03-16T04:13:58.178Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-vecG [2021-03-16T04:14:37.115Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-16T04:15:58.885Z] lf-activate-venv(): INFO: Adding /tmp/venv-vecG/bin to PATH [2021-03-16T04:15:58.886Z] INFO: No Stack... [2021-03-16T04:15:59.156Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-16T04:15:59.748Z] INFO: Archiving Costs [Pipeline] sh [2021-03-16T04:16:00.113Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-16T04:16:00.113Z] + cut -d, -f6 [Pipeline] lock [2021-03-16T04:16:00.242Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-818-1-stack-cost] [2021-03-16T04:16:00.249Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-818-1-stack-cost] did not exist. Created. [2021-03-16T04:16:00.249Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-818-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-16T04:16:00.837Z] /w/workspace/device-sdk-go/1@tmp/durable-92273b4b/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-92273b4b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-16T04:16:01.236Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-16T04:16:01.278Z] Warning: overwriting stash ‘stack-cost’ [2021-03-16T04:16:01.441Z] Stashed 1 file(s) [Pipeline] } [2021-03-16T04:16:01.492Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-818-1-stack-cost] [Pipeline] // lock [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-03-16T04:16:03.404Z] provisioning config files... [2021-03-16T04:16:03.462Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp/config9008066286489656747tmp [Pipeline] { [Pipeline] sh [2021-03-16T04:16:04.141Z] + set +x [2021-03-16T04:16:04.141Z] + curl -s https://codecov.io/bash [2021-03-16T04:16:04.141Z] + bash -s -- [2021-03-16T04:16:04.442Z] [2021-03-16T04:16:04.442Z] _____ _ [2021-03-16T04:16:04.442Z] / ____| | | [2021-03-16T04:16:04.442Z] | | ___ __| | ___ ___ _____ __ [2021-03-16T04:16:04.442Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-16T04:16:04.442Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-16T04:16:04.442Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-16T04:16:04.442Z] Bash-20210309-2b87ace [2021-03-16T04:16:04.442Z] [2021-03-16T04:16:04.442Z] [2021-03-16T04:16:04.442Z] ==> git version 2.24.3 found [2021-03-16T04:16:04.442Z] ==> 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-03-16T04:16:04.442Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-16T04:16:04.442Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-16T04:16:04.442Z] curl: option -sm: expected a proper numerical parameter [2021-03-16T04:16:04.442Z] curl: try 'curl --help' or 'curl --manual' for more information [2021-03-16T04:16:04.442Z] ==> Jenkins CI detected. [2021-03-16T04:16:04.442Z] project root: . [2021-03-16T04:16:04.442Z] --> token set from env [2021-03-16T04:16:04.762Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-16T04:16:04.762Z] ==> Running gcov in . (disable via -X gcov) [2021-03-16T04:16:04.762Z] ==> Python coveragepy not found [2021-03-16T04:16:04.762Z] ==> Searching for coverage reports in: [2021-03-16T04:16:04.762Z] + . [2021-03-16T04:16:04.762Z] -> Found 1 reports [2021-03-16T04:16:04.762Z] ==> Detecting git/mercurial file structure [2021-03-16T04:16:04.762Z] ==> Reading reports [2021-03-16T04:16:04.762Z] + ./coverage.out bytes=103667 [2021-03-16T04:16:04.762Z] ==> Appending adjustments [2021-03-16T04:16:04.762Z] https://docs.codecov.io/docs/fixing-reports [2021-03-16T04:16:05.968Z] + Found adjustments [2021-03-16T04:16:05.968Z] ==> Gzipping contents [2021-03-16T04:16:05.968Z] 16K /tmp/codecov.sf3eMo.gz [2021-03-16T04:16:05.968Z] ==> Uploading reports [2021-03-16T04:16:05.968Z] url: https://codecov.io [2021-03-16T04:16:05.968Z] query: branch=PR-818&commit=691fc8b9f319e7052e6cfef84f2f113a2a103960&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-818%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=818&job=&cmd_args= [2021-03-16T04:16:05.968Z] -> Pinging Codecov [2021-03-16T04:16:05.968Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-818&commit=691fc8b9f319e7052e6cfef84f2f113a2a103960&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-818%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=818&job=&cmd_args= [2021-03-16T04:16:06.551Z] -> Uploading to [2021-03-16T04:16:06.551Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-16/7E55EF52A471D76F132DFD9A03CDDE97/691fc8b9f319e7052e6cfef84f2f113a2a103960/a8ffc368-f427-454a-afc9-ccbf7f25a4ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210316T041606Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=48ea325c3d738ca0e5d6ea62066c0a7d27181d4c8e90d58f3acd0c5dac09b1c4 [2021-03-16T04:16:06.551Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-16T04:16:06.551Z] Dload Upload Total Spent Left Speed [2021-03-16T04:16:06.823Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13874 0 0 100 13874 0 31112 --:--:-- --:--:-- --:--:-- 31107 [2021-03-16T04:16:06.823Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/691fc8b9f319e7052e6cfef84f2f113a2a103960 [Pipeline] } [2021-03-16T04:16:06.853Z] 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] { (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-03-16T04:16:10.151Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:16:10.781Z] ---> package-listing.sh [2021-03-16T04:16:10.782Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-16T04:16:10.782Z] ++ facter osfamily [2021-03-16T04:16:11.052Z] + OS_FAMILY=redhat [2021-03-16T04:16:11.052Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-818 [2021-03-16T04:16:11.052Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-16T04:16:11.052Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-16T04:16:11.052Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-16T04:16:11.052Z] + PACKAGES=/tmp/packages_start.txt [2021-03-16T04:16:11.052Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-818 ']' [2021-03-16T04:16:11.052Z] + PACKAGES=/tmp/packages_end.txt [2021-03-16T04:16:11.052Z] + case "${OS_FAMILY}" in [2021-03-16T04:16:11.052Z] + rpm -qa [2021-03-16T04:16:11.052Z] + sort [2021-03-16T04:16:19.650Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-16T04:16:19.650Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-16T04:16:19.650Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-16T04:16:19.650Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-818 ']' [2021-03-16T04:16:19.650Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-818/archives/ [2021-03-16T04:16:19.650Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-818/archives/ [Pipeline] echo [2021-03-16T04:16:19.698Z] 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-818/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-16T04:16:20.044Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:16:20.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T04:16:20.968Z] [2021-03-16T04:16:20.968Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:16:21.468Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T04:16:21.775Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-16T04:16:21.775Z] df20fa9351a1: Pulling fs layer [2021-03-16T04:16:21.775Z] 36b3adc4ff6f: Pulling fs layer [2021-03-16T04:16:21.775Z] 8ad3a11d3b57: Pulling fs layer [2021-03-16T04:16:21.775Z] 46f8f816bc3b: Pulling fs layer [2021-03-16T04:16:21.775Z] 93b61091891f: Pulling fs layer [2021-03-16T04:16:21.775Z] 93b9cdb0e59b: Pulling fs layer [2021-03-16T04:16:21.775Z] 5e14af77c1be: Pulling fs layer [2021-03-16T04:16:21.775Z] 01666e4c0597: Pulling fs layer [2021-03-16T04:16:21.775Z] aa168da1d23b: Pulling fs layer [2021-03-16T04:16:21.775Z] 93b9cdb0e59b: Waiting [2021-03-16T04:16:21.775Z] 5e14af77c1be: Waiting [2021-03-16T04:16:21.775Z] 01666e4c0597: Waiting [2021-03-16T04:16:21.775Z] aa168da1d23b: Waiting [2021-03-16T04:16:21.775Z] 46f8f816bc3b: Waiting [2021-03-16T04:16:21.775Z] 93b61091891f: Waiting [2021-03-16T04:16:21.775Z] 36b3adc4ff6f: Verifying Checksum [2021-03-16T04:16:21.775Z] 36b3adc4ff6f: Download complete [2021-03-16T04:16:21.775Z] 46f8f816bc3b: Download complete [2021-03-16T04:16:22.472Z] df20fa9351a1: Verifying Checksum [2021-03-16T04:16:22.472Z] df20fa9351a1: Download complete [2021-03-16T04:16:22.472Z] 93b9cdb0e59b: Verifying Checksum [2021-03-16T04:16:22.472Z] 93b9cdb0e59b: Download complete [2021-03-16T04:16:22.472Z] 93b61091891f: Verifying Checksum [2021-03-16T04:16:22.472Z] 93b61091891f: Download complete [2021-03-16T04:16:22.472Z] 5e14af77c1be: Verifying Checksum [2021-03-16T04:16:22.472Z] 5e14af77c1be: Download complete [2021-03-16T04:16:22.472Z] 01666e4c0597: Verifying Checksum [2021-03-16T04:16:22.472Z] 01666e4c0597: Download complete [2021-03-16T04:16:23.125Z] df20fa9351a1: Pull complete [2021-03-16T04:16:23.487Z] 8ad3a11d3b57: Verifying Checksum [2021-03-16T04:16:23.487Z] 8ad3a11d3b57: Download complete [2021-03-16T04:16:23.777Z] 36b3adc4ff6f: Pull complete [2021-03-16T04:16:26.618Z] 8ad3a11d3b57: Pull complete [2021-03-16T04:16:26.618Z] 46f8f816bc3b: Pull complete [2021-03-16T04:16:28.717Z] 93b61091891f: Pull complete [2021-03-16T04:16:29.019Z] 93b9cdb0e59b: Pull complete [2021-03-16T04:16:29.342Z] 5e14af77c1be: Pull complete [2021-03-16T04:16:29.680Z] aa168da1d23b: Verifying Checksum [2021-03-16T04:16:29.680Z] aa168da1d23b: Download complete [2021-03-16T04:16:29.680Z] 01666e4c0597: Pull complete [2021-03-16T04:16:52.374Z] aa168da1d23b: Pull complete [2021-03-16T04:16:52.374Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-16T04:16:52.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T04:16:52.374Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-16T04:16:55.073Z] prd-centos7-docker-4c-2g-29932 does not seem to be running inside a container [2021-03-16T04:16:55.250Z] $ 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-818/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-818 -v /w/workspace/dgexfoundry_device-sdk-go_PR-818:/w/workspace/dgexfoundry_device-sdk-go_PR-818:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-16T04:16:58.156Z] $ docker top 73d51aaab10ad6f9cc308c5bfad2cc205d52f10278859945ab65e9af8762282a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T04:16:59.298Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-16T04:16:59.984Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-16T04:17:00.333Z] + ls /var/log/sa-host [2021-03-16T04:17:00.333Z] + sadf -c /var/log/sa-host/sa16 [2021-03-16T04:17:00.333Z] file_magic: OK [2021-03-16T04:17:00.333Z] HZ: Using current value: 100 [2021-03-16T04:17:00.333Z] file_header: OK [2021-03-16T04:17:00.333Z] 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-03-16T04:17:00.333Z] Statistics: [2021-03-16T04:17:00.333Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-16T04:17:00.333Z] File successfully converted to sysstat format version 12.2.1 [2021-03-16T04:17:00.333Z] + sadf -c /var/log/sa-host/sa23 [2021-03-16T04:17:00.333Z] file_magic: OK [2021-03-16T04:17:00.333Z] HZ: Using current value: 100 [2021-03-16T04:17:00.333Z] file_header: OK [2021-03-16T04:17:00.333Z] 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-03-16T04:17:00.333Z] Statistics: [2021-03-16T04:17:00.333Z] Hnuu...uuuununununu... [2021-03-16T04:17:00.333Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-16T04:17:00.618Z] provisioning config files... [2021-03-16T04:17:00.637Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp/config6266631585487521275tmp [Pipeline] { [Pipeline] echo [2021-03-16T04:17:00.843Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:17:01.574Z] ---> create-netrc.sh [Pipeline] } [2021-03-16T04:17:01.600Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-16T04:17:01.755Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:17:02.189Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-16T04:17:02.249Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:17:02.653Z] ---> sudo-logs.sh [2021-03-16T04:17:02.653Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-16T04:17:03.121Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:17:03.494Z] ---> job-cost.sh [2021-03-16T04:17:03.782Z] lf-activate-venv: SKIPPING [2021-03-16T04:17:03.782Z] DEBUG: total: 0.20999999344348907 [2021-03-16T04:17:03.782Z] INFO: Retrieving Stack Cost... [2021-03-16T04:17:05.693Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-16T04:17:06.321Z] INFO: Archiving Costs [Pipeline] echo [2021-03-16T04:17:06.370Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:17:07.109Z] ---> logs-deploy.sh [2021-03-16T04:17:07.109Z] lf-activate-venv: SKIPPING [2021-03-16T04:17:07.109Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-818/1 [2021-03-16T04:17:07.109Z] INFO: archiving workspace using pattern(s): [2021-03-16T04:17:11.876Z] Archives upload complete. [2021-03-16T04:17:11.876Z] INFO: archiving logs to Nexus