Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b+4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 (44fc6eee2ecba6c68b80ad182c0ccc8c6d334afd) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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-32396 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [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-844 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 into PR head commit e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b Merge succeeded, producing 0661f366d8de95eb9906ebf21de586e5b1eddbd4 Checking out Revision 0661f366d8de95eb9906ebf21de586e5b1eddbd4 (PR-844) > git config core.sparsecheckout # timeout=10 > git checkout -f e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0661f366d8de95eb9906ebf21de586e5b1eddbd4 # timeout=10 Commit message: "Merge commit '4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36' into HEAD" > git rev-list --no-walk e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-01T02:41:45.933Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-01T02:41:46.226Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-01T02:41:46.361Z] ========================================================= [2021-04-01T02:41:46.361Z] EdgeX Global Pipelines Version Info [2021-04-01T02:41:46.361Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-01T02:41:47.872Z] ------------------- [2021-04-01T02:41:47.872Z] stable info: [2021-04-01T02:41:47.872Z] ------------------- [2021-04-01T02:41:47.872Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-01T02:41:47.872Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-01T02:41:47.872Z] Message: update stable to v1.0.186 [2021-04-01T02:41:48.821Z] ------------------- [2021-04-01T02:41:48.821Z] experimental info: [2021-04-01T02:41:48.821Z] ------------------- [2021-04-01T02:41:48.821Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-01T02:41:48.821Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-01T02:41:48.821Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-01T02:41:49.146Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-01T02:41:49.244Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-01T02:41:49.344Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-01T02:41:49.444Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-01T02:41:49.541Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-01T02:41:49.638Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-01T02:41:49.737Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-01T02:41:49.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-01T02:41:49.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-01T02:41:50.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-01T02:41:50.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-01T02:41:50.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-01T02:41:50.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-01T02:41:50.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-01T02:41:50.746Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-01T02:41:50.841Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-01T02:41:50.956Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-01T02:41:51.050Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-01T02:41:51.154Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-01T02:41:51.262Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-01T02:41:51.393Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-01T02:41:51.485Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-01T02:41:51.584Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-01T02:41:51.677Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-01T02:41:51.767Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-01T02:41:51.912Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-01T02:41:52.001Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-844 [Pipeline] echo [2021-04-01T02:41:52.100Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-844 [Pipeline] echo [2021-04-01T02:41:52.191Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-844 [Pipeline] echo [2021-04-01T02:41:52.282Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0661f366d8de95eb9906ebf21de586e5b1eddbd4 [Pipeline] echo [2021-04-01T02:41:52.464Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0661f36 [Pipeline] echo [2021-04-01T02:41:52.560Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-01T02:41:52.812Z] provisioning config files... [2021-04-01T02:41:52.843Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config3198158177745708272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-01T02:41:53.204Z] ---> docker-login.sh [2021-04-01T02:41:53.204Z] nexus3.edgexfoundry.org:10001 [2021-04-01T02:41:53.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T02:41:53.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T02:41:53.730Z] Configure a credential helper to remove this warning. See [2021-04-01T02:41:53.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T02:41:53.730Z] [2021-04-01T02:41:53.730Z] Login Succeeded [2021-04-01T02:41:53.730Z] nexus3.edgexfoundry.org:10002 [2021-04-01T02:41:53.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T02:41:53.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T02:41:53.994Z] Configure a credential helper to remove this warning. See [2021-04-01T02:41:53.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T02:41:53.994Z] [2021-04-01T02:41:53.994Z] Login Succeeded [2021-04-01T02:41:53.994Z] nexus3.edgexfoundry.org:10003 [2021-04-01T02:41:53.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T02:41:53.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T02:41:53.994Z] Configure a credential helper to remove this warning. See [2021-04-01T02:41:53.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T02:41:53.994Z] [2021-04-01T02:41:53.994Z] Login Succeeded [2021-04-01T02:41:53.994Z] nexus3.edgexfoundry.org:10004 [2021-04-01T02:41:54.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T02:41:54.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T02:41:54.257Z] Configure a credential helper to remove this warning. See [2021-04-01T02:41:54.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T02:41:54.257Z] [2021-04-01T02:41:54.257Z] Login Succeeded [2021-04-01T02:41:54.257Z] docker.io [2021-04-01T02:41:54.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T02:41:54.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T02:41:54.521Z] Configure a credential helper to remove this warning. See [2021-04-01T02:41:54.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T02:41:54.521Z] [2021-04-01T02:41:54.521Z] Login Succeeded [2021-04-01T02:41:54.521Z] ---> docker-login.sh ends [Pipeline] } [2021-04-01T02:41:54.532Z] 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-04-01T02:41:55.354Z] + git log --format=format:%s -1 0661f366d8de95eb9906ebf21de586e5b1eddbd4 [Pipeline] echo [2021-04-01T02:41:55.424Z] GIT_COMMIT: 0661f366d8de95eb9906ebf21de586e5b1eddbd4, Commit Message: Merge commit '4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36' into HEAD [Pipeline] echo [2021-04-01T02:41:55.471Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-01T02:41:56.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-01T02:41:56.808Z] [2021-04-01T02:41:56.808Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-01T02:41:57.153Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-01T02:41:57.153Z] latest: Pulling from edgex-devops/git-semver [2021-04-01T02:41:57.153Z] 31603596830f: Pulling fs layer [2021-04-01T02:41:57.153Z] 2a8b12db71e7: Pulling fs layer [2021-04-01T02:41:57.153Z] 6ca5941a6612: Pulling fs layer [2021-04-01T02:41:57.153Z] ecc8261a40a4: Pulling fs layer [2021-04-01T02:41:57.153Z] ecc8261a40a4: Waiting [2021-04-01T02:41:57.153Z] 2a8b12db71e7: Download complete [2021-04-01T02:41:57.418Z] 31603596830f: Verifying Checksum [2021-04-01T02:41:57.418Z] 31603596830f: Download complete [2021-04-01T02:41:57.418Z] ecc8261a40a4: Verifying Checksum [2021-04-01T02:41:57.418Z] ecc8261a40a4: Download complete [2021-04-01T02:41:57.418Z] 6ca5941a6612: Verifying Checksum [2021-04-01T02:41:57.418Z] 6ca5941a6612: Download complete [2021-04-01T02:41:57.682Z] 31603596830f: Pull complete [2021-04-01T02:41:57.945Z] 2a8b12db71e7: Pull complete [2021-04-01T02:41:58.893Z] 6ca5941a6612: Pull complete [2021-04-01T02:41:59.155Z] ecc8261a40a4: Pull complete [2021-04-01T02:41:59.155Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-01T02:41:59.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-01T02:41:59.155Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-01T02:41:59.267Z] prd-centos7-docker-4c-2g-32396 does not seem to be running inside a container [2021-04-01T02:41:59.313Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-01T02:42:01.348Z] $ docker top d23bfde5ac4587e6ba2dbf4c092fb015c438619cad6f15f0e8f48edc422ebb90 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-01T02:42:01.667Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-01T02:42:01.667Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-01T02:42:01.904Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-01T02:42:01.907Z] $ docker exec d23bfde5ac4587e6ba2dbf4c092fb015c438619cad6f15f0e8f48edc422ebb90 ssh-agent [2021-04-01T02:42:02.082Z] SSH_AUTH_SOCK=/tmp/ssh-w5bQ2SGg4OUy/agent.11 [2021-04-01T02:42:02.082Z] SSH_AGENT_PID=16 [2021-04-01T02:42:02.093Z] Running ssh-add (command line suppressed) [2021-04-01T02:42:02.211Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_1068024912771130004.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_1068024912771130004.key) [2021-04-01T02:42:02.266Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-01T02:42:02.607Z] + git tag --points-at HEAD [Pipeline] } [2021-04-01T02:42:02.634Z] $ docker exec --env ******** --env ******** d23bfde5ac4587e6ba2dbf4c092fb015c438619cad6f15f0e8f48edc422ebb90 ssh-agent -k [2021-04-01T02:42:02.767Z] unset SSH_AUTH_SOCK; [2021-04-01T02:42:02.767Z] unset SSH_AGENT_PID; [2021-04-01T02:42:02.767Z] echo Agent pid 16 killed; [2021-04-01T02:42:02.825Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-01T02:42:02.974Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-01T02:42:02.974Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-01T02:42:03.171Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-01T02:42:03.173Z] $ docker exec d23bfde5ac4587e6ba2dbf4c092fb015c438619cad6f15f0e8f48edc422ebb90 ssh-agent [2021-04-01T02:42:03.359Z] SSH_AUTH_SOCK=/tmp/ssh-1TkXvQGr85zA/agent.46 [2021-04-01T02:42:03.359Z] SSH_AGENT_PID=51 [2021-04-01T02:42:03.366Z] Running ssh-add (command line suppressed) [2021-04-01T02:42:03.490Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_3291263907775817269.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_3291263907775817269.key) [2021-04-01T02:42:03.544Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-01T02:42:03.882Z] + git semver init [2021-04-01T02:42:03.882Z] # -> Open(): unable to determine branch for HEAD [2021-04-01T02:42:03.882Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.git [2021-04-01T02:42:03.882Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-844 [2021-04-01T02:42:03.882Z] # $SEMVER_REMOTE_NAME = origin [2021-04-01T02:42:03.882Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-01T02:42:03.882Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-01T02:42:03.882Z] # $SEMVER_BRANCH = PR-844 [2021-04-01T02:42:03.882Z] # $SEMVER_TEMP = /tmp/semver-441667471 [2021-04-01T02:42:03.882Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-01T02:42:04.840Z] # '/tmp/semver-441667471' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver' [2021-04-01T02:42:04.840Z] # -> Force: false [2021-04-01T02:42:04.840Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver [Pipeline] } [2021-04-01T02:42:04.851Z] $ docker exec --env ******** --env ******** d23bfde5ac4587e6ba2dbf4c092fb015c438619cad6f15f0e8f48edc422ebb90 ssh-agent -k [2021-04-01T02:42:04.985Z] unset SSH_AUTH_SOCK; [2021-04-01T02:42:04.985Z] unset SSH_AGENT_PID; [2021-04-01T02:42:04.985Z] echo Agent pid 51 killed; [2021-04-01T02:42:05.039Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-01T02:42:05.517Z] + git semver [Pipeline] } [2021-04-01T02:42:05.533Z] $ docker stop --time=1 d23bfde5ac4587e6ba2dbf4c092fb015c438619cad6f15f0e8f48edc422ebb90 [2021-04-01T02:42:06.896Z] $ docker rm -f d23bfde5ac4587e6ba2dbf4c092fb015c438619cad6f15f0e8f48edc422ebb90 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-01T02:42:07.374Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-01T02:42:07.800Z] Stashed 1 file(s) [Pipeline] echo [2021-04-01T02:42:07.803Z] [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-04-01T02:42:23.328Z] Still waiting to schedule task [2021-04-01T02:42:23.329Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-01T02:42:23.330Z] Still waiting to schedule task [2021-04-01T02:42:23.330Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-01T02:44:02.825Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32398 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws [2021-04-01T02:44:02.938Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-04-01T02:44:03.110Z] Running on prd-centos7-docker-4c-2g-32399 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws [2021-04-01T02:44:03.199Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-04-01T02:44:05.844Z] using credential edgex-jenkins-ssh [2021-04-01T02:44:05.903Z] Cloning the remote Git repository [2021-04-01T02:44:05.560Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T02:44:05.638Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-04-01T02:44:05.700Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T02:44:05.701Z] > git --version # timeout=10 [2021-04-01T02:44:05.707Z] > git --version # 'git version 2.24.3' [2021-04-01T02:44:05.708Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T02:44:05.773Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-01T02:44:07.445Z] Merging remotes/origin/master commit 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 into PR head commit e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b [2021-04-01T02:44:07.564Z] Merge succeeded, producing 05c9726f84abae749728ed232c7150709ff7ce3e [2021-04-01T02:44:07.564Z] Checking out Revision 05c9726f84abae749728ed232c7150709ff7ce3e (PR-844) [2021-04-01T02:44:06.636Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-01T02:44:06.645Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-01T02:44:06.660Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-01T02:44:06.680Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T02:44:06.680Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T02:44:06.685Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-01T02:44:07.205Z] > git config core.sparsecheckout # timeout=10 [2021-04-01T02:44:07.216Z] > git checkout -f e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b # timeout=10 [2021-04-01T02:44:07.265Z] > git remote # timeout=10 [2021-04-01T02:44:07.272Z] > git config --get remote.origin.url # timeout=10 [2021-04-01T02:44:07.279Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T02:44:07.283Z] > git merge 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 # timeout=10 [2021-04-01T02:44:07.317Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-01T02:44:07.327Z] > git config core.sparsecheckout # timeout=10 [2021-04-01T02:44:07.332Z] > git checkout -f 05c9726f84abae749728ed232c7150709ff7ce3e # timeout=10 [2021-04-01T02:44:08.275Z] using credential edgex-jenkins-ssh [2021-04-01T02:44:08.336Z] Cloning the remote Git repository [2021-04-01T02:44:08.395Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T02:44:08.505Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-04-01T02:44:08.601Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T02:44:08.602Z] > git --version # timeout=10 [2021-04-01T02:44:08.625Z] > git --version # 'git version 2.17.1' [2021-04-01T02:44:08.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T02:44:08.679Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-01T02:44:10.687Z] Merging remotes/origin/master commit 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 into PR head commit e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b [2021-04-01T02:44:09.861Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-01T02:44:09.876Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-01T02:44:09.919Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-01T02:44:09.968Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T02:44:09.969Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T02:44:09.979Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-01T02:44:10.709Z] > git config core.sparsecheckout # timeout=10 [2021-04-01T02:44:10.734Z] > git checkout -f e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b # timeout=10 [2021-04-01T02:44:10.990Z] Merge succeeded, producing ff64517cbcbbbe0c966f293ee4419b1ef0507709 [2021-04-01T02:44:10.991Z] Checking out Revision ff64517cbcbbbe0c966f293ee4419b1ef0507709 (PR-844) [2021-04-01T02:44:11.031Z] Commit message: "Merge commit '4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36' into HEAD" [2021-04-01T02:44:11.034Z] > git rev-list --no-walk e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-01T02:44:10.836Z] > git remote # timeout=10 [2021-04-01T02:44:10.855Z] > git config --get remote.origin.url # timeout=10 [2021-04-01T02:44:10.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T02:44:10.887Z] > git merge 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 # timeout=10 [2021-04-01T02:44:10.972Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-01T02:44:10.999Z] > git config core.sparsecheckout # timeout=10 [2021-04-01T02:44:11.011Z] > git checkout -f ff64517cbcbbbe0c966f293ee4419b1ef0507709 # timeout=10 [2021-04-01T02:44:12.202Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-01T02:44:12.528Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-01T02:44:12.844Z] + sudo service docker restart [2021-04-01T02:44:12.844Z] + true [2021-04-01T02:44:12.844Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-01T02:44:13.867Z] provisioning config files... [2021-04-01T02:44:13.906Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config2468541235660308376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-01T02:44:14.268Z] ---> docker-login.sh [2021-04-01T02:44:14.268Z] nexus3.edgexfoundry.org:10001 [2021-04-01T02:44:14.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T02:44:14.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T02:44:14.530Z] Configure a credential helper to remove this warning. See [2021-04-01T02:44:14.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T02:44:14.530Z] [2021-04-01T02:44:14.530Z] Login Succeeded [2021-04-01T02:44:14.530Z] nexus3.edgexfoundry.org:10002 [2021-04-01T02:44:14.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T02:44:14.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T02:44:14.795Z] Configure a credential helper to remove this warning. See [2021-04-01T02:44:14.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T02:44:14.795Z] [2021-04-01T02:44:14.795Z] Login Succeeded [2021-04-01T02:44:14.795Z] nexus3.edgexfoundry.org:10003 [2021-04-01T02:44:15.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T02:44:15.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T02:44:15.056Z] Configure a credential helper to remove this warning. See [2021-04-01T02:44:15.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T02:44:15.056Z] [2021-04-01T02:44:15.056Z] Login Succeeded [2021-04-01T02:44:15.056Z] nexus3.edgexfoundry.org:10004 [2021-04-01T02:44:15.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T02:44:15.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T02:44:15.318Z] Configure a credential helper to remove this warning. See [2021-04-01T02:44:15.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T02:44:15.318Z] [2021-04-01T02:44:15.318Z] Login Succeeded [2021-04-01T02:44:15.318Z] docker.io [2021-04-01T02:44:15.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T02:44:15.470Z] Commit message: "Merge commit '4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36' into HEAD" [2021-04-01T02:44:15.479Z] > git rev-list --no-walk e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b # timeout=10 [2021-04-01T02:44:15.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T02:44:15.579Z] Configure a credential helper to remove this warning. See [2021-04-01T02:44:15.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T02:44:15.579Z] [2021-04-01T02:44:15.579Z] Login Succeeded [2021-04-01T02:44:15.579Z] ---> docker-login.sh ends [Pipeline] } [2021-04-01T02:44:15.589Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-01T02:44:16.082Z] ========================================================= [2021-04-01T02:44:16.082Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-01T02:44:16.082Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-01T02:44:16.448Z] + 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-04-01T02:44:16.448Z] Sending build context to Docker daemon 2.399MB [2021-04-01T02:44:16.448Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-01T02:44:16.448Z] Step 2/8 : FROM ${BASE} [2021-04-01T02:44:16.709Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-01T02:44:16.709Z] 188c0c94c7c5: Pulling fs layer [2021-04-01T02:44:16.709Z] 0ef7d3d256c8: Pulling fs layer [2021-04-01T02:44:16.709Z] de9db76c5a1d: Pulling fs layer [2021-04-01T02:44:16.709Z] bca2f99d35d6: Pulling fs layer [2021-04-01T02:44:16.709Z] 93359f2a8cfa: Pulling fs layer [2021-04-01T02:44:16.709Z] 7c6f9722023f: Pulling fs layer [2021-04-01T02:44:16.709Z] a35cf1a2eb13: Pulling fs layer [2021-04-01T02:44:16.709Z] bca2f99d35d6: Waiting [2021-04-01T02:44:16.709Z] 93359f2a8cfa: Waiting [2021-04-01T02:44:16.709Z] 7c6f9722023f: Waiting [2021-04-01T02:44:16.709Z] a35cf1a2eb13: Waiting [2021-04-01T02:44:16.709Z] de9db76c5a1d: Verifying Checksum [2021-04-01T02:44:16.709Z] de9db76c5a1d: Download complete [2021-04-01T02:44:16.709Z] 0ef7d3d256c8: Verifying Checksum [2021-04-01T02:44:16.709Z] 0ef7d3d256c8: Download complete [2021-04-01T02:44:16.709Z] 93359f2a8cfa: Verifying Checksum [2021-04-01T02:44:16.709Z] 93359f2a8cfa: Download complete [2021-04-01T02:44:16.709Z] 7c6f9722023f: Verifying Checksum [2021-04-01T02:44:16.709Z] 7c6f9722023f: Download complete [2021-04-01T02:44:16.709Z] 188c0c94c7c5: Verifying Checksum [2021-04-01T02:44:16.709Z] 188c0c94c7c5: Download complete [2021-04-01T02:44:16.971Z] 188c0c94c7c5: Pull complete [2021-04-01T02:44:17.155Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-04-01T02:44:17.233Z] 0ef7d3d256c8: Pull complete [2021-04-01T02:44:17.233Z] de9db76c5a1d: Pull complete [Pipeline] sh [2021-04-01T02:44:17.615Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-01T02:44:17.964Z] + true [2021-04-01T02:44:17.964Z] + sudo service docker restart [2021-04-01T02:44:19.172Z] a35cf1a2eb13: Verifying Checksum [2021-04-01T02:44:19.172Z] a35cf1a2eb13: Download complete [2021-04-01T02:44:19.750Z] bca2f99d35d6: Verifying Checksum [2021-04-01T02:44:19.750Z] bca2f99d35d6: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-01T02:44:20.681Z] provisioning config files... [2021-04-01T02:44:20.719Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config1591242855232260080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-01T02:44:21.162Z] ---> docker-login.sh [2021-04-01T02:44:21.162Z] nexus3.edgexfoundry.org:10001 [2021-04-01T02:44:22.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T02:44:22.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T02:44:22.423Z] Configure a credential helper to remove this warning. See [2021-04-01T02:44:22.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T02:44:22.423Z] [2021-04-01T02:44:22.423Z] Login Succeeded [2021-04-01T02:44:22.423Z] nexus3.edgexfoundry.org:10002 [2021-04-01T02:44:22.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T02:44:22.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T02:44:22.973Z] Configure a credential helper to remove this warning. See [2021-04-01T02:44:22.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T02:44:22.973Z] [2021-04-01T02:44:22.973Z] Login Succeeded [2021-04-01T02:44:22.973Z] nexus3.edgexfoundry.org:10003 [2021-04-01T02:44:23.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T02:44:23.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T02:44:23.247Z] Configure a credential helper to remove this warning. See [2021-04-01T02:44:23.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T02:44:23.247Z] [2021-04-01T02:44:23.247Z] Login Succeeded [2021-04-01T02:44:23.247Z] nexus3.edgexfoundry.org:10004 [2021-04-01T02:44:23.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T02:44:23.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T02:44:23.847Z] Configure a credential helper to remove this warning. See [2021-04-01T02:44:23.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T02:44:23.847Z] [2021-04-01T02:44:23.847Z] Login Succeeded [2021-04-01T02:44:23.847Z] docker.io [2021-04-01T02:44:24.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T02:44:24.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T02:44:24.721Z] Configure a credential helper to remove this warning. See [2021-04-01T02:44:24.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T02:44:24.721Z] [2021-04-01T02:44:24.721Z] Login Succeeded [2021-04-01T02:44:24.721Z] ---> docker-login.sh ends [Pipeline] } [2021-04-01T02:44:24.753Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-04-01T02:44:25.083Z] bca2f99d35d6: Pull complete [2021-04-01T02:44:25.083Z] 93359f2a8cfa: Pull complete [2021-04-01T02:44:25.083Z] 7c6f9722023f: Pull complete [Pipeline] echo [2021-04-01T02:44:25.162Z] ========================================================= [2021-04-01T02:44:25.162Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-01T02:44:25.162Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-01T02:44:25.549Z] + 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-04-01T02:44:26.157Z] Sending build context to Docker daemon 2.397MB [2021-04-01T02:44:26.157Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-01T02:44:26.157Z] Step 2/8 : FROM ${BASE} [2021-04-01T02:44:26.157Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-01T02:44:26.157Z] 5f621e34cdf4: Pulling fs layer [2021-04-01T02:44:26.157Z] a4357932f1b6: Pulling fs layer [2021-04-01T02:44:26.157Z] 18c013af1878: Pulling fs layer [2021-04-01T02:44:26.157Z] 00ac8860ef70: Pulling fs layer [2021-04-01T02:44:26.157Z] 63d7cb157983: Pulling fs layer [2021-04-01T02:44:26.157Z] b116817d02f9: Pulling fs layer [2021-04-01T02:44:26.157Z] 745a02a5169b: Pulling fs layer [2021-04-01T02:44:26.157Z] 00ac8860ef70: Waiting [2021-04-01T02:44:26.157Z] 63d7cb157983: Waiting [2021-04-01T02:44:26.157Z] b116817d02f9: Waiting [2021-04-01T02:44:26.157Z] 18c013af1878: Verifying Checksum [2021-04-01T02:44:26.157Z] 18c013af1878: Download complete [2021-04-01T02:44:26.157Z] a4357932f1b6: Download complete [2021-04-01T02:44:26.157Z] 63d7cb157983: Verifying Checksum [2021-04-01T02:44:26.157Z] 63d7cb157983: Download complete [2021-04-01T02:44:26.157Z] b116817d02f9: Download complete [2021-04-01T02:44:26.157Z] 5f621e34cdf4: Download complete [2021-04-01T02:44:26.753Z] 5f621e34cdf4: Pull complete [2021-04-01T02:44:27.357Z] a4357932f1b6: Pull complete [2021-04-01T02:44:27.637Z] 18c013af1878: Pull complete [2021-04-01T02:44:29.067Z] 745a02a5169b: Download complete [2021-04-01T02:44:30.040Z] 00ac8860ef70: Verifying Checksum [2021-04-01T02:44:30.040Z] 00ac8860ef70: Download complete [2021-04-01T02:44:31.699Z] a35cf1a2eb13: Pull complete [2021-04-01T02:44:31.699Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-01T02:44:31.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-01T02:44:31.960Z] ---> a62c8e92a672 [2021-04-01T02:44:31.960Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T02:44:32.225Z] ---> Running in 4dd0ce9f6133 [2021-04-01T02:44:32.487Z] Removing intermediate container 4dd0ce9f6133 [2021-04-01T02:44:32.487Z] ---> a2890dab97c5 [2021-04-01T02:44:32.487Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T02:44:32.487Z] ---> Running in e250c9e8a197 [2021-04-01T02:44:33.441Z] Removing intermediate container e250c9e8a197 [2021-04-01T02:44:33.441Z] ---> 88899c279907 [2021-04-01T02:44:33.441Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-01T02:44:33.441Z] ---> Running in db496293144c [2021-04-01T02:44:34.390Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-01T02:44:34.651Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-01T02:44:35.225Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-01T02:44:35.225Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-01T02:44:35.491Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-01T02:44:35.491Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-01T02:44:35.491Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-01T02:44:35.756Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-01T02:44:35.756Z] Executing busybox-1.31.1-r19.trigger [2021-04-01T02:44:35.756Z] OK: 167 MiB in 45 packages [2021-04-01T02:44:36.332Z] Removing intermediate container db496293144c [2021-04-01T02:44:36.332Z] ---> 7721984433b5 [2021-04-01T02:44:36.332Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-01T02:44:36.332Z] ---> Running in 8da658bdc69f [2021-04-01T02:44:36.595Z] Removing intermediate container 8da658bdc69f [2021-04-01T02:44:36.595Z] ---> b6bb45fc14a3 [2021-04-01T02:44:36.595Z] Step 7/8 : COPY . . [2021-04-01T02:44:37.990Z] ---> 59e26380c82d [2021-04-01T02:44:37.990Z] Step 8/8 : RUN go mod download [2021-04-01T02:44:37.990Z] ---> Running in de04a8e4cbe6 [2021-04-01T02:44:40.211Z] 00ac8860ef70: Pull complete [2021-04-01T02:44:40.483Z] 63d7cb157983: Pull complete [2021-04-01T02:44:40.756Z] b116817d02f9: Pull complete [2021-04-01T02:44:44.149Z] 745a02a5169b: Pull complete [2021-04-01T02:44:44.149Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-01T02:44:44.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-01T02:44:44.424Z] ---> b7e6874047d6 [2021-04-01T02:44:44.424Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T02:44:47.822Z] ---> Running in 9091541607c2 [2021-04-01T02:44:47.822Z] Removing intermediate container 9091541607c2 [2021-04-01T02:44:47.822Z] ---> e7754f4ba48c [2021-04-01T02:44:47.822Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T02:44:47.822Z] ---> Running in aa6b94a06ff6 [2021-04-01T02:44:50.443Z] Removing intermediate container aa6b94a06ff6 [2021-04-01T02:44:50.443Z] ---> e2409a2f74ce [2021-04-01T02:44:50.443Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-01T02:44:50.443Z] ---> Running in 2e72ab8ad499 [2021-04-01T02:44:51.424Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-01T02:44:52.014Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-01T02:44:52.608Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-01T02:44:52.880Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-01T02:44:52.880Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-01T02:44:52.880Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-01T02:44:53.152Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-01T02:44:53.152Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-01T02:44:53.427Z] Executing busybox-1.31.1-r19.trigger [2021-04-01T02:44:53.427Z] OK: 144 MiB in 45 packages [2021-04-01T02:44:54.409Z] Removing intermediate container 2e72ab8ad499 [2021-04-01T02:44:54.409Z] ---> c8f2356ca169 [2021-04-01T02:44:54.409Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-01T02:44:54.696Z] ---> Running in 8a04cf6373a1 [2021-04-01T02:44:55.294Z] Removing intermediate container 8a04cf6373a1 [2021-04-01T02:44:55.294Z] ---> 122564ef84b2 [2021-04-01T02:44:55.294Z] Step 7/8 : COPY . . [2021-04-01T02:44:56.732Z] ---> 201894e8573b [2021-04-01T02:44:56.732Z] Step 8/8 : RUN go mod download [2021-04-01T02:44:56.732Z] ---> Running in 0986cdf9fd49 [2021-04-01T02:45:00.013Z] Removing intermediate container de04a8e4cbe6 [2021-04-01T02:45:00.013Z] ---> 4b99cddfe629 [2021-04-01T02:45:00.013Z] Successfully built 4b99cddfe629 [2021-04-01T02:45:00.013Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-01T02:45:00.330Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-01T02:45:00.330Z] . [Pipeline] withDockerContainer [2021-04-01T02:45:00.449Z] prd-centos7-docker-4c-2g-32399 does not seem to be running inside a container [2021-04-01T02:45:00.501Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-01T02:45:01.746Z] $ docker top 54f6f1d086981b931976c6f8dd4e645435d5f1fafbac7d3f4daea56cdece060c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-01T02:45:02.256Z] + go version [2021-04-01T02:45:02.256Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-01T02:45:02.271Z] $ docker stop --time=1 54f6f1d086981b931976c6f8dd4e645435d5f1fafbac7d3f4daea56cdece060c [2021-04-01T02:45:03.611Z] $ docker rm -f 54f6f1d086981b931976c6f8dd4e645435d5f1fafbac7d3f4daea56cdece060c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-01T02:45:04.504Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-01T02:45:04.505Z] . [Pipeline] withDockerContainer [2021-04-01T02:45:04.599Z] prd-centos7-docker-4c-2g-32399 does not seem to be running inside a container [2021-04-01T02:45:04.652Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-01T02:45:05.170Z] $ docker top ca06ff2cec09246f060e2577318fd9cf9935575c3ff45303db853e77a82a65df -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-01T02:45:05.681Z] + make test [2021-04-01T02:45:05.681Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-01T02:45:12.354Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-01T02:45:23.542Z] Removing intermediate container 0986cdf9fd49 [2021-04-01T02:45:23.542Z] ---> 0ab0e76f66b4 [2021-04-01T02:45:23.542Z] Successfully built 0ab0e76f66b4 [2021-04-01T02:45:23.542Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-01T02:45:23.885Z] + docker inspect -f . ci-base-image-arm64 [2021-04-01T02:45:23.885Z] . [Pipeline] withDockerContainer [2021-04-01T02:45:24.162Z] prd-ubuntu18.04-docker-arm64-4c-16g-32398 does not seem to be running inside a container [2021-04-01T02:45:24.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-01T02:45:25.768Z] $ docker top 9c558f5a93a1dfaeca4657d79f6edaa7e6049da27c4295fd9b3799863fec3995 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-01T02:45:26.831Z] + go version [2021-04-01T02:45:26.831Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-01T02:45:26.855Z] $ docker stop --time=1 9c558f5a93a1dfaeca4657d79f6edaa7e6049da27c4295fd9b3799863fec3995 [2021-04-01T02:45:28.814Z] $ docker rm -f 9c558f5a93a1dfaeca4657d79f6edaa7e6049da27c4295fd9b3799863fec3995 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-01T02:45:29.801Z] + docker inspect -f . ci-base-image-arm64 [2021-04-01T02:45:29.801Z] . [Pipeline] withDockerContainer [2021-04-01T02:45:30.064Z] prd-ubuntu18.04-docker-arm64-4c-16g-32398 does not seem to be running inside a container [2021-04-01T02:45:30.145Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-01T02:45:30.596Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-01T02:45:30.596Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-01T02:45:30.596Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-01T02:45:30.596Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-01T02:45:30.596Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-01T02:45:31.609Z] $ docker top d650f13e5b51888fb17776a67ed4466bfaab1ad4eefc483983610c0da9b9b272 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-01T02:45:32.653Z] + make test [2021-04-01T02:45:32.653Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-01T02:45:34.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.092s coverage: 27.0% of statements [2021-04-01T02:45:34.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.075s coverage: 81.2% of statements [2021-04-01T02:45:35.443Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.087s coverage: 7.8% of statements [2021-04-01T02:45:35.443Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-01T02:45:35.443Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-01T02:45:35.443Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-01T02:45:35.721Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.114s coverage: 32.5% of statements [2021-04-01T02:45:35.721Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-01T02:45:35.721Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-01T02:45:35.721Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-01T02:45:35.985Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.093s coverage: 57.3% of statements [2021-04-01T02:45:36.560Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.185s coverage: 6.6% of statements [2021-04-01T02:45:36.823Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-01T02:45:36.823Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-01T02:45:36.823Z] GO111MODULE=on go vet ./... [2021-04-01T02:45:51.844Z] gofmt -l . [2021-04-01T02:45:51.844Z] [ "`gofmt -l .`" = "" ] [2021-04-01T02:45:51.844Z] ./bin/test-attribution-txt.sh [2021-04-01T02:45:52.419Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-01T02:45:52.435Z] $ docker stop --time=1 ca06ff2cec09246f060e2577318fd9cf9935575c3ff45303db853e77a82a65df [2021-04-01T02:45:54.084Z] $ docker rm -f ca06ff2cec09246f060e2577318fd9cf9935575c3ff45303db853e77a82a65df [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-01T02:45:54.727Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-01T02:45:54.837Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-01T02:45:55.142Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-01T02:45:57.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-01T02:45:58.161Z] + ls -al . [2021-04-01T02:45:58.161Z] total 188 [2021-04-01T02:45:58.161Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 1 02:45 . [2021-04-01T02:45:58.161Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 1 02:44 .. [2021-04-01T02:45:58.161Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 1 02:44 bin [2021-04-01T02:45:58.161Z] -rw-r--r--. 1 jenkins jenkins 101416 Apr 1 02:45 coverage.out [2021-04-01T02:45:58.161Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 1 02:44 Dockerfile.build [2021-04-01T02:45:58.161Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 1 02:44 .dockerignore [2021-04-01T02:45:58.161Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 1 02:44 example [2021-04-01T02:45:58.161Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 1 02:44 .git [2021-04-01T02:45:58.161Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 1 02:44 .github [2021-04-01T02:45:58.161Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 1 02:44 .gitignore [2021-04-01T02:45:58.161Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 1 02:45 go.mod [2021-04-01T02:45:58.161Z] -rw-r--r--. 1 jenkins jenkins 21117 Apr 1 02:45 go.sum [2021-04-01T02:45:58.161Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 1 02:44 internal [2021-04-01T02:45:58.161Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 1 02:44 Jenkinsfile [2021-04-01T02:45:58.161Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 1 02:44 LICENSE [2021-04-01T02:45:58.161Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 1 02:44 Makefile [2021-04-01T02:45:58.161Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 1 02:44 openapi [2021-04-01T02:45:58.161Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 1 02:44 pkg [2021-04-01T02:45:58.161Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 1 02:44 README.md [2021-04-01T02:45:58.161Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 1 02:44 RELEASE-NOTES.txt [2021-04-01T02:45:58.161Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 1 02:44 snap [2021-04-01T02:45:58.161Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 1 02:42 VERSION [2021-04-01T02:45:58.161Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 1 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-01T02:45:58.471Z] + 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=0661f366d8de95eb9906ebf21de586e5b1eddbd4 --label arch=amd64 --label version=0.0.0 . [2021-04-01T02:45:58.471Z] Sending build context to Docker daemon 2.501MB [2021-04-01T02:45:58.733Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-01T02:45:58.733Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-01T02:45:58.733Z] ---> 4b99cddfe629 [2021-04-01T02:45:58.733Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-01T02:45:59.307Z] ---> Running in cd85c9e84a57 [2021-04-01T02:45:59.307Z] Removing intermediate container cd85c9e84a57 [2021-04-01T02:45:59.307Z] ---> 9ba7b38b9625 [2021-04-01T02:45:59.307Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T02:45:59.570Z] ---> Running in 922d7e62d550 [2021-04-01T02:45:59.570Z] Removing intermediate container 922d7e62d550 [2021-04-01T02:45:59.570Z] ---> 1c5aca15a74c [2021-04-01T02:45:59.570Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T02:45:59.570Z] ---> Running in 85daec6ce92e [2021-04-01T02:46:00.514Z] Removing intermediate container 85daec6ce92e [2021-04-01T02:46:00.514Z] ---> 7f61d96f47e8 [2021-04-01T02:46:00.514Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-01T02:46:00.514Z] ---> Running in dc8b58a61f42 [2021-04-01T02:46:01.094Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-01T02:46:01.668Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-01T02:46:02.239Z] OK: 167 MiB in 45 packages [2021-04-01T02:46:02.501Z] Removing intermediate container dc8b58a61f42 [2021-04-01T02:46:02.501Z] ---> ea862b60737b [2021-04-01T02:46:02.501Z] Step 7/23 : COPY . . [2021-04-01T02:46:03.884Z] ---> e952b91c388d [2021-04-01T02:46:03.884Z] Step 8/23 : RUN go mod download [2021-04-01T02:46:03.884Z] ---> Running in 7ec209644b53 [2021-04-01T02:46:04.460Z] Removing intermediate container 7ec209644b53 [2021-04-01T02:46:04.460Z] ---> 05b8e8eed0df [2021-04-01T02:46:04.460Z] Step 9/23 : RUN make build [2021-04-01T02:46:04.721Z] ---> Running in 4975c42a2e7f [2021-04-01T02:46:04.983Z] CGO_ENABLED=1 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-04-01T02:46:15.115Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-01T02:46:17.036Z] Removing intermediate container 4975c42a2e7f [2021-04-01T02:46:17.036Z] ---> 6c6edbf8e0b0 [2021-04-01T02:46:17.036Z] Step 10/23 : FROM alpine:3.12 [2021-04-01T02:46:17.612Z] 3.12: Pulling from library/alpine [2021-04-01T02:46:17.612Z] 532819f3e44c: Pulling fs layer [2021-04-01T02:46:17.875Z] 532819f3e44c: Verifying Checksum [2021-04-01T02:46:17.875Z] 532819f3e44c: Download complete [2021-04-01T02:46:17.875Z] 532819f3e44c: Pull complete [2021-04-01T02:46:17.875Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-01T02:46:18.136Z] Status: Downloaded newer image for alpine:3.12 [2021-04-01T02:46:18.136Z] ---> 7230e588e954 [2021-04-01T02:46:18.136Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T02:46:18.136Z] ---> Running in ae7665720eba [2021-04-01T02:46:18.396Z] Removing intermediate container ae7665720eba [2021-04-01T02:46:18.396Z] ---> 93e84d06018f [2021-04-01T02:46:18.396Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T02:46:18.396Z] ---> Running in 0e876fc56acf [2021-04-01T02:46:19.341Z] Removing intermediate container 0e876fc56acf [2021-04-01T02:46:19.341Z] ---> 003b991016f1 [2021-04-01T02:46:19.341Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-01T02:46:19.341Z] ---> Running in 9420003eaa7d [2021-04-01T02:46:19.602Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-01T02:46:20.175Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-01T02:46:20.747Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-01T02:46:20.747Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-01T02:46:20.747Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-01T02:46:21.009Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-01T02:46:21.009Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-01T02:46:21.009Z] Executing busybox-1.31.1-r20.trigger [2021-04-01T02:46:21.009Z] OK: 8 MiB in 19 packages [2021-04-01T02:46:21.581Z] Removing intermediate container 9420003eaa7d [2021-04-01T02:46:21.581Z] ---> a2725db121cb [2021-04-01T02:46:21.581Z] Step 14/23 : WORKDIR / [2021-04-01T02:46:21.581Z] ---> Running in b5163fb3c9a7 [2021-04-01T02:46:21.842Z] Removing intermediate container b5163fb3c9a7 [2021-04-01T02:46:21.842Z] ---> 90668ff7ba74 [2021-04-01T02:46:21.842Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-01T02:46:22.102Z] ---> 7e3f807f9163 [2021-04-01T02:46:22.103Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-01T02:46:22.673Z] ---> a2b13fba9662 [2021-04-01T02:46:22.673Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-01T02:46:22.673Z] ---> 269e9432d3e3 [2021-04-01T02:46:22.673Z] Step 18/23 : EXPOSE 49990 [2021-04-01T02:46:22.673Z] ---> Running in d68fd42127cd [2021-04-01T02:46:22.935Z] Removing intermediate container d68fd42127cd [2021-04-01T02:46:22.935Z] ---> 44d609be2b35 [2021-04-01T02:46:22.935Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-01T02:46:22.935Z] ---> Running in fc8fc49e2902 [2021-04-01T02:46:23.197Z] Removing intermediate container fc8fc49e2902 [2021-04-01T02:46:23.197Z] ---> 1f42fde16981 [2021-04-01T02:46:23.197Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-01T02:46:23.197Z] ---> Running in 160f60cbfc48 [2021-04-01T02:46:23.459Z] Removing intermediate container 160f60cbfc48 [2021-04-01T02:46:23.459Z] ---> 01e1b535e361 [2021-04-01T02:46:23.459Z] Step 21/23 : LABEL arch=amd64 [2021-04-01T02:46:23.459Z] ---> Running in 5d8536d6214c [2021-04-01T02:46:23.459Z] Removing intermediate container 5d8536d6214c [2021-04-01T02:46:23.459Z] ---> f7a5ca2f6335 [2021-04-01T02:46:23.459Z] Step 22/23 : LABEL git_sha=0661f366d8de95eb9906ebf21de586e5b1eddbd4 [2021-04-01T02:46:23.720Z] ---> Running in 39f55b39d334 [2021-04-01T02:46:23.720Z] Removing intermediate container 39f55b39d334 [2021-04-01T02:46:23.720Z] ---> 7de5c9d87261 [2021-04-01T02:46:23.720Z] Step 23/23 : LABEL version=0.0.0 [2021-04-01T02:46:23.720Z] ---> Running in 8fb90a22b9c3 [2021-04-01T02:46:23.984Z] Removing intermediate container 8fb90a22b9c3 [2021-04-01T02:46:23.984Z] ---> a36ae6b91ffe [2021-04-01T02:46:23.984Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-01T02:46:23.984Z] Successfully built a36ae6b91ffe [2021-04-01T02:46:23.984Z] 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-04-01T02:46:25.113Z] ---> job-cost.sh [2021-04-01T02:46:25.113Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Dfsn [2021-04-01T02:46:40.052Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-01T02:46:51.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-01T02:46:51.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-01T02:46:51.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-01T02:46:51.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-01T02:46:51.445Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-01T02:46:54.101Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.128s coverage: 27.0% of statements [2021-04-01T02:46:55.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.247s coverage: 81.2% of statements [2021-04-01T02:46:55.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.165s coverage: 7.8% of statements [2021-04-01T02:46:55.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-01T02:46:55.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-01T02:46:55.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-01T02:46:57.128Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.317s coverage: 32.5% of statements [2021-04-01T02:46:57.128Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-01T02:46:57.128Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-01T02:46:57.128Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-01T02:47:00.544Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.286s coverage: 57.3% of statements [2021-04-01T02:47:00.544Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.200s coverage: 6.6% of statements [2021-04-01T02:47:01.137Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 5.0% of statements [2021-04-01T02:47:01.137Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-01T02:47:01.409Z] GO111MODULE=on go vet ./... [2021-04-01T02:47:06.862Z] lf-activate-venv(): INFO: Adding /tmp/venv-Dfsn/bin to PATH [2021-04-01T02:47:06.862Z] INFO: No Stack... [2021-04-01T02:47:07.440Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-01T02:47:08.016Z] INFO: Archiving Costs [Pipeline] sh [2021-04-01T02:47:08.323Z] + cut -d, -f6 [2021-04-01T02:47:08.323Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [Pipeline] lock [2021-04-01T02:47:08.401Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-6-stack-cost] [2021-04-01T02:47:08.416Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-6-stack-cost] did not exist. Created. [2021-04-01T02:47:08.416Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-01T02:47:08.815Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-01T02:47:08.978Z] Stashed 1 file(s) [Pipeline] } [2021-04-01T02:47:08.998Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-01T02:47:48.480Z] gofmt -l . [2021-04-01T02:47:48.480Z] [ "`gofmt -l .`" = "" ] [2021-04-01T02:47:48.480Z] ./bin/test-attribution-txt.sh [2021-04-01T02:47:48.480Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-01T02:47:48.501Z] $ docker stop --time=1 d650f13e5b51888fb17776a67ed4466bfaab1ad4eefc483983610c0da9b9b272 [2021-04-01T02:47:50.795Z] $ docker rm -f d650f13e5b51888fb17776a67ed4466bfaab1ad4eefc483983610c0da9b9b272 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-01T02:47:51.989Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-01T02:47:52.054Z] Warning: overwriting stash ‘coverage-report’ [2021-04-01T02:47:52.996Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-01T02:47:53.710Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-01T02:47:54.061Z] + ls -al . [2021-04-01T02:47:54.061Z] total 224 [2021-04-01T02:47:54.061Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 1 02:47 . [2021-04-01T02:47:54.061Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 02:44 .. [2021-04-01T02:47:54.061Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 1 02:44 .dockerignore [2021-04-01T02:47:54.061Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 02:44 .git [2021-04-01T02:47:54.061Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 02:44 .github [2021-04-01T02:47:54.061Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 1 02:44 .gitignore [2021-04-01T02:47:54.061Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 1 02:44 Dockerfile.build [2021-04-01T02:47:54.061Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 1 02:44 Jenkinsfile [2021-04-01T02:47:54.061Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 1 02:44 LICENSE [2021-04-01T02:47:54.061Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 1 02:44 Makefile [2021-04-01T02:47:54.061Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 1 02:44 README.md [2021-04-01T02:47:54.061Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 1 02:44 RELEASE-NOTES.txt [2021-04-01T02:47:54.061Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 02:42 VERSION [2021-04-01T02:47:54.061Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 02:44 bin [2021-04-01T02:47:54.061Z] -rw-r--r-- 1 jenkins jenkins 101416 Apr 1 02:47 coverage.out [2021-04-01T02:47:54.061Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 1 02:44 example [2021-04-01T02:47:54.061Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 1 02:47 go.mod [2021-04-01T02:47:54.061Z] -rw-r--r-- 1 jenkins jenkins 21117 Apr 1 02:47 go.sum [2021-04-01T02:47:54.061Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 1 02:44 internal [2021-04-01T02:47:54.061Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 02:44 openapi [2021-04-01T02:47:54.061Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 1 02:44 pkg [2021-04-01T02:47:54.061Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 02:44 snap [2021-04-01T02:47:54.061Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 1 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-01T02:47:54.457Z] + 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=0661f366d8de95eb9906ebf21de586e5b1eddbd4 --label arch=arm64 --label version=0.0.0 . [2021-04-01T02:47:55.073Z] Sending build context to Docker daemon 2.5MB [2021-04-01T02:47:55.073Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-01T02:47:55.073Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-01T02:47:55.073Z] ---> 0ab0e76f66b4 [2021-04-01T02:47:55.073Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-01T02:47:55.353Z] ---> Running in dfe60b2fbaf7 [2021-04-01T02:47:55.953Z] Removing intermediate container dfe60b2fbaf7 [2021-04-01T02:47:55.953Z] ---> d4b16d51dc02 [2021-04-01T02:47:55.953Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T02:47:55.953Z] ---> Running in 4bcd336eab0e [2021-04-01T02:47:56.552Z] Removing intermediate container 4bcd336eab0e [2021-04-01T02:47:56.552Z] ---> d9518713b8af [2021-04-01T02:47:56.552Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T02:47:56.552Z] ---> Running in 0f141ed4e1b7 [2021-04-01T02:47:58.521Z] Removing intermediate container 0f141ed4e1b7 [2021-04-01T02:47:58.521Z] ---> fdd9a770ba4c [2021-04-01T02:47:58.521Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-01T02:47:58.794Z] ---> Running in edf25fcd76c3 [2021-04-01T02:47:59.787Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-01T02:48:00.376Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-01T02:48:01.349Z] OK: 144 MiB in 45 packages [2021-04-01T02:48:02.331Z] Removing intermediate container edf25fcd76c3 [2021-04-01T02:48:02.331Z] ---> a78bda2f02ea [2021-04-01T02:48:02.331Z] Step 7/23 : COPY . . [2021-04-01T02:48:03.774Z] ---> 46841b8c9604 [2021-04-01T02:48:03.774Z] Step 8/23 : RUN go mod download [2021-04-01T02:48:03.774Z] ---> Running in 7f35ae6ca0ef [2021-04-01T02:48:06.395Z] Removing intermediate container 7f35ae6ca0ef [2021-04-01T02:48:06.395Z] ---> 202bf2ae6abb [2021-04-01T02:48:06.395Z] Step 9/23 : RUN make build [2021-04-01T02:48:06.395Z] ---> Running in ce93b8089ed6 [2021-04-01T02:48:07.376Z] CGO_ENABLED=1 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-04-01T02:48:39.768Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-01T02:48:41.217Z] Removing intermediate container ce93b8089ed6 [2021-04-01T02:48:41.217Z] ---> 889c1bbdfae8 [2021-04-01T02:48:41.217Z] Step 10/23 : FROM alpine:3.12 [2021-04-01T02:48:45.503Z] 3.12: Pulling from library/alpine [2021-04-01T02:48:45.503Z] 9a219e8acc52: Pulling fs layer [2021-04-01T02:48:45.503Z] 9a219e8acc52: Verifying Checksum [2021-04-01T02:48:45.503Z] 9a219e8acc52: Download complete [2021-04-01T02:48:45.774Z] 9a219e8acc52: Pull complete [2021-04-01T02:48:45.774Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-01T02:48:45.774Z] Status: Downloaded newer image for alpine:3.12 [2021-04-01T02:48:45.774Z] ---> d75e27dfc0a0 [2021-04-01T02:48:45.775Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T02:48:46.047Z] ---> Running in 7d0facfc2db6 [2021-04-01T02:48:46.645Z] Removing intermediate container 7d0facfc2db6 [2021-04-01T02:48:46.645Z] ---> 5fa617fad41c [2021-04-01T02:48:46.645Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T02:48:46.645Z] ---> Running in 7fc693f0f92b [2021-04-01T02:48:49.262Z] Removing intermediate container 7fc693f0f92b [2021-04-01T02:48:49.262Z] ---> 2b89e72a80fa [2021-04-01T02:48:49.262Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-01T02:48:49.262Z] ---> Running in 3c563557f9fb [2021-04-01T02:48:49.857Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-01T02:48:50.830Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-01T02:48:51.422Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-01T02:48:51.422Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-01T02:48:51.422Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-01T02:48:51.694Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-01T02:48:51.694Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-01T02:48:51.966Z] Executing busybox-1.31.1-r20.trigger [2021-04-01T02:48:51.966Z] OK: 8 MiB in 19 packages [2021-04-01T02:48:53.400Z] Removing intermediate container 3c563557f9fb [2021-04-01T02:48:53.400Z] ---> 4da4a90db2eb [2021-04-01T02:48:53.400Z] Step 14/23 : WORKDIR / [2021-04-01T02:48:53.400Z] ---> Running in 8d9cafe9b8bc [2021-04-01T02:48:53.673Z] Removing intermediate container 8d9cafe9b8bc [2021-04-01T02:48:53.673Z] ---> b604dab92e3d [2021-04-01T02:48:53.673Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-01T02:48:54.267Z] ---> 896559b48f6c [2021-04-01T02:48:54.268Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-01T02:48:55.696Z] ---> 780e3cd8f944 [2021-04-01T02:48:55.696Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-01T02:48:56.287Z] ---> 9d62133db9a1 [2021-04-01T02:48:56.288Z] Step 18/23 : EXPOSE 49990 [2021-04-01T02:48:56.288Z] ---> Running in 7b09a0535f3d [2021-04-01T02:48:56.880Z] Removing intermediate container 7b09a0535f3d [2021-04-01T02:48:56.880Z] ---> 643af24b7f6c [2021-04-01T02:48:56.880Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-01T02:48:56.880Z] ---> Running in a2d019c4aecb [2021-04-01T02:48:57.152Z] Removing intermediate container a2d019c4aecb [2021-04-01T02:48:57.152Z] ---> 83f5f454ed3c [2021-04-01T02:48:57.152Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-01T02:48:57.426Z] ---> Running in 5b9ec9dceb58 [2021-04-01T02:48:57.698Z] Removing intermediate container 5b9ec9dceb58 [2021-04-01T02:48:57.698Z] ---> 90d7c4830a84 [2021-04-01T02:48:57.698Z] Step 21/23 : LABEL arch=arm64 [2021-04-01T02:48:57.968Z] ---> Running in 040540b32fca [2021-04-01T02:48:58.562Z] Removing intermediate container 040540b32fca [2021-04-01T02:48:58.562Z] ---> bb3cc364aa20 [2021-04-01T02:48:58.562Z] Step 22/23 : LABEL git_sha=0661f366d8de95eb9906ebf21de586e5b1eddbd4 [2021-04-01T02:48:58.562Z] ---> Running in 87bc432d24d6 [2021-04-01T02:48:58.838Z] Removing intermediate container 87bc432d24d6 [2021-04-01T02:48:58.838Z] ---> 5698393a3f02 [2021-04-01T02:48:58.838Z] Step 23/23 : LABEL version=0.0.0 [2021-04-01T02:48:59.109Z] ---> Running in 3b18f6082a1f [2021-04-01T02:48:59.700Z] Removing intermediate container 3b18f6082a1f [2021-04-01T02:48:59.700Z] ---> 6d52c6987f61 [2021-04-01T02:48:59.700Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-01T02:48:59.700Z] Successfully built 6d52c6987f61 [2021-04-01T02:48:59.700Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-01T02:49:00.598Z] ---> job-cost.sh [2021-04-01T02:49:00.598Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZQZh [2021-04-01T02:49:39.514Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-01T02:51:16.259Z] lf-activate-venv(): INFO: Adding /tmp/venv-ZQZh/bin to PATH [2021-04-01T02:51:16.259Z] INFO: No Stack... [2021-04-01T02:51:16.259Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-01T02:51:16.259Z] INFO: Archiving Costs [Pipeline] sh [2021-04-01T02:51:16.599Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2021-04-01T02:51:16.599Z] + cut -d, -f6 [Pipeline] lock [2021-04-01T02:51:16.705Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-6-stack-cost] [2021-04-01T02:51:16.714Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-6-stack-cost] did not exist. Created. [2021-04-01T02:51:16.714Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-01T02:51:17.163Z] /w/workspace/device-sdk-go/6@tmp/durable-c03ae92a/script.sh: 1: /w/workspace/device-sdk-go/6@tmp/durable-c03ae92a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-01T02:51:17.505Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-01T02:51:17.578Z] Warning: overwriting stash ‘stack-cost’ [2021-04-01T02:51:17.737Z] Stashed 1 file(s) [Pipeline] } [2021-04-01T02:51:17.756Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-6-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-04-01T02:51:19.052Z] provisioning config files... [2021-04-01T02:51:19.065Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config2116842562430774180tmp [Pipeline] { [Pipeline] sh [2021-04-01T02:51:19.469Z] + set +x [2021-04-01T02:51:19.469Z] + curl -s https://codecov.io/bash [2021-04-01T02:51:19.469Z] + bash -s -- [2021-04-01T02:51:19.734Z] [2021-04-01T02:51:19.734Z] _____ _ [2021-04-01T02:51:19.734Z] / ____| | | [2021-04-01T02:51:19.734Z] | | ___ __| | ___ ___ _____ __ [2021-04-01T02:51:19.734Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-01T02:51:19.734Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-01T02:51:19.734Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-01T02:51:19.734Z] Bash-20210309-2b87ace [2021-04-01T02:51:19.734Z] [2021-04-01T02:51:19.734Z] [2021-04-01T02:51:19.734Z] ==> git version 2.24.3 found [2021-04-01T02:51:19.734Z] ==> 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-04-01T02:51:19.734Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-01T02:51:19.734Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-01T02:51:19.734Z] ==> Jenkins CI detected. [2021-04-01T02:51:19.734Z] project root: . [2021-04-01T02:51:19.734Z] --> token set from env [2021-04-01T02:51:19.734Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-01T02:51:19.734Z] ==> Running gcov in . (disable via -X gcov) [2021-04-01T02:51:19.734Z] ==> Python coveragepy not found [2021-04-01T02:51:19.734Z] ==> Searching for coverage reports in: [2021-04-01T02:51:19.734Z] + . [2021-04-01T02:51:19.734Z] -> Found 1 reports [2021-04-01T02:51:19.734Z] ==> Detecting git/mercurial file structure [2021-04-01T02:51:19.734Z] ==> Reading reports [2021-04-01T02:51:19.734Z] + ./coverage.out bytes=101416 [2021-04-01T02:51:19.734Z] ==> Appending adjustments [2021-04-01T02:51:19.734Z] https://docs.codecov.io/docs/fixing-reports [2021-04-01T02:51:19.998Z] + Found adjustments [2021-04-01T02:51:19.998Z] ==> Gzipping contents [2021-04-01T02:51:20.262Z] 16K /tmp/codecov.Fh4vxL.gz [2021-04-01T02:51:20.262Z] ==> Uploading reports [2021-04-01T02:51:20.262Z] url: https://codecov.io [2021-04-01T02:51:20.262Z] query: branch=PR-844&commit=0661f366d8de95eb9906ebf21de586e5b1eddbd4&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-844%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=844&job=&cmd_args= [2021-04-01T02:51:20.262Z] -> Pinging Codecov [2021-04-01T02:51:20.262Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-844&commit=0661f366d8de95eb9906ebf21de586e5b1eddbd4&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-844%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=844&job=&cmd_args= [2021-04-01T02:51:20.523Z] -> Uploading to [2021-04-01T02:51:20.523Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-01/7E55EF52A471D76F132DFD9A03CDDE97/0661f366d8de95eb9906ebf21de586e5b1eddbd4/28e1488f-1a80-43ad-a0d9-4dbd89f8d3d7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210401%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210401T025120Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e270050c3342cf8439a04f1d00c9c910cb82c03b99ed732f4b13471844bb39fd [2021-04-01T02:51:20.523Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-01T02:51:20.523Z] Dload Upload Total Spent Left Speed [2021-04-01T02:51:21.099Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13772 0 0 100 13772 0 27226 --:--:-- --:--:-- --:--:-- 27217 100 13772 0 0 100 13772 0 27216 --:--:-- --:--:-- --:--:-- 27217 [2021-04-01T02:51:21.099Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0661f366d8de95eb9906ebf21de586e5b1eddbd4 [Pipeline] } [2021-04-01T02:51:21.110Z] 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-04-01T02:51:23.476Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T02:51:23.780Z] ---> package-listing.sh [2021-04-01T02:51:23.780Z] ++ facter osfamily [2021-04-01T02:51:23.780Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-01T02:51:23.780Z] + OS_FAMILY=redhat [2021-04-01T02:51:23.780Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-844 [2021-04-01T02:51:23.780Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-01T02:51:23.780Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-01T02:51:23.780Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-01T02:51:23.780Z] + PACKAGES=/tmp/packages_start.txt [2021-04-01T02:51:23.780Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' [2021-04-01T02:51:23.780Z] + PACKAGES=/tmp/packages_end.txt [2021-04-01T02:51:23.780Z] + case "${OS_FAMILY}" in [2021-04-01T02:51:23.780Z] + rpm -qa [2021-04-01T02:51:23.780Z] + sort [2021-04-01T02:51:29.091Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-01T02:51:29.091Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-01T02:51:29.091Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-01T02:51:29.091Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' [2021-04-01T02:51:29.091Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ [2021-04-01T02:51:29.091Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ [Pipeline] echo [2021-04-01T02:51:29.105Z] 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-844/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-01T02:51:29.406Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-01T02:51:29.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-01T02:51:29.712Z] [2021-04-01T02:51:29.712Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-01T02:51:30.066Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-01T02:51:30.066Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-01T02:51:30.066Z] df20fa9351a1: Pulling fs layer [2021-04-01T02:51:30.066Z] 36b3adc4ff6f: Pulling fs layer [2021-04-01T02:51:30.066Z] 8ad3a11d3b57: Pulling fs layer [2021-04-01T02:51:30.066Z] 46f8f816bc3b: Pulling fs layer [2021-04-01T02:51:30.066Z] 93b61091891f: Pulling fs layer [2021-04-01T02:51:30.066Z] 93b9cdb0e59b: Pulling fs layer [2021-04-01T02:51:30.066Z] 5e14af77c1be: Pulling fs layer [2021-04-01T02:51:30.066Z] 01666e4c0597: Pulling fs layer [2021-04-01T02:51:30.066Z] aa168da1d23b: Pulling fs layer [2021-04-01T02:51:30.066Z] 93b61091891f: Waiting [2021-04-01T02:51:30.066Z] 93b9cdb0e59b: Waiting [2021-04-01T02:51:30.066Z] 5e14af77c1be: Waiting [2021-04-01T02:51:30.066Z] 01666e4c0597: Waiting [2021-04-01T02:51:30.066Z] aa168da1d23b: Waiting [2021-04-01T02:51:30.066Z] 46f8f816bc3b: Waiting [2021-04-01T02:51:30.066Z] 36b3adc4ff6f: Verifying Checksum [2021-04-01T02:51:30.066Z] 36b3adc4ff6f: Download complete [2021-04-01T02:51:30.066Z] 46f8f816bc3b: Verifying Checksum [2021-04-01T02:51:30.066Z] 46f8f816bc3b: Download complete [2021-04-01T02:51:30.066Z] df20fa9351a1: Verifying Checksum [2021-04-01T02:51:30.066Z] df20fa9351a1: Download complete [2021-04-01T02:51:30.337Z] 93b9cdb0e59b: Verifying Checksum [2021-04-01T02:51:30.337Z] 93b9cdb0e59b: Download complete [2021-04-01T02:51:30.337Z] 5e14af77c1be: Verifying Checksum [2021-04-01T02:51:30.337Z] 5e14af77c1be: Download complete [2021-04-01T02:51:30.337Z] 01666e4c0597: Download complete [2021-04-01T02:51:30.337Z] 93b61091891f: Verifying Checksum [2021-04-01T02:51:30.337Z] 93b61091891f: Download complete [2021-04-01T02:51:30.598Z] df20fa9351a1: Pull complete [2021-04-01T02:51:30.860Z] 36b3adc4ff6f: Pull complete [2021-04-01T02:51:31.123Z] 8ad3a11d3b57: Verifying Checksum [2021-04-01T02:51:31.123Z] 8ad3a11d3b57: Download complete [2021-04-01T02:51:32.098Z] 8ad3a11d3b57: Pull complete [2021-04-01T02:51:32.098Z] 46f8f816bc3b: Pull complete [2021-04-01T02:51:32.686Z] 93b61091891f: Pull complete [2021-04-01T02:51:32.950Z] 93b9cdb0e59b: Pull complete [2021-04-01T02:51:32.950Z] aa168da1d23b: Verifying Checksum [2021-04-01T02:51:32.950Z] aa168da1d23b: Download complete [2021-04-01T02:51:32.950Z] 5e14af77c1be: Pull complete [2021-04-01T02:51:33.213Z] 01666e4c0597: Pull complete [2021-04-01T02:51:39.851Z] aa168da1d23b: Pull complete [2021-04-01T02:51:39.851Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-01T02:51:39.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-01T02:51:39.851Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-01T02:51:40.060Z] prd-centos7-docker-4c-2g-32396 does not seem to be running inside a container [2021-04-01T02:51:40.106Z] $ 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-844/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-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-01T02:51:44.364Z] $ docker top eef69a9575c7f9d0dee794577e52d20d631c70de406c0181d1bdade3a5ad4953 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-01T02:51:44.892Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-01T02:51:45.192Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-01T02:51:45.490Z] + ls /var/log/sa-host [2021-04-01T02:51:45.490Z] + sadf -c /var/log/sa-host/sa01 [2021-04-01T02:51:45.490Z] file_magic: OK [2021-04-01T02:51:45.490Z] HZ: Using current value: 100 [2021-04-01T02:51:45.490Z] file_header: OK [2021-04-01T02:51:45.490Z] 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-04-01T02:51:45.490Z] Statistics: [2021-04-01T02:51:45.490Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-01T02:51:45.490Z] File successfully converted to sysstat format version 12.2.1 [2021-04-01T02:51:45.490Z] + sadf -c /var/log/sa-host/sa23 [2021-04-01T02:51:45.490Z] file_magic: OK [2021-04-01T02:51:45.490Z] HZ: Using current value: 100 [2021-04-01T02:51:45.490Z] file_header: OK [2021-04-01T02:51:45.490Z] 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-04-01T02:51:45.490Z] Statistics: [2021-04-01T02:51:45.490Z] Hnuu...uuuununununu... [2021-04-01T02:51:45.490Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-01T02:51:46.162Z] provisioning config files... [2021-04-01T02:51:46.186Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config379497991504598417tmp [Pipeline] { [Pipeline] echo [2021-04-01T02:51:46.333Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T02:51:46.635Z] ---> create-netrc.sh [Pipeline] } [2021-04-01T02:51:46.645Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-01T02:51:46.744Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T02:51:47.045Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-01T02:51:47.056Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T02:51:47.356Z] ---> sudo-logs.sh [2021-04-01T02:51:47.356Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-01T02:51:47.428Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T02:51:47.723Z] ---> job-cost.sh [2021-04-01T02:51:47.723Z] lf-activate-venv: SKIPPING [2021-04-01T02:51:47.723Z] DEBUG: total: 0.20999999344348907 [2021-04-01T02:51:47.723Z] INFO: Retrieving Stack Cost... [2021-04-01T02:51:48.671Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-01T02:51:49.245Z] INFO: Archiving Costs [Pipeline] echo [2021-04-01T02:51:49.259Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T02:51:49.558Z] ---> logs-deploy.sh [2021-04-01T02:51:49.558Z] lf-activate-venv: SKIPPING [2021-04-01T02:51:49.558Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-844/6 [2021-04-01T02:51:49.558Z] INFO: archiving workspace using pattern(s): [2021-04-01T02:51:51.489Z] Archives upload complete. [2021-04-01T02:51:51.489Z] INFO: archiving logs to Nexus [2021-04-01T02:51:52.437Z] ---> uname -a: [2021-04-01T02:51:52.437Z] Linux prd-centos7-docker-4c-2g-32396.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-04-01T02:51:52.437Z] [2021-04-01T02:51:52.437Z] [2021-04-01T02:51:52.437Z] ---> lscpu: [2021-04-01T02:51:52.437Z] Architecture: x86_64 [2021-04-01T02:51:52.437Z] CPU op-mode(s): 32-bit, 64-bit [2021-04-01T02:51:52.437Z] Byte Order: Little Endian [2021-04-01T02:51:52.437Z] Address sizes: 40 bits physical, 48 bits virtual [2021-04-01T02:51:52.437Z] CPU(s): 4 [2021-04-01T02:51:52.437Z] On-line CPU(s) list: 0-3 [2021-04-01T02:51:52.437Z] Thread(s) per core: 1 [2021-04-01T02:51:52.437Z] Core(s) per socket: 1 [2021-04-01T02:51:52.437Z] Socket(s): 4 [2021-04-01T02:51:52.437Z] NUMA node(s): 1 [2021-04-01T02:51:52.437Z] Vendor ID: GenuineIntel [2021-04-01T02:51:52.437Z] CPU family: 6 [2021-04-01T02:51:52.437Z] Model: 44 [2021-04-01T02:51:52.437Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-04-01T02:51:52.437Z] Stepping: 1 [2021-04-01T02:51:52.437Z] CPU MHz: 2933.436 [2021-04-01T02:51:52.437Z] BogoMIPS: 5866.87 [2021-04-01T02:51:52.437Z] Virtualization: VT-x [2021-04-01T02:51:52.437Z] Hypervisor vendor: KVM [2021-04-01T02:51:52.437Z] Virtualization type: full [2021-04-01T02:51:52.437Z] L1d cache: 128 KiB [2021-04-01T02:51:52.437Z] L1i cache: 128 KiB [2021-04-01T02:51:52.437Z] L2 cache: 16 MiB [2021-04-01T02:51:52.437Z] L3 cache: 64 MiB [2021-04-01T02:51:52.437Z] NUMA node0 CPU(s): 0-3 [2021-04-01T02:51:52.437Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-04-01T02:51:52.437Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-04-01T02:51:52.437Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-04-01T02:51:52.437Z] Vulnerability Meltdown: Mitigation; PTI [2021-04-01T02:51:52.437Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-04-01T02:51:52.437Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-04-01T02:51:52.437Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-04-01T02:51:52.437Z] Vulnerability Srbds: Not affected [2021-04-01T02:51:52.437Z] Vulnerability Tsx async abort: Not affected [2021-04-01T02:51:52.437Z] 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-04-01T02:51:52.437Z] [2021-04-01T02:51:52.437Z] [2021-04-01T02:51:52.437Z] ---> nproc: [2021-04-01T02:51:52.437Z] 4 [2021-04-01T02:51:52.437Z] [2021-04-01T02:51:52.437Z] [2021-04-01T02:51:52.437Z] ---> df -h: [2021-04-01T02:51:52.437Z] Filesystem Size Used Available Use% Mounted on [2021-04-01T02:51:52.437Z] overlay 50.0G 7.3G 42.7G 15% / [2021-04-01T02:51:52.437Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-04-01T02:51:52.437Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-04-01T02:51:52.437Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-04-01T02:51:52.437Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-04-01T02:51:52.437Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-04-01T02:51:52.437Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-04-01T02:51:52.437Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-04-01T02:51:52.437Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-844 [2021-04-01T02:51:52.437Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp [2021-04-01T02:51:52.437Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-04-01T02:51:52.437Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-04-01T02:51:52.437Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-04-01T02:51:52.437Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-04-01T02:51:52.437Z] [2021-04-01T02:51:52.437Z]