Pull request #851 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c9b8fffa5d1c621d31ca054df39182d647a4d39f+4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 (2da99786a7c7fe1b144842e24643a63e8880dfd2) 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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-32303 in /w/workspace/dgexfoundry_device-sdk-go_PR-851 [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-851 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/851/head:refs/remotes/origin/PR-851 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 into PR head commit c9b8fffa5d1c621d31ca054df39182d647a4d39f Merge succeeded, producing c9b8fffa5d1c621d31ca054df39182d647a4d39f Checking out Revision c9b8fffa5d1c621d31ca054df39182d647a4d39f (PR-851) > git config core.sparsecheckout # timeout=10 > git checkout -f c9b8fffa5d1c621d31ca054df39182d647a4d39f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9b8fffa5d1c621d31ca054df39182d647a4d39f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-31T18:08:31.681Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk b95924ab2e69dd73cf7570cdecd23a69ef53f99b # timeout=10 [Pipeline] withCredentials [2021-03-31T18:08:31.965Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-31T18:08:32.064Z] ========================================================= [2021-03-31T18:08:32.064Z] EdgeX Global Pipelines Version Info [2021-03-31T18:08:32.064Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:08:33.534Z] ------------------- [2021-03-31T18:08:33.534Z] stable info: [2021-03-31T18:08:33.534Z] ------------------- [2021-03-31T18:08:33.534Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-31T18:08:33.534Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-31T18:08:33.534Z] Message: update stable to v1.0.186 [2021-03-31T18:08:34.497Z] ------------------- [2021-03-31T18:08:34.497Z] experimental info: [2021-03-31T18:08:34.497Z] ------------------- [2021-03-31T18:08:34.497Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-31T18:08:34.497Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-31T18:08:34.497Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-31T18:08:34.747Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-31T18:08:34.843Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-31T18:08:34.931Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-31T18:08:35.024Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-31T18:08:35.110Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-31T18:08:35.197Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-31T18:08:35.286Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-31T18:08:35.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-31T18:08:35.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-31T18:08:35.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-31T18:08:35.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-31T18:08:35.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-31T18:08:35.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-31T18:08:35.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-31T18:08:36.055Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-31T18:08:36.140Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T18:08:36.223Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T18:08:36.306Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T18:08:36.403Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-31T18:08:36.484Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-31T18:08:36.568Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-31T18:08:36.671Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-31T18:08:36.751Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-31T18:08:36.834Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-31T18:08:36.964Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-31T18:08:37.071Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-31T18:08:37.170Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-851 [Pipeline] echo [2021-03-31T18:08:37.261Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-851 [Pipeline] echo [2021-03-31T18:08:37.348Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-851 [Pipeline] echo [2021-03-31T18:08:37.434Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9b8fffa5d1c621d31ca054df39182d647a4d39f [Pipeline] echo [2021-03-31T18:08:37.518Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9b8fff [Pipeline] echo [2021-03-31T18:08:37.604Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T18:08:37.769Z] provisioning config files... [2021-03-31T18:08:37.797Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-851@tmp/config7592750308112145514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:08:38.158Z] ---> docker-login.sh [2021-03-31T18:08:38.158Z] nexus3.edgexfoundry.org:10001 [2021-03-31T18:08:38.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:08:38.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:08:38.422Z] Configure a credential helper to remove this warning. See [2021-03-31T18:08:38.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:08:38.422Z] [2021-03-31T18:08:38.422Z] Login Succeeded [2021-03-31T18:08:38.422Z] nexus3.edgexfoundry.org:10002 [2021-03-31T18:08:38.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:08:38.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:08:38.685Z] Configure a credential helper to remove this warning. See [2021-03-31T18:08:38.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:08:38.685Z] [2021-03-31T18:08:38.685Z] Login Succeeded [2021-03-31T18:08:38.685Z] nexus3.edgexfoundry.org:10003 [2021-03-31T18:08:38.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:08:38.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:08:38.948Z] Configure a credential helper to remove this warning. See [2021-03-31T18:08:38.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:08:38.948Z] [2021-03-31T18:08:38.948Z] Login Succeeded [2021-03-31T18:08:38.948Z] nexus3.edgexfoundry.org:10004 [2021-03-31T18:08:38.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:08:39.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:08:39.209Z] Configure a credential helper to remove this warning. See [2021-03-31T18:08:39.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:08:39.209Z] [2021-03-31T18:08:39.209Z] Login Succeeded [2021-03-31T18:08:39.209Z] docker.io [2021-03-31T18:08:39.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:08:39.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:08:39.470Z] Configure a credential helper to remove this warning. See [2021-03-31T18:08:39.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:08:39.470Z] [2021-03-31T18:08:39.470Z] Login Succeeded [2021-03-31T18:08:39.470Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T18:08:39.480Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T18:08:40.290Z] + git log --format=format:%s -1 c9b8fffa5d1c621d31ca054df39182d647a4d39f [Pipeline] echo [2021-03-31T18:08:40.376Z] GIT_COMMIT: c9b8fffa5d1c621d31ca054df39182d647a4d39f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-03-31T18:08:40.433Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:08:41.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T18:08:41.045Z] [2021-03-31T18:08:41.045Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:08:41.397Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T18:08:41.398Z] latest: Pulling from edgex-devops/git-semver [2021-03-31T18:08:41.398Z] 31603596830f: Pulling fs layer [2021-03-31T18:08:41.398Z] 2a8b12db71e7: Pulling fs layer [2021-03-31T18:08:41.398Z] 6ca5941a6612: Pulling fs layer [2021-03-31T18:08:41.398Z] ecc8261a40a4: Pulling fs layer [2021-03-31T18:08:41.398Z] ecc8261a40a4: Waiting [2021-03-31T18:08:41.398Z] 2a8b12db71e7: Verifying Checksum [2021-03-31T18:08:41.398Z] 2a8b12db71e7: Download complete [2021-03-31T18:08:41.398Z] 31603596830f: Verifying Checksum [2021-03-31T18:08:41.398Z] 31603596830f: Download complete [2021-03-31T18:08:41.662Z] ecc8261a40a4: Verifying Checksum [2021-03-31T18:08:41.662Z] ecc8261a40a4: Download complete [2021-03-31T18:08:41.662Z] 6ca5941a6612: Verifying Checksum [2021-03-31T18:08:41.662Z] 6ca5941a6612: Download complete [2021-03-31T18:08:41.923Z] 31603596830f: Pull complete [2021-03-31T18:08:41.923Z] 2a8b12db71e7: Pull complete [2021-03-31T18:08:42.878Z] 6ca5941a6612: Pull complete [2021-03-31T18:08:43.140Z] ecc8261a40a4: Pull complete [2021-03-31T18:08:43.140Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-31T18:08:43.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T18:08:43.140Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-31T18:08:43.241Z] prd-centos7-docker-4c-2g-32303 does not seem to be running inside a container [2021-03-31T18:08:43.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-851 -v /w/workspace/dgexfoundry_device-sdk-go_PR-851:/w/workspace/dgexfoundry_device-sdk-go_PR-851:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-851@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-851@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-31T18:08:45.341Z] $ docker top adc95697ba51eea8d89dd5b99a8afffb18e9d6b7378f6d077b038dde7b5c241d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T18:08:45.624Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T18:08:45.625Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T18:08:45.826Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T18:08:45.827Z] $ docker exec adc95697ba51eea8d89dd5b99a8afffb18e9d6b7378f6d077b038dde7b5c241d ssh-agent [2021-03-31T18:08:45.991Z] SSH_AUTH_SOCK=/tmp/ssh-bMc5isdY6xUQ/agent.12 [2021-03-31T18:08:45.991Z] SSH_AGENT_PID=18 [2021-03-31T18:08:46.000Z] Running ssh-add (command line suppressed) [2021-03-31T18:08:46.125Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-851@tmp/private_key_4921714663360222333.key (/w/workspace/dgexfoundry_device-sdk-go_PR-851@tmp/private_key_4921714663360222333.key) [2021-03-31T18:08:46.175Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T18:08:46.516Z] + git tag --points-at HEAD [Pipeline] } [2021-03-31T18:08:46.535Z] $ docker exec --env ******** --env ******** adc95697ba51eea8d89dd5b99a8afffb18e9d6b7378f6d077b038dde7b5c241d ssh-agent -k [2021-03-31T18:08:46.648Z] unset SSH_AUTH_SOCK; [2021-03-31T18:08:46.649Z] unset SSH_AGENT_PID; [2021-03-31T18:08:46.649Z] echo Agent pid 18 killed; [2021-03-31T18:08:46.695Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-31T18:08:46.841Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T18:08:46.841Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T18:08:46.997Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T18:08:46.999Z] $ docker exec adc95697ba51eea8d89dd5b99a8afffb18e9d6b7378f6d077b038dde7b5c241d ssh-agent [2021-03-31T18:08:47.160Z] SSH_AUTH_SOCK=/tmp/ssh-pKrgeO8EXWdU/agent.47 [2021-03-31T18:08:47.160Z] SSH_AGENT_PID=52 [2021-03-31T18:08:47.167Z] Running ssh-add (command line suppressed) [2021-03-31T18:08:47.278Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-851@tmp/private_key_8724385347393870226.key (/w/workspace/dgexfoundry_device-sdk-go_PR-851@tmp/private_key_8724385347393870226.key) [2021-03-31T18:08:47.329Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T18:08:47.668Z] + git semver init [2021-03-31T18:08:47.668Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T18:08:47.668Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-851/.git [2021-03-31T18:08:47.668Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-851 [2021-03-31T18:08:47.668Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T18:08:47.668Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T18:08:47.668Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T18:08:47.668Z] # $SEMVER_BRANCH = PR-851 [2021-03-31T18:08:47.668Z] # $SEMVER_TEMP = /tmp/semver-504995130 [2021-03-31T18:08:47.668Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-31T18:08:48.241Z] # '/tmp/semver-504995130' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-851/.semver' [2021-03-31T18:08:48.241Z] # -> Force: false [2021-03-31T18:08:48.504Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-851/.semver [Pipeline] } [2021-03-31T18:08:48.520Z] $ docker exec --env ******** --env ******** adc95697ba51eea8d89dd5b99a8afffb18e9d6b7378f6d077b038dde7b5c241d ssh-agent -k [2021-03-31T18:08:48.632Z] unset SSH_AUTH_SOCK; [2021-03-31T18:08:48.633Z] unset SSH_AGENT_PID; [2021-03-31T18:08:48.633Z] echo Agent pid 52 killed; [2021-03-31T18:08:48.679Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T18:08:49.186Z] + git semver [Pipeline] } [2021-03-31T18:08:49.208Z] $ docker stop --time=1 adc95697ba51eea8d89dd5b99a8afffb18e9d6b7378f6d077b038dde7b5c241d [2021-03-31T18:08:50.636Z] $ docker rm -f adc95697ba51eea8d89dd5b99a8afffb18e9d6b7378f6d077b038dde7b5c241d [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T18:08:51.103Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-31T18:08:51.630Z] Stashed 1 file(s) [Pipeline] echo [2021-03-31T18:08:51.633Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-03-31T18:09:07.101Z] Still waiting to schedule task [2021-03-31T18:09:07.101Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-31T18:09:07.103Z] Still waiting to schedule task [2021-03-31T18:09:07.104Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-31T18:12:07.042Z] Running on prd-centos7-docker-4c-2g-32305 in /w/workspace/dgexfoundry_device-sdk-go_PR-851 [Pipeline] { [Pipeline] ws [2021-03-31T18:12:07.097Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-31T18:12:09.478Z] using credential edgex-jenkins-ssh [2021-03-31T18:12:09.539Z] Cloning the remote Git repository [2021-03-31T18:12:09.205Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T18:12:09.277Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-31T18:12:09.342Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T18:12:09.342Z] > git --version # timeout=10 [2021-03-31T18:12:09.350Z] > git --version # 'git version 2.24.3' [2021-03-31T18:12:09.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T18:12:09.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T18:12:10.126Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T18:12:10.132Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T18:12:10.148Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T18:12:10.879Z] Merging remotes/origin/master commit 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 into PR head commit c9b8fffa5d1c621d31ca054df39182d647a4d39f [2021-03-31T18:12:10.974Z] Merge succeeded, producing c9b8fffa5d1c621d31ca054df39182d647a4d39f [2021-03-31T18:12:10.975Z] Checking out Revision c9b8fffa5d1c621d31ca054df39182d647a4d39f (PR-851) [2021-03-31T18:12:10.161Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T18:12:10.162Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T18:12:10.167Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/851/head:refs/remotes/origin/PR-851 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T18:12:10.630Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T18:12:10.638Z] > git checkout -f c9b8fffa5d1c621d31ca054df39182d647a4d39f # timeout=10 [2021-03-31T18:12:10.688Z] > git remote # timeout=10 [2021-03-31T18:12:10.696Z] > git config --get remote.origin.url # timeout=10 [2021-03-31T18:12:10.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T18:12:10.706Z] > git merge 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 # timeout=10 [2021-03-31T18:12:10.717Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-31T18:12:10.728Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T18:12:10.735Z] > git checkout -f c9b8fffa5d1c621d31ca054df39182d647a4d39f # timeout=10 [2021-03-31T18:12:14.455Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T18:12:15.650Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-31T18:12:15.975Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T18:12:16.276Z] + sudo service docker restart [2021-03-31T18:12:16.276Z] + true [2021-03-31T18:12:16.276Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T18:12:17.744Z] provisioning config files... [2021-03-31T18:12:17.778Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4423502373480600213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:12:18.181Z] ---> docker-login.sh [2021-03-31T18:12:18.181Z] nexus3.edgexfoundry.org:10001 [2021-03-31T18:12:18.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:12:18.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:12:18.446Z] Configure a credential helper to remove this warning. See [2021-03-31T18:12:18.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:12:18.447Z] [2021-03-31T18:12:18.447Z] Login Succeeded [2021-03-31T18:12:18.447Z] nexus3.edgexfoundry.org:10002 [2021-03-31T18:12:18.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:12:18.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:12:18.730Z] Configure a credential helper to remove this warning. See [2021-03-31T18:12:18.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:12:18.730Z] [2021-03-31T18:12:18.730Z] Login Succeeded [2021-03-31T18:12:18.730Z] nexus3.edgexfoundry.org:10003 [2021-03-31T18:12:18.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:12:18.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:12:18.730Z] Configure a credential helper to remove this warning. See [2021-03-31T18:12:18.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:12:18.730Z] [2021-03-31T18:12:18.730Z] Login Succeeded [2021-03-31T18:12:18.730Z] nexus3.edgexfoundry.org:10004 [2021-03-31T18:12:18.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:12:18.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:12:18.997Z] Configure a credential helper to remove this warning. See [2021-03-31T18:12:18.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:12:18.997Z] [2021-03-31T18:12:18.997Z] Login Succeeded [2021-03-31T18:12:18.997Z] docker.io [2021-03-31T18:12:18.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:12:19.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:12:19.259Z] Configure a credential helper to remove this warning. See [2021-03-31T18:12:19.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:12:19.259Z] [2021-03-31T18:12:19.259Z] Login Succeeded [2021-03-31T18:12:19.259Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T18:12:19.269Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-31T18:12:19.709Z] ========================================================= [2021-03-31T18:12:19.709Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-31T18:12:19.709Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:12:20.143Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-31T18:12:20.420Z] Sending build context to Docker daemon 2.338MB [2021-03-31T18:12:20.420Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T18:12:20.420Z] Step 2/8 : FROM ${BASE} [2021-03-31T18:12:20.420Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-31T18:12:20.420Z] 188c0c94c7c5: Pulling fs layer [2021-03-31T18:12:20.420Z] 0ef7d3d256c8: Pulling fs layer [2021-03-31T18:12:20.420Z] de9db76c5a1d: Pulling fs layer [2021-03-31T18:12:20.420Z] bca2f99d35d6: Pulling fs layer [2021-03-31T18:12:20.420Z] 93359f2a8cfa: Pulling fs layer [2021-03-31T18:12:20.420Z] 7c6f9722023f: Pulling fs layer [2021-03-31T18:12:20.420Z] a35cf1a2eb13: Pulling fs layer [2021-03-31T18:12:20.420Z] a35cf1a2eb13: Waiting [2021-03-31T18:12:20.420Z] 7c6f9722023f: Waiting [2021-03-31T18:12:20.420Z] 93359f2a8cfa: Waiting [2021-03-31T18:12:20.420Z] bca2f99d35d6: Waiting [2021-03-31T18:12:20.420Z] de9db76c5a1d: Verifying Checksum [2021-03-31T18:12:20.420Z] de9db76c5a1d: Download complete [2021-03-31T18:12:20.420Z] 0ef7d3d256c8: Verifying Checksum [2021-03-31T18:12:20.420Z] 0ef7d3d256c8: Download complete [2021-03-31T18:12:20.420Z] 93359f2a8cfa: Verifying Checksum [2021-03-31T18:12:20.420Z] 93359f2a8cfa: Download complete [2021-03-31T18:12:20.420Z] 7c6f9722023f: Verifying Checksum [2021-03-31T18:12:20.420Z] 7c6f9722023f: Download complete [2021-03-31T18:12:20.420Z] 188c0c94c7c5: Verifying Checksum [2021-03-31T18:12:20.420Z] 188c0c94c7c5: Download complete [2021-03-31T18:12:20.686Z] 188c0c94c7c5: Pull complete [2021-03-31T18:12:20.949Z] 0ef7d3d256c8: Pull complete [2021-03-31T18:12:21.113Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32304 in /w/workspace/dgexfoundry_device-sdk-go_PR-851 [Pipeline] { [Pipeline] ws [2021-03-31T18:12:21.170Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [2021-03-31T18:12:21.211Z] de9db76c5a1d: Pull complete [Pipeline] checkout [2021-03-31T18:12:22.617Z] a35cf1a2eb13: Verifying Checksum [2021-03-31T18:12:22.617Z] a35cf1a2eb13: Download complete [2021-03-31T18:12:22.880Z] bca2f99d35d6: Verifying Checksum [2021-03-31T18:12:22.880Z] bca2f99d35d6: Download complete [2021-03-31T18:12:26.427Z] using credential edgex-jenkins-ssh [2021-03-31T18:12:26.519Z] Cloning the remote Git repository [2021-03-31T18:12:26.615Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T18:12:26.741Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-31T18:12:26.824Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T18:12:26.825Z] > git --version # timeout=10 [2021-03-31T18:12:26.842Z] > git --version # 'git version 2.17.1' [2021-03-31T18:12:26.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T18:12:26.935Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T18:12:28.233Z] bca2f99d35d6: Pull complete [2021-03-31T18:12:28.233Z] 93359f2a8cfa: Pull complete [2021-03-31T18:12:28.233Z] 7c6f9722023f: Pull complete [2021-03-31T18:12:28.327Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T18:12:28.349Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T18:12:28.378Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T18:12:28.425Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T18:12:28.426Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T18:12:28.442Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/851/head:refs/remotes/origin/PR-851 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T18:12:28.989Z] Merging remotes/origin/master commit 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 into PR head commit c9b8fffa5d1c621d31ca054df39182d647a4d39f [2021-03-31T18:12:29.255Z] Merge succeeded, producing c9b8fffa5d1c621d31ca054df39182d647a4d39f [2021-03-31T18:12:29.255Z] Checking out Revision c9b8fffa5d1c621d31ca054df39182d647a4d39f (PR-851) [2021-03-31T18:12:29.015Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T18:12:29.032Z] > git checkout -f c9b8fffa5d1c621d31ca054df39182d647a4d39f # timeout=10 [2021-03-31T18:12:29.147Z] > git remote # timeout=10 [2021-03-31T18:12:29.167Z] > git config --get remote.origin.url # timeout=10 [2021-03-31T18:12:29.194Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T18:12:29.206Z] > git merge 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 # timeout=10 [2021-03-31T18:12:29.234Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-31T18:12:29.263Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T18:12:29.279Z] > git checkout -f c9b8fffa5d1c621d31ca054df39182d647a4d39f # timeout=10 [2021-03-31T18:12:33.822Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T18:12:34.859Z] a35cf1a2eb13: Pull complete [2021-03-31T18:12:34.859Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-31T18:12:34.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-31T18:12:34.859Z] ---> a62c8e92a672 [2021-03-31T18:12:34.859Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T18:12:34.859Z] ---> Running in 97b74229df3c [2021-03-31T18:12:34.859Z] Removing intermediate container 97b74229df3c [2021-03-31T18:12:34.859Z] ---> 51c025f00e92 [2021-03-31T18:12:34.859Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T18:12:34.859Z] ---> Running in 82aec063200d [2021-03-31T18:12:35.299Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-31T18:12:35.436Z] Removing intermediate container 82aec063200d [2021-03-31T18:12:35.436Z] ---> 3657ad0cb3f2 [2021-03-31T18:12:35.436Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-03-31T18:12:35.436Z] ---> Running in dc2e990d83bf [2021-03-31T18:12:35.741Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T18:12:36.100Z] + true [2021-03-31T18:12:36.100Z] + sudo service docker restart [2021-03-31T18:12:36.388Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T18:12:36.964Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T18:12:37.538Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-03-31T18:12:37.538Z] (2/6) Installing libsodium (1.0.18-r0) [2021-03-31T18:12:37.538Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-03-31T18:12:37.805Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-03-31T18:12:37.805Z] (5/6) Installing libzmq (4.3.3-r0) [2021-03-31T18:12:37.805Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-03-31T18:12:38.068Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T18:12:38.068Z] OK: 167 MiB in 45 packages [2021-03-31T18:12:38.647Z] Removing intermediate container dc2e990d83bf [2021-03-31T18:12:38.647Z] ---> a2c67fd2c5b9 [2021-03-31T18:12:38.647Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-31T18:12:38.647Z] ---> Running in 3edef1f4f7cd [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T18:12:38.812Z] provisioning config files... [2021-03-31T18:12:38.859Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4974800851463766916tmp [Pipeline] { [2021-03-31T18:12:38.915Z] Removing intermediate container 3edef1f4f7cd [2021-03-31T18:12:38.915Z] ---> 1f7c47cb0c25 [2021-03-31T18:12:38.915Z] Step 7/8 : COPY . . [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:12:39.277Z] ---> docker-login.sh [2021-03-31T18:12:39.277Z] nexus3.edgexfoundry.org:10001 [2021-03-31T18:12:39.863Z] ---> ae1147d3af19 [2021-03-31T18:12:39.864Z] Step 8/8 : RUN go mod download [2021-03-31T18:12:40.127Z] ---> Running in 71afda46cfd5 [2021-03-31T18:12:40.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:12:40.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:12:40.547Z] Configure a credential helper to remove this warning. See [2021-03-31T18:12:40.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:12:40.547Z] [2021-03-31T18:12:40.547Z] Login Succeeded [2021-03-31T18:12:40.547Z] nexus3.edgexfoundry.org:10002 [2021-03-31T18:12:41.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:12:41.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:12:41.221Z] Configure a credential helper to remove this warning. See [2021-03-31T18:12:41.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:12:41.221Z] [2021-03-31T18:12:41.221Z] Login Succeeded [2021-03-31T18:12:41.221Z] nexus3.edgexfoundry.org:10003 [2021-03-31T18:12:41.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:12:41.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:12:41.823Z] Configure a credential helper to remove this warning. See [2021-03-31T18:12:41.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:12:41.823Z] [2021-03-31T18:12:41.823Z] Login Succeeded [2021-03-31T18:12:41.823Z] nexus3.edgexfoundry.org:10004 [2021-03-31T18:12:42.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:12:42.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:12:42.425Z] Configure a credential helper to remove this warning. See [2021-03-31T18:12:42.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:12:42.425Z] [2021-03-31T18:12:42.425Z] Login Succeeded [2021-03-31T18:12:42.425Z] docker.io [2021-03-31T18:12:43.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:12:43.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:12:43.294Z] Configure a credential helper to remove this warning. See [2021-03-31T18:12:43.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:12:43.294Z] [2021-03-31T18:12:43.294Z] Login Succeeded [2021-03-31T18:12:43.294Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T18:12:43.313Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-31T18:12:43.855Z] ========================================================= [2021-03-31T18:12:43.855Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-31T18:12:43.855Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:12:44.236Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-31T18:12:44.843Z] Sending build context to Docker daemon 2.337MB [2021-03-31T18:12:44.843Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T18:12:44.843Z] Step 2/8 : FROM ${BASE} [2021-03-31T18:12:44.843Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-31T18:12:44.843Z] 5f621e34cdf4: Pulling fs layer [2021-03-31T18:12:44.843Z] a4357932f1b6: Pulling fs layer [2021-03-31T18:12:44.843Z] 18c013af1878: Pulling fs layer [2021-03-31T18:12:44.843Z] 00ac8860ef70: Pulling fs layer [2021-03-31T18:12:44.843Z] 63d7cb157983: Pulling fs layer [2021-03-31T18:12:44.843Z] b116817d02f9: Pulling fs layer [2021-03-31T18:12:44.843Z] 745a02a5169b: Pulling fs layer [2021-03-31T18:12:44.843Z] 63d7cb157983: Waiting [2021-03-31T18:12:44.843Z] b116817d02f9: Waiting [2021-03-31T18:12:44.843Z] 745a02a5169b: Waiting [2021-03-31T18:12:44.843Z] 00ac8860ef70: Waiting [2021-03-31T18:12:44.843Z] 18c013af1878: Verifying Checksum [2021-03-31T18:12:44.843Z] 18c013af1878: Download complete [2021-03-31T18:12:44.843Z] a4357932f1b6: Verifying Checksum [2021-03-31T18:12:44.843Z] a4357932f1b6: Download complete [2021-03-31T18:12:44.843Z] 63d7cb157983: Verifying Checksum [2021-03-31T18:12:44.843Z] 63d7cb157983: Download complete [2021-03-31T18:12:44.843Z] b116817d02f9: Verifying Checksum [2021-03-31T18:12:44.843Z] 5f621e34cdf4: Verifying Checksum [2021-03-31T18:12:44.843Z] 5f621e34cdf4: Download complete [2021-03-31T18:12:45.832Z] 5f621e34cdf4: Pull complete [2021-03-31T18:12:46.441Z] a4357932f1b6: Pull complete [2021-03-31T18:12:46.726Z] 18c013af1878: Pull complete [2021-03-31T18:12:47.720Z] 745a02a5169b: Verifying Checksum [2021-03-31T18:12:47.720Z] 745a02a5169b: Download complete [2021-03-31T18:12:48.706Z] 00ac8860ef70: Verifying Checksum [2021-03-31T18:12:48.706Z] 00ac8860ef70: Download complete [2021-03-31T18:12:58.892Z] 00ac8860ef70: Pull complete [2021-03-31T18:12:59.491Z] 63d7cb157983: Pull complete [2021-03-31T18:12:59.766Z] b116817d02f9: Pull complete [2021-03-31T18:13:02.147Z] Removing intermediate container 71afda46cfd5 [2021-03-31T18:13:02.147Z] ---> eb5d575e2abf [2021-03-31T18:13:02.147Z] Successfully built eb5d575e2abf [2021-03-31T18:13:02.147Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:13:02.470Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T18:13:02.470Z] . [Pipeline] withDockerContainer [2021-03-31T18:13:02.703Z] prd-centos7-docker-4c-2g-32305 does not seem to be running inside a container [2021-03-31T18:13:02.846Z] $ 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 ******** ci-base-image-x86_64 cat [2021-03-31T18:13:04.086Z] 745a02a5169b: Pull complete [2021-03-31T18:13:04.086Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-31T18:13:04.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-31T18:13:04.086Z] ---> b7e6874047d6 [2021-03-31T18:13:04.086Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T18:13:04.127Z] $ docker top 74ea64cf13935ccf0d52882873710c308178abaa05f8fd80be87f6cbef648f83 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T18:13:04.636Z] + go version [2021-03-31T18:13:04.636Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-31T18:13:04.649Z] $ docker stop --time=1 74ea64cf13935ccf0d52882873710c308178abaa05f8fd80be87f6cbef648f83 [2021-03-31T18:13:05.975Z] $ docker rm -f 74ea64cf13935ccf0d52882873710c308178abaa05f8fd80be87f6cbef648f83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:13:06.720Z] ---> Running in 4c844d5843fe [2021-03-31T18:13:06.828Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T18:13:06.829Z] . [Pipeline] withDockerContainer [2021-03-31T18:13:06.936Z] prd-centos7-docker-4c-2g-32305 does not seem to be running inside a container [2021-03-31T18:13:06.986Z] $ 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 ******** ci-base-image-x86_64 cat [2021-03-31T18:13:06.991Z] Removing intermediate container 4c844d5843fe [2021-03-31T18:13:06.991Z] ---> d8fb39b4b87e [2021-03-31T18:13:06.991Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T18:13:07.267Z] ---> Running in 8dda26488468 [2021-03-31T18:13:07.583Z] $ docker top bb6db12406eba3336da16c696cf01f016612534a0c550a19fa8dbe2570db787e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T18:13:08.079Z] + make test [2021-03-31T18:13:08.079Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-31T18:13:09.902Z] Removing intermediate container 8dda26488468 [2021-03-31T18:13:09.902Z] ---> 6c1394f28ddf [2021-03-31T18:13:09.902Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-03-31T18:13:09.902Z] ---> Running in 7abf08271205 [2021-03-31T18:13:10.883Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T18:13:11.493Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T18:13:12.091Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-03-31T18:13:12.364Z] (2/6) Installing libsodium (1.0.18-r0) [2021-03-31T18:13:12.364Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-03-31T18:13:12.364Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-03-31T18:13:12.637Z] (5/6) Installing libzmq (4.3.3-r0) [2021-03-31T18:13:12.908Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-03-31T18:13:12.908Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T18:13:12.908Z] OK: 144 MiB in 45 packages [2021-03-31T18:13:14.358Z] Removing intermediate container 7abf08271205 [2021-03-31T18:13:14.358Z] ---> faeb6f8b35f0 [2021-03-31T18:13:14.358Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-31T18:13:14.358Z] ---> Running in 508b73ba2774 [2021-03-31T18:13:14.716Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-31T18:13:14.972Z] Removing intermediate container 508b73ba2774 [2021-03-31T18:13:14.972Z] ---> 0c88d6a95b95 [2021-03-31T18:13:14.972Z] Step 7/8 : COPY . . [2021-03-31T18:13:16.418Z] ---> 61c89c6cace0 [2021-03-31T18:13:16.418Z] Step 8/8 : RUN go mod download [2021-03-31T18:13:16.418Z] ---> Running in 7d3e9040eefa [2021-03-31T18:13:32.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-31T18:13:32.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-31T18:13:32.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-31T18:13:32.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-31T18:13:32.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-31T18:13:37.232Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.0% of statements [2021-03-31T18:13:37.232Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.082s coverage: 81.2% of statements [2021-03-31T18:13:38.195Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.061s coverage: 7.8% of statements [2021-03-31T18:13:38.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-31T18:13:38.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-03-31T18:13:38.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-31T18:13:38.195Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.082s coverage: 32.5% of statements [2021-03-31T18:13:38.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-31T18:13:38.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-31T18:13:38.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-31T18:13:38.779Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.115s coverage: 57.3% of statements [2021-03-31T18:13:39.361Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.217s coverage: 6.6% of statements [2021-03-31T18:13:39.361Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-03-31T18:13:39.361Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-31T18:13:39.637Z] GO111MODULE=on go vet ./... [2021-03-31T18:13:43.235Z] Removing intermediate container 7d3e9040eefa [2021-03-31T18:13:43.236Z] ---> c75fb3fb2097 [2021-03-31T18:13:43.236Z] Successfully built c75fb3fb2097 [2021-03-31T18:13:43.236Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:13:43.587Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T18:13:43.587Z] . [Pipeline] withDockerContainer [2021-03-31T18:13:43.823Z] prd-ubuntu18.04-docker-arm64-4c-16g-32304 does not seem to be running inside a container [2021-03-31T18:13:43.914Z] $ 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-03-31T18:13:45.415Z] $ docker top 4da9d64c53c955e4f97787d30f6cf1ebcd0ea38698ebb85f2ce55388fd25dfff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T18:13:46.434Z] + go version [2021-03-31T18:13:46.434Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-31T18:13:46.458Z] $ docker stop --time=1 4da9d64c53c955e4f97787d30f6cf1ebcd0ea38698ebb85f2ce55388fd25dfff [2021-03-31T18:13:48.455Z] $ docker rm -f 4da9d64c53c955e4f97787d30f6cf1ebcd0ea38698ebb85f2ce55388fd25dfff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:13:49.511Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T18:13:49.511Z] . [Pipeline] withDockerContainer [2021-03-31T18:13:49.784Z] prd-ubuntu18.04-docker-arm64-4c-16g-32304 does not seem to be running inside a container [2021-03-31T18:13:49.867Z] $ 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-03-31T18:13:51.415Z] $ docker top 16d9ae781e30da63fb047e8624750a511d34df2ea39bae5ae7480cc7c1521f36 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T18:13:52.455Z] + make test [2021-03-31T18:13:52.455Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-31T18:13:54.694Z] gofmt -l . [2021-03-31T18:13:54.695Z] [ "`gofmt -l .`" = "" ] [2021-03-31T18:13:54.695Z] ./bin/test-attribution-txt.sh [2021-03-31T18:13:54.960Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-31T18:13:55.241Z] $ docker stop --time=1 bb6db12406eba3336da16c696cf01f016612534a0c550a19fa8dbe2570db787e [2021-03-31T18:13:56.858Z] $ docker rm -f bb6db12406eba3336da16c696cf01f016612534a0c550a19fa8dbe2570db787e [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T18:13:57.529Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-31T18:13:57.921Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-31T18:14:00.603Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-31T18:14:00.904Z] + ls -al . [2021-03-31T18:14:00.904Z] total 188 [2021-03-31T18:14:00.904Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 31 18:13 . [2021-03-31T18:14:00.904Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 31 18:12 .. [2021-03-31T18:14:00.904Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 31 18:12 bin [2021-03-31T18:14:00.904Z] -rw-r--r--. 1 jenkins jenkins 101416 Mar 31 18:13 coverage.out [2021-03-31T18:14:00.904Z] -rw-rw-r--. 1 jenkins jenkins 987 Mar 31 18:12 Dockerfile.build [2021-03-31T18:14:00.904Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 31 18:12 .dockerignore [2021-03-31T18:14:00.904Z] drwxrwxr-x. 5 jenkins jenkins 62 Mar 31 18:12 example [2021-03-31T18:14:00.904Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 31 18:12 .git [2021-03-31T18:14:00.904Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 31 18:12 .github [2021-03-31T18:14:00.904Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 31 18:12 .gitignore [2021-03-31T18:14:00.904Z] -rw-r--r--. 1 jenkins jenkins 537 Mar 31 18:13 go.mod [2021-03-31T18:14:00.904Z] -rw-r--r--. 1 jenkins jenkins 21117 Mar 31 18:13 go.sum [2021-03-31T18:14:00.904Z] drwxrwxr-x. 14 jenkins jenkins 207 Mar 31 18:12 internal [2021-03-31T18:14:00.904Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 31 18:12 Jenkinsfile [2021-03-31T18:14:00.904Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 31 18:12 LICENSE [2021-03-31T18:14:00.904Z] -rw-rw-r--. 1 jenkins jenkins 1022 Mar 31 18:12 Makefile [2021-03-31T18:14:00.904Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 31 18:12 openapi [2021-03-31T18:14:00.904Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 31 18:12 pkg [2021-03-31T18:14:00.904Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 31 18:12 README.md [2021-03-31T18:14:00.904Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 31 18:12 RELEASE-NOTES.txt [2021-03-31T18:14:00.904Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 31 18:12 snap [2021-03-31T18:14:00.904Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 31 18:08 VERSION [2021-03-31T18:14:00.904Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 31 18:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:14:01.221Z] + 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=c9b8fffa5d1c621d31ca054df39182d647a4d39f --label arch=amd64 --label version=0.0.0 . [2021-03-31T18:14:01.485Z] Sending build context to Docker daemon 2.441MB [2021-03-31T18:14:01.485Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T18:14:01.485Z] Step 2/23 : FROM ${BASE} AS builder [2021-03-31T18:14:01.485Z] ---> eb5d575e2abf [2021-03-31T18:14:01.485Z] Step 3/23 : WORKDIR /device-sdk-go [2021-03-31T18:14:01.759Z] ---> Running in a020e24b3988 [2021-03-31T18:14:02.022Z] Removing intermediate container a020e24b3988 [2021-03-31T18:14:02.022Z] ---> 1495b047270e [2021-03-31T18:14:02.022Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T18:14:02.305Z] ---> Running in d72ce7abd819 [2021-03-31T18:14:02.305Z] Removing intermediate container d72ce7abd819 [2021-03-31T18:14:02.305Z] ---> 0cac671941c9 [2021-03-31T18:14:02.305Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T18:14:02.305Z] ---> Running in deba9e81439d [2021-03-31T18:14:03.267Z] Removing intermediate container deba9e81439d [2021-03-31T18:14:03.267Z] ---> f26efadb873b [2021-03-31T18:14:03.267Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-03-31T18:14:03.531Z] ---> Running in d5a05f6fd1f6 [2021-03-31T18:14:04.479Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T18:14:05.053Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T18:14:05.627Z] OK: 167 MiB in 45 packages [2021-03-31T18:14:05.891Z] Removing intermediate container d5a05f6fd1f6 [2021-03-31T18:14:05.891Z] ---> 04c57ce3be6f [2021-03-31T18:14:05.891Z] Step 7/23 : COPY . . [2021-03-31T18:14:06.841Z] ---> c618942bc129 [2021-03-31T18:14:06.841Z] Step 8/23 : RUN go mod download [2021-03-31T18:14:06.841Z] ---> Running in 15d264f711bc [2021-03-31T18:14:07.789Z] Removing intermediate container 15d264f711bc [2021-03-31T18:14:07.790Z] ---> 2a64a7acbb0f [2021-03-31T18:14:07.790Z] Step 9/23 : RUN make build [2021-03-31T18:14:08.063Z] ---> Running in d670c940911b [2021-03-31T18:14:08.332Z] 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-03-31T18:14:14.672Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-31T18:14:18.462Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-03-31T18:14:21.036Z] Removing intermediate container d670c940911b [2021-03-31T18:14:21.037Z] ---> f336c7ac288b [2021-03-31T18:14:21.037Z] Step 10/23 : FROM alpine:3.12 [2021-03-31T18:14:21.037Z] 3.12: Pulling from library/alpine [2021-03-31T18:14:21.299Z] 22599d3e9e25: Pulling fs layer [2021-03-31T18:14:21.299Z] 22599d3e9e25: Verifying Checksum [2021-03-31T18:14:21.299Z] 22599d3e9e25: Download complete [2021-03-31T18:14:21.561Z] 22599d3e9e25: Pull complete [2021-03-31T18:14:21.561Z] Digest: sha256:02cd4b50aef54502204d5956109e24876a5f9e8f3d3b22600dc14ea4de0d1d5d [2021-03-31T18:14:21.561Z] Status: Downloaded newer image for alpine:3.12 [2021-03-31T18:14:21.561Z] ---> 42cb162f0360 [2021-03-31T18:14:21.561Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T18:14:21.823Z] ---> Running in c54821c103c4 [2021-03-31T18:14:21.823Z] Removing intermediate container c54821c103c4 [2021-03-31T18:14:21.823Z] ---> fd6ed939bb00 [2021-03-31T18:14:21.823Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T18:14:22.087Z] ---> Running in 07c764f04bc0 [2021-03-31T18:14:22.663Z] Removing intermediate container 07c764f04bc0 [2021-03-31T18:14:22.663Z] ---> d645931300a9 [2021-03-31T18:14:22.663Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-03-31T18:14:22.933Z] ---> Running in 7cdf5975e08f [2021-03-31T18:14:23.197Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T18:14:23.772Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T18:14:24.347Z] (1/5) Installing libgcc (9.3.0-r2) [2021-03-31T18:14:24.609Z] (2/5) Installing libsodium (1.0.18-r0) [2021-03-31T18:14:24.609Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-03-31T18:14:25.184Z] (4/5) Installing libzmq (4.3.3-r0) [2021-03-31T18:14:25.184Z] (5/5) Installing zeromq (4.3.3-r0) [2021-03-31T18:14:25.446Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T18:14:25.446Z] OK: 8 MiB in 19 packages [2021-03-31T18:14:26.021Z] Removing intermediate container 7cdf5975e08f [2021-03-31T18:14:26.021Z] ---> 3471370ea40a [2021-03-31T18:14:26.021Z] Step 14/23 : WORKDIR / [2021-03-31T18:14:26.021Z] ---> Running in e590c5c6ef2a [2021-03-31T18:14:26.021Z] Removing intermediate container e590c5c6ef2a [2021-03-31T18:14:26.021Z] ---> f5793eed11d0 [2021-03-31T18:14:26.021Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-03-31T18:14:26.283Z] ---> b7030229efd5 [2021-03-31T18:14:26.283Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-03-31T18:14:26.860Z] ---> b167a5a5b6e8 [2021-03-31T18:14:26.860Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-03-31T18:14:27.123Z] ---> 28499b730fb4 [2021-03-31T18:14:27.123Z] Step 18/23 : EXPOSE 49990 [2021-03-31T18:14:27.123Z] ---> Running in f55cc5ae8975 [2021-03-31T18:14:27.385Z] Removing intermediate container f55cc5ae8975 [2021-03-31T18:14:27.385Z] ---> 0288758d14cc [2021-03-31T18:14:27.385Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-03-31T18:14:27.385Z] ---> Running in 4fecc72fe4fe [2021-03-31T18:14:27.647Z] Removing intermediate container 4fecc72fe4fe [2021-03-31T18:14:27.647Z] ---> 4158cd80c48c [2021-03-31T18:14:27.647Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-31T18:14:27.647Z] ---> Running in 313f9fee0091 [2021-03-31T18:14:27.647Z] Removing intermediate container 313f9fee0091 [2021-03-31T18:14:27.647Z] ---> 77bddfadd422 [2021-03-31T18:14:27.647Z] Step 21/23 : LABEL arch=amd64 [2021-03-31T18:14:27.910Z] ---> Running in f418201a9f98 [2021-03-31T18:14:27.910Z] Removing intermediate container f418201a9f98 [2021-03-31T18:14:27.910Z] ---> ab102d638419 [2021-03-31T18:14:27.910Z] Step 22/23 : LABEL git_sha=c9b8fffa5d1c621d31ca054df39182d647a4d39f [2021-03-31T18:14:27.910Z] ---> Running in 0fbb7b249200 [2021-03-31T18:14:28.172Z] Removing intermediate container 0fbb7b249200 [2021-03-31T18:14:28.172Z] ---> a1f23fe5c775 [2021-03-31T18:14:28.172Z] Step 23/23 : LABEL version=0.0.0 [2021-03-31T18:14:28.172Z] ---> Running in cb7c84014581 [2021-03-31T18:14:28.434Z] Removing intermediate container cb7c84014581 [2021-03-31T18:14:28.434Z] ---> 8221a899a335 [2021-03-31T18:14:28.434Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-03-31T18:14:28.434Z] Successfully built 8221a899a335 [2021-03-31T18:14:28.434Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:14:29.361Z] ---> job-cost.sh [2021-03-31T18:14:29.361Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-m2sq [2021-03-31T18:14:44.303Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T18:15:10.925Z] lf-activate-venv(): INFO: Adding /tmp/venv-m2sq/bin to PATH [2021-03-31T18:15:10.925Z] INFO: No Stack... [2021-03-31T18:15:10.925Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T18:15:11.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-31T18:15:11.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-31T18:15:11.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-31T18:15:11.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-31T18:15:11.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-31T18:15:11.872Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T18:15:12.187Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-31T18:15:12.187Z] + cut -d, -f6 [Pipeline] lock [2021-03-31T18:15:12.263Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-851-2-stack-cost] [2021-03-31T18:15:12.272Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-851-2-stack-cost] did not exist. Created. [2021-03-31T18:15:12.272Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-851-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T18:15:12.689Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-31T18:15:12.792Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T18:15:12.807Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-851-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-31T18:15:14.719Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.146s coverage: 27.0% of statements [2021-03-31T18:15:16.711Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.193s coverage: 81.2% of statements [2021-03-31T18:15:16.711Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.181s coverage: 7.8% of statements [2021-03-31T18:15:16.711Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-31T18:15:16.711Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-03-31T18:15:16.711Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-31T18:15:17.313Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.304s coverage: 32.5% of statements [2021-03-31T18:15:17.313Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-31T18:15:17.313Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-31T18:15:17.313Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-31T18:15:21.656Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.317s coverage: 57.3% of statements [2021-03-31T18:15:21.656Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.113s coverage: 6.6% of statements [2021-03-31T18:15:21.656Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.0% of statements [2021-03-31T18:15:21.656Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-31T18:15:22.254Z] GO111MODULE=on go vet ./... [2021-03-31T18:16:09.272Z] gofmt -l . [2021-03-31T18:16:09.272Z] [ "`gofmt -l .`" = "" ] [2021-03-31T18:16:09.272Z] ./bin/test-attribution-txt.sh [2021-03-31T18:16:09.272Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-31T18:16:09.295Z] $ docker stop --time=1 16d9ae781e30da63fb047e8624750a511d34df2ea39bae5ae7480cc7c1521f36 [2021-03-31T18:16:11.521Z] $ docker rm -f 16d9ae781e30da63fb047e8624750a511d34df2ea39bae5ae7480cc7c1521f36 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T18:16:12.655Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-31T18:16:12.724Z] Warning: overwriting stash ‘coverage-report’ [2021-03-31T18:16:13.630Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T18:16:14.326Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-31T18:16:14.684Z] + ls -al . [2021-03-31T18:16:14.684Z] total 224 [2021-03-31T18:16:14.684Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 18:16 . [2021-03-31T18:16:14.684Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 18:12 .. [2021-03-31T18:16:14.684Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 18:12 .dockerignore [2021-03-31T18:16:14.684Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 18:12 .git [2021-03-31T18:16:14.684Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 18:12 .github [2021-03-31T18:16:14.685Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 31 18:12 .gitignore [2021-03-31T18:16:14.685Z] -rw-rw-r-- 1 jenkins jenkins 987 Mar 31 18:12 Dockerfile.build [2021-03-31T18:16:14.685Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 31 18:12 Jenkinsfile [2021-03-31T18:16:14.685Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 18:12 LICENSE [2021-03-31T18:16:14.685Z] -rw-rw-r-- 1 jenkins jenkins 1022 Mar 31 18:12 Makefile [2021-03-31T18:16:14.685Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 31 18:12 README.md [2021-03-31T18:16:14.685Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 31 18:12 RELEASE-NOTES.txt [2021-03-31T18:16:14.685Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 18:08 VERSION [2021-03-31T18:16:14.685Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 18:12 bin [2021-03-31T18:16:14.685Z] -rw-r--r-- 1 jenkins jenkins 101416 Mar 31 18:15 coverage.out [2021-03-31T18:16:14.685Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 18:12 example [2021-03-31T18:16:14.685Z] -rw-r--r-- 1 jenkins jenkins 537 Mar 31 18:16 go.mod [2021-03-31T18:16:14.685Z] -rw-r--r-- 1 jenkins jenkins 21117 Mar 31 18:16 go.sum [2021-03-31T18:16:14.685Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 31 18:12 internal [2021-03-31T18:16:14.685Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 18:12 openapi [2021-03-31T18:16:14.685Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 18:12 pkg [2021-03-31T18:16:14.685Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 18:12 snap [2021-03-31T18:16:14.685Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 18:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:16:15.069Z] + 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=c9b8fffa5d1c621d31ca054df39182d647a4d39f --label arch=arm64 --label version=0.0.0 . [2021-03-31T18:16:15.703Z] Sending build context to Docker daemon 2.44MB [2021-03-31T18:16:15.703Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T18:16:15.703Z] Step 2/23 : FROM ${BASE} AS builder [2021-03-31T18:16:15.703Z] ---> c75fb3fb2097 [2021-03-31T18:16:15.703Z] Step 3/23 : WORKDIR /device-sdk-go [2021-03-31T18:16:15.979Z] ---> Running in 054d49caa4cd [2021-03-31T18:16:16.570Z] Removing intermediate container 054d49caa4cd [2021-03-31T18:16:16.570Z] ---> 68a838e16e15 [2021-03-31T18:16:16.570Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T18:16:16.570Z] ---> Running in 92ee8a3eb131 [2021-03-31T18:16:16.849Z] Removing intermediate container 92ee8a3eb131 [2021-03-31T18:16:16.849Z] ---> 97429e262547 [2021-03-31T18:16:16.849Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T18:16:17.121Z] ---> Running in f00e8bd0fa06 [2021-03-31T18:16:19.096Z] Removing intermediate container f00e8bd0fa06 [2021-03-31T18:16:19.096Z] ---> f53761b36f1e [2021-03-31T18:16:19.096Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-03-31T18:16:19.378Z] ---> Running in f0fbe72b102e [2021-03-31T18:16:20.363Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T18:16:20.960Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T18:16:21.555Z] OK: 144 MiB in 45 packages [2021-03-31T18:16:22.986Z] Removing intermediate container f0fbe72b102e [2021-03-31T18:16:22.986Z] ---> 19fd2ad99c7d [2021-03-31T18:16:22.986Z] Step 7/23 : COPY . . [2021-03-31T18:16:24.424Z] ---> 5e3617e587e2 [2021-03-31T18:16:24.424Z] Step 8/23 : RUN go mod download [2021-03-31T18:16:24.424Z] ---> Running in 13b6c9f7ebde [2021-03-31T18:16:26.399Z] Removing intermediate container 13b6c9f7ebde [2021-03-31T18:16:26.399Z] ---> c35e160d3efa [2021-03-31T18:16:26.399Z] Step 9/23 : RUN make build [2021-03-31T18:16:26.673Z] ---> Running in d171e4865ed9 [2021-03-31T18:16:27.653Z] 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-03-31T18:17:00.027Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-03-31T18:17:01.997Z] Removing intermediate container d171e4865ed9 [2021-03-31T18:17:01.997Z] ---> 92cb49951219 [2021-03-31T18:17:01.997Z] Step 10/23 : FROM alpine:3.12 [2021-03-31T18:17:02.967Z] 3.12: Pulling from library/alpine [2021-03-31T18:17:02.967Z] 9a219e8acc52: Pulling fs layer [2021-03-31T18:17:02.967Z] 9a219e8acc52: Verifying Checksum [2021-03-31T18:17:02.967Z] 9a219e8acc52: Download complete [2021-03-31T18:17:03.568Z] 9a219e8acc52: Pull complete [2021-03-31T18:17:03.568Z] Digest: sha256:02cd4b50aef54502204d5956109e24876a5f9e8f3d3b22600dc14ea4de0d1d5d [2021-03-31T18:17:03.568Z] Status: Downloaded newer image for alpine:3.12 [2021-03-31T18:17:03.568Z] ---> d75e27dfc0a0 [2021-03-31T18:17:03.568Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T18:17:03.858Z] ---> Running in 0b1e11d96d93 [2021-03-31T18:17:04.141Z] Removing intermediate container 0b1e11d96d93 [2021-03-31T18:17:04.141Z] ---> 6fc606ea1751 [2021-03-31T18:17:04.142Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T18:17:04.422Z] ---> Running in d97c36681981 [2021-03-31T18:17:06.407Z] Removing intermediate container d97c36681981 [2021-03-31T18:17:06.407Z] ---> 2f264c8fe2b6 [2021-03-31T18:17:06.407Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-03-31T18:17:06.407Z] ---> Running in e083aee182ff [2021-03-31T18:17:07.861Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T18:17:08.453Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T18:17:09.046Z] (1/5) Installing libgcc (9.3.0-r2) [2021-03-31T18:17:09.320Z] (2/5) Installing libsodium (1.0.18-r0) [2021-03-31T18:17:09.320Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-03-31T18:17:09.592Z] (4/5) Installing libzmq (4.3.3-r0) [2021-03-31T18:17:09.592Z] (5/5) Installing zeromq (4.3.3-r0) [2021-03-31T18:17:09.866Z] Executing busybox-1.31.1-r20.trigger [2021-03-31T18:17:09.866Z] OK: 8 MiB in 19 packages [2021-03-31T18:17:11.301Z] Removing intermediate container e083aee182ff [2021-03-31T18:17:11.301Z] ---> ff907c3e2164 [2021-03-31T18:17:11.301Z] Step 14/23 : WORKDIR / [2021-03-31T18:17:11.301Z] ---> Running in 9a74e516a4fe [2021-03-31T18:17:11.575Z] Removing intermediate container 9a74e516a4fe [2021-03-31T18:17:11.575Z] ---> c6c615a291c6 [2021-03-31T18:17:11.575Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-03-31T18:17:12.556Z] ---> 360df02d8f4e [2021-03-31T18:17:12.556Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-03-31T18:17:13.536Z] ---> 8325f8698646 [2021-03-31T18:17:13.536Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-03-31T18:17:14.518Z] ---> 0207ef7437fe [2021-03-31T18:17:14.518Z] Step 18/23 : EXPOSE 49990 [2021-03-31T18:17:14.518Z] ---> Running in a59c0bcf62c8 [2021-03-31T18:17:14.792Z] Removing intermediate container a59c0bcf62c8 [2021-03-31T18:17:14.792Z] ---> 4cba7e8a342c [2021-03-31T18:17:14.792Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-03-31T18:17:15.068Z] ---> Running in 7a282e314e8c [2021-03-31T18:17:15.665Z] Removing intermediate container 7a282e314e8c [2021-03-31T18:17:15.665Z] ---> d00d3c3c7ed9 [2021-03-31T18:17:15.665Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-31T18:17:15.665Z] ---> Running in fa8ee6158abf [2021-03-31T18:17:15.940Z] Removing intermediate container fa8ee6158abf [2021-03-31T18:17:15.940Z] ---> 3b3ed26a4692 [2021-03-31T18:17:15.940Z] Step 21/23 : LABEL arch=arm64 [2021-03-31T18:17:16.215Z] ---> Running in c11524c71f83 [2021-03-31T18:17:16.499Z] Removing intermediate container c11524c71f83 [2021-03-31T18:17:16.499Z] ---> 9178dcb7ade8 [2021-03-31T18:17:16.499Z] Step 22/23 : LABEL git_sha=c9b8fffa5d1c621d31ca054df39182d647a4d39f [2021-03-31T18:17:16.778Z] ---> Running in fd7f87048688 [2021-03-31T18:17:17.372Z] Removing intermediate container fd7f87048688 [2021-03-31T18:17:17.372Z] ---> 5546a72f861e [2021-03-31T18:17:17.372Z] Step 23/23 : LABEL version=0.0.0 [2021-03-31T18:17:17.372Z] ---> Running in 23bbd4dd0032 [2021-03-31T18:17:17.966Z] Removing intermediate container 23bbd4dd0032 [2021-03-31T18:17:17.966Z] ---> b2027aa4c470 [2021-03-31T18:17:17.966Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-03-31T18:17:17.966Z] Successfully built b2027aa4c470 [2021-03-31T18:17:17.966Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:17:18.775Z] ---> job-cost.sh [2021-03-31T18:17:18.775Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZHSz [2021-03-31T18:17:57.732Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T18:19:34.502Z] lf-activate-venv(): INFO: Adding /tmp/venv-ZHSz/bin to PATH [2021-03-31T18:19:34.502Z] INFO: No Stack... [2021-03-31T18:19:34.502Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-31T18:19:34.502Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T18:19:34.844Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-31T18:19:34.844Z] + cut -d, -f6 [Pipeline] lock [2021-03-31T18:19:34.956Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-851-2-stack-cost] [2021-03-31T18:19:34.966Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-851-2-stack-cost] did not exist. Created. [2021-03-31T18:19:34.966Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-851-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T18:19:35.424Z] /w/workspace/device-sdk-go/2@tmp/durable-b1ef2abf/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-b1ef2abf/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-31T18:19:35.772Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-31T18:19:35.884Z] Warning: overwriting stash ‘stack-cost’ [2021-03-31T18:19:36.047Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T18:19:36.065Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-851-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-03-31T18:19:37.262Z] provisioning config files... [2021-03-31T18:19:37.276Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-851@tmp/config2534425431515734278tmp [Pipeline] { [Pipeline] sh [2021-03-31T18:19:37.661Z] + set +x [2021-03-31T18:19:37.662Z] + curl -s https://codecov.io/bash [2021-03-31T18:19:37.662Z] + bash -s -- [2021-03-31T18:19:37.929Z] [2021-03-31T18:19:37.929Z] _____ _ [2021-03-31T18:19:37.929Z] / ____| | | [2021-03-31T18:19:37.929Z] | | ___ __| | ___ ___ _____ __ [2021-03-31T18:19:37.929Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-31T18:19:37.929Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-31T18:19:37.929Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-31T18:19:37.929Z] Bash-20210309-2b87ace [2021-03-31T18:19:37.929Z] [2021-03-31T18:19:37.929Z] [2021-03-31T18:19:37.929Z] ==> git version 2.24.3 found [2021-03-31T18:19:37.929Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-03-31T18:19:37.929Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-31T18:19:37.929Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-31T18:19:37.929Z] ==> Jenkins CI detected. [2021-03-31T18:19:37.929Z] project root: . [2021-03-31T18:19:37.929Z] --> token set from env [2021-03-31T18:19:37.929Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-31T18:19:37.929Z] ==> Running gcov in . (disable via -X gcov) [2021-03-31T18:19:37.929Z] ==> Python coveragepy not found [2021-03-31T18:19:37.929Z] ==> Searching for coverage reports in: [2021-03-31T18:19:37.929Z] + . [2021-03-31T18:19:37.929Z] -> Found 1 reports [2021-03-31T18:19:37.929Z] ==> Detecting git/mercurial file structure [2021-03-31T18:19:37.929Z] ==> Reading reports [2021-03-31T18:19:37.929Z] + ./coverage.out bytes=101416 [2021-03-31T18:19:37.929Z] ==> Appending adjustments [2021-03-31T18:19:37.929Z] https://docs.codecov.io/docs/fixing-reports [2021-03-31T18:19:38.193Z] + Found adjustments [2021-03-31T18:19:38.193Z] ==> Gzipping contents [2021-03-31T18:19:38.193Z] 16K /tmp/codecov.pgoksg.gz [2021-03-31T18:19:38.193Z] ==> Uploading reports [2021-03-31T18:19:38.193Z] url: https://codecov.io [2021-03-31T18:19:38.193Z] query: branch=PR-851&commit=c9b8fffa5d1c621d31ca054df39182d647a4d39f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-851%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=851&job=&cmd_args= [2021-03-31T18:19:38.193Z] -> Pinging Codecov [2021-03-31T18:19:38.193Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-851&commit=c9b8fffa5d1c621d31ca054df39182d647a4d39f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-851%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=851&job=&cmd_args= [2021-03-31T18:19:38.774Z] -> Uploading to [2021-03-31T18:19:38.774Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-31/7E55EF52A471D76F132DFD9A03CDDE97/c9b8fffa5d1c621d31ca054df39182d647a4d39f/b97dbbea-27fa-45b3-85e4-e70987b3c950.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210331T181938Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b662175f9cd4872b71b80b7c38116b06b02013dbca8270eff1a8be5933b8c276 [2021-03-31T18:19:38.774Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-31T18:19:38.774Z] Dload Upload Total Spent Left Speed [2021-03-31T18:19:39.354Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13739 0 0 100 13739 0 25749 --:--:-- --:--:-- --:--:-- 25776 [2021-03-31T18:19:39.354Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c9b8fffa5d1c621d31ca054df39182d647a4d39f [Pipeline] } [2021-03-31T18:19:39.365Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:19:42.079Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:19:42.388Z] ---> package-listing.sh [2021-03-31T18:19:42.388Z] ++ facter osfamily [2021-03-31T18:19:42.388Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-31T18:19:42.388Z] + OS_FAMILY=redhat [2021-03-31T18:19:42.388Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-851 [2021-03-31T18:19:42.388Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-31T18:19:42.388Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-31T18:19:42.388Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-31T18:19:42.388Z] + PACKAGES=/tmp/packages_start.txt [2021-03-31T18:19:42.388Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-851 ']' [2021-03-31T18:19:42.388Z] + PACKAGES=/tmp/packages_end.txt [2021-03-31T18:19:42.388Z] + case "${OS_FAMILY}" in [2021-03-31T18:19:42.388Z] + rpm -qa [2021-03-31T18:19:42.388Z] + sort [2021-03-31T18:19:47.717Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-31T18:19:47.717Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-31T18:19:47.717Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-31T18:19:47.717Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-851 ']' [2021-03-31T18:19:47.717Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-851/archives/ [2021-03-31T18:19:47.717Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-851/archives/ [Pipeline] echo [2021-03-31T18:19:47.735Z] 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-851/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-31T18:19:48.031Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:19:48.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T18:19:48.350Z] [2021-03-31T18:19:48.350Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:19:48.709Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T18:19:48.709Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-31T18:19:48.709Z] df20fa9351a1: Pulling fs layer [2021-03-31T18:19:48.709Z] 36b3adc4ff6f: Pulling fs layer [2021-03-31T18:19:48.709Z] 8ad3a11d3b57: Pulling fs layer [2021-03-31T18:19:48.709Z] 46f8f816bc3b: Pulling fs layer [2021-03-31T18:19:48.709Z] 93b61091891f: Pulling fs layer [2021-03-31T18:19:48.709Z] 93b9cdb0e59b: Pulling fs layer [2021-03-31T18:19:48.709Z] 5e14af77c1be: Pulling fs layer [2021-03-31T18:19:48.709Z] 01666e4c0597: Pulling fs layer [2021-03-31T18:19:48.709Z] aa168da1d23b: Pulling fs layer [2021-03-31T18:19:48.709Z] 46f8f816bc3b: Waiting [2021-03-31T18:19:48.709Z] 01666e4c0597: Waiting [2021-03-31T18:19:48.709Z] 93b61091891f: Waiting [2021-03-31T18:19:48.709Z] 5e14af77c1be: Waiting [2021-03-31T18:19:48.709Z] 93b9cdb0e59b: Waiting [2021-03-31T18:19:48.709Z] aa168da1d23b: Waiting [2021-03-31T18:19:48.709Z] 36b3adc4ff6f: Verifying Checksum [2021-03-31T18:19:48.709Z] 36b3adc4ff6f: Download complete [2021-03-31T18:19:48.709Z] 46f8f816bc3b: Verifying Checksum [2021-03-31T18:19:48.709Z] 46f8f816bc3b: Download complete [2021-03-31T18:19:48.972Z] df20fa9351a1: Verifying Checksum [2021-03-31T18:19:48.972Z] df20fa9351a1: Download complete [2021-03-31T18:19:48.972Z] 93b9cdb0e59b: Verifying Checksum [2021-03-31T18:19:48.972Z] 93b9cdb0e59b: Download complete [2021-03-31T18:19:48.972Z] 5e14af77c1be: Verifying Checksum [2021-03-31T18:19:48.972Z] 5e14af77c1be: Download complete [2021-03-31T18:19:48.972Z] 93b61091891f: Download complete [2021-03-31T18:19:48.972Z] 01666e4c0597: Verifying Checksum [2021-03-31T18:19:48.972Z] 01666e4c0597: Download complete [2021-03-31T18:19:49.234Z] 8ad3a11d3b57: Verifying Checksum [2021-03-31T18:19:49.234Z] 8ad3a11d3b57: Download complete [2021-03-31T18:19:49.234Z] df20fa9351a1: Pull complete [2021-03-31T18:19:49.497Z] 36b3adc4ff6f: Pull complete [2021-03-31T18:19:50.086Z] 8ad3a11d3b57: Pull complete [2021-03-31T18:19:50.354Z] 46f8f816bc3b: Pull complete [2021-03-31T18:19:51.319Z] aa168da1d23b: Verifying Checksum [2021-03-31T18:19:51.319Z] aa168da1d23b: Download complete [2021-03-31T18:19:51.894Z] 93b61091891f: Pull complete [2021-03-31T18:19:52.162Z] 93b9cdb0e59b: Pull complete [2021-03-31T18:19:52.425Z] 5e14af77c1be: Pull complete [2021-03-31T18:19:52.425Z] 01666e4c0597: Pull complete [2021-03-31T18:19:59.062Z] aa168da1d23b: Pull complete [2021-03-31T18:19:59.062Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-31T18:19:59.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T18:19:59.062Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-31T18:19:59.262Z] prd-centos7-docker-4c-2g-32303 does not seem to be running inside a container [2021-03-31T18:19:59.310Z] $ 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-851/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-851 -v /w/workspace/dgexfoundry_device-sdk-go_PR-851:/w/workspace/dgexfoundry_device-sdk-go_PR-851:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-851@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-851@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:10003/edgex-lftools-log-publisher:alpine cat [2021-03-31T18:20:02.763Z] $ docker top 254789427c1eec4840a288b8a0d9f5c3ab3d8e1c06a5cc432ec481a93144a79c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T18:20:03.354Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-31T18:20:03.658Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-31T18:20:03.960Z] + ls /var/log/sa-host [2021-03-31T18:20:03.960Z] + sadf -c /var/log/sa-host/sa23 [2021-03-31T18:20:03.960Z] file_magic: OK [2021-03-31T18:20:03.960Z] HZ: Using current value: 100 [2021-03-31T18:20:03.960Z] file_header: OK [2021-03-31T18:20:03.960Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-31T18:20:03.960Z] Statistics: [2021-03-31T18:20:03.960Z] Hnuu...uuuununununu... [2021-03-31T18:20:03.960Z] File successfully converted to sysstat format version 12.2.1 [2021-03-31T18:20:03.960Z] + sadf -c /var/log/sa-host/sa31 [2021-03-31T18:20:03.960Z] file_magic: OK [2021-03-31T18:20:03.960Z] HZ: Using current value: 100 [2021-03-31T18:20:03.960Z] file_header: OK [2021-03-31T18:20:03.960Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-31T18:20:03.960Z] Statistics: [2021-03-31T18:20:03.960Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-31T18:20:03.960Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-31T18:20:04.212Z] provisioning config files... [2021-03-31T18:20:04.229Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-851@tmp/config7181478036506729486tmp [Pipeline] { [Pipeline] echo [2021-03-31T18:20:04.330Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:20:04.631Z] ---> create-netrc.sh [Pipeline] } [2021-03-31T18:20:04.642Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-31T18:20:04.749Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:20:05.058Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-31T18:20:05.072Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:20:05.372Z] ---> sudo-logs.sh [2021-03-31T18:20:05.372Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-31T18:20:05.436Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:20:05.741Z] ---> job-cost.sh [2021-03-31T18:20:05.741Z] lf-activate-venv: SKIPPING [2021-03-31T18:20:05.741Z] DEBUG: total: 0.20999999344348907 [2021-03-31T18:20:05.741Z] INFO: Retrieving Stack Cost... [2021-03-31T18:20:07.135Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T18:20:07.397Z] INFO: Archiving Costs [Pipeline] echo [2021-03-31T18:20:07.413Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:20:07.720Z] ---> logs-deploy.sh [2021-03-31T18:20:07.720Z] lf-activate-venv: SKIPPING [2021-03-31T18:20:07.720Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-851/2 [2021-03-31T18:20:07.720Z] INFO: archiving workspace using pattern(s): [2021-03-31T18:20:09.636Z] Archives upload complete. [2021-03-31T18:20:09.636Z] INFO: archiving logs to Nexus