Pull request #838 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 104d160e7b4b0bcb433373539b1b9f86cb2a0a33+e522836f5d508ce20413c5d2a08a926bd2b9771b (d29c0fbbd69617c852c0d555c6b39efb24d14eaf) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-838/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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-838/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-31326 in /w/workspace/dgexfoundry_device-sdk-go_PR-838 [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-838 # 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 Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit 104d160e7b4b0bcb433373539b1b9f86cb2a0a33 Merge succeeded, producing 104d160e7b4b0bcb433373539b1b9f86cb2a0a33 Checking out Revision 104d160e7b4b0bcb433373539b1b9f86cb2a0a33 (PR-838) > 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/838/head:refs/remotes/origin/PR-838 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 104d160e7b4b0bcb433373539b1b9f86cb2a0a33 # 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 e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 104d160e7b4b0bcb433373539b1b9f86cb2a0a33 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-25T05:45:33.887Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-25T05:45:34.208Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-25T05:45:34.405Z] ========================================================= [2021-03-25T05:45:34.405Z] EdgeX Global Pipelines Version Info [2021-03-25T05:45:34.405Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-25T05:45:35.893Z] ------------------- [2021-03-25T05:45:35.893Z] stable info: [2021-03-25T05:45:35.893Z] ------------------- [2021-03-25T05:45:35.893Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-25T05:45:35.893Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-25T05:45:35.893Z] Message: update stable to v1.0.186 [2021-03-25T05:45:36.843Z] ------------------- [2021-03-25T05:45:36.843Z] experimental info: [2021-03-25T05:45:36.843Z] ------------------- [2021-03-25T05:45:36.843Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-25T05:45:36.843Z] Commit SHA: 606c6f769ab3e61af702b3bd2da8ca6cacc01659 [2021-03-25T05:45:36.843Z] Message: update experimental to v1.0.187 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-25T05:45:37.185Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-25T05:45:37.304Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-25T05:45:37.421Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-25T05:45:37.542Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-25T05:45:37.692Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-25T05:45:37.809Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-25T05:45:37.927Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-25T05:45:38.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-25T05:45:38.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-25T05:45:38.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-25T05:45:38.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-25T05:45:38.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-25T05:45:38.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-25T05:45:38.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-25T05:45:38.873Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-25T05:45:39.038Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T05:45:39.154Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T05:45:39.269Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T05:45:39.416Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-25T05:45:39.533Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-25T05:45:39.658Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-25T05:45:39.778Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-25T05:45:39.895Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-25T05:45:40.012Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-25T05:45:40.201Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-25T05:45:40.355Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-25T05:45:40.644Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-838 [Pipeline] echo [2021-03-25T05:45:40.804Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-838 [Pipeline] echo [2021-03-25T05:45:40.968Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-838 [Pipeline] echo [2021-03-25T05:45:41.191Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 104d160e7b4b0bcb433373539b1b9f86cb2a0a33 [Pipeline] echo [2021-03-25T05:45:41.310Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 104d160 [Pipeline] echo [2021-03-25T05:45:41.432Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-25T05:45:41.707Z] provisioning config files... [2021-03-25T05:45:41.737Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-838@tmp/config2799009883747363529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-25T05:45:42.166Z] ---> docker-login.sh [2021-03-25T05:45:42.166Z] nexus3.edgexfoundry.org:10001 [2021-03-25T05:45:42.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T05:45:42.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T05:45:42.430Z] Configure a credential helper to remove this warning. See [2021-03-25T05:45:42.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T05:45:42.430Z] [2021-03-25T05:45:42.430Z] Login Succeeded [2021-03-25T05:45:42.430Z] nexus3.edgexfoundry.org:10002 [2021-03-25T05:45:42.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T05:45:42.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T05:45:42.691Z] Configure a credential helper to remove this warning. See [2021-03-25T05:45:42.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T05:45:42.691Z] [2021-03-25T05:45:42.691Z] Login Succeeded [2021-03-25T05:45:42.691Z] nexus3.edgexfoundry.org:10003 [2021-03-25T05:45:42.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T05:45:42.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T05:45:42.959Z] Configure a credential helper to remove this warning. See [2021-03-25T05:45:42.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T05:45:42.959Z] [2021-03-25T05:45:42.959Z] Login Succeeded [2021-03-25T05:45:42.959Z] nexus3.edgexfoundry.org:10004 [2021-03-25T05:45:42.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T05:45:42.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T05:45:42.959Z] Configure a credential helper to remove this warning. See [2021-03-25T05:45:42.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T05:45:42.959Z] [2021-03-25T05:45:42.959Z] Login Succeeded [2021-03-25T05:45:42.959Z] docker.io [2021-03-25T05:45:43.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T05:45:43.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T05:45:43.489Z] Configure a credential helper to remove this warning. See [2021-03-25T05:45:43.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T05:45:43.489Z] [2021-03-25T05:45:43.489Z] Login Succeeded [2021-03-25T05:45:43.489Z] ---> docker-login.sh ends [Pipeline] } [2021-03-25T05:45:43.512Z] 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-25T05:45:44.700Z] + git log --format=format:%s -1 104d160e7b4b0bcb433373539b1b9f86cb2a0a33 [Pipeline] echo [2021-03-25T05:45:44.784Z] GIT_COMMIT: 104d160e7b4b0bcb433373539b1b9f86cb2a0a33, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-03-25T05:45:44.856Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-25T05:45:45.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T05:45:45.475Z] [2021-03-25T05:45:45.475Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-25T05:45:45.862Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T05:45:45.862Z] latest: Pulling from edgex-devops/git-semver [2021-03-25T05:45:45.862Z] 31603596830f: Pulling fs layer [2021-03-25T05:45:45.862Z] 2a8b12db71e7: Pulling fs layer [2021-03-25T05:45:45.862Z] 6ca5941a6612: Pulling fs layer [2021-03-25T05:45:45.862Z] ecc8261a40a4: Pulling fs layer [2021-03-25T05:45:45.862Z] ecc8261a40a4: Waiting [2021-03-25T05:45:45.862Z] 2a8b12db71e7: Verifying Checksum [2021-03-25T05:45:45.862Z] 2a8b12db71e7: Download complete [2021-03-25T05:45:46.126Z] 31603596830f: Verifying Checksum [2021-03-25T05:45:46.126Z] 31603596830f: Download complete [2021-03-25T05:45:46.126Z] ecc8261a40a4: Verifying Checksum [2021-03-25T05:45:46.126Z] ecc8261a40a4: Download complete [2021-03-25T05:45:46.126Z] 6ca5941a6612: Download complete [2021-03-25T05:45:46.388Z] 31603596830f: Pull complete [2021-03-25T05:45:46.388Z] 2a8b12db71e7: Pull complete [2021-03-25T05:45:47.333Z] 6ca5941a6612: Pull complete [2021-03-25T05:45:47.910Z] ecc8261a40a4: Pull complete [2021-03-25T05:45:47.910Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-25T05:45:47.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T05:45:47.910Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-25T05:45:48.031Z] prd-centos7-docker-4c-2g-31326 does not seem to be running inside a container [2021-03-25T05:45:48.076Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-838 -v /w/workspace/dgexfoundry_device-sdk-go_PR-838:/w/workspace/dgexfoundry_device-sdk-go_PR-838:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-838@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-838@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-25T05:45:49.701Z] $ docker top 893e4b6c1e416d5a26e71c80db15c123977e1d34c4908e917da993fffe90f8f3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-25T05:45:50.054Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T05:45:50.054Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T05:45:50.273Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T05:45:50.277Z] $ docker exec 893e4b6c1e416d5a26e71c80db15c123977e1d34c4908e917da993fffe90f8f3 ssh-agent [2021-03-25T05:45:50.437Z] SSH_AUTH_SOCK=/tmp/ssh-MEsVIZSg0qOa/agent.11 [2021-03-25T05:45:50.437Z] SSH_AGENT_PID=16 [2021-03-25T05:45:50.446Z] Running ssh-add (command line suppressed) [2021-03-25T05:45:50.560Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-838@tmp/private_key_1375042952692629515.key (/w/workspace/dgexfoundry_device-sdk-go_PR-838@tmp/private_key_1375042952692629515.key) [2021-03-25T05:45:50.609Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T05:45:50.980Z] + git tag --points-at HEAD [Pipeline] } [2021-03-25T05:45:51.004Z] $ docker exec --env ******** --env ******** 893e4b6c1e416d5a26e71c80db15c123977e1d34c4908e917da993fffe90f8f3 ssh-agent -k [2021-03-25T05:45:51.121Z] unset SSH_AUTH_SOCK; [2021-03-25T05:45:51.122Z] unset SSH_AGENT_PID; [2021-03-25T05:45:51.122Z] echo Agent pid 16 killed; [2021-03-25T05:45:51.172Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-25T05:45:51.361Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T05:45:51.361Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T05:45:51.533Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T05:45:51.536Z] $ docker exec 893e4b6c1e416d5a26e71c80db15c123977e1d34c4908e917da993fffe90f8f3 ssh-agent [2021-03-25T05:45:51.690Z] SSH_AUTH_SOCK=/tmp/ssh-D96ztPv2j1rF/agent.48 [2021-03-25T05:45:51.690Z] SSH_AGENT_PID=53 [2021-03-25T05:45:51.696Z] Running ssh-add (command line suppressed) [2021-03-25T05:45:51.817Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-838@tmp/private_key_3041481447654850983.key (/w/workspace/dgexfoundry_device-sdk-go_PR-838@tmp/private_key_3041481447654850983.key) [2021-03-25T05:45:51.871Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T05:45:52.246Z] + git semver init [2021-03-25T05:45:52.246Z] # -> Open(): unable to determine branch for HEAD [2021-03-25T05:45:52.246Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-838/.git [2021-03-25T05:45:52.246Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-838 [2021-03-25T05:45:52.246Z] # $SEMVER_REMOTE_NAME = origin [2021-03-25T05:45:52.246Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-25T05:45:52.246Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-25T05:45:52.246Z] # $SEMVER_BRANCH = PR-838 [2021-03-25T05:45:52.246Z] # $SEMVER_TEMP = /tmp/semver-120780510 [2021-03-25T05:45:52.246Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-25T05:45:53.194Z] # '/tmp/semver-120780510' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-838/.semver' [2021-03-25T05:45:53.194Z] # -> Force: false [2021-03-25T05:45:53.194Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-838/.semver [Pipeline] } [2021-03-25T05:45:53.221Z] $ docker exec --env ******** --env ******** 893e4b6c1e416d5a26e71c80db15c123977e1d34c4908e917da993fffe90f8f3 ssh-agent -k [2021-03-25T05:45:53.331Z] unset SSH_AUTH_SOCK; [2021-03-25T05:45:53.332Z] unset SSH_AGENT_PID; [2021-03-25T05:45:53.332Z] echo Agent pid 53 killed; [2021-03-25T05:45:53.376Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-25T05:45:53.945Z] + git semver [Pipeline] } [2021-03-25T05:45:53.976Z] $ docker stop --time=1 893e4b6c1e416d5a26e71c80db15c123977e1d34c4908e917da993fffe90f8f3 [2021-03-25T05:45:55.339Z] $ docker rm -f 893e4b6c1e416d5a26e71c80db15c123977e1d34c4908e917da993fffe90f8f3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-25T05:45:55.844Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-25T05:45:56.243Z] Stashed 1 file(s) [Pipeline] echo [2021-03-25T05:45:56.266Z] [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-25T05:46:12.085Z] Still waiting to schedule task [2021-03-25T05:46:12.085Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-25T05:46:12.114Z] Still waiting to schedule task [2021-03-25T05:46:12.114Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-25T05:47:59.472Z] Running on prd-centos7-docker-4c-2g-31329 in /w/workspace/dgexfoundry_device-sdk-go_PR-838 [Pipeline] { [Pipeline] ws [2021-03-25T05:47:59.573Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-25T05:48:02.324Z] using credential edgex-jenkins-ssh [2021-03-25T05:48:02.389Z] Cloning the remote Git repository [2021-03-25T05:48:02.304Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T05:48:02.386Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-25T05:48:02.483Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T05:48:02.484Z] > git --version # timeout=10 [2021-03-25T05:48:02.495Z] > git --version # 'git version 2.24.3' [2021-03-25T05:48:02.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T05:48:02.554Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T05:48:03.799Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-25T05:48:03.812Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T05:48:03.831Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-25T05:48:03.858Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T05:48:03.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T05:48:03.864Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/838/head:refs/remotes/origin/PR-838 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-25T05:48:04.357Z] Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit 104d160e7b4b0bcb433373539b1b9f86cb2a0a33 [2021-03-25T05:48:04.461Z] Merge succeeded, producing 104d160e7b4b0bcb433373539b1b9f86cb2a0a33 [2021-03-25T05:48:04.462Z] Checking out Revision 104d160e7b4b0bcb433373539b1b9f86cb2a0a33 (PR-838) [2021-03-25T05:48:04.369Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T05:48:04.374Z] > git checkout -f 104d160e7b4b0bcb433373539b1b9f86cb2a0a33 # timeout=10 [2021-03-25T05:48:04.428Z] > git remote # timeout=10 [2021-03-25T05:48:04.434Z] > git config --get remote.origin.url # timeout=10 [2021-03-25T05:48:04.441Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T05:48:04.445Z] > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-25T05:48:04.456Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-25T05:48:04.466Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T05:48:04.474Z] > git checkout -f 104d160e7b4b0bcb433373539b1b9f86cb2a0a33 # timeout=10 [2021-03-25T05:48:08.168Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-03-25T05:48:08.195Z] > git --version # timeout=10 [2021-03-25T05:48:08.201Z] > git --version # 'git version 2.24.3' [2021-03-25T05:48:08.206Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-25T05:48:09.833Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-25T05:48:10.188Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-25T05:48:10.513Z] + sudo service docker restart [2021-03-25T05:48:10.513Z] + true [2021-03-25T05:48:10.513Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-25T05:48:12.576Z] provisioning config files... [2021-03-25T05:48:12.606Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5624088639747401808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-25T05:48:13.048Z] ---> docker-login.sh [2021-03-25T05:48:13.048Z] nexus3.edgexfoundry.org:10001 [2021-03-25T05:48:13.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T05:48:13.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T05:48:13.585Z] Configure a credential helper to remove this warning. See [2021-03-25T05:48:13.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T05:48:13.585Z] [2021-03-25T05:48:13.585Z] Login Succeeded [2021-03-25T05:48:13.585Z] nexus3.edgexfoundry.org:10002 [2021-03-25T05:48:13.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T05:48:13.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T05:48:13.861Z] Configure a credential helper to remove this warning. See [2021-03-25T05:48:13.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T05:48:13.861Z] [2021-03-25T05:48:13.861Z] Login Succeeded [2021-03-25T05:48:13.861Z] nexus3.edgexfoundry.org:10003 [2021-03-25T05:48:13.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T05:48:14.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T05:48:14.126Z] Configure a credential helper to remove this warning. See [2021-03-25T05:48:14.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T05:48:14.126Z] [2021-03-25T05:48:14.126Z] Login Succeeded [2021-03-25T05:48:14.126Z] nexus3.edgexfoundry.org:10004 [2021-03-25T05:48:14.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T05:48:14.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T05:48:14.390Z] Configure a credential helper to remove this warning. See [2021-03-25T05:48:14.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T05:48:14.390Z] [2021-03-25T05:48:14.390Z] Login Succeeded [2021-03-25T05:48:14.390Z] docker.io [2021-03-25T05:48:14.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T05:48:14.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T05:48:14.659Z] Configure a credential helper to remove this warning. See [2021-03-25T05:48:14.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T05:48:14.659Z] [2021-03-25T05:48:14.659Z] Login Succeeded [2021-03-25T05:48:14.659Z] ---> docker-login.sh ends [Pipeline] } [2021-03-25T05:48:14.687Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-25T05:48:15.270Z] ========================================================= [2021-03-25T05:48:15.270Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-25T05:48:15.270Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-25T05:48:15.665Z] + 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-25T05:48:15.928Z] Sending build context to Docker daemon 2.288MB [2021-03-25T05:48:15.928Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-25T05:48:15.928Z] Step 2/8 : FROM ${BASE} [2021-03-25T05:48:15.928Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-25T05:48:15.928Z] 188c0c94c7c5: Pulling fs layer [2021-03-25T05:48:15.928Z] 0ef7d3d256c8: Pulling fs layer [2021-03-25T05:48:15.928Z] de9db76c5a1d: Pulling fs layer [2021-03-25T05:48:15.928Z] bca2f99d35d6: Pulling fs layer [2021-03-25T05:48:15.928Z] 93359f2a8cfa: Pulling fs layer [2021-03-25T05:48:15.928Z] 7c6f9722023f: Pulling fs layer [2021-03-25T05:48:15.928Z] a35cf1a2eb13: Pulling fs layer [2021-03-25T05:48:15.928Z] 93359f2a8cfa: Waiting [2021-03-25T05:48:15.928Z] 7c6f9722023f: Waiting [2021-03-25T05:48:15.928Z] a35cf1a2eb13: Waiting [2021-03-25T05:48:15.928Z] bca2f99d35d6: Waiting [2021-03-25T05:48:15.928Z] de9db76c5a1d: Verifying Checksum [2021-03-25T05:48:15.928Z] de9db76c5a1d: Download complete [2021-03-25T05:48:15.928Z] 0ef7d3d256c8: Verifying Checksum [2021-03-25T05:48:15.928Z] 0ef7d3d256c8: Download complete [2021-03-25T05:48:15.928Z] 93359f2a8cfa: Verifying Checksum [2021-03-25T05:48:15.928Z] 93359f2a8cfa: Download complete [2021-03-25T05:48:15.928Z] 188c0c94c7c5: Verifying Checksum [2021-03-25T05:48:15.928Z] 188c0c94c7c5: Download complete [2021-03-25T05:48:15.928Z] 7c6f9722023f: Verifying Checksum [2021-03-25T05:48:15.928Z] 7c6f9722023f: Download complete [2021-03-25T05:48:16.516Z] 188c0c94c7c5: Pull complete [2021-03-25T05:48:16.516Z] 0ef7d3d256c8: Pull complete [2021-03-25T05:48:16.781Z] de9db76c5a1d: Pull complete [2021-03-25T05:48:18.721Z] a35cf1a2eb13: Verifying Checksum [2021-03-25T05:48:18.721Z] a35cf1a2eb13: Download complete [2021-03-25T05:48:19.677Z] bca2f99d35d6: Verifying Checksum [2021-03-25T05:48:19.677Z] bca2f99d35d6: Download complete [2021-03-25T05:48:26.358Z] bca2f99d35d6: Pull complete [2021-03-25T05:48:26.358Z] 93359f2a8cfa: Pull complete [2021-03-25T05:48:26.358Z] 7c6f9722023f: Pull complete [2021-03-25T05:48:35.993Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31330 in /w/workspace/dgexfoundry_device-sdk-go_PR-838 [Pipeline] { [Pipeline] ws [2021-03-25T05:48:36.088Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-25T05:48:36.425Z] a35cf1a2eb13: Pull complete [2021-03-25T05:48:36.425Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-25T05:48:36.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-25T05:48:36.425Z] ---> a62c8e92a672 [2021-03-25T05:48:36.425Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-25T05:48:36.425Z] ---> Running in f54ed37a2858 [2021-03-25T05:48:36.693Z] Removing intermediate container f54ed37a2858 [2021-03-25T05:48:36.693Z] ---> ad8120abbf15 [2021-03-25T05:48:36.693Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-25T05:48:36.960Z] ---> Running in 637ed3fa4bc7 [2021-03-25T05:48:37.921Z] Removing intermediate container 637ed3fa4bc7 [2021-03-25T05:48:37.921Z] ---> 0f4f952ab204 [2021-03-25T05:48:37.921Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-25T05:48:37.921Z] ---> Running in 1061eac4b893 [2021-03-25T05:48:38.500Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-25T05:48:39.448Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-25T05:48:40.033Z] OK: 166 MiB in 39 packages [2021-03-25T05:48:40.616Z] Removing intermediate container 1061eac4b893 [2021-03-25T05:48:40.616Z] ---> d5214452672b [2021-03-25T05:48:40.616Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-25T05:48:40.616Z] ---> Running in bf005e9da141 [2021-03-25T05:48:40.616Z] Removing intermediate container bf005e9da141 [2021-03-25T05:48:40.616Z] ---> 2c4788a0c6cb [2021-03-25T05:48:40.616Z] Step 7/8 : COPY . . [2021-03-25T05:48:41.152Z] using credential edgex-jenkins-ssh [2021-03-25T05:48:41.213Z] Cloning the remote Git repository [2021-03-25T05:48:41.279Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T05:48:42.022Z] ---> 66387bc069db [2021-03-25T05:48:42.022Z] Step 8/8 : RUN go mod download [2021-03-25T05:48:42.022Z] ---> Running in bdea951b99fc [2021-03-25T05:48:41.389Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-25T05:48:41.476Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T05:48:41.477Z] > git --version # timeout=10 [2021-03-25T05:48:41.506Z] > git --version # 'git version 2.17.1' [2021-03-25T05:48:41.508Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T05:48:41.601Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T05:48:45.076Z] Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit 104d160e7b4b0bcb433373539b1b9f86cb2a0a33 [2021-03-25T05:48:44.492Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-25T05:48:44.508Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T05:48:44.541Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-25T05:48:44.568Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T05:48:44.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T05:48:44.581Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/838/head:refs/remotes/origin/PR-838 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-25T05:48:45.100Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T05:48:45.111Z] > git checkout -f 104d160e7b4b0bcb433373539b1b9f86cb2a0a33 # timeout=10 [2021-03-25T05:48:45.277Z] Merge succeeded, producing 104d160e7b4b0bcb433373539b1b9f86cb2a0a33 [2021-03-25T05:48:45.277Z] Checking out Revision 104d160e7b4b0bcb433373539b1b9f86cb2a0a33 (PR-838) [2021-03-25T05:48:45.208Z] > git remote # timeout=10 [2021-03-25T05:48:45.226Z] > git config --get remote.origin.url # timeout=10 [2021-03-25T05:48:45.236Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T05:48:45.246Z] > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-25T05:48:45.268Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-25T05:48:45.291Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T05:48:45.301Z] > git checkout -f 104d160e7b4b0bcb433373539b1b9f86cb2a0a33 # timeout=10 [2021-03-25T05:48:49.633Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-03-25T05:48:49.703Z] > git --version # timeout=10 [2021-03-25T05:48:49.714Z] > git --version # 'git version 2.17.1' [2021-03-25T05:48:49.740Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-25T05:48:51.485Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-25T05:48:51.910Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-25T05:48:52.281Z] + sudo service docker restart [2021-03-25T05:48:52.281Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-25T05:48:54.448Z] provisioning config files... [2021-03-25T05:48:54.496Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8104251935657741358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-25T05:48:54.948Z] ---> docker-login.sh [2021-03-25T05:48:54.948Z] nexus3.edgexfoundry.org:10001 [2021-03-25T05:48:55.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T05:48:56.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T05:48:56.208Z] Configure a credential helper to remove this warning. See [2021-03-25T05:48:56.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T05:48:56.208Z] [2021-03-25T05:48:56.208Z] Login Succeeded [2021-03-25T05:48:56.208Z] nexus3.edgexfoundry.org:10002 [2021-03-25T05:48:56.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T05:48:56.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T05:48:56.483Z] Configure a credential helper to remove this warning. See [2021-03-25T05:48:56.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T05:48:56.483Z] [2021-03-25T05:48:56.483Z] Login Succeeded [2021-03-25T05:48:56.757Z] nexus3.edgexfoundry.org:10003 [2021-03-25T05:48:57.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T05:48:57.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T05:48:57.039Z] Configure a credential helper to remove this warning. See [2021-03-25T05:48:57.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T05:48:57.039Z] [2021-03-25T05:48:57.039Z] Login Succeeded [2021-03-25T05:48:57.039Z] nexus3.edgexfoundry.org:10004 [2021-03-25T05:48:57.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T05:48:57.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T05:48:57.639Z] Configure a credential helper to remove this warning. See [2021-03-25T05:48:57.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T05:48:57.639Z] [2021-03-25T05:48:57.639Z] Login Succeeded [2021-03-25T05:48:57.639Z] docker.io [2021-03-25T05:48:58.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T05:48:58.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T05:48:58.512Z] Configure a credential helper to remove this warning. See [2021-03-25T05:48:58.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T05:48:58.512Z] [2021-03-25T05:48:58.512Z] Login Succeeded [2021-03-25T05:48:58.512Z] ---> docker-login.sh ends [Pipeline] } [2021-03-25T05:48:58.553Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-25T05:48:59.110Z] ========================================================= [2021-03-25T05:48:59.111Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-25T05:48:59.111Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-25T05:48:59.544Z] + 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-25T05:48:59.819Z] Sending build context to Docker daemon 2.287MB [2021-03-25T05:49:00.097Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-25T05:49:00.097Z] Step 2/8 : FROM ${BASE} [2021-03-25T05:49:00.097Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-25T05:49:00.097Z] 5f621e34cdf4: Pulling fs layer [2021-03-25T05:49:00.097Z] a4357932f1b6: Pulling fs layer [2021-03-25T05:49:00.097Z] 18c013af1878: Pulling fs layer [2021-03-25T05:49:00.097Z] 00ac8860ef70: Pulling fs layer [2021-03-25T05:49:00.097Z] 63d7cb157983: Pulling fs layer [2021-03-25T05:49:00.097Z] b116817d02f9: Pulling fs layer [2021-03-25T05:49:00.097Z] 745a02a5169b: Pulling fs layer [2021-03-25T05:49:00.097Z] 00ac8860ef70: Waiting [2021-03-25T05:49:00.097Z] 63d7cb157983: Waiting [2021-03-25T05:49:00.097Z] b116817d02f9: Waiting [2021-03-25T05:49:00.097Z] 745a02a5169b: Waiting [2021-03-25T05:49:00.097Z] 18c013af1878: Verifying Checksum [2021-03-25T05:49:00.097Z] 18c013af1878: Download complete [2021-03-25T05:49:00.097Z] a4357932f1b6: Verifying Checksum [2021-03-25T05:49:00.097Z] a4357932f1b6: Download complete [2021-03-25T05:49:00.097Z] 63d7cb157983: Verifying Checksum [2021-03-25T05:49:00.097Z] 63d7cb157983: Download complete [2021-03-25T05:49:00.097Z] b116817d02f9: Verifying Checksum [2021-03-25T05:49:00.097Z] b116817d02f9: Download complete [2021-03-25T05:49:00.097Z] 5f621e34cdf4: Verifying Checksum [2021-03-25T05:49:00.097Z] 5f621e34cdf4: Download complete [2021-03-25T05:49:00.711Z] 5f621e34cdf4: Pull complete [2021-03-25T05:49:01.702Z] a4357932f1b6: Pull complete [2021-03-25T05:49:01.979Z] 18c013af1878: Pull complete [2021-03-25T05:49:02.578Z] 745a02a5169b: Verifying Checksum [2021-03-25T05:49:02.578Z] 745a02a5169b: Download complete [2021-03-25T05:49:04.012Z] 00ac8860ef70: Verifying Checksum [2021-03-25T05:49:04.012Z] 00ac8860ef70: Download complete [2021-03-25T05:49:04.080Z] Removing intermediate container bdea951b99fc [2021-03-25T05:49:04.081Z] ---> b29f1eec7179 [2021-03-25T05:49:04.081Z] Successfully built b29f1eec7179 [2021-03-25T05:49:04.081Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-25T05:49:04.450Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-25T05:49:04.451Z] . [Pipeline] withDockerContainer [2021-03-25T05:49:04.612Z] prd-centos7-docker-4c-2g-31329 does not seem to be running inside a container [2021-03-25T05:49:04.677Z] $ 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 ******** ci-base-image-x86_64 cat [2021-03-25T05:49:05.661Z] $ docker top 75edda121debb386daaa857efca5a29016af1552b95410c0f124ff97e8de6f3b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T05:49:06.275Z] + go version [2021-03-25T05:49:06.276Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-25T05:49:06.313Z] $ docker stop --time=1 75edda121debb386daaa857efca5a29016af1552b95410c0f124ff97e8de6f3b [2021-03-25T05:49:07.683Z] $ docker rm -f 75edda121debb386daaa857efca5a29016af1552b95410c0f124ff97e8de6f3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-25T05:49:08.797Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-25T05:49:08.797Z] . [Pipeline] withDockerContainer [2021-03-25T05:49:08.938Z] prd-centos7-docker-4c-2g-31329 does not seem to be running inside a container [2021-03-25T05:49:08.991Z] $ 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 ******** ci-base-image-x86_64 cat [2021-03-25T05:49:09.673Z] $ docker top bf21bf15d64afe79021a7e3faae6570b2656cf4d33205a30e6d8897ab2e25e8e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T05:49:10.235Z] + make test [2021-03-25T05:49:10.235Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-25T05:49:14.177Z] 00ac8860ef70: Pull complete [2021-03-25T05:49:14.177Z] 63d7cb157983: Pull complete [2021-03-25T05:49:14.781Z] b116817d02f9: Pull complete [2021-03-25T05:49:18.470Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-25T05:49:19.129Z] 745a02a5169b: Pull complete [2021-03-25T05:49:19.129Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-25T05:49:19.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-25T05:49:19.129Z] ---> b7e6874047d6 [2021-03-25T05:49:19.129Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-25T05:49:21.129Z] ---> Running in bfc2e7d3f6bb [2021-03-25T05:49:21.726Z] Removing intermediate container bfc2e7d3f6bb [2021-03-25T05:49:21.726Z] ---> 3ef8c6bd2c33 [2021-03-25T05:49:21.726Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-25T05:49:22.000Z] ---> Running in d990f0031b88 [2021-03-25T05:49:24.651Z] Removing intermediate container d990f0031b88 [2021-03-25T05:49:24.651Z] ---> c446e58f08a2 [2021-03-25T05:49:24.651Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-25T05:49:24.651Z] ---> Running in ac168ed5be00 [2021-03-25T05:49:25.256Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-25T05:49:26.235Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-25T05:49:26.829Z] OK: 142 MiB in 39 packages [2021-03-25T05:49:27.817Z] Removing intermediate container ac168ed5be00 [2021-03-25T05:49:27.817Z] ---> 66e7db789117 [2021-03-25T05:49:27.817Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-25T05:49:28.092Z] ---> Running in f71d9c92b810 [2021-03-25T05:49:28.691Z] Removing intermediate container f71d9c92b810 [2021-03-25T05:49:28.691Z] ---> c8c249db5bbb [2021-03-25T05:49:28.691Z] Step 7/8 : COPY . . [2021-03-25T05:49:29.675Z] ---> 9050f8b9cf1d [2021-03-25T05:49:29.675Z] Step 8/8 : RUN go mod download [2021-03-25T05:49:29.949Z] ---> Running in 44d85503a6ff [2021-03-25T05:49:36.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-25T05:49:36.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-25T05:49:36.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-25T05:49:36.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-25T05:49:37.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.073s coverage: 27.0% of statements [2021-03-25T05:49:37.938Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 81.2% of statements [2021-03-25T05:49:52.141Z] Removing intermediate container 44d85503a6ff [2021-03-25T05:49:52.141Z] ---> ad057597056c [2021-03-25T05:49:52.141Z] Successfully built ad057597056c [2021-03-25T05:49:52.141Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-25T05:49:52.515Z] + docker inspect -f . ci-base-image-arm64 [2021-03-25T05:49:52.515Z] . [Pipeline] withDockerContainer [2021-03-25T05:49:52.809Z] prd-ubuntu18.04-docker-arm64-4c-16g-31330 does not seem to be running inside a container [2021-03-25T05:49:52.878Z] $ 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 ******** ci-base-image-arm64 cat [2021-03-25T05:49:54.400Z] $ docker top 568c394e31a3f3f7abce552ae8fa81a6a5049fc0cda2a56e3743b25526d28668 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T05:49:55.501Z] + go version [2021-03-25T05:49:55.501Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-25T05:49:55.529Z] $ docker stop --time=1 568c394e31a3f3f7abce552ae8fa81a6a5049fc0cda2a56e3743b25526d28668 [2021-03-25T05:49:57.475Z] $ docker rm -f 568c394e31a3f3f7abce552ae8fa81a6a5049fc0cda2a56e3743b25526d28668 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-25T05:49:58.706Z] + docker inspect -f . ci-base-image-arm64 [2021-03-25T05:49:58.706Z] . [Pipeline] withDockerContainer [2021-03-25T05:49:58.989Z] prd-ubuntu18.04-docker-arm64-4c-16g-31330 does not seem to be running inside a container [2021-03-25T05:49:59.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 ******** ci-base-image-arm64 cat [2021-03-25T05:50:00.569Z] $ docker top 16333bbd1d007cb2b6fa58c96feaa8928f879d15ee0fa9e98f34ebd53378f862 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T05:50:01.645Z] + make test [2021-03-25T05:50:01.645Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-25T05:50:10.132Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.055s coverage: 10.5% of statements [2021-03-25T05:50:10.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-25T05:50:10.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-25T05:50:10.132Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.080s coverage: 32.5% of statements [2021-03-25T05:50:10.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-25T05:50:10.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-25T05:50:10.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-25T05:50:10.132Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.098s coverage: 57.3% of statements [2021-03-25T05:50:10.132Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.194s coverage: 6.6% of statements [2021-03-25T05:50:10.132Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.1% of statements [2021-03-25T05:50:10.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-25T05:50:10.132Z] GO111MODULE=on go vet ./... [2021-03-25T05:50:16.840Z] gofmt -l . [2021-03-25T05:50:16.840Z] [ "`gofmt -l .`" = "" ] [2021-03-25T05:50:16.840Z] ./bin/test-attribution-txt.sh [2021-03-25T05:50:17.419Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-25T05:50:17.718Z] $ docker stop --time=1 bf21bf15d64afe79021a7e3faae6570b2656cf4d33205a30e6d8897ab2e25e8e [2021-03-25T05:50:21.037Z] $ docker rm -f bf21bf15d64afe79021a7e3faae6570b2656cf4d33205a30e6d8897ab2e25e8e [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-25T05:50:21.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-25T05:50:22.318Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-25T05:50:23.787Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-25T05:50:23.817Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-25T05:50:24.113Z] + ls -al . [2021-03-25T05:50:24.113Z] total 184 [2021-03-25T05:50:24.113Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 25 05:50 . [2021-03-25T05:50:24.113Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 25 05:48 .. [2021-03-25T05:50:24.113Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 25 05:48 bin [2021-03-25T05:50:24.113Z] -rw-r--r--. 1 jenkins jenkins 99587 Mar 25 05:50 coverage.out [2021-03-25T05:50:24.113Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 25 05:48 Dockerfile.build [2021-03-25T05:50:24.113Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 25 05:48 .dockerignore [2021-03-25T05:50:24.113Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 25 05:48 example [2021-03-25T05:50:24.113Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 25 05:48 .git [2021-03-25T05:50:24.113Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 25 05:48 .github [2021-03-25T05:50:24.113Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 25 05:48 .gitignore [2021-03-25T05:50:24.113Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 25 05:50 go.mod [2021-03-25T05:50:24.113Z] -rw-r--r--. 1 jenkins jenkins 17372 Mar 25 05:50 go.sum [2021-03-25T05:50:24.113Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 25 05:48 internal [2021-03-25T05:50:24.113Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 25 05:48 Jenkinsfile [2021-03-25T05:50:24.113Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 25 05:48 LICENSE [2021-03-25T05:50:24.113Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 25 05:48 Makefile [2021-03-25T05:50:24.113Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 25 05:48 openapi [2021-03-25T05:50:24.113Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 25 05:48 pkg [2021-03-25T05:50:24.113Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 25 05:48 README.md [2021-03-25T05:50:24.113Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 25 05:48 RELEASE-NOTES.txt [2021-03-25T05:50:24.113Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 25 05:48 snap [2021-03-25T05:50:24.113Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 25 05:45 VERSION [2021-03-25T05:50:24.113Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 25 05:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-25T05:50:24.463Z] + 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=104d160e7b4b0bcb433373539b1b9f86cb2a0a33 --label arch=amd64 --label version=0.0.0 . [2021-03-25T05:50:24.727Z] Sending build context to Docker daemon 2.388MB [2021-03-25T05:50:24.727Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-25T05:50:24.727Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-25T05:50:24.727Z] ---> b29f1eec7179 [2021-03-25T05:50:24.727Z] Step 3/24 : ARG MAKE='make build' [2021-03-25T05:50:24.990Z] ---> Running in 272a4552d0bf [2021-03-25T05:50:25.263Z] Removing intermediate container 272a4552d0bf [2021-03-25T05:50:25.263Z] ---> c1083b7326fb [2021-03-25T05:50:25.263Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-25T05:50:25.263Z] ---> Running in a18fa9c68c35 [2021-03-25T05:50:25.535Z] Removing intermediate container a18fa9c68c35 [2021-03-25T05:50:25.535Z] ---> e29f96a563b3 [2021-03-25T05:50:25.535Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-25T05:50:25.535Z] ---> Running in 452bde581e39 [2021-03-25T05:50:25.809Z] Removing intermediate container 452bde581e39 [2021-03-25T05:50:25.809Z] ---> 6bae13d0a23e [2021-03-25T05:50:25.809Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-25T05:50:25.809Z] ---> Running in 72b09cbc7a85 [2021-03-25T05:50:27.215Z] Removing intermediate container 72b09cbc7a85 [2021-03-25T05:50:27.215Z] ---> 19084dc01a76 [2021-03-25T05:50:27.215Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-25T05:50:27.215Z] ---> Running in 0e1e192259d6 [2021-03-25T05:50:27.480Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-25T05:50:28.437Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-25T05:50:28.701Z] OK: 166 MiB in 39 packages [2021-03-25T05:50:29.281Z] Removing intermediate container 0e1e192259d6 [2021-03-25T05:50:29.281Z] ---> 3865a39286d1 [2021-03-25T05:50:29.281Z] Step 8/24 : COPY . . [2021-03-25T05:50:30.240Z] ---> ab5085bb0ab8 [2021-03-25T05:50:30.240Z] Step 9/24 : RUN ${MAKE} [2021-03-25T05:50:30.240Z] ---> Running in 01947bfd29c9 [2021-03-25T05:50:30.831Z] 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-25T05:50:40.961Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-25T05:50:41.910Z] Removing intermediate container 01947bfd29c9 [2021-03-25T05:50:41.911Z] ---> 288173978e4c [2021-03-25T05:50:41.911Z] Step 10/24 : FROM scratch [2021-03-25T05:50:41.911Z] ---> [2021-03-25T05:50:41.911Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-25T05:50:41.911Z] ---> Running in 4b84162b17f6 [2021-03-25T05:50:42.173Z] Removing intermediate container 4b84162b17f6 [2021-03-25T05:50:42.173Z] ---> ba18a3357a45 [2021-03-25T05:50:42.173Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-25T05:50:42.173Z] ---> Running in f57a1e379bf7 [2021-03-25T05:50:42.436Z] Removing intermediate container f57a1e379bf7 [2021-03-25T05:50:42.436Z] ---> 59545beb7139 [2021-03-25T05:50:42.436Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-25T05:50:42.436Z] ---> Running in 0b77fb42aede [2021-03-25T05:50:42.699Z] Removing intermediate container 0b77fb42aede [2021-03-25T05:50:42.699Z] ---> f2aa5e1a1e76 [2021-03-25T05:50:42.699Z] Step 14/24 : WORKDIR / [2021-03-25T05:50:42.699Z] ---> Running in 6f5be0441dcf [2021-03-25T05:50:42.965Z] Removing intermediate container 6f5be0441dcf [2021-03-25T05:50:42.965Z] ---> f9136e6f5ae8 [2021-03-25T05:50:42.965Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-25T05:50:43.230Z] ---> bc2581affc75 [2021-03-25T05:50:43.230Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-25T05:50:43.496Z] ---> e276cc300d8e [2021-03-25T05:50:43.496Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-25T05:50:43.759Z] ---> fc6f52961ba2 [2021-03-25T05:50:43.759Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-25T05:50:44.026Z] ---> d394f5a6e999 [2021-03-25T05:50:44.026Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-25T05:50:44.292Z] ---> 2372449732bd [2021-03-25T05:50:44.292Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-25T05:50:44.292Z] ---> Running in d0b061745543 [2021-03-25T05:50:44.618Z] Removing intermediate container d0b061745543 [2021-03-25T05:50:44.618Z] ---> a7ac2c06e87c [2021-03-25T05:50:44.618Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-25T05:50:44.618Z] ---> Running in 3a61be244919 [2021-03-25T05:50:44.916Z] Removing intermediate container 3a61be244919 [2021-03-25T05:50:44.916Z] ---> d22e989ef418 [2021-03-25T05:50:44.916Z] Step 22/24 : LABEL arch=amd64 [2021-03-25T05:50:44.916Z] ---> Running in 99f55ea469a8 [2021-03-25T05:50:44.916Z] Removing intermediate container 99f55ea469a8 [2021-03-25T05:50:44.916Z] ---> f9dfe567a9ed [2021-03-25T05:50:44.916Z] Step 23/24 : LABEL git_sha=104d160e7b4b0bcb433373539b1b9f86cb2a0a33 [2021-03-25T05:50:45.193Z] ---> Running in d1168f8d33b3 [2021-03-25T05:50:45.193Z] Removing intermediate container d1168f8d33b3 [2021-03-25T05:50:45.193Z] ---> 52d5b3368426 [2021-03-25T05:50:45.193Z] Step 24/24 : LABEL version=0.0.0 [2021-03-25T05:50:45.469Z] ---> Running in af0f762a90a1 [2021-03-25T05:50:45.469Z] Removing intermediate container af0f762a90a1 [2021-03-25T05:50:45.469Z] ---> 6be2b04b28b9 [2021-03-25T05:50:45.469Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-25T05:50:45.469Z] Successfully built 6be2b04b28b9 [2021-03-25T05:50:45.469Z] 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 [Pipeline] libraryResource [Pipeline] sh [2021-03-25T05:50:46.801Z] ---> job-cost.sh [2021-03-25T05:50:46.801Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bmJs [2021-03-25T05:51:01.838Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-25T05:51:02.855Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-25T05:51:02.856Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-25T05:51:02.856Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-25T05:51:02.856Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-25T05:51:09.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.134s coverage: 27.0% of statements [2021-03-25T05:51:09.881Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.142s coverage: 81.2% of statements [2021-03-25T05:51:34.005Z] lf-activate-venv(): INFO: Adding /tmp/venv-bmJs/bin to PATH [2021-03-25T05:51:34.005Z] INFO: No Stack... [2021-03-25T05:51:34.005Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-25T05:51:34.006Z] INFO: Archiving Costs [Pipeline] sh [2021-03-25T05:51:34.341Z] + cut -d, -f6 [2021-03-25T05:51:34.341Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-03-25T05:51:34.456Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-838-1-stack-cost] [2021-03-25T05:51:34.462Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-838-1-stack-cost] did not exist. Created. [2021-03-25T05:51:34.462Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-838-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-25T05:51:35.145Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-25T05:51:35.305Z] Stashed 1 file(s) [Pipeline] } [2021-03-25T05:51:35.324Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-838-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-25T05:51:36.754Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.156s coverage: 10.5% of statements [2021-03-25T05:51:36.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-25T05:51:36.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-25T05:51:36.754Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.210s coverage: 32.5% of statements [2021-03-25T05:51:36.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-25T05:51:36.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-25T05:51:36.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-25T05:51:36.754Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.252s coverage: 57.3% of statements [2021-03-25T05:51:36.754Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.865s coverage: 6.6% of statements [2021-03-25T05:51:36.754Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.129s coverage: 5.1% of statements [2021-03-25T05:51:36.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-25T05:51:36.754Z] GO111MODULE=on go vet ./... [2021-03-25T05:52:09.174Z] gofmt -l . [2021-03-25T05:52:09.174Z] [ "`gofmt -l .`" = "" ] [2021-03-25T05:52:09.174Z] ./bin/test-attribution-txt.sh [2021-03-25T05:52:09.174Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-25T05:52:09.188Z] $ docker stop --time=1 16333bbd1d007cb2b6fa58c96feaa8928f879d15ee0fa9e98f34ebd53378f862 [2021-03-25T05:52:11.481Z] $ docker rm -f 16333bbd1d007cb2b6fa58c96feaa8928f879d15ee0fa9e98f34ebd53378f862 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-25T05:52:12.626Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-25T05:52:12.672Z] Warning: overwriting stash ‘coverage-report’ [2021-03-25T05:52:13.520Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-25T05:52:14.490Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-25T05:52:14.848Z] + ls -al . [2021-03-25T05:52:14.848Z] total 220 [2021-03-25T05:52:14.848Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 25 05:52 . [2021-03-25T05:52:14.848Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 05:48 .. [2021-03-25T05:52:14.848Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 25 05:48 .dockerignore [2021-03-25T05:52:14.848Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 25 05:48 .git [2021-03-25T05:52:14.848Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 05:48 .github [2021-03-25T05:52:14.848Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 25 05:48 .gitignore [2021-03-25T05:52:14.848Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 25 05:48 Dockerfile.build [2021-03-25T05:52:14.848Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 25 05:48 Jenkinsfile [2021-03-25T05:52:14.848Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 25 05:48 LICENSE [2021-03-25T05:52:14.848Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 25 05:48 Makefile [2021-03-25T05:52:14.848Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 25 05:48 README.md [2021-03-25T05:52:14.848Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 25 05:48 RELEASE-NOTES.txt [2021-03-25T05:52:14.848Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 25 05:45 VERSION [2021-03-25T05:52:14.848Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 05:48 bin [2021-03-25T05:52:14.848Z] -rw-r--r-- 1 jenkins jenkins 99587 Mar 25 05:51 coverage.out [2021-03-25T05:52:14.848Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 05:48 example [2021-03-25T05:52:14.848Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 25 05:52 go.mod [2021-03-25T05:52:14.848Z] -rw-r--r-- 1 jenkins jenkins 17372 Mar 25 05:52 go.sum [2021-03-25T05:52:14.848Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 25 05:48 internal [2021-03-25T05:52:14.848Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 05:48 openapi [2021-03-25T05:52:14.848Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 25 05:48 pkg [2021-03-25T05:52:14.848Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 05:48 snap [2021-03-25T05:52:14.848Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 25 05:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-25T05:52:15.224Z] + 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=104d160e7b4b0bcb433373539b1b9f86cb2a0a33 --label arch=arm64 --label version=0.0.0 . [2021-03-25T05:52:15.499Z] Sending build context to Docker daemon 2.387MB [2021-03-25T05:52:15.772Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-25T05:52:15.772Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-25T05:52:15.772Z] ---> ad057597056c [2021-03-25T05:52:15.772Z] Step 3/24 : ARG MAKE='make build' [2021-03-25T05:52:16.049Z] ---> Running in aa96427bddf3 [2021-03-25T05:52:16.324Z] Removing intermediate container aa96427bddf3 [2021-03-25T05:52:16.324Z] ---> 9088d78d0d96 [2021-03-25T05:52:16.324Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-25T05:52:16.596Z] ---> Running in 3428d990e527 [2021-03-25T05:52:16.869Z] Removing intermediate container 3428d990e527 [2021-03-25T05:52:16.869Z] ---> 8d4621bc9f74 [2021-03-25T05:52:16.869Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-25T05:52:17.148Z] ---> Running in 75a5974aa364 [2021-03-25T05:52:17.743Z] Removing intermediate container 75a5974aa364 [2021-03-25T05:52:17.743Z] ---> 0a8e70bb426e [2021-03-25T05:52:17.743Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-25T05:52:17.743Z] ---> Running in 9c6bc18ad825 [2021-03-25T05:52:19.711Z] Removing intermediate container 9c6bc18ad825 [2021-03-25T05:52:19.711Z] ---> 5eb9922cdf5e [2021-03-25T05:52:19.711Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-25T05:52:19.986Z] ---> Running in 98d5cc246be5 [2021-03-25T05:52:20.963Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-25T05:52:21.554Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-25T05:52:22.986Z] OK: 142 MiB in 39 packages [2021-03-25T05:52:23.967Z] Removing intermediate container 98d5cc246be5 [2021-03-25T05:52:23.967Z] ---> 195d317dad8f [2021-03-25T05:52:23.967Z] Step 8/24 : COPY . . [2021-03-25T05:52:24.945Z] ---> 8a211d9de8bf [2021-03-25T05:52:24.945Z] Step 9/24 : RUN ${MAKE} [2021-03-25T05:52:25.218Z] ---> Running in 7331bc5b131c [2021-03-25T05:52:26.201Z] 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-25T05:52:53.036Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-25T05:52:54.018Z] Removing intermediate container 7331bc5b131c [2021-03-25T05:52:54.018Z] ---> bbb1fa18646c [2021-03-25T05:52:54.018Z] Step 10/24 : FROM scratch [2021-03-25T05:52:54.018Z] ---> [2021-03-25T05:52:54.018Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-25T05:52:54.018Z] ---> Running in 88f7b35f3f73 [2021-03-25T05:52:54.617Z] Removing intermediate container 88f7b35f3f73 [2021-03-25T05:52:54.617Z] ---> 153bbe64bca1 [2021-03-25T05:52:54.617Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-25T05:52:54.617Z] ---> Running in bf8c368890e4 [2021-03-25T05:52:54.890Z] Removing intermediate container bf8c368890e4 [2021-03-25T05:52:54.890Z] ---> 0c40116e1055 [2021-03-25T05:52:54.890Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-25T05:52:55.163Z] ---> Running in 810857e23ab4 [2021-03-25T05:52:55.435Z] Removing intermediate container 810857e23ab4 [2021-03-25T05:52:55.435Z] ---> d0bd2ca81806 [2021-03-25T05:52:55.435Z] Step 14/24 : WORKDIR / [2021-03-25T05:52:55.435Z] ---> Running in 7230011a1c58 [2021-03-25T05:52:56.030Z] Removing intermediate container 7230011a1c58 [2021-03-25T05:52:56.030Z] ---> df56f3101722 [2021-03-25T05:52:56.030Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-25T05:52:57.472Z] ---> 7557b108f6b3 [2021-03-25T05:52:57.472Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-25T05:52:58.072Z] ---> ab0f3bf6957c [2021-03-25T05:52:58.072Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-25T05:52:58.666Z] ---> 3b24fd17fc14 [2021-03-25T05:52:58.666Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-25T05:52:59.253Z] ---> a21c3d39b821 [2021-03-25T05:52:59.253Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-25T05:52:59.841Z] ---> 985dc00174fe [2021-03-25T05:52:59.841Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-25T05:53:00.110Z] ---> Running in 021f9cfd59c4 [2021-03-25T05:53:00.383Z] Removing intermediate container 021f9cfd59c4 [2021-03-25T05:53:00.383Z] ---> 20ab0371b9f7 [2021-03-25T05:53:00.383Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-25T05:53:00.383Z] ---> Running in 395a99dfe001 [2021-03-25T05:53:00.973Z] Removing intermediate container 395a99dfe001 [2021-03-25T05:53:00.973Z] ---> 3ec1b383f05a [2021-03-25T05:53:00.973Z] Step 22/24 : LABEL arch=arm64 [2021-03-25T05:53:00.973Z] ---> Running in f91f774c8810 [2021-03-25T05:53:01.242Z] Removing intermediate container f91f774c8810 [2021-03-25T05:53:01.242Z] ---> 01ed1add95b8 [2021-03-25T05:53:01.242Z] Step 23/24 : LABEL git_sha=104d160e7b4b0bcb433373539b1b9f86cb2a0a33 [2021-03-25T05:53:01.519Z] ---> Running in 2600f0cd259d [2021-03-25T05:53:01.793Z] Removing intermediate container 2600f0cd259d [2021-03-25T05:53:01.793Z] ---> c71d92fbbd0c [2021-03-25T05:53:01.793Z] Step 24/24 : LABEL version=0.0.0 [2021-03-25T05:53:02.068Z] ---> Running in 92c335eaba48 [2021-03-25T05:53:02.663Z] Removing intermediate container 92c335eaba48 [2021-03-25T05:53:02.664Z] ---> 7e8354f8ea26 [2021-03-25T05:53:02.664Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-25T05:53:02.664Z] Successfully built 7e8354f8ea26 [2021-03-25T05:53:02.664Z] 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-25T05:53:03.588Z] ---> job-cost.sh [2021-03-25T05:53:03.588Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LeJA [2021-03-25T05:53:42.541Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-25T05:55:04.268Z] lf-activate-venv(): INFO: Adding /tmp/venv-LeJA/bin to PATH [2021-03-25T05:55:04.268Z] INFO: No Stack... [2021-03-25T05:55:05.238Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-25T05:55:05.828Z] INFO: Archiving Costs [Pipeline] sh [2021-03-25T05:55:06.181Z] + cat+ /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-25T05:55:06.181Z] cut -d, -f6 [Pipeline] lock [2021-03-25T05:55:06.306Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-838-1-stack-cost] [2021-03-25T05:55:06.312Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-838-1-stack-cost] did not exist. Created. [2021-03-25T05:55:06.312Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-838-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-25T05:55:06.830Z] /w/workspace/device-sdk-go/1@tmp/durable-427ba16f/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-427ba16f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-25T05:55:07.200Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-25T05:55:07.238Z] Warning: overwriting stash ‘stack-cost’ [2021-03-25T05:55:07.394Z] Stashed 1 file(s) [Pipeline] } [2021-03-25T05:55:07.418Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-838-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-25T05:55:09.062Z] provisioning config files... [2021-03-25T05:55:09.077Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-838@tmp/config8958562716999748589tmp [Pipeline] { [Pipeline] sh [2021-03-25T05:55:09.545Z] + set +x [2021-03-25T05:55:09.545Z] + curl -s https://codecov.io/bash [2021-03-25T05:55:09.545Z] + bash -s -- [2021-03-25T05:55:09.811Z] [2021-03-25T05:55:09.811Z] _____ _ [2021-03-25T05:55:09.811Z] / ____| | | [2021-03-25T05:55:09.811Z] | | ___ __| | ___ ___ _____ __ [2021-03-25T05:55:09.811Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-25T05:55:09.811Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-25T05:55:09.811Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-25T05:55:09.811Z] Bash-20210309-2b87ace [2021-03-25T05:55:09.811Z] [2021-03-25T05:55:09.811Z] [2021-03-25T05:55:09.811Z] ==> git version 2.24.3 found [2021-03-25T05:55:09.811Z] ==> 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-25T05:55:09.811Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-25T05:55:09.811Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-25T05:55:09.811Z] curl: option -sm: expected a proper numerical parameter [2021-03-25T05:55:09.811Z] curl: try 'curl --help' or 'curl --manual' for more information [2021-03-25T05:55:09.811Z] ==> Jenkins CI detected. [2021-03-25T05:55:09.811Z] project root: . [2021-03-25T05:55:09.811Z] --> token set from env [2021-03-25T05:55:09.811Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-25T05:55:09.811Z] ==> Running gcov in . (disable via -X gcov) [2021-03-25T05:55:09.811Z] ==> Python coveragepy not found [2021-03-25T05:55:09.811Z] ==> Searching for coverage reports in: [2021-03-25T05:55:09.811Z] + . [2021-03-25T05:55:09.811Z] -> Found 1 reports [2021-03-25T05:55:09.811Z] ==> Detecting git/mercurial file structure [2021-03-25T05:55:09.811Z] ==> Reading reports [2021-03-25T05:55:09.811Z] + ./coverage.out bytes=99587 [2021-03-25T05:55:09.811Z] ==> Appending adjustments [2021-03-25T05:55:09.811Z] https://docs.codecov.io/docs/fixing-reports [2021-03-25T05:55:10.075Z] + Found adjustments [2021-03-25T05:55:10.075Z] ==> Gzipping contents [2021-03-25T05:55:10.075Z] 16K /tmp/codecov.8wRok2.gz [2021-03-25T05:55:10.075Z] ==> Uploading reports [2021-03-25T05:55:10.075Z] url: https://codecov.io [2021-03-25T05:55:10.075Z] query: branch=PR-838&commit=104d160e7b4b0bcb433373539b1b9f86cb2a0a33&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-838%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=838&job=&cmd_args= [2021-03-25T05:55:10.075Z] -> Pinging Codecov [2021-03-25T05:55:10.075Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-838&commit=104d160e7b4b0bcb433373539b1b9f86cb2a0a33&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-838%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=838&job=&cmd_args= [2021-03-25T05:55:10.651Z] -> Uploading to [2021-03-25T05:55:10.651Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-25/7E55EF52A471D76F132DFD9A03CDDE97/104d160e7b4b0bcb433373539b1b9f86cb2a0a33/863e08c0-ac61-424f-bb7f-21e0d97e253f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210325%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210325T055510Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ee108b9f357f0ef81aab7ef52eb4bd2fb6090852b06ff1fa0527604e7e7f417 [2021-03-25T05:55:10.651Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-25T05:55:10.651Z] Dload Upload Total Spent Left Speed [2021-03-25T05:55:10.916Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13416 0 0 100 13416 0 34883 --:--:-- --:--:-- --:--:-- 34846 [2021-03-25T05:55:10.916Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/104d160e7b4b0bcb433373539b1b9f86cb2a0a33 [Pipeline] } [2021-03-25T05:55:11.000Z] 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-25T05:55:14.345Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T05:55:14.693Z] ---> package-listing.sh [2021-03-25T05:55:14.693Z] ++ facter osfamily [2021-03-25T05:55:14.693Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-25T05:55:14.693Z] + OS_FAMILY=redhat [2021-03-25T05:55:14.693Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-838 [2021-03-25T05:55:14.693Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-25T05:55:14.693Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-25T05:55:14.693Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-25T05:55:14.693Z] + PACKAGES=/tmp/packages_start.txt [2021-03-25T05:55:14.693Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-838 ']' [2021-03-25T05:55:14.693Z] + PACKAGES=/tmp/packages_end.txt [2021-03-25T05:55:14.693Z] + case "${OS_FAMILY}" in [2021-03-25T05:55:14.693Z] + rpm -qa [2021-03-25T05:55:14.693Z] + sort [2021-03-25T05:55:20.020Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-25T05:55:20.020Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-25T05:55:20.020Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-25T05:55:20.020Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-838 ']' [2021-03-25T05:55:20.020Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-838/archives/ [2021-03-25T05:55:20.020Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-838/archives/ [Pipeline] echo [2021-03-25T05:55:20.060Z] 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-838/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-25T05:55:20.373Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-25T05:55:20.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T05:55:20.713Z] [2021-03-25T05:55:20.713Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-25T05:55:21.108Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T05:55:21.108Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-25T05:55:21.108Z] df20fa9351a1: Pulling fs layer [2021-03-25T05:55:21.108Z] 36b3adc4ff6f: Pulling fs layer [2021-03-25T05:55:21.108Z] 8ad3a11d3b57: Pulling fs layer [2021-03-25T05:55:21.108Z] 46f8f816bc3b: Pulling fs layer [2021-03-25T05:55:21.108Z] 93b61091891f: Pulling fs layer [2021-03-25T05:55:21.108Z] 93b9cdb0e59b: Pulling fs layer [2021-03-25T05:55:21.108Z] 5e14af77c1be: Pulling fs layer [2021-03-25T05:55:21.108Z] 01666e4c0597: Pulling fs layer [2021-03-25T05:55:21.108Z] aa168da1d23b: Pulling fs layer [2021-03-25T05:55:21.108Z] 93b9cdb0e59b: Waiting [2021-03-25T05:55:21.108Z] 5e14af77c1be: Waiting [2021-03-25T05:55:21.108Z] 01666e4c0597: Waiting [2021-03-25T05:55:21.108Z] aa168da1d23b: Waiting [2021-03-25T05:55:21.108Z] 46f8f816bc3b: Waiting [2021-03-25T05:55:21.108Z] 93b61091891f: Waiting [2021-03-25T05:55:21.108Z] 36b3adc4ff6f: Download complete [2021-03-25T05:55:21.108Z] 46f8f816bc3b: Verifying Checksum [2021-03-25T05:55:21.108Z] 46f8f816bc3b: Download complete [2021-03-25T05:55:21.108Z] df20fa9351a1: Verifying Checksum [2021-03-25T05:55:21.108Z] df20fa9351a1: Download complete [2021-03-25T05:55:21.377Z] 93b9cdb0e59b: Verifying Checksum [2021-03-25T05:55:21.377Z] 93b9cdb0e59b: Download complete [2021-03-25T05:55:21.377Z] 93b61091891f: Download complete [2021-03-25T05:55:21.377Z] 5e14af77c1be: Verifying Checksum [2021-03-25T05:55:21.377Z] 5e14af77c1be: Download complete [2021-03-25T05:55:21.377Z] 01666e4c0597: Verifying Checksum [2021-03-25T05:55:21.377Z] 01666e4c0597: Download complete [2021-03-25T05:55:21.377Z] 8ad3a11d3b57: Verifying Checksum [2021-03-25T05:55:21.377Z] 8ad3a11d3b57: Download complete [2021-03-25T05:55:21.965Z] df20fa9351a1: Pull complete [2021-03-25T05:55:21.965Z] 36b3adc4ff6f: Pull complete [2021-03-25T05:55:22.921Z] 8ad3a11d3b57: Pull complete [2021-03-25T05:55:23.184Z] aa168da1d23b: Verifying Checksum [2021-03-25T05:55:23.184Z] aa168da1d23b: Download complete [2021-03-25T05:55:23.452Z] 46f8f816bc3b: Pull complete [2021-03-25T05:55:24.029Z] 93b61091891f: Pull complete [2021-03-25T05:55:24.029Z] 93b9cdb0e59b: Pull complete [2021-03-25T05:55:24.029Z] 5e14af77c1be: Pull complete [2021-03-25T05:55:24.291Z] 01666e4c0597: Pull complete [2021-03-25T05:55:30.919Z] aa168da1d23b: Pull complete [2021-03-25T05:55:30.919Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-25T05:55:30.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T05:55:30.919Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-25T05:55:31.092Z] prd-centos7-docker-4c-2g-31326 does not seem to be running inside a container [2021-03-25T05:55:31.135Z] $ 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-838/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-838 -v /w/workspace/dgexfoundry_device-sdk-go_PR-838:/w/workspace/dgexfoundry_device-sdk-go_PR-838:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-838@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-838@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-25T05:55:34.585Z] $ docker top 1090cecd9bcc05ecdedc6aeeda7c4cb9e3d8b124aa424f53321cb04971756c64 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T05:55:35.107Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-25T05:55:35.448Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-25T05:55:35.771Z] + ls /var/log/sa-host [2021-03-25T05:55:35.771Z] + sadf -c /var/log/sa-host/sa23 [2021-03-25T05:55:35.771Z] file_magic: OK [2021-03-25T05:55:35.771Z] HZ: Using current value: 100 [2021-03-25T05:55:35.771Z] file_header: OK [2021-03-25T05:55:35.771Z] 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-25T05:55:35.771Z] Statistics: [2021-03-25T05:55:35.771Z] Hnuu...uuuununununu... [2021-03-25T05:55:35.771Z] File successfully converted to sysstat format version 12.2.1 [2021-03-25T05:55:35.771Z] + sadf -c /var/log/sa-host/sa25 [2021-03-25T05:55:35.771Z] file_magic: OK [2021-03-25T05:55:35.771Z] HZ: Using current value: 100 [2021-03-25T05:55:35.771Z] file_header: OK [2021-03-25T05:55:35.771Z] 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-25T05:55:35.771Z] Statistics: [2021-03-25T05:55:35.771Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-25T05:55:35.771Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-25T05:55:36.031Z] provisioning config files... [2021-03-25T05:55:36.048Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-838@tmp/config4128832145123179162tmp [Pipeline] { [Pipeline] echo [2021-03-25T05:55:36.176Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T05:55:36.513Z] ---> create-netrc.sh [Pipeline] } [2021-03-25T05:55:36.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-25T05:55:36.708Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T05:55:37.043Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-25T05:55:37.079Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T05:55:37.418Z] ---> sudo-logs.sh [2021-03-25T05:55:37.418Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-25T05:55:37.545Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T05:55:37.890Z] ---> job-cost.sh [2021-03-25T05:55:37.890Z] lf-activate-venv: SKIPPING [2021-03-25T05:55:37.890Z] DEBUG: total: 0.20999999344348907 [2021-03-25T05:55:37.890Z] INFO: Retrieving Stack Cost... [2021-03-25T05:55:38.835Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-25T05:55:39.407Z] INFO: Archiving Costs [Pipeline] echo [2021-03-25T05:55:39.438Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T05:55:39.769Z] ---> logs-deploy.sh [2021-03-25T05:55:39.769Z] lf-activate-venv: SKIPPING [2021-03-25T05:55:39.769Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-838/1 [2021-03-25T05:55:39.769Z] INFO: archiving workspace using pattern(s): [2021-03-25T05:55:41.696Z] Archives upload complete. [2021-03-25T05:55:41.696Z] INFO: archiving logs to Nexus