Pull request #830 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d+5b084bdeafa1e122a5c890164a05a3ac30530fc3 (f75a9bf48e80393470d38276646c712afc9dd7d9) 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-830/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-830/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-30849 in /w/workspace/dgexfoundry_device-sdk-go_PR-830 [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-830 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/830/head:refs/remotes/origin/PR-830 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d # timeout=10 Merge succeeded, producing 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d Checking out Revision 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d (PR-830) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d # 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-22T07:00:35.899Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-22T07:00:36.291Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-22T07:00:36.544Z] ========================================================= [2021-03-22T07:00:36.544Z] EdgeX Global Pipelines Version Info [2021-03-22T07:00:36.544Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-22T07:00:38.956Z] ------------------- [2021-03-22T07:00:38.956Z] stable info: [2021-03-22T07:00:38.956Z] ------------------- [2021-03-22T07:00:38.956Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-22T07:00:38.956Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-22T07:00:38.956Z] Message: update stable to v1.0.186 [2021-03-22T07:00:40.562Z] ------------------- [2021-03-22T07:00:40.562Z] experimental info: [2021-03-22T07:00:40.562Z] ------------------- [2021-03-22T07:00:40.562Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-22T07:00:40.562Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-22T07:00:40.562Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-22T07:00:41.006Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-22T07:00:41.150Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-22T07:00:41.292Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-22T07:00:41.462Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-22T07:00:41.598Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-22T07:00:41.732Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-22T07:00:41.864Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-22T07:00:41.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-22T07:00:42.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-22T07:00:42.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-22T07:00:42.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-22T07:00:42.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-22T07:00:42.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-22T07:00:42.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-22T07:00:43.013Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-22T07:00:43.152Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-22T07:00:43.272Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-22T07:00:43.438Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-22T07:00:43.557Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-22T07:00:43.681Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-22T07:00:43.809Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-22T07:00:43.946Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-22T07:00:44.088Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-22T07:00:44.213Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-22T07:00:44.347Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-22T07:00:44.480Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-22T07:00:44.602Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-830 [Pipeline] echo [2021-03-22T07:00:44.734Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-830 [Pipeline] echo [2021-03-22T07:00:44.874Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-830 [Pipeline] echo [2021-03-22T07:00:45.018Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d [Pipeline] echo [2021-03-22T07:00:45.143Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7db8d72 [Pipeline] echo [2021-03-22T07:00:45.267Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-22T07:00:45.526Z] provisioning config files... [2021-03-22T07:00:45.604Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp/config5273884452809150896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-22T07:00:46.111Z] ---> docker-login.sh [2021-03-22T07:00:46.111Z] nexus3.edgexfoundry.org:10001 [2021-03-22T07:00:47.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-22T07:00:47.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-22T07:00:47.412Z] Configure a credential helper to remove this warning. See [2021-03-22T07:00:47.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-22T07:00:47.412Z] [2021-03-22T07:00:47.412Z] Login Succeeded [2021-03-22T07:00:47.412Z] nexus3.edgexfoundry.org:10002 [2021-03-22T07:00:47.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-22T07:00:47.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-22T07:00:47.956Z] Configure a credential helper to remove this warning. See [2021-03-22T07:00:47.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-22T07:00:47.956Z] [2021-03-22T07:00:47.956Z] Login Succeeded [2021-03-22T07:00:47.956Z] nexus3.edgexfoundry.org:10003 [2021-03-22T07:00:48.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-22T07:00:48.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-22T07:00:48.228Z] Configure a credential helper to remove this warning. See [2021-03-22T07:00:48.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-22T07:00:48.228Z] [2021-03-22T07:00:48.228Z] Login Succeeded [2021-03-22T07:00:48.228Z] nexus3.edgexfoundry.org:10004 [2021-03-22T07:00:48.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-22T07:00:48.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-22T07:00:48.502Z] Configure a credential helper to remove this warning. See [2021-03-22T07:00:48.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-22T07:00:48.502Z] [2021-03-22T07:00:48.502Z] Login Succeeded [2021-03-22T07:00:48.502Z] docker.io [2021-03-22T07:00:48.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-22T07:00:49.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-22T07:00:49.051Z] Configure a credential helper to remove this warning. See [2021-03-22T07:00:49.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-22T07:00:49.051Z] [2021-03-22T07:00:49.051Z] Login Succeeded [2021-03-22T07:00:49.051Z] ---> docker-login.sh ends [Pipeline] } [2021-03-22T07:00:49.074Z] 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-22T07:00:50.226Z] + git log --format=format:%s -1 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d [Pipeline] echo [2021-03-22T07:00:50.328Z] GIT_COMMIT: 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-03-22T07:00:50.398Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-22T07:00:51.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-22T07:00:51.446Z] [2021-03-22T07:00:51.446Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-22T07:00:51.861Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-22T07:00:51.861Z] latest: Pulling from edgex-devops/git-semver [2021-03-22T07:00:51.861Z] 31603596830f: Pulling fs layer [2021-03-22T07:00:51.861Z] 2a8b12db71e7: Pulling fs layer [2021-03-22T07:00:51.861Z] 6ca5941a6612: Pulling fs layer [2021-03-22T07:00:51.861Z] ecc8261a40a4: Pulling fs layer [2021-03-22T07:00:51.861Z] ecc8261a40a4: Waiting [2021-03-22T07:00:51.861Z] 2a8b12db71e7: Verifying Checksum [2021-03-22T07:00:51.861Z] 2a8b12db71e7: Download complete [2021-03-22T07:00:52.154Z] 31603596830f: Download complete [2021-03-22T07:00:52.429Z] ecc8261a40a4: Verifying Checksum [2021-03-22T07:00:52.429Z] 6ca5941a6612: Verifying Checksum [2021-03-22T07:00:52.429Z] 6ca5941a6612: Download complete [2021-03-22T07:00:52.430Z] ecc8261a40a4: Download complete [2021-03-22T07:00:52.720Z] 31603596830f: Pull complete [2021-03-22T07:00:52.990Z] 2a8b12db71e7: Pull complete [2021-03-22T07:00:55.072Z] 6ca5941a6612: Pull complete [2021-03-22T07:00:55.072Z] ecc8261a40a4: Pull complete [2021-03-22T07:00:55.072Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-22T07:00:55.072Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-22T07:00:55.072Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-22T07:00:55.557Z] prd-centos7-docker-4c-2g-30849 does not seem to be running inside a container [2021-03-22T07:00:55.645Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-830 -v /w/workspace/dgexfoundry_device-sdk-go_PR-830:/w/workspace/dgexfoundry_device-sdk-go_PR-830:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-830@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-22T07:00:59.876Z] $ docker top bb1acbeda3d68e1452ec8c02088946caf35db920f4eee9c6e26a5574689af086 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-22T07:01:00.995Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-22T07:01:00.996Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-22T07:01:01.765Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-22T07:01:01.788Z] $ docker exec bb1acbeda3d68e1452ec8c02088946caf35db920f4eee9c6e26a5574689af086 ssh-agent [2021-03-22T07:01:02.780Z] SSH_AUTH_SOCK=/tmp/ssh-dMSVrHX7tUit/agent.11 [2021-03-22T07:01:02.780Z] SSH_AGENT_PID=16 [2021-03-22T07:01:02.818Z] Running ssh-add (command line suppressed) [2021-03-22T07:01:03.361Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp/private_key_8799656762552033489.key (/w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp/private_key_8799656762552033489.key) [2021-03-22T07:01:03.531Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-22T07:01:04.305Z] + git tag --points-at HEAD [Pipeline] } [2021-03-22T07:01:04.414Z] $ docker exec --env ******** --env ******** bb1acbeda3d68e1452ec8c02088946caf35db920f4eee9c6e26a5574689af086 ssh-agent -k [2021-03-22T07:01:04.684Z] unset SSH_AUTH_SOCK; [2021-03-22T07:01:04.685Z] unset SSH_AGENT_PID; [2021-03-22T07:01:04.685Z] echo Agent pid 16 killed; [2021-03-22T07:01:04.741Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-22T07:01:04.942Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-22T07:01:04.942Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-22T07:01:05.166Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-22T07:01:05.179Z] $ docker exec bb1acbeda3d68e1452ec8c02088946caf35db920f4eee9c6e26a5574689af086 ssh-agent [2021-03-22T07:01:05.431Z] SSH_AUTH_SOCK=/tmp/ssh-RmFVf5CRbxFp/agent.45 [2021-03-22T07:01:05.431Z] SSH_AGENT_PID=51 [2021-03-22T07:01:05.440Z] Running ssh-add (command line suppressed) [2021-03-22T07:01:05.602Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp/private_key_8955531330839984564.key (/w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp/private_key_8955531330839984564.key) [2021-03-22T07:01:05.681Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-22T07:01:06.128Z] + git semver init [2021-03-22T07:01:06.128Z] # -> Open(): unable to determine branch for HEAD [2021-03-22T07:01:06.128Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-830/.git [2021-03-22T07:01:06.128Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-830 [2021-03-22T07:01:06.128Z] # $SEMVER_REMOTE_NAME = origin [2021-03-22T07:01:06.128Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-22T07:01:06.128Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-22T07:01:06.128Z] # $SEMVER_BRANCH = PR-830 [2021-03-22T07:01:06.128Z] # $SEMVER_TEMP = /tmp/semver-830814233 [2021-03-22T07:01:06.128Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-22T07:01:07.091Z] # '/tmp/semver-830814233' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-830/.semver' [2021-03-22T07:01:07.092Z] # -> Force: false [2021-03-22T07:01:07.092Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-830/.semver [Pipeline] } [2021-03-22T07:01:07.130Z] $ docker exec --env ******** --env ******** bb1acbeda3d68e1452ec8c02088946caf35db920f4eee9c6e26a5574689af086 ssh-agent -k [2021-03-22T07:01:07.359Z] unset SSH_AUTH_SOCK; [2021-03-22T07:01:07.360Z] unset SSH_AGENT_PID; [2021-03-22T07:01:07.360Z] echo Agent pid 51 killed; [2021-03-22T07:01:07.526Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-22T07:01:08.143Z] + git semver [Pipeline] } [2021-03-22T07:01:08.187Z] $ docker stop --time=1 bb1acbeda3d68e1452ec8c02088946caf35db920f4eee9c6e26a5574689af086 [2021-03-22T07:01:10.136Z] $ docker rm -f bb1acbeda3d68e1452ec8c02088946caf35db920f4eee9c6e26a5574689af086 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-22T07:01:11.000Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-22T07:01:12.426Z] Stashed 1 file(s) [Pipeline] echo [2021-03-22T07:01:12.452Z] [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-22T07:01:13.517Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30847 in /w/workspace/dgexfoundry_device-sdk-go_PR-830 [Pipeline] { [Pipeline] ws [2021-03-22T07:01:13.603Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-22T07:01:18.443Z] using credential edgex-jenkins-ssh [2021-03-22T07:01:18.505Z] Cloning the remote Git repository [2021-03-22T07:01:18.591Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-22T07:01:18.722Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-22T07:01:18.954Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-22T07:01:18.956Z] > git --version # timeout=10 [2021-03-22T07:01:18.972Z] > git --version # 'git version 2.17.1' [2021-03-22T07:01:18.973Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-22T07:01:19.036Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-22T07:01:20.715Z] Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d [2021-03-22T07:01:20.931Z] Merge succeeded, producing 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d [2021-03-22T07:01:20.932Z] Checking out Revision 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d (PR-830) [2021-03-22T07:01:20.103Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-22T07:01:20.123Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-22T07:01:20.163Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-22T07:01:20.223Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-22T07:01:20.224Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-22T07:01:20.238Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/830/head:refs/remotes/origin/PR-830 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-22T07:01:20.735Z] > git config core.sparsecheckout # timeout=10 [2021-03-22T07:01:20.751Z] > git checkout -f 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d # timeout=10 [2021-03-22T07:01:20.846Z] > git remote # timeout=10 [2021-03-22T07:01:20.863Z] > git config --get remote.origin.url # timeout=10 [2021-03-22T07:01:20.880Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-22T07:01:20.894Z] > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 [2021-03-22T07:01:20.916Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-22T07:01:20.936Z] > git config core.sparsecheckout # timeout=10 [2021-03-22T07:01:20.946Z] > git checkout -f 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d # timeout=10 [2021-03-22T07:01:25.237Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-03-22T07:01:25.291Z] > git --version # timeout=10 [2021-03-22T07:01:25.303Z] > git --version # 'git version 2.17.1' [2021-03-22T07:01:25.321Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-22T07:01:27.007Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-22T07:01:27.424Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-22T07:01:27.809Z] + sudo service docker restart [2021-03-22T07:01:27.809Z] + true [2021-03-22T07:01:28.300Z] Still waiting to schedule task [2021-03-22T07:01:28.300Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30849’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-22T07:01:30.564Z] provisioning config files... [2021-03-22T07:01:30.602Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3408138327825759991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-22T07:01:31.074Z] ---> docker-login.sh [2021-03-22T07:01:31.074Z] nexus3.edgexfoundry.org:10001 [2021-03-22T07:01:31.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-22T07:01:32.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-22T07:01:32.266Z] Configure a credential helper to remove this warning. See [2021-03-22T07:01:32.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-22T07:01:32.266Z] [2021-03-22T07:01:32.266Z] Login Succeeded [2021-03-22T07:01:32.266Z] nexus3.edgexfoundry.org:10002 [2021-03-22T07:01:32.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-22T07:01:32.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-22T07:01:32.816Z] Configure a credential helper to remove this warning. See [2021-03-22T07:01:32.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-22T07:01:32.816Z] [2021-03-22T07:01:32.816Z] Login Succeeded [2021-03-22T07:01:32.816Z] nexus3.edgexfoundry.org:10003 [2021-03-22T07:01:33.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-22T07:01:33.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-22T07:01:33.091Z] Configure a credential helper to remove this warning. See [2021-03-22T07:01:33.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-22T07:01:33.091Z] [2021-03-22T07:01:33.091Z] Login Succeeded [2021-03-22T07:01:33.091Z] nexus3.edgexfoundry.org:10004 [2021-03-22T07:01:33.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-22T07:01:33.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-22T07:01:33.686Z] Configure a credential helper to remove this warning. See [2021-03-22T07:01:33.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-22T07:01:33.686Z] [2021-03-22T07:01:33.686Z] Login Succeeded [2021-03-22T07:01:33.686Z] docker.io [2021-03-22T07:01:33.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-22T07:01:34.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-22T07:01:34.241Z] Configure a credential helper to remove this warning. See [2021-03-22T07:01:34.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-22T07:01:34.241Z] [2021-03-22T07:01:34.241Z] Login Succeeded [2021-03-22T07:01:34.517Z] ---> docker-login.sh ends [Pipeline] } [2021-03-22T07:01:34.553Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-22T07:01:35.096Z] ========================================================= [2021-03-22T07:01:35.096Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-22T07:01:35.096Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-22T07:01:35.513Z] + 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-22T07:01:35.793Z] Sending build context to Docker daemon 2.289MB [2021-03-22T07:01:35.793Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-22T07:01:35.793Z] Step 2/8 : FROM ${BASE} [2021-03-22T07:01:36.067Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-22T07:01:36.067Z] 5f621e34cdf4: Pulling fs layer [2021-03-22T07:01:36.067Z] a4357932f1b6: Pulling fs layer [2021-03-22T07:01:36.067Z] 18c013af1878: Pulling fs layer [2021-03-22T07:01:36.067Z] 00ac8860ef70: Pulling fs layer [2021-03-22T07:01:36.067Z] 63d7cb157983: Pulling fs layer [2021-03-22T07:01:36.067Z] 00ac8860ef70: Waiting [2021-03-22T07:01:36.067Z] 63d7cb157983: Waiting [2021-03-22T07:01:36.067Z] b116817d02f9: Pulling fs layer [2021-03-22T07:01:36.067Z] 745a02a5169b: Pulling fs layer [2021-03-22T07:01:36.067Z] 745a02a5169b: Waiting [2021-03-22T07:01:36.067Z] b116817d02f9: Waiting [2021-03-22T07:01:36.067Z] 18c013af1878: Download complete [2021-03-22T07:01:36.067Z] a4357932f1b6: Download complete [2021-03-22T07:01:36.067Z] 63d7cb157983: Download complete [2021-03-22T07:01:37.047Z] b116817d02f9: Verifying Checksum [2021-03-22T07:01:37.047Z] b116817d02f9: Download complete [2021-03-22T07:01:37.047Z] 5f621e34cdf4: Verifying Checksum [2021-03-22T07:01:37.047Z] 5f621e34cdf4: Download complete [2021-03-22T07:01:37.652Z] 5f621e34cdf4: Pull complete [2021-03-22T07:01:37.931Z] a4357932f1b6: Pull complete [2021-03-22T07:01:38.543Z] 18c013af1878: Pull complete [2021-03-22T07:01:39.534Z] 745a02a5169b: Download complete [2021-03-22T07:01:40.519Z] 00ac8860ef70: Verifying Checksum [2021-03-22T07:01:40.519Z] 00ac8860ef70: Download complete [2021-03-22T07:01:50.847Z] 00ac8860ef70: Pull complete [2021-03-22T07:01:50.847Z] 63d7cb157983: Pull complete [2021-03-22T07:01:50.847Z] b116817d02f9: Pull complete [2021-03-22T07:01:55.194Z] 745a02a5169b: Pull complete [2021-03-22T07:01:55.194Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-22T07:01:55.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-22T07:01:55.194Z] ---> b7e6874047d6 [2021-03-22T07:01:55.194Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-22T07:01:57.807Z] ---> Running in 959f2deb2f69 [2021-03-22T07:01:58.085Z] Removing intermediate container 959f2deb2f69 [2021-03-22T07:01:58.085Z] ---> 25965244f904 [2021-03-22T07:01:58.085Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-22T07:01:58.085Z] ---> Running in 1287550bcebc [2021-03-22T07:02:00.706Z] Removing intermediate container 1287550bcebc [2021-03-22T07:02:00.706Z] ---> 5abed415094e [2021-03-22T07:02:00.706Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-22T07:02:00.706Z] ---> Running in 90a6808fc0a4 [2021-03-22T07:02:01.683Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-22T07:02:02.283Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-22T07:02:02.873Z] OK: 142 MiB in 39 packages [2021-03-22T07:02:04.305Z] Removing intermediate container 90a6808fc0a4 [2021-03-22T07:02:04.305Z] ---> b7ada31a0a99 [2021-03-22T07:02:04.305Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-22T07:02:04.305Z] ---> Running in e200300b504a [2021-03-22T07:02:04.901Z] Removing intermediate container e200300b504a [2021-03-22T07:02:04.901Z] ---> dc4258e48f92 [2021-03-22T07:02:04.901Z] Step 7/8 : COPY . . [2021-03-22T07:02:05.884Z] ---> 12970464146d [2021-03-22T07:02:05.884Z] Step 8/8 : RUN go mod download [2021-03-22T07:02:06.157Z] ---> Running in 13e9d56a5949 [2021-03-22T07:02:32.959Z] Removing intermediate container 13e9d56a5949 [2021-03-22T07:02:32.959Z] ---> 3c6b3344d26c [2021-03-22T07:02:32.959Z] Successfully built 3c6b3344d26c [2021-03-22T07:02:32.959Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-22T07:02:33.341Z] + docker inspect -f . ci-base-image-arm64 [2021-03-22T07:02:33.341Z] . [Pipeline] withDockerContainer [2021-03-22T07:02:33.629Z] prd-ubuntu18.04-docker-arm64-4c-16g-30847 does not seem to be running inside a container [2021-03-22T07:02:33.704Z] $ 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 ******** ci-base-image-arm64 cat [2021-03-22T07:02:35.390Z] $ docker top 2d6c2624c455a8dfb6e2f6de02411899cb010ce714223d36628ad2994c9d4ca2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-22T07:02:36.454Z] + go version [2021-03-22T07:02:36.454Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-22T07:02:36.491Z] $ docker stop --time=1 2d6c2624c455a8dfb6e2f6de02411899cb010ce714223d36628ad2994c9d4ca2 [2021-03-22T07:02:38.381Z] $ docker rm -f 2d6c2624c455a8dfb6e2f6de02411899cb010ce714223d36628ad2994c9d4ca2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-22T07:02:39.602Z] + docker inspect -f . ci-base-image-arm64 [2021-03-22T07:02:39.602Z] . [Pipeline] withDockerContainer [2021-03-22T07:02:39.851Z] prd-ubuntu18.04-docker-arm64-4c-16g-30847 does not seem to be running inside a container [2021-03-22T07:02:39.934Z] $ 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 ******** ci-base-image-arm64 cat [2021-03-22T07:02:41.405Z] $ docker top 1c3c9898573bd326c00f986b2ab5411e5b6a8eed64ac29476def18d7b1441849 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-22T07:02:42.465Z] + make test [2021-03-22T07:02:42.465Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-22T07:03:04.667Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-22T07:03:43.666Z] Running on prd-centos7-docker-4c-2g-30850 in /w/workspace/dgexfoundry_device-sdk-go_PR-830 [Pipeline] { [Pipeline] ws [2021-03-22T07:03:43.832Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-22T07:03:46.488Z] using credential edgex-jenkins-ssh [2021-03-22T07:03:46.545Z] Cloning the remote Git repository [2021-03-22T07:03:46.523Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-22T07:03:46.594Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-22T07:03:46.660Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-22T07:03:46.660Z] > git --version # timeout=10 [2021-03-22T07:03:46.670Z] > git --version # 'git version 2.24.3' [2021-03-22T07:03:46.671Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-22T07:03:46.698Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-22T07:03:48.003Z] Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d [2021-03-22T07:03:48.108Z] Merge succeeded, producing 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d [2021-03-22T07:03:48.109Z] Checking out Revision 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d (PR-830) [2021-03-22T07:03:47.509Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-22T07:03:47.516Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-22T07:03:47.530Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-22T07:03:47.543Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-22T07:03:47.543Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-22T07:03:47.550Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/830/head:refs/remotes/origin/PR-830 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-22T07:03:48.014Z] > git config core.sparsecheckout # timeout=10 [2021-03-22T07:03:48.025Z] > git checkout -f 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d # timeout=10 [2021-03-22T07:03:48.072Z] > git remote # timeout=10 [2021-03-22T07:03:48.078Z] > git config --get remote.origin.url # timeout=10 [2021-03-22T07:03:48.084Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-22T07:03:48.090Z] > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 [2021-03-22T07:03:48.103Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-22T07:03:48.113Z] > git config core.sparsecheckout # timeout=10 [2021-03-22T07:03:48.117Z] > git checkout -f 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d # timeout=10 [2021-03-22T07:03:51.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-22T07:03:51.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-22T07:03:51.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-22T07:03:51.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-22T07:03:51.702Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.153s coverage: 27.0% of statements [2021-03-22T07:03:51.702Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.169s coverage: 81.2% of statements [2021-03-22T07:03:51.827Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-03-22T07:03:51.854Z] > git --version # timeout=10 [2021-03-22T07:03:51.858Z] > git --version # 'git version 2.24.3' [2021-03-22T07:03:51.865Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-22T07:03:53.521Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-22T07:03:53.869Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-22T07:03:54.208Z] + sudo service docker restart [2021-03-22T07:03:54.208Z] + true [2021-03-22T07:03:54.208Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-22T07:03:55.301Z] provisioning config files... [2021-03-22T07:03:55.329Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4076858042033531386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-22T07:03:55.761Z] ---> docker-login.sh [2021-03-22T07:03:55.761Z] nexus3.edgexfoundry.org:10001 [2021-03-22T07:03:56.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-22T07:03:56.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-22T07:03:56.024Z] Configure a credential helper to remove this warning. See [2021-03-22T07:03:56.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-22T07:03:56.024Z] [2021-03-22T07:03:56.024Z] Login Succeeded [2021-03-22T07:03:56.024Z] nexus3.edgexfoundry.org:10002 [2021-03-22T07:03:56.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-22T07:03:56.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-22T07:03:56.286Z] Configure a credential helper to remove this warning. See [2021-03-22T07:03:56.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-22T07:03:56.286Z] [2021-03-22T07:03:56.286Z] Login Succeeded [2021-03-22T07:03:56.286Z] nexus3.edgexfoundry.org:10003 [2021-03-22T07:03:56.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-22T07:03:56.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-22T07:03:56.549Z] Configure a credential helper to remove this warning. See [2021-03-22T07:03:56.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-22T07:03:56.549Z] [2021-03-22T07:03:56.549Z] Login Succeeded [2021-03-22T07:03:56.549Z] nexus3.edgexfoundry.org:10004 [2021-03-22T07:03:56.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-22T07:03:56.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-22T07:03:56.813Z] Configure a credential helper to remove this warning. See [2021-03-22T07:03:56.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-22T07:03:56.813Z] [2021-03-22T07:03:56.813Z] Login Succeeded [2021-03-22T07:03:56.813Z] docker.io [2021-03-22T07:03:56.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-22T07:03:57.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-22T07:03:57.075Z] Configure a credential helper to remove this warning. See [2021-03-22T07:03:57.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-22T07:03:57.075Z] [2021-03-22T07:03:57.075Z] Login Succeeded [2021-03-22T07:03:57.075Z] ---> docker-login.sh ends [Pipeline] } [2021-03-22T07:03:57.101Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-22T07:03:57.643Z] ========================================================= [2021-03-22T07:03:57.643Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-22T07:03:57.643Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-22T07:03:58.029Z] + 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-22T07:03:58.029Z] Sending build context to Docker daemon 2.284MB [2021-03-22T07:03:58.029Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-22T07:03:58.029Z] Step 2/8 : FROM ${BASE} [2021-03-22T07:03:58.292Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-22T07:03:58.292Z] 188c0c94c7c5: Pulling fs layer [2021-03-22T07:03:58.292Z] 0ef7d3d256c8: Pulling fs layer [2021-03-22T07:03:58.292Z] de9db76c5a1d: Pulling fs layer [2021-03-22T07:03:58.292Z] bca2f99d35d6: Pulling fs layer [2021-03-22T07:03:58.292Z] 93359f2a8cfa: Pulling fs layer [2021-03-22T07:03:58.292Z] 7c6f9722023f: Pulling fs layer [2021-03-22T07:03:58.292Z] a35cf1a2eb13: Pulling fs layer [2021-03-22T07:03:58.292Z] bca2f99d35d6: Waiting [2021-03-22T07:03:58.292Z] 93359f2a8cfa: Waiting [2021-03-22T07:03:58.292Z] 7c6f9722023f: Waiting [2021-03-22T07:03:58.292Z] a35cf1a2eb13: Waiting [2021-03-22T07:03:58.292Z] de9db76c5a1d: Verifying Checksum [2021-03-22T07:03:58.292Z] de9db76c5a1d: Download complete [2021-03-22T07:03:58.292Z] 0ef7d3d256c8: Download complete [2021-03-22T07:03:58.292Z] 93359f2a8cfa: Verifying Checksum [2021-03-22T07:03:58.292Z] 93359f2a8cfa: Download complete [2021-03-22T07:03:58.292Z] 188c0c94c7c5: Verifying Checksum [2021-03-22T07:03:58.292Z] 188c0c94c7c5: Download complete [2021-03-22T07:03:58.292Z] 7c6f9722023f: Verifying Checksum [2021-03-22T07:03:58.292Z] 7c6f9722023f: Download complete [2021-03-22T07:03:58.560Z] 188c0c94c7c5: Pull complete [2021-03-22T07:03:58.824Z] 0ef7d3d256c8: Pull complete [2021-03-22T07:03:58.824Z] de9db76c5a1d: Pull complete [2021-03-22T07:04:00.756Z] a35cf1a2eb13: Verifying Checksum [2021-03-22T07:04:00.756Z] a35cf1a2eb13: Download complete [2021-03-22T07:04:01.335Z] bca2f99d35d6: Verifying Checksum [2021-03-22T07:04:01.335Z] bca2f99d35d6: Download complete [2021-03-22T07:04:08.003Z] bca2f99d35d6: Pull complete [2021-03-22T07:04:08.003Z] 93359f2a8cfa: Pull complete [2021-03-22T07:04:08.003Z] 7c6f9722023f: Pull complete [2021-03-22T07:04:12.251Z] a35cf1a2eb13: Pull complete [2021-03-22T07:04:12.251Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-22T07:04:12.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-22T07:04:12.251Z] ---> a62c8e92a672 [2021-03-22T07:04:12.251Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-22T07:04:12.520Z] ---> Running in 06ccdda11747 [2021-03-22T07:04:12.520Z] Removing intermediate container 06ccdda11747 [2021-03-22T07:04:12.520Z] ---> 896207c76a04 [2021-03-22T07:04:12.520Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-22T07:04:12.801Z] ---> Running in e7da2c82992a [2021-03-22T07:04:13.769Z] Removing intermediate container e7da2c82992a [2021-03-22T07:04:13.769Z] ---> 59d813c140c0 [2021-03-22T07:04:13.769Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-22T07:04:13.769Z] ---> Running in fd91474479be [2021-03-22T07:04:14.725Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-22T07:04:15.302Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-22T07:04:15.565Z] OK: 166 MiB in 39 packages [2021-03-22T07:04:16.148Z] Removing intermediate container fd91474479be [2021-03-22T07:04:16.148Z] ---> e54699b2fc0d [2021-03-22T07:04:16.148Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-22T07:04:16.148Z] ---> Running in 925cae358ad9 [2021-03-22T07:04:16.148Z] Removing intermediate container 925cae358ad9 [2021-03-22T07:04:16.148Z] ---> 2de2e6341f0a [2021-03-22T07:04:16.148Z] Step 7/8 : COPY . . [2021-03-22T07:04:17.542Z] ---> b14fdb8311e0 [2021-03-22T07:04:17.542Z] Step 8/8 : RUN go mod download [2021-03-22T07:04:17.542Z] ---> Running in eafd6460e34a [2021-03-22T07:04:18.501Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.140s coverage: 10.5% of statements [2021-03-22T07:04:18.501Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-22T07:04:18.501Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-22T07:04:18.501Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.202s coverage: 32.5% of statements [2021-03-22T07:04:18.501Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-22T07:04:18.501Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-22T07:04:18.501Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-22T07:04:18.501Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.256s coverage: 57.3% of statements [2021-03-22T07:04:18.501Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.010s coverage: 6.6% of statements [2021-03-22T07:04:18.501Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.1% of statements [2021-03-22T07:04:18.501Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-22T07:04:19.095Z] GO111MODULE=on go vet ./... [2021-03-22T07:04:39.591Z] Removing intermediate container eafd6460e34a [2021-03-22T07:04:39.591Z] ---> 91cdbe272768 [2021-03-22T07:04:39.591Z] Successfully built 91cdbe272768 [2021-03-22T07:04:39.591Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-22T07:04:39.942Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-22T07:04:39.942Z] . [Pipeline] withDockerContainer [2021-03-22T07:04:40.092Z] prd-centos7-docker-4c-2g-30850 does not seem to be running inside a container [2021-03-22T07:04:40.146Z] $ 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-22T07:04:40.837Z] $ docker top b88512a6eb3c55103149e79e84e09378314dbc2f1e25aead7998859402470046 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-22T07:04:41.404Z] + go version [2021-03-22T07:04:41.404Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-22T07:04:41.445Z] $ docker stop --time=1 b88512a6eb3c55103149e79e84e09378314dbc2f1e25aead7998859402470046 [2021-03-22T07:04:42.817Z] $ docker rm -f b88512a6eb3c55103149e79e84e09378314dbc2f1e25aead7998859402470046 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-22T07:04:43.939Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-22T07:04:43.940Z] . [Pipeline] withDockerContainer [2021-03-22T07:04:44.060Z] prd-centos7-docker-4c-2g-30850 does not seem to be running inside a container [2021-03-22T07:04:44.114Z] $ 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-22T07:04:44.745Z] $ docker top 0023c17c1afd57e42eccb8e77f5c7c195b6e16bf7d2fa051b88357ddc274d154 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-22T07:04:45.304Z] + make test [2021-03-22T07:04:45.304Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-22T07:04:51.485Z] gofmt -l . [2021-03-22T07:04:51.485Z] [ "`gofmt -l .`" = "" ] [2021-03-22T07:04:51.759Z] ./bin/test-attribution-txt.sh [2021-03-22T07:04:51.945Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-22T07:04:53.191Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-22T07:04:53.497Z] $ docker stop --time=1 1c3c9898573bd326c00f986b2ab5411e5b6a8eed64ac29476def18d7b1441849 [2021-03-22T07:04:55.858Z] $ docker rm -f 1c3c9898573bd326c00f986b2ab5411e5b6a8eed64ac29476def18d7b1441849 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-22T07:04:57.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-22T07:04:58.049Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-22T07:05:01.102Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-22T07:05:01.487Z] + ls -al . [2021-03-22T07:05:01.487Z] total 220 [2021-03-22T07:05:01.487Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 07:04 . [2021-03-22T07:05:01.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 07:01 .. [2021-03-22T07:05:01.487Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 07:01 .dockerignore [2021-03-22T07:05:01.487Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 07:01 .git [2021-03-22T07:05:01.487Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 07:01 .github [2021-03-22T07:05:01.487Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 22 07:01 .gitignore [2021-03-22T07:05:01.487Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 22 07:01 Dockerfile.build [2021-03-22T07:05:01.487Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 22 07:01 Jenkinsfile [2021-03-22T07:05:01.487Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 22 07:01 LICENSE [2021-03-22T07:05:01.487Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 22 07:01 Makefile [2021-03-22T07:05:01.487Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 22 07:01 README.md [2021-03-22T07:05:01.487Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 22 07:01 RELEASE-NOTES.txt [2021-03-22T07:05:01.487Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 07:01 VERSION [2021-03-22T07:05:01.487Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 07:01 bin [2021-03-22T07:05:01.487Z] -rw-r--r-- 1 jenkins jenkins 99587 Mar 22 07:04 coverage.out [2021-03-22T07:05:01.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 07:01 example [2021-03-22T07:05:01.487Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 22 07:04 go.mod [2021-03-22T07:05:01.487Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 22 07:04 go.sum [2021-03-22T07:05:01.487Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 22 07:01 internal [2021-03-22T07:05:01.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 07:01 openapi [2021-03-22T07:05:01.487Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 07:01 pkg [2021-03-22T07:05:01.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 07:01 snap [2021-03-22T07:05:01.487Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 22 07:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-22T07:05:01.911Z] + 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=7db8d7278dde61d744edc7112f7cd5f0c4bdf49d --label arch=arm64 --label version=0.0.0 . [2021-03-22T07:05:02.193Z] Sending build context to Docker daemon 2.39MB [2021-03-22T07:05:02.480Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-22T07:05:02.480Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-22T07:05:02.480Z] ---> 3c6b3344d26c [2021-03-22T07:05:02.480Z] Step 3/24 : ARG MAKE='make build' [2021-03-22T07:05:02.480Z] ---> Running in f220bafbbf7b [2021-03-22T07:05:03.074Z] Removing intermediate container f220bafbbf7b [2021-03-22T07:05:03.074Z] ---> bf0eb2d8d4d9 [2021-03-22T07:05:03.074Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-22T07:05:03.074Z] ---> Running in 2ee8f2943919 [2021-03-22T07:05:03.669Z] Removing intermediate container 2ee8f2943919 [2021-03-22T07:05:03.669Z] ---> d8f6d78cb552 [2021-03-22T07:05:03.669Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-22T07:05:03.942Z] ---> Running in 43a1c97004fe [2021-03-22T07:05:04.214Z] Removing intermediate container 43a1c97004fe [2021-03-22T07:05:04.214Z] ---> 49df4345ee80 [2021-03-22T07:05:04.214Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-22T07:05:04.500Z] ---> Running in 6de3a6affe54 [2021-03-22T07:05:06.470Z] Removing intermediate container 6de3a6affe54 [2021-03-22T07:05:06.470Z] ---> e7ab41356d18 [2021-03-22T07:05:06.470Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-22T07:05:06.751Z] ---> Running in cbdd03460ac4 [2021-03-22T07:05:07.729Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-22T07:05:08.328Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-22T07:05:09.305Z] OK: 142 MiB in 39 packages [2021-03-22T07:05:10.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-22T07:05:10.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-22T07:05:10.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-22T07:05:10.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-22T07:05:10.193Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.0% of statements [2021-03-22T07:05:10.193Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.078s coverage: 81.2% of statements [2021-03-22T07:05:10.286Z] Removing intermediate container cbdd03460ac4 [2021-03-22T07:05:10.286Z] ---> 3c67e9a5321c [2021-03-22T07:05:10.286Z] Step 8/24 : COPY . . [2021-03-22T07:05:11.720Z] ---> 4b686e799010 [2021-03-22T07:05:11.720Z] Step 9/24 : RUN ${MAKE} [2021-03-22T07:05:11.720Z] ---> Running in d1a5307b0eff [2021-03-22T07:05:12.707Z] 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-22T07:05:39.562Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-22T07:05:40.545Z] Removing intermediate container d1a5307b0eff [2021-03-22T07:05:40.545Z] ---> 630c523c54e4 [2021-03-22T07:05:40.545Z] Step 10/24 : FROM scratch [2021-03-22T07:05:40.545Z] ---> [2021-03-22T07:05:40.545Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-22T07:05:40.545Z] ---> Running in 2a7bf331144b [2021-03-22T07:05:41.143Z] Removing intermediate container 2a7bf331144b [2021-03-22T07:05:41.143Z] ---> 73ed3cec36bc [2021-03-22T07:05:41.143Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-22T07:05:41.143Z] ---> Running in 7c5b07843e1d [2021-03-22T07:05:41.417Z] Removing intermediate container 7c5b07843e1d [2021-03-22T07:05:41.417Z] ---> d4aa60a7494c [2021-03-22T07:05:41.417Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-22T07:05:41.690Z] ---> Running in 5e44e59d6e46 [2021-03-22T07:05:41.964Z] Removing intermediate container 5e44e59d6e46 [2021-03-22T07:05:41.964Z] ---> ee2d2acece72 [2021-03-22T07:05:41.964Z] Step 14/24 : WORKDIR / [2021-03-22T07:05:42.234Z] ---> Running in 65020617cc18 [2021-03-22T07:05:42.396Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.072s coverage: 10.5% of statements [2021-03-22T07:05:42.396Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-22T07:05:42.396Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-22T07:05:42.396Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.100s coverage: 32.5% of statements [2021-03-22T07:05:42.396Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-22T07:05:42.396Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-22T07:05:42.396Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-22T07:05:42.396Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.080s coverage: 57.3% of statements [2021-03-22T07:05:42.396Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.299s coverage: 6.6% of statements [2021-03-22T07:05:42.396Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.380s coverage: 5.1% of statements [2021-03-22T07:05:42.396Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-22T07:05:42.396Z] GO111MODULE=on go vet ./... [2021-03-22T07:05:42.509Z] Removing intermediate container 65020617cc18 [2021-03-22T07:05:42.509Z] ---> b350c11843a9 [2021-03-22T07:05:42.509Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-22T07:05:43.503Z] ---> e728e76f396b [2021-03-22T07:05:43.503Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-22T07:05:44.097Z] ---> 8ea3da862ee6 [2021-03-22T07:05:44.375Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-22T07:05:44.972Z] ---> a5735093f3c6 [2021-03-22T07:05:44.972Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-22T07:05:45.569Z] ---> 25d22c3378a3 [2021-03-22T07:05:45.569Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-22T07:05:46.547Z] ---> 7289e71f1051 [2021-03-22T07:05:46.547Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-22T07:05:46.547Z] ---> Running in 7862a82a23d6 [2021-03-22T07:05:47.143Z] Removing intermediate container 7862a82a23d6 [2021-03-22T07:05:47.143Z] ---> 5d2ade714084 [2021-03-22T07:05:47.143Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-22T07:05:47.143Z] ---> Running in d1379d79ab25 [2021-03-22T07:05:47.416Z] Removing intermediate container d1379d79ab25 [2021-03-22T07:05:47.416Z] ---> c51dbb7e3817 [2021-03-22T07:05:47.416Z] Step 22/24 : LABEL arch=arm64 [2021-03-22T07:05:47.689Z] ---> Running in 6e50e4f6f345 [2021-03-22T07:05:47.965Z] Removing intermediate container 6e50e4f6f345 [2021-03-22T07:05:47.965Z] ---> d59289f821fa [2021-03-22T07:05:47.965Z] Step 23/24 : LABEL git_sha=7db8d7278dde61d744edc7112f7cd5f0c4bdf49d [2021-03-22T07:05:48.238Z] ---> Running in 6e51847675d2 [2021-03-22T07:05:48.842Z] Removing intermediate container 6e51847675d2 [2021-03-22T07:05:48.842Z] ---> 41f2857d52ea [2021-03-22T07:05:48.842Z] Step 24/24 : LABEL version=0.0.0 [2021-03-22T07:05:48.842Z] ---> Running in a708d07e25c0 [2021-03-22T07:05:49.121Z] Removing intermediate container a708d07e25c0 [2021-03-22T07:05:49.121Z] ---> 64e7f34cda02 [2021-03-22T07:05:49.121Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-22T07:05:49.122Z] gofmt -l . [2021-03-22T07:05:49.122Z] [ "`gofmt -l .`" = "" ] [2021-03-22T07:05:49.122Z] ./bin/test-attribution-txt.sh [2021-03-22T07:05:49.397Z] Successfully built 64e7f34cda02 [2021-03-22T07:05:49.397Z] 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] } [2021-03-22T07:05:50.082Z] ./bin/test-go-mod-tidy.sh [Pipeline] // stage Post stage [Pipeline] } [2021-03-22T07:05:50.212Z] $ docker stop --time=1 0023c17c1afd57e42eccb8e77f5c7c195b6e16bf7d2fa051b88357ddc274d154 [2021-03-22T07:05:52.190Z] $ docker rm -f 0023c17c1afd57e42eccb8e77f5c7c195b6e16bf7d2fa051b88357ddc274d154 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-22T07:05:52.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] libraryResource [Pipeline] sh [Pipeline] stash [2021-03-22T07:05:53.069Z] Warning: overwriting stash ‘coverage-report’ [2021-03-22T07:05:53.221Z] ---> job-cost.sh [2021-03-22T07:05:53.221Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tmVL [2021-03-22T07:05:53.412Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-22T07:05:54.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-22T07:05:54.539Z] + ls -al . [2021-03-22T07:05:54.539Z] total 184 [2021-03-22T07:05:54.539Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 22 07:05 . [2021-03-22T07:05:54.539Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 22 07:03 .. [2021-03-22T07:05:54.539Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 22 07:03 bin [2021-03-22T07:05:54.539Z] -rw-r--r--. 1 jenkins jenkins 99587 Mar 22 07:05 coverage.out [2021-03-22T07:05:54.540Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 22 07:03 Dockerfile.build [2021-03-22T07:05:54.540Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 22 07:03 .dockerignore [2021-03-22T07:05:54.540Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 22 07:03 example [2021-03-22T07:05:54.540Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 22 07:03 .git [2021-03-22T07:05:54.540Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 22 07:03 .github [2021-03-22T07:05:54.540Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 22 07:03 .gitignore [2021-03-22T07:05:54.540Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 22 07:05 go.mod [2021-03-22T07:05:54.540Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 22 07:05 go.sum [2021-03-22T07:05:54.540Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 22 07:03 internal [2021-03-22T07:05:54.540Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 22 07:03 Jenkinsfile [2021-03-22T07:05:54.540Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 22 07:03 LICENSE [2021-03-22T07:05:54.540Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 22 07:03 Makefile [2021-03-22T07:05:54.540Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 22 07:03 openapi [2021-03-22T07:05:54.540Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 22 07:03 pkg [2021-03-22T07:05:54.540Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 22 07:03 README.md [2021-03-22T07:05:54.540Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 22 07:03 RELEASE-NOTES.txt [2021-03-22T07:05:54.540Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 22 07:03 snap [2021-03-22T07:05:54.540Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 22 07:01 VERSION [2021-03-22T07:05:54.540Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 22 07:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-22T07:05:54.879Z] + 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=7db8d7278dde61d744edc7112f7cd5f0c4bdf49d --label arch=amd64 --label version=0.0.0 . [2021-03-22T07:05:55.142Z] Sending build context to Docker daemon 2.384MB [2021-03-22T07:05:55.142Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-22T07:05:55.142Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-22T07:05:55.142Z] ---> 91cdbe272768 [2021-03-22T07:05:55.142Z] Step 3/24 : ARG MAKE='make build' [2021-03-22T07:05:55.407Z] ---> Running in 3fc5039f2ca8 [2021-03-22T07:05:55.407Z] Removing intermediate container 3fc5039f2ca8 [2021-03-22T07:05:55.407Z] ---> b9ab1bdef1d0 [2021-03-22T07:05:55.407Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-22T07:05:55.673Z] ---> Running in b016e2b21048 [2021-03-22T07:05:55.673Z] Removing intermediate container b016e2b21048 [2021-03-22T07:05:55.673Z] ---> 134577b053eb [2021-03-22T07:05:55.673Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-22T07:05:55.936Z] ---> Running in c9986f0e374a [2021-03-22T07:05:55.936Z] Removing intermediate container c9986f0e374a [2021-03-22T07:05:55.936Z] ---> a381750a7c89 [2021-03-22T07:05:55.936Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-22T07:05:55.936Z] ---> Running in 13918577309b [2021-03-22T07:05:56.890Z] Removing intermediate container 13918577309b [2021-03-22T07:05:56.890Z] ---> 613978052373 [2021-03-22T07:05:56.890Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-22T07:05:56.890Z] ---> Running in 5f952a6db8be [2021-03-22T07:05:57.475Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-22T07:05:58.049Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-22T07:05:58.624Z] OK: 166 MiB in 39 packages [2021-03-22T07:05:59.206Z] Removing intermediate container 5f952a6db8be [2021-03-22T07:05:59.206Z] ---> 6b16efca139f [2021-03-22T07:05:59.206Z] Step 8/24 : COPY . . [2021-03-22T07:06:00.159Z] ---> ca64f02c7b21 [2021-03-22T07:06:00.159Z] Step 9/24 : RUN ${MAKE} [2021-03-22T07:06:00.159Z] ---> Running in db28da2f58e9 [2021-03-22T07:06:00.428Z] 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-22T07:06:10.558Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-22T07:06:11.509Z] Removing intermediate container db28da2f58e9 [2021-03-22T07:06:11.509Z] ---> 59b288d6ba8c [2021-03-22T07:06:11.509Z] Step 10/24 : FROM scratch [2021-03-22T07:06:11.509Z] ---> [2021-03-22T07:06:11.509Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-22T07:06:11.509Z] ---> Running in 7b7c7698381b [2021-03-22T07:06:11.509Z] Removing intermediate container 7b7c7698381b [2021-03-22T07:06:11.509Z] ---> 248560604435 [2021-03-22T07:06:11.509Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-22T07:06:11.509Z] ---> Running in aacd541ac31b [2021-03-22T07:06:11.774Z] Removing intermediate container aacd541ac31b [2021-03-22T07:06:11.774Z] ---> 11fd3ba75f5f [2021-03-22T07:06:11.774Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-22T07:06:11.774Z] ---> Running in 378ef6df7e39 [2021-03-22T07:06:12.722Z] Removing intermediate container 378ef6df7e39 [2021-03-22T07:06:12.722Z] ---> 67636bba8e54 [2021-03-22T07:06:12.722Z] Step 14/24 : WORKDIR / [2021-03-22T07:06:12.722Z] ---> Running in 6dbcff52e83f [2021-03-22T07:06:12.722Z] Removing intermediate container 6dbcff52e83f [2021-03-22T07:06:12.722Z] ---> 9e3e714a7c51 [2021-03-22T07:06:12.722Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-22T07:06:13.294Z] ---> ce2f9e5bc235 [2021-03-22T07:06:13.294Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-22T07:06:13.555Z] ---> 50e8a7071141 [2021-03-22T07:06:13.555Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-22T07:06:13.819Z] ---> ce66c53b7727 [2021-03-22T07:06:13.819Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-22T07:06:14.080Z] ---> 1de2f28ccef7 [2021-03-22T07:06:14.080Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-22T07:06:14.080Z] ---> a55538e9c111 [2021-03-22T07:06:14.080Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-22T07:06:14.341Z] ---> Running in 37ac6927d257 [2021-03-22T07:06:14.603Z] Removing intermediate container 37ac6927d257 [2021-03-22T07:06:14.603Z] ---> f3930306dc78 [2021-03-22T07:06:14.603Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-22T07:06:14.603Z] ---> Running in 5d8ddbab22b7 [2021-03-22T07:06:14.865Z] Removing intermediate container 5d8ddbab22b7 [2021-03-22T07:06:14.865Z] ---> 60a80fdd5b55 [2021-03-22T07:06:14.865Z] Step 22/24 : LABEL arch=amd64 [2021-03-22T07:06:14.865Z] ---> Running in 2941a2d82461 [2021-03-22T07:06:14.865Z] Removing intermediate container 2941a2d82461 [2021-03-22T07:06:14.865Z] ---> 94d9fe654e5f [2021-03-22T07:06:14.865Z] Step 23/24 : LABEL git_sha=7db8d7278dde61d744edc7112f7cd5f0c4bdf49d [2021-03-22T07:06:15.126Z] ---> Running in df60adbc1e42 [2021-03-22T07:06:15.126Z] Removing intermediate container df60adbc1e42 [2021-03-22T07:06:15.126Z] ---> ee45c7e74040 [2021-03-22T07:06:15.126Z] Step 24/24 : LABEL version=0.0.0 [2021-03-22T07:06:15.390Z] ---> Running in 3e9da5ecc2b2 [2021-03-22T07:06:15.390Z] Removing intermediate container 3e9da5ecc2b2 [2021-03-22T07:06:15.390Z] ---> fc449db1b48a [2021-03-22T07:06:15.390Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-22T07:06:15.390Z] Successfully built fc449db1b48a [2021-03-22T07:06:15.390Z] 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-22T07:06:16.513Z] ---> job-cost.sh [2021-03-22T07:06:16.513Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mYrT [2021-03-22T07:06:31.472Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-22T07:06:32.173Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-22T07:06:58.109Z] lf-activate-venv(): INFO: Adding /tmp/venv-mYrT/bin to PATH [2021-03-22T07:06:58.109Z] INFO: No Stack... [2021-03-22T07:06:58.109Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-22T07:06:58.685Z] INFO: Archiving Costs [Pipeline] sh [2021-03-22T07:06:59.060Z] + cut -d, -f6 [2021-03-22T07:06:59.060Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-03-22T07:06:59.285Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-830-1-stack-cost] [2021-03-22T07:06:59.293Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-830-1-stack-cost] did not exist. Created. [2021-03-22T07:06:59.293Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-830-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-22T07:06:59.921Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-22T07:07:00.052Z] Stashed 1 file(s) [Pipeline] } [2021-03-22T07:07:00.094Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-830-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-22T07:08:08.924Z] lf-activate-venv(): INFO: Adding /tmp/venv-tmVL/bin to PATH [2021-03-22T07:08:08.924Z] INFO: No Stack... [2021-03-22T07:08:08.924Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-22T07:08:08.924Z] INFO: Archiving Costs [Pipeline] sh [2021-03-22T07:08:09.297Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-22T07:08:09.297Z] + cut -d, -f6 [Pipeline] lock [2021-03-22T07:08:09.455Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-830-1-stack-cost] [2021-03-22T07:08:09.462Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-830-1-stack-cost] did not exist. Created. [2021-03-22T07:08:09.463Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-830-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-22T07:08:10.006Z] /w/workspace/device-sdk-go/1@tmp/durable-a2233174/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-a2233174/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-22T07:08:10.384Z] + echo total: 0.4099999964237213 [Pipeline] stash [2021-03-22T07:08:10.433Z] Warning: overwriting stash ‘stack-cost’ [2021-03-22T07:08:10.591Z] Stashed 1 file(s) [Pipeline] } [2021-03-22T07:08:10.612Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-830-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-22T07:08:12.684Z] provisioning config files... [2021-03-22T07:08:12.711Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp/config5827485506707465tmp [Pipeline] { [Pipeline] sh [2021-03-22T07:08:13.189Z] + set +x [2021-03-22T07:08:13.190Z] + bash -s -- [2021-03-22T07:08:13.190Z] + curl -s https://codecov.io/bash [2021-03-22T07:08:13.461Z] [2021-03-22T07:08:13.461Z] _____ _ [2021-03-22T07:08:13.461Z] / ____| | | [2021-03-22T07:08:13.461Z] | | ___ __| | ___ ___ _____ __ [2021-03-22T07:08:13.461Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-22T07:08:13.461Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-22T07:08:13.461Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-22T07:08:13.461Z] Bash-20210309-2b87ace [2021-03-22T07:08:13.461Z] [2021-03-22T07:08:13.461Z] [2021-03-22T07:08:13.461Z] ==> git version 2.24.3 found [2021-03-22T07:08:13.461Z] ==> 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-22T07:08:13.461Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-22T07:08:13.461Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-22T07:08:13.461Z] ==> Jenkins CI detected. [2021-03-22T07:08:13.461Z] project root: . [2021-03-22T07:08:13.461Z] --> token set from env [2021-03-22T07:08:13.461Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-22T07:08:13.461Z] ==> Running gcov in . (disable via -X gcov) [2021-03-22T07:08:13.461Z] ==> Python coveragepy not found [2021-03-22T07:08:13.461Z] ==> Searching for coverage reports in: [2021-03-22T07:08:13.461Z] + . [2021-03-22T07:08:13.461Z] -> Found 1 reports [2021-03-22T07:08:13.461Z] ==> Detecting git/mercurial file structure [2021-03-22T07:08:13.461Z] ==> Reading reports [2021-03-22T07:08:13.461Z] + ./coverage.out bytes=99587 [2021-03-22T07:08:13.461Z] ==> Appending adjustments [2021-03-22T07:08:13.461Z] https://docs.codecov.io/docs/fixing-reports [2021-03-22T07:08:14.047Z] + Found adjustments [2021-03-22T07:08:14.047Z] ==> Gzipping contents [2021-03-22T07:08:14.047Z] 16K /tmp/codecov.L65uox.gz [2021-03-22T07:08:14.047Z] ==> Uploading reports [2021-03-22T07:08:14.047Z] url: https://codecov.io [2021-03-22T07:08:14.047Z] query: branch=PR-830&commit=7db8d7278dde61d744edc7112f7cd5f0c4bdf49d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-830%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=830&job=&cmd_args= [2021-03-22T07:08:14.047Z] -> Pinging Codecov [2021-03-22T07:08:14.047Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-830&commit=7db8d7278dde61d744edc7112f7cd5f0c4bdf49d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-830%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=830&job=&cmd_args= [2021-03-22T07:08:14.632Z] -> Uploading to [2021-03-22T07:08:14.632Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-22/7E55EF52A471D76F132DFD9A03CDDE97/7db8d7278dde61d744edc7112f7cd5f0c4bdf49d/afe010dd-2e00-44b9-bbec-5c5ecd97bd34.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210322T070814Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2b6d0792c2c17feb3f12d477dae406d0cdf37f7ed940d8431aa7625f98f85b00 [2021-03-22T07:08:14.632Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-22T07:08:14.632Z] Dload Upload Total Spent Left Speed [2021-03-22T07:08:14.910Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13455 0 0 100 13455 0 31882 --:--:-- --:--:-- --:--:-- 31883 100 13455 0 0 100 13455 0 31865 --:--:-- --:--:-- --:--:-- 31808 [2021-03-22T07:08:14.910Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7db8d7278dde61d744edc7112f7cd5f0c4bdf49d [Pipeline] } [2021-03-22T07:08:14.937Z] 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-22T07:08:18.322Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-22T07:08:18.984Z] ---> package-listing.sh [2021-03-22T07:08:18.984Z] ++ facter osfamily [2021-03-22T07:08:18.984Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-22T07:08:18.984Z] + OS_FAMILY=redhat [2021-03-22T07:08:18.984Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-830 [2021-03-22T07:08:18.984Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-22T07:08:18.984Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-22T07:08:18.984Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-22T07:08:18.984Z] + PACKAGES=/tmp/packages_start.txt [2021-03-22T07:08:18.984Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-830 ']' [2021-03-22T07:08:18.984Z] + PACKAGES=/tmp/packages_end.txt [2021-03-22T07:08:18.984Z] + case "${OS_FAMILY}" in [2021-03-22T07:08:18.984Z] + rpm -qa [2021-03-22T07:08:18.984Z] + sort [2021-03-22T07:08:27.249Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-22T07:08:27.249Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-22T07:08:27.249Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-22T07:08:27.249Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-830 ']' [2021-03-22T07:08:27.249Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-830/archives/ [2021-03-22T07:08:27.249Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-830/archives/ [Pipeline] echo [2021-03-22T07:08:27.286Z] 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-830/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-22T07:08:27.612Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-22T07:08:28.259Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-22T07:08:28.524Z] [2021-03-22T07:08:28.525Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-22T07:08:28.943Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-22T07:08:28.943Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-22T07:08:28.943Z] df20fa9351a1: Pulling fs layer [2021-03-22T07:08:28.943Z] 36b3adc4ff6f: Pulling fs layer [2021-03-22T07:08:28.943Z] 8ad3a11d3b57: Pulling fs layer [2021-03-22T07:08:28.943Z] 46f8f816bc3b: Pulling fs layer [2021-03-22T07:08:28.943Z] 93b61091891f: Pulling fs layer [2021-03-22T07:08:28.943Z] 93b9cdb0e59b: Pulling fs layer [2021-03-22T07:08:28.943Z] 5e14af77c1be: Pulling fs layer [2021-03-22T07:08:28.943Z] 01666e4c0597: Pulling fs layer [2021-03-22T07:08:28.943Z] aa168da1d23b: Pulling fs layer [2021-03-22T07:08:28.943Z] 46f8f816bc3b: Waiting [2021-03-22T07:08:28.943Z] 93b61091891f: Waiting [2021-03-22T07:08:28.943Z] 01666e4c0597: Waiting [2021-03-22T07:08:28.943Z] 5e14af77c1be: Waiting [2021-03-22T07:08:28.943Z] 93b9cdb0e59b: Waiting [2021-03-22T07:08:29.212Z] 36b3adc4ff6f: Verifying Checksum [2021-03-22T07:08:29.212Z] 36b3adc4ff6f: Download complete [2021-03-22T07:08:29.212Z] 46f8f816bc3b: Verifying Checksum [2021-03-22T07:08:29.212Z] 46f8f816bc3b: Download complete [2021-03-22T07:08:29.212Z] df20fa9351a1: Verifying Checksum [2021-03-22T07:08:29.212Z] df20fa9351a1: Download complete [2021-03-22T07:08:29.212Z] 93b9cdb0e59b: Verifying Checksum [2021-03-22T07:08:29.212Z] 93b9cdb0e59b: Download complete [2021-03-22T07:08:29.212Z] 5e14af77c1be: Verifying Checksum [2021-03-22T07:08:29.212Z] 5e14af77c1be: Download complete [2021-03-22T07:08:29.212Z] 93b61091891f: Download complete [2021-03-22T07:08:29.212Z] 01666e4c0597: Verifying Checksum [2021-03-22T07:08:29.212Z] 01666e4c0597: Download complete [2021-03-22T07:08:29.797Z] df20fa9351a1: Pull complete [2021-03-22T07:08:29.797Z] 36b3adc4ff6f: Pull complete [2021-03-22T07:08:30.405Z] 8ad3a11d3b57: Download complete [2021-03-22T07:08:31.881Z] 8ad3a11d3b57: Pull complete [2021-03-22T07:08:31.882Z] 46f8f816bc3b: Pull complete [2021-03-22T07:08:32.885Z] 93b61091891f: Pull complete [2021-03-22T07:08:33.166Z] 93b9cdb0e59b: Pull complete [2021-03-22T07:08:33.457Z] 5e14af77c1be: Pull complete [2021-03-22T07:08:33.738Z] 01666e4c0597: Pull complete [2021-03-22T07:08:33.738Z] aa168da1d23b: Verifying Checksum [2021-03-22T07:08:33.738Z] aa168da1d23b: Download complete [2021-03-22T07:08:49.081Z] aa168da1d23b: Pull complete [2021-03-22T07:08:49.081Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-22T07:08:49.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-22T07:08:49.081Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-22T07:08:49.371Z] prd-centos7-docker-4c-2g-30849 does not seem to be running inside a container [2021-03-22T07:08:49.462Z] $ 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-830/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-830 -v /w/workspace/dgexfoundry_device-sdk-go_PR-830:/w/workspace/dgexfoundry_device-sdk-go_PR-830:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-830@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-22T07:08:54.527Z] $ docker top fa38d21899e2b5625eea60c93b43a054a08fd3f42c4a3d8d8f4e34d0fcb4bef0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-22T07:08:55.852Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-22T07:08:56.190Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-22T07:08:56.530Z] + ls /var/log/sa-host [2021-03-22T07:08:56.530Z] + sadf -c /var/log/sa-host/sa22 [2021-03-22T07:08:56.530Z] file_magic: OK [2021-03-22T07:08:56.530Z] HZ: Using current value: 100 [2021-03-22T07:08:56.530Z] file_header: OK [2021-03-22T07:08:56.530Z] 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-22T07:08:56.530Z] Statistics: [2021-03-22T07:08:56.530Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-22T07:08:56.530Z] File successfully converted to sysstat format version 12.2.1 [2021-03-22T07:08:56.530Z] + sadf -c /var/log/sa-host/sa23 [2021-03-22T07:08:56.530Z] file_magic: OK [2021-03-22T07:08:56.530Z] HZ: Using current value: 100 [2021-03-22T07:08:56.530Z] file_header: OK [2021-03-22T07:08:56.530Z] 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-22T07:08:56.530Z] Statistics: [2021-03-22T07:08:56.530Z] Hnuu...uuuununununu... [2021-03-22T07:08:56.530Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-22T07:08:57.304Z] provisioning config files... [2021-03-22T07:08:57.328Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp/config437147308562368998tmp [Pipeline] { [Pipeline] echo [2021-03-22T07:08:57.465Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-22T07:08:58.487Z] ---> create-netrc.sh [Pipeline] } [2021-03-22T07:08:58.520Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-22T07:08:58.682Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-22T07:08:59.063Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-22T07:08:59.108Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-22T07:08:59.521Z] ---> sudo-logs.sh [2021-03-22T07:08:59.521Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-22T07:08:59.650Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-22T07:09:00.010Z] ---> job-cost.sh [2021-03-22T07:09:00.285Z] lf-activate-venv: SKIPPING [2021-03-22T07:09:00.285Z] DEBUG: total: 0.4099999964237213 [2021-03-22T07:09:00.285Z] INFO: Retrieving Stack Cost... [2021-03-22T07:09:00.866Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-22T07:09:01.845Z] INFO: Archiving Costs [Pipeline] echo [2021-03-22T07:09:01.888Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-22T07:09:03.134Z] ---> logs-deploy.sh [2021-03-22T07:09:03.134Z] lf-activate-venv: SKIPPING [2021-03-22T07:09:03.134Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-830/1 [2021-03-22T07:09:03.134Z] INFO: archiving workspace using pattern(s): [2021-03-22T07:09:05.772Z] Archives upload complete. [2021-03-22T07:09:06.071Z] INFO: archiving logs to Nexus [2021-03-22T07:09:07.485Z] ---> uname -a: [2021-03-22T07:09:07.485Z] Linux prd-centos7-docker-4c-2g-30849.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-03-22T07:09:07.485Z] [2021-03-22T07:09:07.485Z] [2021-03-22T07:09:07.485Z] ---> lscpu: [2021-03-22T07:09:07.485Z] Architecture: x86_64 [2021-03-22T07:09:07.485Z] CPU op-mode(s): 32-bit, 64-bit [2021-03-22T07:09:07.485Z] Byte Order: Little Endian [2021-03-22T07:09:07.485Z] Address sizes: 40 bits physical, 48 bits virtual [2021-03-22T07:09:07.485Z] CPU(s): 4 [2021-03-22T07:09:07.485Z] On-line CPU(s) list: 0-3 [2021-03-22T07:09:07.485Z] Thread(s) per core: 1 [2021-03-22T07:09:07.485Z] Core(s) per socket: 1 [2021-03-22T07:09:07.485Z] Socket(s): 4 [2021-03-22T07:09:07.485Z] NUMA node(s): 1 [2021-03-22T07:09:07.485Z] Vendor ID: GenuineIntel [2021-03-22T07:09:07.485Z] CPU family: 6 [2021-03-22T07:09:07.485Z] Model: 44 [2021-03-22T07:09:07.485Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-03-22T07:09:07.485Z] Stepping: 1 [2021-03-22T07:09:07.485Z] CPU MHz: 2933.438 [2021-03-22T07:09:07.485Z] BogoMIPS: 5866.87 [2021-03-22T07:09:07.485Z] Virtualization: VT-x [2021-03-22T07:09:07.485Z] Hypervisor vendor: KVM [2021-03-22T07:09:07.485Z] Virtualization type: full [2021-03-22T07:09:07.485Z] L1d cache: 128 KiB [2021-03-22T07:09:07.485Z] L1i cache: 128 KiB [2021-03-22T07:09:07.485Z] L2 cache: 16 MiB [2021-03-22T07:09:07.485Z] L3 cache: 64 MiB [2021-03-22T07:09:07.485Z] NUMA node0 CPU(s): 0-3 [2021-03-22T07:09:07.485Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-03-22T07:09:07.485Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-03-22T07:09:07.485Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-03-22T07:09:07.485Z] Vulnerability Meltdown: Mitigation; PTI [2021-03-22T07:09:07.485Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-03-22T07:09:07.485Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-03-22T07:09:07.485Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-03-22T07:09:07.485Z] Vulnerability Srbds: Not affected [2021-03-22T07:09:07.485Z] Vulnerability Tsx async abort: Not affected [2021-03-22T07:09:07.485Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-03-22T07:09:07.485Z] [2021-03-22T07:09:07.485Z] [2021-03-22T07:09:07.485Z] ---> nproc: [2021-03-22T07:09:07.485Z] 4 [2021-03-22T07:09:07.485Z] [2021-03-22T07:09:07.485Z]