Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b00c234f37ae4eb8f1baf8e69fb9d9243aaf36e1+666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 (d1b05694db39c9a9463ffa18fd5a20ce2c0a625c) 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-32555 in /w/workspace/dgexfoundry_device-sdk-go_PR-852 [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-852 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 into PR head commit b00c234f37ae4eb8f1baf8e69fb9d9243aaf36e1 > 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/852/head:refs/remotes/origin/PR-852 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing df9d1a870fb5e51cb3655924838db90aaf94669a Checking out Revision df9d1a870fb5e51cb3655924838db90aaf94669a (PR-852) > git checkout -f b00c234f37ae4eb8f1baf8e69fb9d9243aaf36e1 # 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 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f df9d1a870fb5e51cb3655924838db90aaf94669a # timeout=10 Commit message: "Merge commit '666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2' into HEAD" > git rev-list --no-walk b00c234f37ae4eb8f1baf8e69fb9d9243aaf36e1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-02T02:43:45.475Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-02T02:43:45.687Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-02T02:43:45.780Z] ========================================================= [2021-04-02T02:43:45.781Z] EdgeX Global Pipelines Version Info [2021-04-02T02:43:45.781Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-02T02:43:48.994Z] ------------------- [2021-04-02T02:43:48.995Z] stable info: [2021-04-02T02:43:48.995Z] ------------------- [2021-04-02T02:43:48.995Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-02T02:43:48.995Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-02T02:43:48.995Z] Message: update stable to v1.0.186 [2021-04-02T02:43:49.985Z] ------------------- [2021-04-02T02:43:49.985Z] experimental info: [2021-04-02T02:43:49.985Z] ------------------- [2021-04-02T02:43:49.985Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-02T02:43:49.985Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-02T02:43:49.985Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-02T02:43:50.398Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-02T02:43:50.535Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-02T02:43:50.652Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-02T02:43:50.753Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-02T02:43:50.848Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-02T02:43:50.930Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-02T02:43:51.014Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-02T02:43:51.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-02T02:43:51.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-02T02:43:51.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-02T02:43:51.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-02T02:43:51.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-02T02:43:51.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-02T02:43:51.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-02T02:43:51.715Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-02T02:43:51.822Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-02T02:43:51.906Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-02T02:43:51.997Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-02T02:43:52.083Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-02T02:43:52.187Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-02T02:43:52.270Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-02T02:43:52.352Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-02T02:43:52.445Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-02T02:43:52.524Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-02T02:43:52.638Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-02T02:43:52.718Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-02T02:43:52.800Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-852 [Pipeline] echo [2021-04-02T02:43:52.883Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-852 [Pipeline] echo [2021-04-02T02:43:52.967Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-852 [Pipeline] echo [2021-04-02T02:43:53.096Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df9d1a870fb5e51cb3655924838db90aaf94669a [Pipeline] echo [2021-04-02T02:43:53.178Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df9d1a8 [Pipeline] echo [2021-04-02T02:43:53.282Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-02T02:43:53.481Z] provisioning config files... [2021-04-02T02:43:53.519Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-852@tmp/config4978511593964305234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-02T02:43:53.945Z] ---> docker-login.sh [2021-04-02T02:43:53.945Z] nexus3.edgexfoundry.org:10001 [2021-04-02T02:43:54.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-02T02:43:55.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-02T02:43:55.278Z] Configure a credential helper to remove this warning. See [2021-04-02T02:43:55.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-02T02:43:55.278Z] [2021-04-02T02:43:55.278Z] Login Succeeded [2021-04-02T02:43:55.278Z] nexus3.edgexfoundry.org:10002 [2021-04-02T02:43:55.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-02T02:43:56.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-02T02:43:56.367Z] Configure a credential helper to remove this warning. See [2021-04-02T02:43:56.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-02T02:43:56.367Z] [2021-04-02T02:43:56.367Z] Login Succeeded [2021-04-02T02:43:56.367Z] nexus3.edgexfoundry.org:10003 [2021-04-02T02:43:56.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-02T02:43:57.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-02T02:43:57.113Z] Configure a credential helper to remove this warning. See [2021-04-02T02:43:57.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-02T02:43:57.113Z] [2021-04-02T02:43:57.113Z] Login Succeeded [2021-04-02T02:43:57.113Z] nexus3.edgexfoundry.org:10004 [2021-04-02T02:43:58.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-02T02:43:58.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-02T02:43:58.198Z] Configure a credential helper to remove this warning. See [2021-04-02T02:43:58.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-02T02:43:58.198Z] [2021-04-02T02:43:58.198Z] Login Succeeded [2021-04-02T02:43:58.198Z] docker.io [2021-04-02T02:43:58.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-02T02:43:59.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-02T02:43:59.097Z] Configure a credential helper to remove this warning. See [2021-04-02T02:43:59.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-02T02:43:59.097Z] [2021-04-02T02:43:59.097Z] Login Succeeded [2021-04-02T02:43:59.097Z] ---> docker-login.sh ends [Pipeline] } [2021-04-02T02:43:59.145Z] 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-02T02:44:00.049Z] + git log --format=format:%s -1 df9d1a870fb5e51cb3655924838db90aaf94669a [Pipeline] echo [2021-04-02T02:44:00.235Z] GIT_COMMIT: df9d1a870fb5e51cb3655924838db90aaf94669a, Commit Message: Merge commit '666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2' into HEAD [Pipeline] echo [2021-04-02T02:44:00.285Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-02T02:44:00.982Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-02T02:44:01.280Z] [2021-04-02T02:44:01.281Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-02T02:44:01.705Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-02T02:44:02.003Z] latest: Pulling from edgex-devops/git-semver [2021-04-02T02:44:02.003Z] 31603596830f: Pulling fs layer [2021-04-02T02:44:02.003Z] 2a8b12db71e7: Pulling fs layer [2021-04-02T02:44:02.003Z] 6ca5941a6612: Pulling fs layer [2021-04-02T02:44:02.003Z] ecc8261a40a4: Pulling fs layer [2021-04-02T02:44:02.003Z] ecc8261a40a4: Waiting [2021-04-02T02:44:02.003Z] 2a8b12db71e7: Verifying Checksum [2021-04-02T02:44:02.003Z] 2a8b12db71e7: Download complete [2021-04-02T02:44:02.759Z] 31603596830f: Verifying Checksum [2021-04-02T02:44:02.759Z] 31603596830f: Download complete [2021-04-02T02:44:04.022Z] ecc8261a40a4: Verifying Checksum [2021-04-02T02:44:04.022Z] ecc8261a40a4: Download complete [2021-04-02T02:44:04.022Z] 31603596830f: Pull complete [2021-04-02T02:44:04.327Z] 6ca5941a6612: Verifying Checksum [2021-04-02T02:44:04.327Z] 6ca5941a6612: Download complete [2021-04-02T02:44:04.327Z] 2a8b12db71e7: Pull complete [2021-04-02T02:44:05.965Z] 6ca5941a6612: Pull complete [2021-04-02T02:44:06.591Z] ecc8261a40a4: Pull complete [2021-04-02T02:44:06.591Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-02T02:44:06.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-02T02:44:06.591Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-02T02:44:06.921Z] prd-centos7-docker-4c-2g-32555 does not seem to be running inside a container [2021-04-02T02:44:07.078Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-852 -v /w/workspace/dgexfoundry_device-sdk-go_PR-852:/w/workspace/dgexfoundry_device-sdk-go_PR-852:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-852@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-852@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-02T02:44:11.327Z] $ docker top 4ef8a5bb0895b9af7ac662633773e46a1742e91fdead0bffce89463747652027 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-02T02:44:11.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-02T02:44:11.967Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-02T02:44:12.431Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-02T02:44:12.432Z] $ docker exec 4ef8a5bb0895b9af7ac662633773e46a1742e91fdead0bffce89463747652027 ssh-agent [2021-04-02T02:44:12.864Z] SSH_AUTH_SOCK=/tmp/ssh-lLuj2LWbucyP/agent.11 [2021-04-02T02:44:12.864Z] SSH_AGENT_PID=16 [2021-04-02T02:44:12.881Z] Running ssh-add (command line suppressed) [2021-04-02T02:44:13.168Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-852@tmp/private_key_8029458196637645695.key (/w/workspace/dgexfoundry_device-sdk-go_PR-852@tmp/private_key_8029458196637645695.key) [2021-04-02T02:44:13.357Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-02T02:44:14.090Z] + git tag --points-at HEAD [Pipeline] } [2021-04-02T02:44:14.141Z] $ docker exec --env ******** --env ******** 4ef8a5bb0895b9af7ac662633773e46a1742e91fdead0bffce89463747652027 ssh-agent -k [2021-04-02T02:44:14.491Z] unset SSH_AUTH_SOCK; [2021-04-02T02:44:14.494Z] unset SSH_AGENT_PID; [2021-04-02T02:44:14.494Z] echo Agent pid 16 killed; [2021-04-02T02:44:14.629Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-02T02:44:14.777Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-02T02:44:14.777Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-02T02:44:15.320Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-02T02:44:15.336Z] $ docker exec 4ef8a5bb0895b9af7ac662633773e46a1742e91fdead0bffce89463747652027 ssh-agent [2021-04-02T02:44:16.135Z] SSH_AUTH_SOCK=/tmp/ssh-TCrUmmiGv3oe/agent.44 [2021-04-02T02:44:16.135Z] SSH_AGENT_PID=49 [2021-04-02T02:44:16.159Z] Running ssh-add (command line suppressed) [2021-04-02T02:44:16.578Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-852@tmp/private_key_812054424177224596.key (/w/workspace/dgexfoundry_device-sdk-go_PR-852@tmp/private_key_812054424177224596.key) [2021-04-02T02:44:16.675Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-02T02:44:17.463Z] + git semver init [2021-04-02T02:44:17.463Z] # -> Open(): unable to determine branch for HEAD [2021-04-02T02:44:17.463Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-852/.git [2021-04-02T02:44:17.463Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-852 [2021-04-02T02:44:17.463Z] # $SEMVER_REMOTE_NAME = origin [2021-04-02T02:44:17.463Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-02T02:44:17.463Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-02T02:44:17.463Z] # $SEMVER_BRANCH = PR-852 [2021-04-02T02:44:17.463Z] # $SEMVER_TEMP = /tmp/semver-311298439 [2021-04-02T02:44:17.463Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-02T02:44:19.073Z] # '/tmp/semver-311298439' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-852/.semver' [2021-04-02T02:44:19.073Z] # -> Force: false [2021-04-02T02:44:19.073Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-852/.semver [Pipeline] } [2021-04-02T02:44:19.252Z] $ docker exec --env ******** --env ******** 4ef8a5bb0895b9af7ac662633773e46a1742e91fdead0bffce89463747652027 ssh-agent -k [2021-04-02T02:44:20.001Z] unset SSH_AUTH_SOCK; [2021-04-02T02:44:20.002Z] unset SSH_AGENT_PID; [2021-04-02T02:44:20.002Z] echo Agent pid 49 killed; [2021-04-02T02:44:20.277Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-02T02:44:21.659Z] + git semver [Pipeline] } [2021-04-02T02:44:22.047Z] $ docker stop --time=1 4ef8a5bb0895b9af7ac662633773e46a1742e91fdead0bffce89463747652027 [2021-04-02T02:44:24.520Z] $ docker rm -f 4ef8a5bb0895b9af7ac662633773e46a1742e91fdead0bffce89463747652027 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-02T02:44:25.429Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-02T02:44:26.462Z] Stashed 1 file(s) [Pipeline] echo [2021-04-02T02:44:26.465Z] [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-02T02:44:42.041Z] Still waiting to schedule task [2021-04-02T02:44:42.042Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-02T02:44:42.044Z] Still waiting to schedule task [2021-04-02T02:44:42.044Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-32557’ [2021-04-02T02:45:44.295Z] Running on prd-centos7-docker-4c-2g-32563 in /w/workspace/dgexfoundry_device-sdk-go_PR-852 [Pipeline] { [Pipeline] ws [2021-04-02T02:45:44.358Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-02T02:45:46.733Z] using credential edgex-jenkins-ssh [2021-04-02T02:45:46.782Z] Cloning the remote Git repository [2021-04-02T02:45:46.451Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-02T02:45:46.570Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-02T02:45:46.684Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-02T02:45:46.685Z] > git --version # timeout=10 [2021-04-02T02:45:46.693Z] > git --version # 'git version 2.24.3' [2021-04-02T02:45:46.694Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-02T02:45:46.726Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-02T02:45:48.255Z] Merging remotes/origin/master commit 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 into PR head commit b00c234f37ae4eb8f1baf8e69fb9d9243aaf36e1 [2021-04-02T02:45:48.358Z] Merge succeeded, producing 072b1f7a80dc1570ffcf5359167a77e0fd4d0662 [2021-04-02T02:45:48.359Z] Checking out Revision 072b1f7a80dc1570ffcf5359167a77e0fd4d0662 (PR-852) [2021-04-02T02:45:47.527Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-02T02:45:47.539Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-02T02:45:47.553Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-02T02:45:47.567Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-02T02:45:47.567Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-02T02:45:47.572Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/852/head:refs/remotes/origin/PR-852 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-02T02:45:48.026Z] > git config core.sparsecheckout # timeout=10 [2021-04-02T02:45:48.034Z] > git checkout -f b00c234f37ae4eb8f1baf8e69fb9d9243aaf36e1 # timeout=10 [2021-04-02T02:45:48.078Z] > git remote # timeout=10 [2021-04-02T02:45:48.084Z] > git config --get remote.origin.url # timeout=10 [2021-04-02T02:45:48.092Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-02T02:45:48.096Z] > git merge 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 # timeout=10 [2021-04-02T02:45:48.124Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-02T02:45:48.133Z] > git config core.sparsecheckout # timeout=10 [2021-04-02T02:45:48.138Z] > git checkout -f 072b1f7a80dc1570ffcf5359167a77e0fd4d0662 # timeout=10 [2021-04-02T02:45:51.770Z] Commit message: "Merge commit '666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2' into HEAD" [2021-04-02T02:45:51.771Z] > git rev-list --no-walk b00c234f37ae4eb8f1baf8e69fb9d9243aaf36e1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-02T02:45:52.896Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-02T02:45:53.221Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-02T02:45:53.519Z] + sudo service docker restart [2021-04-02T02:45:53.519Z] + true [2021-04-02T02:45:53.519Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-02T02:45:55.043Z] provisioning config files... [2021-04-02T02:45:55.107Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1296480601393921735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-02T02:45:55.466Z] ---> docker-login.sh [2021-04-02T02:45:55.466Z] nexus3.edgexfoundry.org:10001 [2021-04-02T02:45:55.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-02T02:45:55.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-02T02:45:55.729Z] Configure a credential helper to remove this warning. See [2021-04-02T02:45:55.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-02T02:45:55.729Z] [2021-04-02T02:45:55.729Z] Login Succeeded [2021-04-02T02:45:55.729Z] nexus3.edgexfoundry.org:10002 [2021-04-02T02:45:55.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-02T02:45:55.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-02T02:45:55.992Z] Configure a credential helper to remove this warning. See [2021-04-02T02:45:55.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-02T02:45:55.992Z] [2021-04-02T02:45:55.992Z] Login Succeeded [2021-04-02T02:45:55.992Z] nexus3.edgexfoundry.org:10003 [2021-04-02T02:45:55.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-02T02:45:55.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-02T02:45:55.992Z] Configure a credential helper to remove this warning. See [2021-04-02T02:45:55.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-02T02:45:55.992Z] [2021-04-02T02:45:55.992Z] Login Succeeded [2021-04-02T02:45:55.992Z] nexus3.edgexfoundry.org:10004 [2021-04-02T02:45:56.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-02T02:45:56.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-02T02:45:56.257Z] Configure a credential helper to remove this warning. See [2021-04-02T02:45:56.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-02T02:45:56.257Z] [2021-04-02T02:45:56.257Z] Login Succeeded [2021-04-02T02:45:56.257Z] docker.io [2021-04-02T02:45:56.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-02T02:45:56.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-02T02:45:56.521Z] Configure a credential helper to remove this warning. See [2021-04-02T02:45:56.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-02T02:45:56.521Z] [2021-04-02T02:45:56.521Z] Login Succeeded [2021-04-02T02:45:56.521Z] ---> docker-login.sh ends [Pipeline] } [2021-04-02T02:45:56.534Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-02T02:45:56.968Z] ========================================================= [2021-04-02T02:45:56.968Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-02T02:45:56.968Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-02T02:45:57.316Z] + 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-02T02:45:57.316Z] Sending build context to Docker daemon 2.367MB [2021-04-02T02:45:57.316Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-02T02:45:57.316Z] Step 2/8 : FROM ${BASE} [2021-04-02T02:45:57.588Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-02T02:45:57.588Z] 188c0c94c7c5: Pulling fs layer [2021-04-02T02:45:57.588Z] 0ef7d3d256c8: Pulling fs layer [2021-04-02T02:45:57.588Z] de9db76c5a1d: Pulling fs layer [2021-04-02T02:45:57.588Z] bca2f99d35d6: Pulling fs layer [2021-04-02T02:45:57.588Z] 93359f2a8cfa: Pulling fs layer [2021-04-02T02:45:57.588Z] 7c6f9722023f: Pulling fs layer [2021-04-02T02:45:57.588Z] a35cf1a2eb13: Pulling fs layer [2021-04-02T02:45:57.588Z] 93359f2a8cfa: Waiting [2021-04-02T02:45:57.588Z] 7c6f9722023f: Waiting [2021-04-02T02:45:57.588Z] a35cf1a2eb13: Waiting [2021-04-02T02:45:57.588Z] bca2f99d35d6: Waiting [2021-04-02T02:45:57.588Z] de9db76c5a1d: Verifying Checksum [2021-04-02T02:45:57.588Z] de9db76c5a1d: Download complete [2021-04-02T02:45:57.588Z] 0ef7d3d256c8: Download complete [2021-04-02T02:45:57.588Z] 93359f2a8cfa: Verifying Checksum [2021-04-02T02:45:57.588Z] 93359f2a8cfa: Download complete [2021-04-02T02:45:57.588Z] 188c0c94c7c5: Verifying Checksum [2021-04-02T02:45:57.588Z] 188c0c94c7c5: Download complete [2021-04-02T02:45:57.588Z] 7c6f9722023f: Verifying Checksum [2021-04-02T02:45:57.588Z] 7c6f9722023f: Download complete [2021-04-02T02:45:57.859Z] 188c0c94c7c5: Pull complete [2021-04-02T02:45:57.859Z] 0ef7d3d256c8: Pull complete [2021-04-02T02:45:58.122Z] de9db76c5a1d: Pull complete [2021-04-02T02:45:59.517Z] a35cf1a2eb13: Verifying Checksum [2021-04-02T02:45:59.517Z] a35cf1a2eb13: Download complete [2021-04-02T02:46:00.097Z] bca2f99d35d6: Verifying Checksum [2021-04-02T02:46:00.097Z] bca2f99d35d6: Download complete [2021-04-02T02:46:05.437Z] bca2f99d35d6: Pull complete [2021-04-02T02:46:05.700Z] 93359f2a8cfa: Pull complete [2021-04-02T02:46:05.700Z] 7c6f9722023f: Pull complete [2021-04-02T02:46:13.879Z] a35cf1a2eb13: Pull complete [2021-04-02T02:46:13.879Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-02T02:46:13.879Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-02T02:46:13.879Z] ---> a62c8e92a672 [2021-04-02T02:46:13.879Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-02T02:46:13.879Z] ---> Running in d9fd2a97595b [2021-04-02T02:46:13.879Z] Removing intermediate container d9fd2a97595b [2021-04-02T02:46:13.879Z] ---> 2ba71b8ea90d [2021-04-02T02:46:13.879Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-02T02:46:13.879Z] ---> Running in 4b46cb57d527 [2021-04-02T02:46:14.831Z] Removing intermediate container 4b46cb57d527 [2021-04-02T02:46:14.831Z] ---> 38e639838723 [2021-04-02T02:46:14.832Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-02T02:46:14.832Z] ---> Running in 9ea468a5b43f [2021-04-02T02:46:15.412Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-02T02:46:16.358Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-02T02:46:17.744Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-02T02:46:17.744Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-02T02:46:17.744Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-02T02:46:18.006Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-02T02:46:18.006Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-02T02:46:18.267Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-02T02:46:18.267Z] Executing busybox-1.31.1-r19.trigger [2021-04-02T02:46:18.267Z] OK: 167 MiB in 45 packages [2021-04-02T02:46:18.842Z] Removing intermediate container 9ea468a5b43f [2021-04-02T02:46:18.842Z] ---> a81618a7babb [2021-04-02T02:46:18.842Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-02T02:46:18.842Z] ---> Running in c24fd05cdce2 [2021-04-02T02:46:19.104Z] Removing intermediate container c24fd05cdce2 [2021-04-02T02:46:19.104Z] ---> e31961ca086d [2021-04-02T02:46:19.104Z] Step 7/8 : COPY . . [2021-04-02T02:46:20.499Z] ---> ad9668a5fb0c [2021-04-02T02:46:20.499Z] Step 8/8 : RUN go mod download [2021-04-02T02:46:20.499Z] ---> Running in fe9751e438bd [2021-04-02T02:46:42.546Z] Removing intermediate container fe9751e438bd [2021-04-02T02:46:42.546Z] ---> 18df996334e6 [2021-04-02T02:46:42.546Z] Successfully built 18df996334e6 [2021-04-02T02:46:42.546Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-02T02:46:42.875Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-02T02:46:42.875Z] . [Pipeline] withDockerContainer [2021-04-02T02:46:43.000Z] prd-centos7-docker-4c-2g-32563 does not seem to be running inside a container [2021-04-02T02:46:43.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-02T02:46:43.807Z] $ docker top e89ee103fac411bfffbb579ecd4f61c336792ec856efe9ce9558a06feae5556a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-02T02:46:44.359Z] + go version [2021-04-02T02:46:44.360Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-02T02:46:44.391Z] $ docker stop --time=1 e89ee103fac411bfffbb579ecd4f61c336792ec856efe9ce9558a06feae5556a [2021-04-02T02:46:45.740Z] $ docker rm -f e89ee103fac411bfffbb579ecd4f61c336792ec856efe9ce9558a06feae5556a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-02T02:46:46.634Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-02T02:46:46.634Z] . [Pipeline] withDockerContainer [2021-04-02T02:46:46.732Z] prd-centos7-docker-4c-2g-32563 does not seem to be running inside a container [2021-04-02T02:46:46.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-02T02:46:47.432Z] $ docker top babc7079fcbc33b5e45d88bf55fd9ed44fa5aadeaa4761601d5e957d37c1c651 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-02T02:46:47.926Z] + make test [2021-04-02T02:46:47.926Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-02T02:46:51.284Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32564 in /w/workspace/dgexfoundry_device-sdk-go_PR-852 [Pipeline] { [Pipeline] ws [2021-04-02T02:46:51.339Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-02T02:46:54.591Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-02T02:46:57.030Z] using credential edgex-jenkins-ssh [2021-04-02T02:46:57.092Z] Cloning the remote Git repository [2021-04-02T02:46:57.147Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-02T02:46:57.269Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-02T02:46:57.352Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-02T02:46:57.353Z] > git --version # timeout=10 [2021-04-02T02:46:57.374Z] > git --version # 'git version 2.17.1' [2021-04-02T02:46:57.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-02T02:46:57.457Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-02T02:46:58.710Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-02T02:46:58.734Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-02T02:46:58.778Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-02T02:46:58.827Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-02T02:46:58.828Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-02T02:46:58.842Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/852/head:refs/remotes/origin/PR-852 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-02T02:46:59.393Z] Merging remotes/origin/master commit 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 into PR head commit b00c234f37ae4eb8f1baf8e69fb9d9243aaf36e1 [2021-04-02T02:46:59.740Z] Merge succeeded, producing 8587d5ef313b74c1896e9b231f579c57729f2924 [2021-04-02T02:46:59.741Z] Checking out Revision 8587d5ef313b74c1896e9b231f579c57729f2924 (PR-852) [2021-04-02T02:46:59.403Z] > git config core.sparsecheckout # timeout=10 [2021-04-02T02:46:59.424Z] > git checkout -f b00c234f37ae4eb8f1baf8e69fb9d9243aaf36e1 # timeout=10 [2021-04-02T02:46:59.557Z] > git remote # timeout=10 [2021-04-02T02:46:59.581Z] > git config --get remote.origin.url # timeout=10 [2021-04-02T02:46:59.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-02T02:46:59.612Z] > git merge 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 # timeout=10 [2021-04-02T02:46:59.703Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-02T02:46:59.738Z] > git config core.sparsecheckout # timeout=10 [2021-04-02T02:46:59.762Z] > git checkout -f 8587d5ef313b74c1896e9b231f579c57729f2924 # timeout=10 [2021-04-02T02:47:04.683Z] Commit message: "Merge commit '666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2' into HEAD" [2021-04-02T02:47:04.683Z] > git rev-list --no-walk b00c234f37ae4eb8f1baf8e69fb9d9243aaf36e1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-02T02:47:06.249Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-02T02:47:06.717Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-02T02:47:07.061Z] + sudo service docker restart [2021-04-02T02:47:07.062Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-02T02:47:09.812Z] provisioning config files... [2021-04-02T02:47:09.861Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3607594658419392539tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-02T02:47:10.286Z] ---> docker-login.sh [2021-04-02T02:47:10.286Z] nexus3.edgexfoundry.org:10001 [2021-04-02T02:47:11.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-02T02:47:11.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-02T02:47:11.560Z] Configure a credential helper to remove this warning. See [2021-04-02T02:47:11.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-02T02:47:11.560Z] [2021-04-02T02:47:11.560Z] Login Succeeded [2021-04-02T02:47:11.560Z] nexus3.edgexfoundry.org:10002 [2021-04-02T02:47:12.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-02T02:47:12.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-02T02:47:12.158Z] Configure a credential helper to remove this warning. See [2021-04-02T02:47:12.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-02T02:47:12.158Z] [2021-04-02T02:47:12.158Z] Login Succeeded [2021-04-02T02:47:12.158Z] nexus3.edgexfoundry.org:10003 [2021-04-02T02:47:12.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-02T02:47:12.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-02T02:47:12.713Z] Configure a credential helper to remove this warning. See [2021-04-02T02:47:12.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-02T02:47:12.713Z] [2021-04-02T02:47:12.713Z] Login Succeeded [2021-04-02T02:47:12.713Z] nexus3.edgexfoundry.org:10004 [2021-04-02T02:47:12.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-02T02:47:12.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-02T02:47:12.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-02T02:47:12.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-02T02:47:12.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-02T02:47:13.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-02T02:47:13.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-02T02:47:13.315Z] Configure a credential helper to remove this warning. See [2021-04-02T02:47:13.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-02T02:47:13.315Z] [2021-04-02T02:47:13.315Z] Login Succeeded [2021-04-02T02:47:13.315Z] docker.io [2021-04-02T02:47:13.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-02T02:47:14.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-02T02:47:14.188Z] Configure a credential helper to remove this warning. See [2021-04-02T02:47:14.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-02T02:47:14.188Z] [2021-04-02T02:47:14.188Z] Login Succeeded [2021-04-02T02:47:14.188Z] ---> docker-login.sh ends [Pipeline] } [2021-04-02T02:47:14.210Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-02T02:47:14.646Z] ========================================================= [2021-04-02T02:47:14.646Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-02T02:47:14.646Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-02T02:47:15.028Z] + 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-02T02:47:15.645Z] Sending build context to Docker daemon 2.353MB [2021-04-02T02:47:15.645Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-02T02:47:15.645Z] Step 2/8 : FROM ${BASE} [2021-04-02T02:47:15.645Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-02T02:47:15.645Z] 5f621e34cdf4: Pulling fs layer [2021-04-02T02:47:15.645Z] a4357932f1b6: Pulling fs layer [2021-04-02T02:47:15.645Z] 18c013af1878: Pulling fs layer [2021-04-02T02:47:15.645Z] 00ac8860ef70: Pulling fs layer [2021-04-02T02:47:15.645Z] 63d7cb157983: Pulling fs layer [2021-04-02T02:47:15.645Z] b116817d02f9: Pulling fs layer [2021-04-02T02:47:15.645Z] 745a02a5169b: Pulling fs layer [2021-04-02T02:47:15.645Z] 00ac8860ef70: Waiting [2021-04-02T02:47:15.645Z] 63d7cb157983: Waiting [2021-04-02T02:47:15.645Z] b116817d02f9: Waiting [2021-04-02T02:47:15.645Z] 745a02a5169b: Waiting [2021-04-02T02:47:15.645Z] 18c013af1878: Verifying Checksum [2021-04-02T02:47:15.645Z] 18c013af1878: Download complete [2021-04-02T02:47:15.645Z] a4357932f1b6: Verifying Checksum [2021-04-02T02:47:15.645Z] a4357932f1b6: Download complete [2021-04-02T02:47:15.645Z] 63d7cb157983: Verifying Checksum [2021-04-02T02:47:15.645Z] 63d7cb157983: Download complete [2021-04-02T02:47:16.265Z] b116817d02f9: Verifying Checksum [2021-04-02T02:47:16.265Z] b116817d02f9: Download complete [2021-04-02T02:47:16.265Z] 5f621e34cdf4: Verifying Checksum [2021-04-02T02:47:16.265Z] 5f621e34cdf4: Download complete [2021-04-02T02:47:17.280Z] 5f621e34cdf4: Pull complete [2021-04-02T02:47:18.445Z] a4357932f1b6: Pull complete [2021-04-02T02:47:18.445Z] 18c013af1878: Pull complete [2021-04-02T02:47:18.742Z] 745a02a5169b: Verifying Checksum [2021-04-02T02:47:18.742Z] 745a02a5169b: Download complete [2021-04-02T02:47:19.757Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.081s coverage: 28.1% of statements [2021-04-02T02:47:19.757Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.074s coverage: 81.2% of statements [2021-04-02T02:47:19.757Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.058s coverage: 7.8% of statements [2021-04-02T02:47:19.757Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-02T02:47:19.757Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-02T02:47:19.757Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-02T02:47:19.757Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 32.5% of statements [2021-04-02T02:47:19.757Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-02T02:47:19.757Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-02T02:47:19.757Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-02T02:47:20.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.095s coverage: 57.3% of statements [2021-04-02T02:47:20.201Z] 00ac8860ef70: Verifying Checksum [2021-04-02T02:47:20.201Z] 00ac8860ef70: Download complete [2021-04-02T02:47:20.280Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.126s coverage: 6.6% of statements [2021-04-02T02:47:20.280Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-02T02:47:20.280Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-02T02:47:20.544Z] GO111MODULE=on go vet ./... [2021-04-02T02:47:30.339Z] 00ac8860ef70: Pull complete [2021-04-02T02:47:30.339Z] 63d7cb157983: Pull complete [2021-04-02T02:47:30.339Z] b116817d02f9: Pull complete [2021-04-02T02:47:32.980Z] 745a02a5169b: Pull complete [2021-04-02T02:47:32.981Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-02T02:47:32.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-02T02:47:32.981Z] ---> b7e6874047d6 [2021-04-02T02:47:32.981Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-02T02:47:35.588Z] gofmt -l . [2021-04-02T02:47:35.588Z] [ "`gofmt -l .`" = "" ] [2021-04-02T02:47:35.588Z] ./bin/test-attribution-txt.sh [2021-04-02T02:47:35.588Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-02T02:47:35.602Z] $ docker stop --time=1 babc7079fcbc33b5e45d88bf55fd9ed44fa5aadeaa4761601d5e957d37c1c651 [2021-04-02T02:47:36.407Z] ---> Running in ee3e31483348 [2021-04-02T02:47:36.407Z] Removing intermediate container ee3e31483348 [2021-04-02T02:47:36.407Z] ---> 3d017fe2ebbb [2021-04-02T02:47:36.407Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-02T02:47:36.407Z] ---> Running in 5ef6b0509175 [2021-04-02T02:47:37.926Z] $ docker rm -f babc7079fcbc33b5e45d88bf55fd9ed44fa5aadeaa4761601d5e957d37c1c651 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-02T02:47:38.583Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-02T02:47:38.986Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [2021-04-02T02:47:39.045Z] Removing intermediate container 5ef6b0509175 [2021-04-02T02:47:39.045Z] ---> 7323ef5b2f23 [2021-04-02T02:47:39.045Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-02T02:47:39.045Z] ---> Running in 9d6baeac52be [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-02T02:47:40.145Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-02T02:47:40.438Z] + ls -al . [2021-04-02T02:47:40.438Z] total 188 [2021-04-02T02:47:40.438Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 2 02:47 . [2021-04-02T02:47:40.438Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 2 02:45 .. [2021-04-02T02:47:40.438Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 2 02:45 bin [2021-04-02T02:47:40.438Z] -rw-r--r--. 1 jenkins jenkins 101239 Apr 2 02:47 coverage.out [2021-04-02T02:47:40.438Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 2 02:45 Dockerfile.build [2021-04-02T02:47:40.438Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 2 02:45 .dockerignore [2021-04-02T02:47:40.438Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 2 02:45 example [2021-04-02T02:47:40.438Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 2 02:45 .git [2021-04-02T02:47:40.438Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 2 02:45 .github [2021-04-02T02:47:40.438Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 2 02:45 .gitignore [2021-04-02T02:47:40.438Z] -rw-r--r--. 1 jenkins jenkins 537 Apr 2 02:47 go.mod [2021-04-02T02:47:40.438Z] -rw-r--r--. 1 jenkins jenkins 21235 Apr 2 02:47 go.sum [2021-04-02T02:47:40.438Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 2 02:45 internal [2021-04-02T02:47:40.438Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 2 02:45 Jenkinsfile [2021-04-02T02:47:40.438Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 2 02:45 LICENSE [2021-04-02T02:47:40.438Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 2 02:45 Makefile [2021-04-02T02:47:40.438Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 2 02:45 openapi [2021-04-02T02:47:40.438Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 2 02:45 pkg [2021-04-02T02:47:40.438Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 2 02:45 README.md [2021-04-02T02:47:40.438Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 2 02:45 RELEASE-NOTES.txt [2021-04-02T02:47:40.438Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 2 02:45 snap [2021-04-02T02:47:40.438Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 2 02:44 VERSION [2021-04-02T02:47:40.438Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 2 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-02T02:47:40.498Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-02T02:47:40.747Z] + 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=df9d1a870fb5e51cb3655924838db90aaf94669a --label arch=amd64 --label version=0.0.0 . [2021-04-02T02:47:41.009Z] Sending build context to Docker daemon 2.469MB [2021-04-02T02:47:41.009Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-02T02:47:41.009Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-02T02:47:41.009Z] ---> 18df996334e6 [2021-04-02T02:47:41.009Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-02T02:47:41.272Z] ---> Running in 8ef889860169 [2021-04-02T02:47:41.477Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-02T02:47:41.533Z] Removing intermediate container 8ef889860169 [2021-04-02T02:47:41.533Z] ---> 5f68da3cad62 [2021-04-02T02:47:41.533Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-02T02:47:41.533Z] ---> Running in 27e9b474e81a [2021-04-02T02:47:41.796Z] Removing intermediate container 27e9b474e81a [2021-04-02T02:47:41.796Z] ---> f4f512034460 [2021-04-02T02:47:41.796Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-02T02:47:41.796Z] ---> Running in 5223174ece34 [2021-04-02T02:47:42.751Z] Removing intermediate container 5223174ece34 [2021-04-02T02:47:42.751Z] ---> 57f9833d5145 [2021-04-02T02:47:42.751Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-02T02:47:42.751Z] ---> Running in de1bde844d1e [2021-04-02T02:47:42.907Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-02T02:47:42.907Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-02T02:47:43.183Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-02T02:47:43.183Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-02T02:47:43.183Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-02T02:47:43.335Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-02T02:47:43.459Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-02T02:47:43.734Z] Executing busybox-1.31.1-r19.trigger [2021-04-02T02:47:43.734Z] OK: 144 MiB in 45 packages [2021-04-02T02:47:44.724Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-02T02:47:45.175Z] Removing intermediate container 9d6baeac52be [2021-04-02T02:47:45.175Z] ---> 08d0485fedf2 [2021-04-02T02:47:45.175Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-02T02:47:45.450Z] ---> Running in 95cc6e8c589c [2021-04-02T02:47:45.667Z] OK: 167 MiB in 45 packages [2021-04-02T02:47:46.050Z] Removing intermediate container 95cc6e8c589c [2021-04-02T02:47:46.051Z] ---> 7e43670c0aab [2021-04-02T02:47:46.051Z] Step 7/8 : COPY . . [2021-04-02T02:47:46.251Z] Removing intermediate container de1bde844d1e [2021-04-02T02:47:46.251Z] ---> 7174567accd6 [2021-04-02T02:47:46.251Z] Step 7/23 : COPY . . [2021-04-02T02:47:47.036Z] ---> e9e0541d5447 [2021-04-02T02:47:47.036Z] Step 8/8 : RUN go mod download [2021-04-02T02:47:47.196Z] ---> fafad7c24039 [2021-04-02T02:47:47.196Z] Step 8/23 : RUN go mod download [2021-04-02T02:47:47.311Z] ---> Running in 0e95088b9a78 [2021-04-02T02:47:47.457Z] ---> Running in ca02b7561d8b [2021-04-02T02:47:48.410Z] Removing intermediate container ca02b7561d8b [2021-04-02T02:47:48.410Z] ---> ed68ccc9491d [2021-04-02T02:47:48.410Z] Step 9/23 : RUN make build [2021-04-02T02:47:48.410Z] ---> Running in 3edcbc80c504 [2021-04-02T02:47:48.997Z] 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-02T02:47:59.142Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-02T02:48:01.064Z] Removing intermediate container 3edcbc80c504 [2021-04-02T02:48:01.064Z] ---> bdc813790f25 [2021-04-02T02:48:01.064Z] Step 10/23 : FROM alpine:3.12 [2021-04-02T02:48:01.330Z] 3.12: Pulling from library/alpine [2021-04-02T02:48:01.330Z] 532819f3e44c: Pulling fs layer [2021-04-02T02:48:01.593Z] 532819f3e44c: Download complete [2021-04-02T02:48:01.862Z] 532819f3e44c: Pull complete [2021-04-02T02:48:01.862Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-02T02:48:01.862Z] Status: Downloaded newer image for alpine:3.12 [2021-04-02T02:48:01.862Z] ---> 7230e588e954 [2021-04-02T02:48:01.862Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-02T02:48:02.128Z] ---> Running in 512d4802cf46 [2021-04-02T02:48:02.128Z] Removing intermediate container 512d4802cf46 [2021-04-02T02:48:02.128Z] ---> a875592e85dd [2021-04-02T02:48:02.128Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-02T02:48:02.391Z] ---> Running in d9106c021008 [2021-04-02T02:48:03.341Z] Removing intermediate container d9106c021008 [2021-04-02T02:48:03.341Z] ---> b7445097c25e [2021-04-02T02:48:03.341Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-02T02:48:03.341Z] ---> Running in 741b8e092f14 [2021-04-02T02:48:03.605Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-02T02:48:04.553Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-02T02:48:05.497Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-02T02:48:05.497Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-02T02:48:05.762Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-02T02:48:06.023Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-02T02:48:06.023Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-02T02:48:06.287Z] Executing busybox-1.31.1-r20.trigger [2021-04-02T02:48:06.287Z] OK: 8 MiB in 19 packages [2021-04-02T02:48:06.911Z] Removing intermediate container 741b8e092f14 [2021-04-02T02:48:06.911Z] ---> e97cf2a4d142 [2021-04-02T02:48:06.911Z] Step 14/23 : WORKDIR / [2021-04-02T02:48:06.911Z] ---> Running in 1520c07f9169 [2021-04-02T02:48:06.911Z] Removing intermediate container 1520c07f9169 [2021-04-02T02:48:06.911Z] ---> 140a9ca63337 [2021-04-02T02:48:06.911Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-02T02:48:07.195Z] ---> 2706f3b0cf39 [2021-04-02T02:48:07.196Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-02T02:48:07.832Z] ---> e346f081e628 [2021-04-02T02:48:07.832Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-02T02:48:08.141Z] ---> 2180f6fa7dce [2021-04-02T02:48:08.141Z] Step 18/23 : EXPOSE 49990 [2021-04-02T02:48:08.141Z] ---> Running in 0850ab4bebde [2021-04-02T02:48:08.419Z] Removing intermediate container 0850ab4bebde [2021-04-02T02:48:08.419Z] ---> 464958e5a1e0 [2021-04-02T02:48:08.419Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-02T02:48:08.419Z] ---> Running in 371210737ce5 [2021-04-02T02:48:08.692Z] Removing intermediate container 371210737ce5 [2021-04-02T02:48:08.692Z] ---> f469adf0a9cf [2021-04-02T02:48:08.692Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-02T02:48:08.692Z] ---> Running in 92a913623a6d [2021-04-02T02:48:08.978Z] Removing intermediate container 92a913623a6d [2021-04-02T02:48:08.978Z] ---> 33c8c6c3c6f5 [2021-04-02T02:48:08.978Z] Step 21/23 : LABEL arch=amd64 [2021-04-02T02:48:08.978Z] ---> Running in 67c0c5196d30 [2021-04-02T02:48:08.978Z] Removing intermediate container 67c0c5196d30 [2021-04-02T02:48:08.978Z] ---> 2b463735b6da [2021-04-02T02:48:08.978Z] Step 22/23 : LABEL git_sha=df9d1a870fb5e51cb3655924838db90aaf94669a [2021-04-02T02:48:09.956Z] ---> Running in f43a6280c754 [2021-04-02T02:48:09.956Z] Removing intermediate container f43a6280c754 [2021-04-02T02:48:09.956Z] ---> 4ca29ff0a9aa [2021-04-02T02:48:09.956Z] Step 23/23 : LABEL version=0.0.0 [2021-04-02T02:48:10.219Z] ---> Running in 0c651b001054 [2021-04-02T02:48:10.219Z] Removing intermediate container 0c651b001054 [2021-04-02T02:48:10.219Z] ---> 0f369bdf45c2 [2021-04-02T02:48:10.219Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-02T02:48:10.219Z] Successfully built 0f369bdf45c2 [2021-04-02T02:48:10.219Z] 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-02T02:48:11.670Z] ---> job-cost.sh [2021-04-02T02:48:11.670Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Wesb [2021-04-02T02:48:14.129Z] Removing intermediate container 0e95088b9a78 [2021-04-02T02:48:14.129Z] ---> 4f1b0694be8c [2021-04-02T02:48:14.129Z] Successfully built 4f1b0694be8c [2021-04-02T02:48:14.129Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-02T02:48:14.491Z] + docker inspect -f . ci-base-image-arm64 [2021-04-02T02:48:14.491Z] . [Pipeline] withDockerContainer [2021-04-02T02:48:14.808Z] prd-ubuntu18.04-docker-arm64-4c-16g-32564 does not seem to be running inside a container [2021-04-02T02:48:14.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2021-04-02T02:48:16.577Z] $ docker top 4810e877866e06e8d3526611f7f41a689f26e1684b6e9d7c597d9028e1f6f4d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-02T02:48:17.661Z] + go version [2021-04-02T02:48:17.661Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-02T02:48:17.680Z] $ docker stop --time=1 4810e877866e06e8d3526611f7f41a689f26e1684b6e9d7c597d9028e1f6f4d8 [2021-04-02T02:48:19.687Z] $ docker rm -f 4810e877866e06e8d3526611f7f41a689f26e1684b6e9d7c597d9028e1f6f4d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-02T02:48:20.806Z] + docker inspect -f . ci-base-image-arm64 [2021-04-02T02:48:20.806Z] . [Pipeline] withDockerContainer [2021-04-02T02:48:21.084Z] prd-ubuntu18.04-docker-arm64-4c-16g-32564 does not seem to be running inside a container [2021-04-02T02:48:21.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2021-04-02T02:48:22.758Z] $ docker top 80c0cdfaa8ce637b52947e04c0894a5a4dd447fa283efcdbdfe56ff84dd5938a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-02T02:48:23.869Z] + make test [2021-04-02T02:48:23.869Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-02T02:48:26.592Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-02T02:48:50.685Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-02T02:48:53.211Z] lf-activate-venv(): INFO: Adding /tmp/venv-Wesb/bin to PATH [2021-04-02T02:48:53.212Z] INFO: No Stack... [2021-04-02T02:48:53.212Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-02T02:48:53.212Z] INFO: Archiving Costs [Pipeline] sh [2021-04-02T02:48:53.515Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-04-02T02:48:53.515Z] + cut -d, -f6 [Pipeline] lock [2021-04-02T02:48:53.587Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-852-2-stack-cost] [2021-04-02T02:48:53.596Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-852-2-stack-cost] did not exist. Created. [2021-04-02T02:48:53.596Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-852-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-02T02:48:54.003Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-02T02:48:54.097Z] Stashed 1 file(s) [Pipeline] } [2021-04-02T02:48:54.114Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-852-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-02T02:49:47.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-02T02:49:47.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-02T02:49:47.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-02T02:49:47.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-02T02:49:47.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-02T02:49:59.706Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.140s coverage: 28.1% of statements [2021-04-02T02:49:59.706Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.176s coverage: 81.2% of statements [2021-04-02T02:49:59.706Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.152s coverage: 7.8% of statements [2021-04-02T02:49:59.706Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-02T02:49:59.706Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-02T02:49:59.706Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-02T02:50:00.693Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.242s coverage: 32.5% of statements [2021-04-02T02:50:00.693Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-02T02:50:00.693Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-02T02:50:00.693Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-02T02:50:04.119Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.304s coverage: 57.3% of statements [2021-04-02T02:50:04.397Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.355s coverage: 6.6% of statements [2021-04-02T02:50:05.836Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.173s coverage: 5.0% of statements [2021-04-02T02:50:05.836Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-02T02:50:06.430Z] GO111MODULE=on go vet ./... [2021-04-02T02:51:03.057Z] gofmt -l . [2021-04-02T02:51:03.057Z] [ "`gofmt -l .`" = "" ] [2021-04-02T02:51:03.057Z] ./bin/test-attribution-txt.sh [2021-04-02T02:51:03.057Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-02T02:51:03.073Z] $ docker stop --time=1 80c0cdfaa8ce637b52947e04c0894a5a4dd447fa283efcdbdfe56ff84dd5938a [2021-04-02T02:51:05.352Z] $ docker rm -f 80c0cdfaa8ce637b52947e04c0894a5a4dd447fa283efcdbdfe56ff84dd5938a [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-02T02:51:06.549Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-02T02:51:06.616Z] Warning: overwriting stash ‘coverage-report’ [2021-04-02T02:51:07.600Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-02T02:51:08.370Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-02T02:51:08.737Z] + ls -al . [2021-04-02T02:51:08.738Z] total 224 [2021-04-02T02:51:08.738Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 2 02:50 . [2021-04-02T02:51:08.738Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 02:46 .. [2021-04-02T02:51:08.738Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 2 02:46 .dockerignore [2021-04-02T02:51:08.738Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 2 02:47 .git [2021-04-02T02:51:08.738Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 02:46 .github [2021-04-02T02:51:08.738Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 2 02:46 .gitignore [2021-04-02T02:51:08.738Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 2 02:46 Dockerfile.build [2021-04-02T02:51:08.738Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 2 02:46 Jenkinsfile [2021-04-02T02:51:08.738Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 2 02:46 LICENSE [2021-04-02T02:51:08.738Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 2 02:46 Makefile [2021-04-02T02:51:08.738Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 2 02:46 README.md [2021-04-02T02:51:08.738Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 2 02:46 RELEASE-NOTES.txt [2021-04-02T02:51:08.738Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 2 02:44 VERSION [2021-04-02T02:51:08.738Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 02:46 bin [2021-04-02T02:51:08.738Z] -rw-r--r-- 1 jenkins jenkins 101239 Apr 2 02:50 coverage.out [2021-04-02T02:51:08.738Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 2 02:46 example [2021-04-02T02:51:08.738Z] -rw-r--r-- 1 jenkins jenkins 537 Apr 2 02:50 go.mod [2021-04-02T02:51:08.738Z] -rw-r--r-- 1 jenkins jenkins 21235 Apr 2 02:50 go.sum [2021-04-02T02:51:08.738Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 2 02:46 internal [2021-04-02T02:51:08.738Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 02:46 openapi [2021-04-02T02:51:08.738Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 2 02:46 pkg [2021-04-02T02:51:08.738Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 02:46 snap [2021-04-02T02:51:08.738Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 2 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-02T02:51:09.176Z] + 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=df9d1a870fb5e51cb3655924838db90aaf94669a --label arch=arm64 --label version=0.0.0 . [2021-04-02T02:51:09.808Z] Sending build context to Docker daemon 2.455MB [2021-04-02T02:51:09.808Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-02T02:51:09.808Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-02T02:51:09.808Z] ---> 4f1b0694be8c [2021-04-02T02:51:09.808Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-02T02:51:10.091Z] ---> Running in c22df6c9d97b [2021-04-02T02:51:10.691Z] Removing intermediate container c22df6c9d97b [2021-04-02T02:51:10.691Z] ---> e0f94fdc6bbf [2021-04-02T02:51:10.691Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-02T02:51:10.964Z] ---> Running in f3fbf1e48b83 [2021-04-02T02:51:11.238Z] Removing intermediate container f3fbf1e48b83 [2021-04-02T02:51:11.238Z] ---> 090c0a201558 [2021-04-02T02:51:11.238Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-02T02:51:11.521Z] ---> Running in 330fd9a402b0 [2021-04-02T02:51:13.495Z] Removing intermediate container 330fd9a402b0 [2021-04-02T02:51:13.495Z] ---> a80e8dd61c20 [2021-04-02T02:51:13.495Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-02T02:51:13.783Z] ---> Running in e5045b6713a3 [2021-04-02T02:51:14.771Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-02T02:51:15.748Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-02T02:51:16.343Z] OK: 144 MiB in 45 packages [2021-04-02T02:51:17.773Z] Removing intermediate container e5045b6713a3 [2021-04-02T02:51:17.773Z] ---> 117f01c2eb28 [2021-04-02T02:51:17.773Z] Step 7/23 : COPY . . [2021-04-02T02:51:19.217Z] ---> 36c4db4a31bb [2021-04-02T02:51:19.217Z] Step 8/23 : RUN go mod download [2021-04-02T02:51:19.217Z] ---> Running in 80fd7820afed [2021-04-02T02:51:21.845Z] Removing intermediate container 80fd7820afed [2021-04-02T02:51:21.845Z] ---> 0191bef8055b [2021-04-02T02:51:21.845Z] Step 9/23 : RUN make build [2021-04-02T02:51:21.845Z] ---> Running in ae8e01ab3043 [2021-04-02T02:51:22.821Z] 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-02T02:51:55.175Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-02T02:51:58.605Z] Removing intermediate container ae8e01ab3043 [2021-04-02T02:51:58.605Z] ---> 7367b2c9705f [2021-04-02T02:51:58.605Z] Step 10/23 : FROM alpine:3.12 [2021-04-02T02:51:58.605Z] 3.12: Pulling from library/alpine [2021-04-02T02:51:58.605Z] 9a219e8acc52: Pulling fs layer [2021-04-02T02:51:58.876Z] 9a219e8acc52: Verifying Checksum [2021-04-02T02:51:58.876Z] 9a219e8acc52: Download complete [2021-04-02T02:51:59.471Z] 9a219e8acc52: Pull complete [2021-04-02T02:51:59.471Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-02T02:51:59.471Z] Status: Downloaded newer image for alpine:3.12 [2021-04-02T02:51:59.471Z] ---> d75e27dfc0a0 [2021-04-02T02:51:59.471Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-02T02:51:59.744Z] ---> Running in ec832caef4cf [2021-04-02T02:52:00.338Z] Removing intermediate container ec832caef4cf [2021-04-02T02:52:00.338Z] ---> c0caa033b604 [2021-04-02T02:52:00.338Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-02T02:52:00.338Z] ---> Running in 4e403564e09e [2021-04-02T02:52:02.949Z] Removing intermediate container 4e403564e09e [2021-04-02T02:52:02.949Z] ---> f35159148490 [2021-04-02T02:52:02.949Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-02T02:52:02.949Z] ---> Running in 0956f323a189 [2021-04-02T02:52:03.543Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-02T02:52:04.515Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-02T02:52:05.107Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-02T02:52:05.377Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-02T02:52:05.377Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-02T02:52:05.647Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-02T02:52:05.919Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-02T02:52:05.919Z] Executing busybox-1.31.1-r20.trigger [2021-04-02T02:52:05.919Z] OK: 8 MiB in 19 packages [2021-04-02T02:52:07.351Z] Removing intermediate container 0956f323a189 [2021-04-02T02:52:07.351Z] ---> a5cc555f2705 [2021-04-02T02:52:07.351Z] Step 14/23 : WORKDIR / [2021-04-02T02:52:07.351Z] ---> Running in 6bf580c5febb [2021-04-02T02:52:07.950Z] Removing intermediate container 6bf580c5febb [2021-04-02T02:52:07.950Z] ---> 7191f0b88d74 [2021-04-02T02:52:07.950Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-02T02:52:08.543Z] ---> 2ab86eb6ca8b [2021-04-02T02:52:08.543Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-02T02:52:09.972Z] ---> b9694bec3755 [2021-04-02T02:52:09.972Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-02T02:52:10.567Z] ---> 7c8d1bf791c5 [2021-04-02T02:52:10.567Z] Step 18/23 : EXPOSE 49990 [2021-04-02T02:52:10.840Z] ---> Running in 4f751d6405df [2021-04-02T02:52:11.113Z] Removing intermediate container 4f751d6405df [2021-04-02T02:52:11.113Z] ---> c818b77696a7 [2021-04-02T02:52:11.113Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-02T02:52:11.387Z] ---> Running in c8c1ea7e53b7 [2021-04-02T02:52:11.661Z] Removing intermediate container c8c1ea7e53b7 [2021-04-02T02:52:11.661Z] ---> 34df62edefc4 [2021-04-02T02:52:11.661Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-02T02:52:11.934Z] ---> Running in 5670a66e9046 [2021-04-02T02:52:12.208Z] Removing intermediate container 5670a66e9046 [2021-04-02T02:52:12.208Z] ---> b5a92afe0a21 [2021-04-02T02:52:12.208Z] Step 21/23 : LABEL arch=arm64 [2021-04-02T02:52:12.480Z] ---> Running in 68a9a62870fb [2021-04-02T02:52:13.076Z] Removing intermediate container 68a9a62870fb [2021-04-02T02:52:13.076Z] ---> ee905eb3dade [2021-04-02T02:52:13.076Z] Step 22/23 : LABEL git_sha=df9d1a870fb5e51cb3655924838db90aaf94669a [2021-04-02T02:52:13.076Z] ---> Running in 6df00cd71edc [2021-04-02T02:52:13.670Z] Removing intermediate container 6df00cd71edc [2021-04-02T02:52:13.670Z] ---> d3c384d81b2f [2021-04-02T02:52:13.670Z] Step 23/23 : LABEL version=0.0.0 [2021-04-02T02:52:13.941Z] ---> Running in 61b3fbd73cde [2021-04-02T02:52:14.215Z] Removing intermediate container 61b3fbd73cde [2021-04-02T02:52:14.215Z] ---> 225011c67728 [2021-04-02T02:52:14.215Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-02T02:52:14.215Z] Successfully built 225011c67728 [2021-04-02T02:52:14.215Z] 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-02T02:52:15.081Z] ---> job-cost.sh [2021-04-02T02:52:15.081Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-P6ku [2021-04-02T02:53:02.014Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-02T02:54:38.766Z] lf-activate-venv(): INFO: Adding /tmp/venv-P6ku/bin to PATH [2021-04-02T02:54:38.766Z] INFO: No Stack... [2021-04-02T02:54:38.766Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-02T02:54:38.766Z] INFO: Archiving Costs [Pipeline] sh [2021-04-02T02:54:39.102Z] + cut -d, -f6 [2021-04-02T02:54:39.102Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-04-02T02:54:39.208Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-852-2-stack-cost] [2021-04-02T02:54:39.220Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-852-2-stack-cost] did not exist. Created. [2021-04-02T02:54:39.220Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-852-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-02T02:54:39.657Z] /w/workspace/device-sdk-go/2@tmp/durable-a880a456/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-a880a456/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-02T02:54:40.003Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-02T02:54:40.069Z] Warning: overwriting stash ‘stack-cost’ [2021-04-02T02:54:40.224Z] Stashed 1 file(s) [Pipeline] } [2021-04-02T02:54:40.242Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-852-2-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-02T02:54:41.637Z] provisioning config files... [2021-04-02T02:54:41.651Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-852@tmp/config9121825205232983526tmp [Pipeline] { [Pipeline] sh [2021-04-02T02:54:42.131Z] + set +x [2021-04-02T02:54:42.132Z] + curl -s https://codecov.io/bash [2021-04-02T02:54:42.132Z] + bash -s -- [2021-04-02T02:54:42.407Z] [2021-04-02T02:54:42.407Z] _____ _ [2021-04-02T02:54:42.407Z] / ____| | | [2021-04-02T02:54:42.407Z] | | ___ __| | ___ ___ _____ __ [2021-04-02T02:54:42.407Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-02T02:54:42.407Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-02T02:54:42.407Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-02T02:54:42.407Z] Bash-20210309-2b87ace [2021-04-02T02:54:42.407Z] [2021-04-02T02:54:42.407Z] [2021-04-02T02:54:42.407Z] ==> git version 2.24.3 found [2021-04-02T02:54:42.407Z] ==> 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-02T02:54:42.407Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-02T02:54:42.407Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-02T02:54:42.408Z] ==> Jenkins CI detected. [2021-04-02T02:54:42.408Z] project root: . [2021-04-02T02:54:42.408Z] --> token set from env [2021-04-02T02:54:42.687Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-02T02:54:42.687Z] ==> Running gcov in . (disable via -X gcov) [2021-04-02T02:54:42.687Z] ==> Python coveragepy not found [2021-04-02T02:54:42.687Z] ==> Searching for coverage reports in: [2021-04-02T02:54:42.687Z] + . [2021-04-02T02:54:42.687Z] -> Found 1 reports [2021-04-02T02:54:42.687Z] ==> Detecting git/mercurial file structure [2021-04-02T02:54:42.687Z] ==> Reading reports [2021-04-02T02:54:42.687Z] + ./coverage.out bytes=101239 [2021-04-02T02:54:42.687Z] ==> Appending adjustments [2021-04-02T02:54:42.688Z] https://docs.codecov.io/docs/fixing-reports [2021-04-02T02:54:43.340Z] + Found adjustments [2021-04-02T02:54:43.340Z] ==> Gzipping contents [2021-04-02T02:54:43.340Z] 16K /tmp/codecov.fpaviP.gz [2021-04-02T02:54:43.340Z] ==> Uploading reports [2021-04-02T02:54:43.340Z] url: https://codecov.io [2021-04-02T02:54:43.340Z] query: branch=PR-852&commit=df9d1a870fb5e51cb3655924838db90aaf94669a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-852%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=852&job=&cmd_args= [2021-04-02T02:54:43.340Z] -> Pinging Codecov [2021-04-02T02:54:43.340Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-852&commit=df9d1a870fb5e51cb3655924838db90aaf94669a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-852%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=852&job=&cmd_args= [2021-04-02T02:54:43.996Z] -> Uploading to [2021-04-02T02:54:43.997Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-02/7E55EF52A471D76F132DFD9A03CDDE97/df9d1a870fb5e51cb3655924838db90aaf94669a/cbc03249-9ce9-4e74-aa85-76fb660fcb7f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210402%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210402T025443Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7a5f039acb874b75f03a63b8391e54c293eb00c2a4fa98854110acabcb9862a1 [2021-04-02T02:54:43.997Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-02T02:54:43.997Z] Dload Upload Total Spent Left Speed [2021-04-02T02:54:44.572Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13712 0 0 100 13712 0 28829 --:--:-- --:--:-- --:--:-- 28806 [2021-04-02T02:54:44.572Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/df9d1a870fb5e51cb3655924838db90aaf94669a [Pipeline] } [2021-04-02T02:54:44.612Z] 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-02T02:54:46.879Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-02T02:54:47.567Z] ---> package-listing.sh [2021-04-02T02:54:47.567Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-02T02:54:47.567Z] ++ facter osfamily [2021-04-02T02:54:47.931Z] + OS_FAMILY=redhat [2021-04-02T02:54:47.931Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-852 [2021-04-02T02:54:47.931Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-02T02:54:47.931Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-02T02:54:47.931Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-02T02:54:47.931Z] + PACKAGES=/tmp/packages_start.txt [2021-04-02T02:54:47.931Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-852 ']' [2021-04-02T02:54:47.931Z] + PACKAGES=/tmp/packages_end.txt [2021-04-02T02:54:47.931Z] + case "${OS_FAMILY}" in [2021-04-02T02:54:47.931Z] + sort [2021-04-02T02:54:47.931Z] + rpm -qa [2021-04-02T02:54:55.179Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-02T02:54:55.179Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-02T02:54:55.179Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-02T02:54:55.179Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-852 ']' [2021-04-02T02:54:55.179Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-852/archives/ [2021-04-02T02:54:55.179Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-852/archives/ [Pipeline] echo [2021-04-02T02:54:55.198Z] 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-852/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-02T02:54:55.565Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-02T02:54:56.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-02T02:54:57.186Z] [2021-04-02T02:54:57.186Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-02T02:54:57.677Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-02T02:54:57.971Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-02T02:54:57.971Z] df20fa9351a1: Pulling fs layer [2021-04-02T02:54:57.971Z] 36b3adc4ff6f: Pulling fs layer [2021-04-02T02:54:57.971Z] 8ad3a11d3b57: Pulling fs layer [2021-04-02T02:54:57.971Z] 46f8f816bc3b: Pulling fs layer [2021-04-02T02:54:57.971Z] 93b61091891f: Pulling fs layer [2021-04-02T02:54:57.971Z] 93b9cdb0e59b: Pulling fs layer [2021-04-02T02:54:57.971Z] 5e14af77c1be: Pulling fs layer [2021-04-02T02:54:57.971Z] 01666e4c0597: Pulling fs layer [2021-04-02T02:54:57.971Z] aa168da1d23b: Pulling fs layer [2021-04-02T02:54:57.971Z] 93b9cdb0e59b: Waiting [2021-04-02T02:54:57.971Z] 5e14af77c1be: Waiting [2021-04-02T02:54:57.971Z] 01666e4c0597: Waiting [2021-04-02T02:54:57.971Z] aa168da1d23b: Waiting [2021-04-02T02:54:57.971Z] 46f8f816bc3b: Waiting [2021-04-02T02:54:57.971Z] 93b61091891f: Waiting [2021-04-02T02:54:58.321Z] 36b3adc4ff6f: Download complete [2021-04-02T02:54:58.321Z] 46f8f816bc3b: Verifying Checksum [2021-04-02T02:54:58.321Z] 46f8f816bc3b: Download complete [2021-04-02T02:54:58.606Z] df20fa9351a1: Verifying Checksum [2021-04-02T02:54:58.606Z] 93b61091891f: Verifying Checksum [2021-04-02T02:54:58.606Z] 93b61091891f: Download complete [2021-04-02T02:54:58.606Z] 93b9cdb0e59b: Verifying Checksum [2021-04-02T02:54:58.606Z] 93b9cdb0e59b: Download complete [2021-04-02T02:54:58.606Z] 5e14af77c1be: Verifying Checksum [2021-04-02T02:54:58.606Z] 5e14af77c1be: Download complete [2021-04-02T02:54:58.606Z] 01666e4c0597: Verifying Checksum [2021-04-02T02:54:58.606Z] 01666e4c0597: Download complete [2021-04-02T02:54:59.675Z] df20fa9351a1: Pull complete [2021-04-02T02:54:59.977Z] 8ad3a11d3b57: Verifying Checksum [2021-04-02T02:54:59.977Z] 8ad3a11d3b57: Download complete [2021-04-02T02:55:00.625Z] 36b3adc4ff6f: Pull complete [2021-04-02T02:55:03.583Z] 8ad3a11d3b57: Pull complete [2021-04-02T02:55:03.583Z] 46f8f816bc3b: Pull complete [2021-04-02T02:55:04.777Z] 93b61091891f: Pull complete [2021-04-02T02:55:05.051Z] 93b9cdb0e59b: Pull complete [2021-04-02T02:55:05.659Z] 5e14af77c1be: Pull complete [2021-04-02T02:55:05.931Z] 01666e4c0597: Pull complete [2021-04-02T02:55:08.001Z] aa168da1d23b: Verifying Checksum [2021-04-02T02:55:08.001Z] aa168da1d23b: Download complete [2021-04-02T02:55:23.561Z] aa168da1d23b: Pull complete [2021-04-02T02:55:23.561Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-02T02:55:23.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-02T02:55:23.561Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-02T02:55:24.108Z] prd-centos7-docker-4c-2g-32555 does not seem to be running inside a container [2021-04-02T02:55:24.284Z] $ 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-852/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-852 -v /w/workspace/dgexfoundry_device-sdk-go_PR-852:/w/workspace/dgexfoundry_device-sdk-go_PR-852:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-852@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-852@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-02T02:55:28.843Z] $ docker top 9c27641424cf76de53848758f9761e95d1846b76eea10ac92e15383e3c935179 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-02T02:55:30.077Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-02T02:55:30.784Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-02T02:55:31.174Z] + ls /var/log/sa-host [2021-04-02T02:55:31.175Z] + sadf -c /var/log/sa-host/sa02 [2021-04-02T02:55:31.175Z] file_magic: OK [2021-04-02T02:55:31.175Z] HZ: Using current value: 100 [2021-04-02T02:55:31.175Z] file_header: OK [2021-04-02T02:55:31.175Z] 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-02T02:55:31.175Z] Statistics: [2021-04-02T02:55:31.175Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-02T02:55:31.175Z] File successfully converted to sysstat format version 12.2.1 [2021-04-02T02:55:31.175Z] + sadf -c /var/log/sa-host/sa23 [2021-04-02T02:55:31.175Z] file_magic: OK [2021-04-02T02:55:31.175Z] HZ: Using current value: 100 [2021-04-02T02:55:31.175Z] file_header: OK [2021-04-02T02:55:31.175Z] 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-02T02:55:31.175Z] Statistics: [2021-04-02T02:55:31.175Z] Hnuu...uuuununununu... [2021-04-02T02:55:31.175Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-02T02:55:31.495Z] provisioning config files... [2021-04-02T02:55:31.516Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-852@tmp/config7874184185735889175tmp [Pipeline] { [Pipeline] echo [2021-04-02T02:55:31.589Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-02T02:55:32.297Z] ---> create-netrc.sh [Pipeline] } [2021-04-02T02:55:32.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-02T02:55:32.429Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-02T02:55:32.848Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-02T02:55:32.863Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-02T02:55:33.687Z] ---> sudo-logs.sh [2021-04-02T02:55:33.687Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-02T02:55:33.767Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-02T02:55:34.145Z] ---> job-cost.sh [2021-04-02T02:55:34.413Z] lf-activate-venv: SKIPPING [2021-04-02T02:55:34.413Z] DEBUG: total: 0.20999999344348907 [2021-04-02T02:55:34.413Z] INFO: Retrieving Stack Cost... [2021-04-02T02:55:35.388Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-02T02:55:36.056Z] INFO: Archiving Costs [Pipeline] echo [2021-04-02T02:55:36.217Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-02T02:55:37.150Z] ---> logs-deploy.sh [2021-04-02T02:55:37.150Z] lf-activate-venv: SKIPPING [2021-04-02T02:55:37.478Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-852/2 [2021-04-02T02:55:37.478Z] INFO: archiving workspace using pattern(s): [2021-04-02T02:55:40.973Z] Archives upload complete. [2021-04-02T02:55:40.973Z] INFO: archiving logs to Nexus