Pull request #844 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a2b2291b08b531062f7f4dca65e9a843683076fa+b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 (1defc7232ddde87046f96617a16086570398f202) 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-31969 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-844 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit a2b2291b08b531062f7f4dca65e9a843683076fa Merge succeeded, producing a2b2291b08b531062f7f4dca65e9a843683076fa Checking out Revision a2b2291b08b531062f7f4dca65e9a843683076fa (PR-844) > git config core.sparsecheckout # timeout=10 > git checkout -f a2b2291b08b531062f7f4dca65e9a843683076fa # 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 b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2b2291b08b531062f7f4dca65e9a843683076fa # timeout=10 Commit message: "feat: add capability to load devices from directory" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-30T03:52:18.644Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-30T03:52:18.867Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-30T03:52:18.987Z] ========================================================= [2021-03-30T03:52:18.987Z] EdgeX Global Pipelines Version Info [2021-03-30T03:52:18.987Z] ========================================================= [Pipeline] libraryResource > git rev-list --no-walk 3d062754da7f414ea9c38f1a7497b277f79d6cd0 # timeout=10 [Pipeline] sh [2021-03-30T03:52:20.444Z] ------------------- [2021-03-30T03:52:20.444Z] stable info: [2021-03-30T03:52:20.444Z] ------------------- [2021-03-30T03:52:20.444Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-30T03:52:20.444Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-30T03:52:20.444Z] Message: update stable to v1.0.186 [2021-03-30T03:52:21.395Z] ------------------- [2021-03-30T03:52:21.395Z] experimental info: [2021-03-30T03:52:21.395Z] ------------------- [2021-03-30T03:52:21.395Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-30T03:52:21.395Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-30T03:52:21.395Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-30T03:52:21.637Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-30T03:52:21.742Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-30T03:52:21.829Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-30T03:52:21.922Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-30T03:52:22.064Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-30T03:52:22.175Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-30T03:52:22.273Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-30T03:52:22.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-30T03:52:22.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-30T03:52:22.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-30T03:52:22.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-30T03:52:22.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-30T03:52:22.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-30T03:52:22.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-30T03:52:23.011Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-30T03:52:23.108Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-30T03:52:23.193Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-30T03:52:23.278Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-30T03:52:23.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-30T03:52:23.464Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-30T03:52:23.546Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-30T03:52:23.654Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-30T03:52:23.745Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-30T03:52:23.835Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-30T03:52:23.930Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-30T03:52:24.028Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-30T03:52:24.117Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-844 [Pipeline] echo [2021-03-30T03:52:24.200Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-844 [Pipeline] echo [2021-03-30T03:52:24.284Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-844 [Pipeline] echo [2021-03-30T03:52:24.368Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2b2291b08b531062f7f4dca65e9a843683076fa [Pipeline] echo [2021-03-30T03:52:24.452Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2b2291 [Pipeline] echo [2021-03-30T03:52:24.536Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-30T03:52:24.709Z] provisioning config files... [2021-03-30T03:52:24.734Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config2218324619819176634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-30T03:52:25.171Z] ---> docker-login.sh [2021-03-30T03:52:25.172Z] nexus3.edgexfoundry.org:10001 [2021-03-30T03:52:25.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T03:52:25.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T03:52:25.697Z] Configure a credential helper to remove this warning. See [2021-03-30T03:52:25.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T03:52:25.697Z] [2021-03-30T03:52:25.697Z] Login Succeeded [2021-03-30T03:52:25.697Z] nexus3.edgexfoundry.org:10002 [2021-03-30T03:52:25.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T03:52:25.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T03:52:25.962Z] Configure a credential helper to remove this warning. See [2021-03-30T03:52:25.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T03:52:25.962Z] [2021-03-30T03:52:25.962Z] Login Succeeded [2021-03-30T03:52:25.962Z] nexus3.edgexfoundry.org:10003 [2021-03-30T03:52:25.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T03:52:26.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T03:52:26.222Z] Configure a credential helper to remove this warning. See [2021-03-30T03:52:26.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T03:52:26.222Z] [2021-03-30T03:52:26.222Z] Login Succeeded [2021-03-30T03:52:26.222Z] nexus3.edgexfoundry.org:10004 [2021-03-30T03:52:26.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T03:52:26.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T03:52:26.484Z] Configure a credential helper to remove this warning. See [2021-03-30T03:52:26.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T03:52:26.484Z] [2021-03-30T03:52:26.484Z] Login Succeeded [2021-03-30T03:52:26.484Z] docker.io [2021-03-30T03:52:26.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T03:52:26.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T03:52:26.746Z] Configure a credential helper to remove this warning. See [2021-03-30T03:52:26.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T03:52:26.746Z] [2021-03-30T03:52:26.746Z] Login Succeeded [2021-03-30T03:52:26.746Z] ---> docker-login.sh ends [Pipeline] } [2021-03-30T03:52:26.755Z] 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-30T03:52:27.642Z] + git log --format=format:%s -1 a2b2291b08b531062f7f4dca65e9a843683076fa [Pipeline] echo [2021-03-30T03:52:27.714Z] GIT_COMMIT: a2b2291b08b531062f7f4dca65e9a843683076fa, Commit Message: feat: add capability to load devices from directory [Pipeline] echo [2021-03-30T03:52:27.758Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-30T03:52:28.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-30T03:52:28.369Z] [2021-03-30T03:52:28.369Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-30T03:52:28.710Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-30T03:52:28.710Z] latest: Pulling from edgex-devops/git-semver [2021-03-30T03:52:28.710Z] 31603596830f: Pulling fs layer [2021-03-30T03:52:28.710Z] 2a8b12db71e7: Pulling fs layer [2021-03-30T03:52:28.710Z] 6ca5941a6612: Pulling fs layer [2021-03-30T03:52:28.710Z] ecc8261a40a4: Pulling fs layer [2021-03-30T03:52:28.710Z] ecc8261a40a4: Waiting [2021-03-30T03:52:28.710Z] 2a8b12db71e7: Verifying Checksum [2021-03-30T03:52:28.710Z] 2a8b12db71e7: Download complete [2021-03-30T03:52:28.976Z] 31603596830f: Verifying Checksum [2021-03-30T03:52:28.976Z] 31603596830f: Download complete [2021-03-30T03:52:28.976Z] 6ca5941a6612: Verifying Checksum [2021-03-30T03:52:28.976Z] 6ca5941a6612: Download complete [2021-03-30T03:52:28.976Z] ecc8261a40a4: Verifying Checksum [2021-03-30T03:52:28.976Z] ecc8261a40a4: Download complete [2021-03-30T03:52:29.238Z] 31603596830f: Pull complete [2021-03-30T03:52:29.238Z] 2a8b12db71e7: Pull complete [2021-03-30T03:52:30.192Z] 6ca5941a6612: Pull complete [2021-03-30T03:52:30.458Z] ecc8261a40a4: Pull complete [2021-03-30T03:52:30.458Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-30T03:52:30.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-30T03:52:30.458Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-30T03:52:30.651Z] prd-centos7-docker-4c-2g-31969 does not seem to be running inside a container [2021-03-30T03:52:30.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-30T03:52:32.756Z] $ docker top a85aa7e8c164e4ba6a0d7c5a2cdd0e1d8c950e846ad4931043c3288549cd68a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-30T03:52:33.067Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-30T03:52:33.067Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-30T03:52:33.297Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-30T03:52:33.304Z] $ docker exec a85aa7e8c164e4ba6a0d7c5a2cdd0e1d8c950e846ad4931043c3288549cd68a2 ssh-agent [2021-03-30T03:52:33.496Z] SSH_AUTH_SOCK=/tmp/ssh-h8nJZ6j4O8DG/agent.11 [2021-03-30T03:52:33.496Z] SSH_AGENT_PID=17 [2021-03-30T03:52:33.509Z] Running ssh-add (command line suppressed) [2021-03-30T03:52:33.645Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_5642631855504603813.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_5642631855504603813.key) [2021-03-30T03:52:33.700Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-30T03:52:34.064Z] + git tag --points-at HEAD [Pipeline] } [2021-03-30T03:52:34.087Z] $ docker exec --env ******** --env ******** a85aa7e8c164e4ba6a0d7c5a2cdd0e1d8c950e846ad4931043c3288549cd68a2 ssh-agent -k [2021-03-30T03:52:34.211Z] unset SSH_AUTH_SOCK; [2021-03-30T03:52:34.211Z] unset SSH_AGENT_PID; [2021-03-30T03:52:34.211Z] echo Agent pid 17 killed; [2021-03-30T03:52:34.263Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-30T03:52:34.400Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-30T03:52:34.401Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-30T03:52:34.583Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-30T03:52:34.588Z] $ docker exec a85aa7e8c164e4ba6a0d7c5a2cdd0e1d8c950e846ad4931043c3288549cd68a2 ssh-agent [2021-03-30T03:52:34.768Z] SSH_AUTH_SOCK=/tmp/ssh-TukKeVYv5E51/agent.47 [2021-03-30T03:52:34.768Z] SSH_AGENT_PID=53 [2021-03-30T03:52:34.776Z] Running ssh-add (command line suppressed) [2021-03-30T03:52:34.900Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_672951569987329508.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_672951569987329508.key) [2021-03-30T03:52:34.953Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-30T03:52:35.285Z] + git semver init [2021-03-30T03:52:35.286Z] # -> Open(): unable to determine branch for HEAD [2021-03-30T03:52:35.286Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.git [2021-03-30T03:52:35.286Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-844 [2021-03-30T03:52:35.286Z] # $SEMVER_REMOTE_NAME = origin [2021-03-30T03:52:35.286Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-30T03:52:35.286Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-30T03:52:35.286Z] # $SEMVER_BRANCH = PR-844 [2021-03-30T03:52:35.286Z] # $SEMVER_TEMP = /tmp/semver-547443543 [2021-03-30T03:52:35.286Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-30T03:52:36.257Z] # '/tmp/semver-547443543' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver' [2021-03-30T03:52:36.257Z] # -> Force: false [2021-03-30T03:52:36.257Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver [Pipeline] } [2021-03-30T03:52:36.311Z] $ docker exec --env ******** --env ******** a85aa7e8c164e4ba6a0d7c5a2cdd0e1d8c950e846ad4931043c3288549cd68a2 ssh-agent -k [2021-03-30T03:52:36.453Z] unset SSH_AUTH_SOCK; [2021-03-30T03:52:36.453Z] unset SSH_AGENT_PID; [2021-03-30T03:52:36.453Z] echo Agent pid 53 killed; [2021-03-30T03:52:36.504Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-30T03:52:36.981Z] + git semver [Pipeline] } [2021-03-30T03:52:37.001Z] $ docker stop --time=1 a85aa7e8c164e4ba6a0d7c5a2cdd0e1d8c950e846ad4931043c3288549cd68a2 [2021-03-30T03:52:38.400Z] $ docker rm -f a85aa7e8c164e4ba6a0d7c5a2cdd0e1d8c950e846ad4931043c3288549cd68a2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-30T03:52:38.855Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-30T03:52:39.206Z] Stashed 1 file(s) [Pipeline] echo [2021-03-30T03:52:39.233Z] [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-30T03:52:54.803Z] Still waiting to schedule task [2021-03-30T03:52:54.803Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-30T03:52:54.805Z] Still waiting to schedule task [2021-03-30T03:52:54.805Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-30T03:55:00.120Z] Running on prd-centos7-docker-4c-2g-31971 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws [2021-03-30T03:55:00.212Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-03-30T03:55:02.664Z] using credential edgex-jenkins-ssh [2021-03-30T03:55:02.719Z] Cloning the remote Git repository [2021-03-30T03:55:02.743Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-30T03:55:02.814Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-03-30T03:55:02.878Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-30T03:55:02.878Z] > git --version # timeout=10 [2021-03-30T03:55:02.884Z] > git --version # 'git version 2.24.3' [2021-03-30T03:55:02.885Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T03:55:02.925Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-30T03:55:04.590Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-30T03:55:04.596Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-30T03:55:04.608Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-30T03:55:04.621Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-30T03:55:04.621Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T03:55:04.625Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-30T03:55:05.159Z] Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit a2b2291b08b531062f7f4dca65e9a843683076fa [2021-03-30T03:55:05.252Z] Merge succeeded, producing a2b2291b08b531062f7f4dca65e9a843683076fa [2021-03-30T03:55:05.253Z] Checking out Revision a2b2291b08b531062f7f4dca65e9a843683076fa (PR-844) [2021-03-30T03:55:05.167Z] > git config core.sparsecheckout # timeout=10 [2021-03-30T03:55:05.170Z] > git checkout -f a2b2291b08b531062f7f4dca65e9a843683076fa # timeout=10 [2021-03-30T03:55:05.221Z] > git remote # timeout=10 [2021-03-30T03:55:05.226Z] > git config --get remote.origin.url # timeout=10 [2021-03-30T03:55:05.231Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T03:55:05.234Z] > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 [2021-03-30T03:55:05.245Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-30T03:55:05.255Z] > git config core.sparsecheckout # timeout=10 [2021-03-30T03:55:05.260Z] > git checkout -f a2b2291b08b531062f7f4dca65e9a843683076fa # timeout=10 [2021-03-30T03:55:08.988Z] Commit message: "feat: add capability to load devices from directory" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-30T03:55:10.319Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-30T03:55:10.648Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-30T03:55:10.947Z] + sudo service docker restart [2021-03-30T03:55:10.947Z] + true [2021-03-30T03:55:10.947Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-30T03:55:12.005Z] provisioning config files... [2021-03-30T03:55:12.031Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config5666729887552050604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-30T03:55:12.403Z] ---> docker-login.sh [2021-03-30T03:55:12.403Z] nexus3.edgexfoundry.org:10001 [2021-03-30T03:55:12.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T03:55:12.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T03:55:12.672Z] Configure a credential helper to remove this warning. See [2021-03-30T03:55:12.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T03:55:12.672Z] [2021-03-30T03:55:12.672Z] Login Succeeded [2021-03-30T03:55:12.672Z] nexus3.edgexfoundry.org:10002 [2021-03-30T03:55:12.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T03:55:12.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T03:55:12.936Z] Configure a credential helper to remove this warning. See [2021-03-30T03:55:12.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T03:55:12.936Z] [2021-03-30T03:55:12.936Z] Login Succeeded [2021-03-30T03:55:12.936Z] nexus3.edgexfoundry.org:10003 [2021-03-30T03:55:12.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T03:55:13.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T03:55:13.197Z] Configure a credential helper to remove this warning. See [2021-03-30T03:55:13.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T03:55:13.197Z] [2021-03-30T03:55:13.197Z] Login Succeeded [2021-03-30T03:55:13.197Z] nexus3.edgexfoundry.org:10004 [2021-03-30T03:55:13.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T03:55:13.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T03:55:13.197Z] Configure a credential helper to remove this warning. See [2021-03-30T03:55:13.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T03:55:13.197Z] [2021-03-30T03:55:13.197Z] Login Succeeded [2021-03-30T03:55:13.197Z] docker.io [2021-03-30T03:55:13.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T03:55:13.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T03:55:13.723Z] Configure a credential helper to remove this warning. See [2021-03-30T03:55:13.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T03:55:13.723Z] [2021-03-30T03:55:13.723Z] Login Succeeded [2021-03-30T03:55:13.723Z] ---> docker-login.sh ends [Pipeline] } [2021-03-30T03:55:13.733Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-30T03:55:14.118Z] ========================================================= [2021-03-30T03:55:14.119Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-30T03:55:14.119Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-30T03:55:14.544Z] + 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-30T03:55:14.544Z] Sending build context to Docker daemon 2.344MB [2021-03-30T03:55:14.544Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-30T03:55:14.544Z] Step 2/8 : FROM ${BASE} [2021-03-30T03:55:14.544Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-30T03:55:14.544Z] 188c0c94c7c5: Pulling fs layer [2021-03-30T03:55:14.544Z] 0ef7d3d256c8: Pulling fs layer [2021-03-30T03:55:14.544Z] de9db76c5a1d: Pulling fs layer [2021-03-30T03:55:14.544Z] bca2f99d35d6: Pulling fs layer [2021-03-30T03:55:14.544Z] 93359f2a8cfa: Pulling fs layer [2021-03-30T03:55:14.544Z] 7c6f9722023f: Pulling fs layer [2021-03-30T03:55:14.544Z] a35cf1a2eb13: Pulling fs layer [2021-03-30T03:55:14.544Z] 93359f2a8cfa: Waiting [2021-03-30T03:55:14.544Z] 7c6f9722023f: Waiting [2021-03-30T03:55:14.544Z] a35cf1a2eb13: Waiting [2021-03-30T03:55:14.544Z] bca2f99d35d6: Waiting [2021-03-30T03:55:14.807Z] de9db76c5a1d: Verifying Checksum [2021-03-30T03:55:14.808Z] de9db76c5a1d: Download complete [2021-03-30T03:55:14.808Z] 0ef7d3d256c8: Verifying Checksum [2021-03-30T03:55:14.808Z] 0ef7d3d256c8: Download complete [2021-03-30T03:55:14.808Z] 188c0c94c7c5: Download complete [2021-03-30T03:55:14.808Z] 93359f2a8cfa: Verifying Checksum [2021-03-30T03:55:14.808Z] 93359f2a8cfa: Download complete [2021-03-30T03:55:14.808Z] 7c6f9722023f: Verifying Checksum [2021-03-30T03:55:14.808Z] 7c6f9722023f: Download complete [2021-03-30T03:55:15.071Z] 188c0c94c7c5: Pull complete [2021-03-30T03:55:15.334Z] 0ef7d3d256c8: Pull complete [2021-03-30T03:55:15.334Z] de9db76c5a1d: Pull complete [2021-03-30T03:55:16.731Z] a35cf1a2eb13: Verifying Checksum [2021-03-30T03:55:16.731Z] a35cf1a2eb13: Download complete [2021-03-30T03:55:17.309Z] bca2f99d35d6: Verifying Checksum [2021-03-30T03:55:17.309Z] bca2f99d35d6: Download complete [2021-03-30T03:55:22.641Z] bca2f99d35d6: Pull complete [2021-03-30T03:55:22.641Z] 93359f2a8cfa: Pull complete [2021-03-30T03:55:22.641Z] 7c6f9722023f: Pull complete [2021-03-30T03:55:30.820Z] a35cf1a2eb13: Pull complete [2021-03-30T03:55:30.820Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-30T03:55:30.820Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-30T03:55:30.820Z] ---> a62c8e92a672 [2021-03-30T03:55:30.820Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-30T03:55:30.820Z] ---> Running in 61abc2b7a21f [2021-03-30T03:55:30.820Z] Removing intermediate container 61abc2b7a21f [2021-03-30T03:55:30.820Z] ---> f5afe5c7f9f1 [2021-03-30T03:55:30.820Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-30T03:55:30.820Z] ---> Running in 4297b81911dc [2021-03-30T03:55:31.770Z] Removing intermediate container 4297b81911dc [2021-03-30T03:55:31.770Z] ---> 4be70a8370c2 [2021-03-30T03:55:31.770Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-30T03:55:31.770Z] ---> Running in 62e843c0f72a [2021-03-30T03:55:32.346Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-30T03:55:33.296Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-30T03:55:33.872Z] OK: 166 MiB in 39 packages [2021-03-30T03:55:34.135Z] Removing intermediate container 62e843c0f72a [2021-03-30T03:55:34.135Z] ---> 80497502c201 [2021-03-30T03:55:34.135Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-30T03:55:34.135Z] ---> Running in 345e1918a434 [2021-03-30T03:55:34.397Z] Removing intermediate container 345e1918a434 [2021-03-30T03:55:34.397Z] ---> e70063fd0913 [2021-03-30T03:55:34.397Z] Step 7/8 : COPY . . [2021-03-30T03:55:35.798Z] ---> 43b633e80c4d [2021-03-30T03:55:35.798Z] Step 8/8 : RUN go mod download [2021-03-30T03:55:35.798Z] ---> Running in 619c13278925 [2021-03-30T03:55:48.420Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31970 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws [2021-03-30T03:55:48.482Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-03-30T03:55:53.973Z] Removing intermediate container 619c13278925 [2021-03-30T03:55:53.973Z] ---> ad4e7ee557b8 [2021-03-30T03:55:53.973Z] Successfully built ad4e7ee557b8 [2021-03-30T03:55:53.973Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-30T03:55:54.295Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-30T03:55:54.296Z] . [Pipeline] withDockerContainer [2021-03-30T03:55:54.348Z] using credential edgex-jenkins-ssh [2021-03-30T03:55:54.415Z] Cloning the remote Git repository [2021-03-30T03:55:54.519Z] prd-centos7-docker-4c-2g-31971 does not seem to be running inside a container [2021-03-30T03:55:54.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-30T03:55:54.478Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-30T03:55:54.660Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-03-30T03:55:54.742Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-30T03:55:54.743Z] > git --version # timeout=10 [2021-03-30T03:55:54.776Z] > git --version # 'git version 2.17.1' [2021-03-30T03:55:54.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T03:55:55.426Z] $ docker top d065c9e67c42f4901b406bcd6c513073191f6aa42657adae539d7939d06b8128 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T03:55:55.915Z] + go version [2021-03-30T03:55:55.916Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-30T03:55:55.930Z] $ docker stop --time=1 d065c9e67c42f4901b406bcd6c513073191f6aa42657adae539d7939d06b8128 [2021-03-30T03:55:54.905Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-30T03:55:56.071Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-30T03:55:56.087Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-30T03:55:56.838Z] Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit a2b2291b08b531062f7f4dca65e9a843683076fa [2021-03-30T03:55:57.143Z] Merge succeeded, producing a2b2291b08b531062f7f4dca65e9a843683076fa [2021-03-30T03:55:57.144Z] Checking out Revision a2b2291b08b531062f7f4dca65e9a843683076fa (PR-844) [2021-03-30T03:55:57.290Z] $ docker rm -f d065c9e67c42f4901b406bcd6c513073191f6aa42657adae539d7939d06b8128 [Pipeline] // withDockerContainer [2021-03-30T03:55:56.132Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-30T03:55:56.178Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-30T03:55:56.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T03:55:56.191Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-30T03:55:56.855Z] > git config core.sparsecheckout # timeout=10 [2021-03-30T03:55:56.877Z] > git checkout -f a2b2291b08b531062f7f4dca65e9a843683076fa # timeout=10 [2021-03-30T03:55:56.992Z] > git remote # timeout=10 [2021-03-30T03:55:57.011Z] > git config --get remote.origin.url # timeout=10 [2021-03-30T03:55:57.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T03:55:57.043Z] > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 [2021-03-30T03:55:57.069Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-30T03:55:57.149Z] > git config core.sparsecheckout # timeout=10 [2021-03-30T03:55:57.169Z] > git checkout -f a2b2291b08b531062f7f4dca65e9a843683076fa # timeout=10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-30T03:55:58.131Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-30T03:55:58.131Z] . [Pipeline] withDockerContainer [2021-03-30T03:55:58.222Z] prd-centos7-docker-4c-2g-31971 does not seem to be running inside a container [2021-03-30T03:55:58.267Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-30T03:55:58.831Z] $ docker top 3d266aadee8e6001f7c87a35c37e3644e076d5c655544377d9b71f53c7ed289a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T03:55:59.313Z] + make test [2021-03-30T03:55:59.313Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-30T03:56:01.603Z] Commit message: "feat: add capability to load devices from directory" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-30T03:56:03.485Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-30T03:56:03.915Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-30T03:56:04.267Z] + sudo service docker restart [2021-03-30T03:56:04.267Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-30T03:56:07.040Z] provisioning config files... [2021-03-30T03:56:07.081Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config7692262157796424743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-30T03:56:07.501Z] ---> docker-login.sh [2021-03-30T03:56:07.501Z] nexus3.edgexfoundry.org:10001 [2021-03-30T03:56:07.515Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-30T03:56:08.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T03:56:08.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T03:56:08.757Z] Configure a credential helper to remove this warning. See [2021-03-30T03:56:08.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T03:56:08.757Z] [2021-03-30T03:56:08.757Z] Login Succeeded [2021-03-30T03:56:08.757Z] nexus3.edgexfoundry.org:10002 [2021-03-30T03:56:09.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T03:56:09.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T03:56:09.309Z] Configure a credential helper to remove this warning. See [2021-03-30T03:56:09.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T03:56:09.309Z] [2021-03-30T03:56:09.309Z] Login Succeeded [2021-03-30T03:56:09.309Z] nexus3.edgexfoundry.org:10003 [2021-03-30T03:56:09.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T03:56:09.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T03:56:09.854Z] Configure a credential helper to remove this warning. See [2021-03-30T03:56:09.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T03:56:09.854Z] [2021-03-30T03:56:09.854Z] Login Succeeded [2021-03-30T03:56:09.854Z] nexus3.edgexfoundry.org:10004 [2021-03-30T03:56:10.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T03:56:10.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T03:56:10.127Z] Configure a credential helper to remove this warning. See [2021-03-30T03:56:10.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T03:56:10.127Z] [2021-03-30T03:56:10.127Z] Login Succeeded [2021-03-30T03:56:10.127Z] docker.io [2021-03-30T03:56:11.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T03:56:11.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T03:56:11.878Z] Configure a credential helper to remove this warning. See [2021-03-30T03:56:11.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T03:56:11.878Z] [2021-03-30T03:56:11.878Z] Login Succeeded [2021-03-30T03:56:11.878Z] ---> docker-login.sh ends [Pipeline] } [2021-03-30T03:56:11.885Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-30T03:56:12.424Z] ========================================================= [2021-03-30T03:56:12.424Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-30T03:56:12.424Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-30T03:56:12.818Z] + 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-30T03:56:13.426Z] Sending build context to Docker daemon 2.343MB [2021-03-30T03:56:13.426Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-30T03:56:13.426Z] Step 2/8 : FROM ${BASE} [2021-03-30T03:56:13.426Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-30T03:56:13.426Z] 5f621e34cdf4: Pulling fs layer [2021-03-30T03:56:13.426Z] a4357932f1b6: Pulling fs layer [2021-03-30T03:56:13.426Z] 18c013af1878: Pulling fs layer [2021-03-30T03:56:13.426Z] 00ac8860ef70: Pulling fs layer [2021-03-30T03:56:13.426Z] 63d7cb157983: Pulling fs layer [2021-03-30T03:56:13.426Z] b116817d02f9: Pulling fs layer [2021-03-30T03:56:13.426Z] 745a02a5169b: Pulling fs layer [2021-03-30T03:56:13.426Z] 63d7cb157983: Waiting [2021-03-30T03:56:13.426Z] b116817d02f9: Waiting [2021-03-30T03:56:13.426Z] 745a02a5169b: Waiting [2021-03-30T03:56:13.426Z] 00ac8860ef70: Waiting [2021-03-30T03:56:13.426Z] 18c013af1878: Verifying Checksum [2021-03-30T03:56:13.426Z] 18c013af1878: Download complete [2021-03-30T03:56:13.426Z] a4357932f1b6: Verifying Checksum [2021-03-30T03:56:13.426Z] a4357932f1b6: Download complete [2021-03-30T03:56:13.426Z] 63d7cb157983: Verifying Checksum [2021-03-30T03:56:13.426Z] 63d7cb157983: Download complete [2021-03-30T03:56:13.426Z] b116817d02f9: Download complete [2021-03-30T03:56:13.705Z] 5f621e34cdf4: Download complete [2021-03-30T03:56:14.320Z] 5f621e34cdf4: Pull complete [2021-03-30T03:56:14.935Z] a4357932f1b6: Pull complete [2021-03-30T03:56:15.212Z] 18c013af1878: Pull complete [2021-03-30T03:56:16.205Z] 745a02a5169b: Verifying Checksum [2021-03-30T03:56:16.205Z] 745a02a5169b: Download complete [2021-03-30T03:56:17.656Z] 00ac8860ef70: Download complete [2021-03-30T03:56:20.870Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-30T03:56:20.870Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-30T03:56:20.870Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-30T03:56:20.870Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-30T03:56:20.870Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-30T03:56:23.443Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.0% of statements [2021-03-30T03:56:24.028Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.080s coverage: 81.2% of statements [2021-03-30T03:56:27.846Z] 00ac8860ef70: Pull complete [2021-03-30T03:56:27.846Z] 63d7cb157983: Pull complete [2021-03-30T03:56:28.123Z] b116817d02f9: Pull complete [2021-03-30T03:56:32.472Z] 745a02a5169b: Pull complete [2021-03-30T03:56:32.472Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-30T03:56:32.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-30T03:56:32.472Z] ---> b7e6874047d6 [2021-03-30T03:56:32.472Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-30T03:56:35.111Z] ---> Running in 8b318a16ce0b [2021-03-30T03:56:35.111Z] Removing intermediate container 8b318a16ce0b [2021-03-30T03:56:35.111Z] ---> 318e1ea2a48e [2021-03-30T03:56:35.111Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-30T03:56:35.388Z] ---> Running in 7e6de97d0793 [2021-03-30T03:56:38.029Z] Removing intermediate container 7e6de97d0793 [2021-03-30T03:56:38.029Z] ---> a98ff63d1e64 [2021-03-30T03:56:38.029Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-30T03:56:38.029Z] ---> Running in 3fa63f837650 [2021-03-30T03:56:39.480Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-30T03:56:40.079Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-30T03:56:41.061Z] OK: 142 MiB in 39 packages [2021-03-30T03:56:42.056Z] Removing intermediate container 3fa63f837650 [2021-03-30T03:56:42.056Z] ---> 2c56461c6b24 [2021-03-30T03:56:42.056Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-30T03:56:42.332Z] ---> Running in adb30eb73057 [2021-03-30T03:56:42.932Z] Removing intermediate container adb30eb73057 [2021-03-30T03:56:42.932Z] ---> 5bd2b965ea32 [2021-03-30T03:56:42.932Z] Step 7/8 : COPY . . [2021-03-30T03:56:44.382Z] ---> 5d720e3ce01b [2021-03-30T03:56:44.382Z] Step 8/8 : RUN go mod download [2021-03-30T03:56:44.382Z] ---> Running in 933a60315493 [2021-03-30T03:56:56.228Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.067s coverage: 10.5% of statements [2021-03-30T03:56:56.228Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-30T03:56:56.228Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-30T03:56:56.228Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.100s coverage: 32.5% of statements [2021-03-30T03:56:56.228Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-30T03:56:56.228Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-30T03:56:56.228Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-30T03:56:56.228Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.082s coverage: 57.3% of statements [2021-03-30T03:56:56.228Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.148s coverage: 6.6% of statements [2021-03-30T03:56:56.228Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 5.0% of statements [2021-03-30T03:56:56.228Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-30T03:56:56.228Z] GO111MODULE=on go vet ./... [2021-03-30T03:57:02.914Z] gofmt -l . [2021-03-30T03:57:02.914Z] [ "`gofmt -l .`" = "" ] [2021-03-30T03:57:02.914Z] ./bin/test-attribution-txt.sh [2021-03-30T03:57:02.914Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-30T03:57:02.937Z] $ docker stop --time=1 3d266aadee8e6001f7c87a35c37e3644e076d5c655544377d9b71f53c7ed289a [2021-03-30T03:57:04.851Z] $ docker rm -f 3d266aadee8e6001f7c87a35c37e3644e076d5c655544377d9b71f53c7ed289a [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-30T03:57:05.550Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-30T03:57:05.979Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-30T03:57:07.289Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-30T03:57:07.586Z] + ls -al . [2021-03-30T03:57:07.586Z] total 184 [2021-03-30T03:57:07.586Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 30 03:57 . [2021-03-30T03:57:07.586Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 30 03:55 .. [2021-03-30T03:57:07.586Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 30 03:55 bin [2021-03-30T03:57:07.586Z] -rw-r--r--. 1 jenkins jenkins 100081 Mar 30 03:56 coverage.out [2021-03-30T03:57:07.586Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 30 03:55 Dockerfile.build [2021-03-30T03:57:07.586Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 30 03:55 .dockerignore [2021-03-30T03:57:07.586Z] drwxrwxr-x. 5 jenkins jenkins 62 Mar 30 03:55 example [2021-03-30T03:57:07.586Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 30 03:55 .git [2021-03-30T03:57:07.586Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 30 03:55 .github [2021-03-30T03:57:07.586Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 30 03:55 .gitignore [2021-03-30T03:57:07.586Z] -rw-r--r--. 1 jenkins jenkins 514 Mar 30 03:57 go.mod [2021-03-30T03:57:07.586Z] -rw-r--r--. 1 jenkins jenkins 17372 Mar 30 03:57 go.sum [2021-03-30T03:57:07.586Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 30 03:55 internal [2021-03-30T03:57:07.586Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 30 03:55 Jenkinsfile [2021-03-30T03:57:07.586Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 30 03:55 LICENSE [2021-03-30T03:57:07.586Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 30 03:55 Makefile [2021-03-30T03:57:07.586Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 30 03:55 openapi [2021-03-30T03:57:07.586Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 30 03:55 pkg [2021-03-30T03:57:07.586Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 30 03:55 README.md [2021-03-30T03:57:07.586Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 30 03:55 RELEASE-NOTES.txt [2021-03-30T03:57:07.586Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 30 03:55 snap [2021-03-30T03:57:07.586Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 30 03:52 VERSION [2021-03-30T03:57:07.586Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 30 03:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-30T03:57:07.901Z] + 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=a2b2291b08b531062f7f4dca65e9a843683076fa --label arch=amd64 --label version=0.0.0 . [2021-03-30T03:57:08.164Z] Sending build context to Docker daemon 2.445MB [2021-03-30T03:57:08.164Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-30T03:57:08.164Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-30T03:57:08.164Z] ---> ad4e7ee557b8 [2021-03-30T03:57:08.164Z] Step 3/24 : ARG MAKE='make build' [2021-03-30T03:57:08.427Z] ---> Running in 6662b30f9de6 [2021-03-30T03:57:08.690Z] Removing intermediate container 6662b30f9de6 [2021-03-30T03:57:08.690Z] ---> 8f3323f073a3 [2021-03-30T03:57:08.690Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-30T03:57:08.690Z] ---> Running in bea3267c16b9 [2021-03-30T03:57:08.957Z] Removing intermediate container bea3267c16b9 [2021-03-30T03:57:08.957Z] ---> 5f1fa12dad5a [2021-03-30T03:57:08.957Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-30T03:57:08.957Z] ---> Running in 7465dc2a6d78 [2021-03-30T03:57:08.957Z] Removing intermediate container 7465dc2a6d78 [2021-03-30T03:57:08.957Z] ---> 9aad8ff9e96c [2021-03-30T03:57:08.957Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-30T03:57:09.221Z] ---> Running in 69e047f7f1e8 [2021-03-30T03:57:10.181Z] Removing intermediate container 69e047f7f1e8 [2021-03-30T03:57:10.181Z] ---> f3ab85c3cb3c [2021-03-30T03:57:10.181Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-30T03:57:10.181Z] ---> Running in 7bbf9869ceab [2021-03-30T03:57:10.767Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-30T03:57:11.164Z] Removing intermediate container 933a60315493 [2021-03-30T03:57:11.165Z] ---> 4e6fea33d076 [2021-03-30T03:57:11.165Z] Successfully built 4e6fea33d076 [2021-03-30T03:57:11.165Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-30T03:57:11.346Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-30T03:57:11.505Z] + docker inspect -f . ci-base-image-arm64 [2021-03-30T03:57:11.506Z] . [Pipeline] withDockerContainer [2021-03-30T03:57:11.758Z] prd-ubuntu18.04-docker-arm64-4c-16g-31970 does not seem to be running inside a container [2021-03-30T03:57:11.849Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-30T03:57:12.293Z] OK: 166 MiB in 39 packages [2021-03-30T03:57:12.877Z] Removing intermediate container 7bbf9869ceab [2021-03-30T03:57:12.877Z] ---> 5e1571e73451 [2021-03-30T03:57:12.877Z] Step 8/24 : COPY . . [2021-03-30T03:57:13.370Z] $ docker top 7cfbc45c7a642f24c01e037d95873107d1c3361900f9c5f3e1bd8535859bc863 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T03:57:13.831Z] ---> ff8855ea2805 [2021-03-30T03:57:13.832Z] Step 9/24 : RUN ${MAKE} [2021-03-30T03:57:13.832Z] ---> Running in 4eddb200b01d [2021-03-30T03:57:14.425Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-30T03:57:14.452Z] + go version [2021-03-30T03:57:14.452Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-30T03:57:14.475Z] $ docker stop --time=1 7cfbc45c7a642f24c01e037d95873107d1c3361900f9c5f3e1bd8535859bc863 [2021-03-30T03:57:16.391Z] $ docker rm -f 7cfbc45c7a642f24c01e037d95873107d1c3361900f9c5f3e1bd8535859bc863 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-30T03:57:17.355Z] + docker inspect -f . ci-base-image-arm64 [2021-03-30T03:57:17.356Z] . [Pipeline] withDockerContainer [2021-03-30T03:57:17.597Z] prd-ubuntu18.04-docker-arm64-4c-16g-31970 does not seem to be running inside a container [2021-03-30T03:57:17.673Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-30T03:57:19.249Z] $ docker top c2616739e790af74108c6d65906476cf0f6c9b811b74c3213a5de5d68d9a63d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T03:57:20.283Z] + make test [2021-03-30T03:57:20.283Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-30T03:57:22.636Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-30T03:57:24.562Z] Removing intermediate container 4eddb200b01d [2021-03-30T03:57:24.562Z] ---> 580d708fa303 [2021-03-30T03:57:24.562Z] Step 10/24 : FROM scratch [2021-03-30T03:57:24.562Z] ---> [2021-03-30T03:57:24.562Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-30T03:57:24.825Z] ---> Running in 402f15e807d4 [2021-03-30T03:57:24.825Z] Removing intermediate container 402f15e807d4 [2021-03-30T03:57:24.825Z] ---> 92ce45a5971a [2021-03-30T03:57:24.825Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-30T03:57:24.825Z] ---> Running in ee4a60cbdc42 [2021-03-30T03:57:25.086Z] Removing intermediate container ee4a60cbdc42 [2021-03-30T03:57:25.086Z] ---> 25ad409d0778 [2021-03-30T03:57:25.086Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-30T03:57:25.086Z] ---> Running in 4c43453aafd7 [2021-03-30T03:57:25.349Z] Removing intermediate container 4c43453aafd7 [2021-03-30T03:57:25.349Z] ---> 20fbcf6b0f81 [2021-03-30T03:57:25.349Z] Step 14/24 : WORKDIR / [2021-03-30T03:57:25.349Z] ---> Running in 2394b1891621 [2021-03-30T03:57:25.349Z] Removing intermediate container 2394b1891621 [2021-03-30T03:57:25.349Z] ---> f0f197eced6c [2021-03-30T03:57:25.349Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-30T03:57:25.927Z] ---> e8be690359df [2021-03-30T03:57:25.927Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-30T03:57:26.193Z] ---> c96dfcdad197 [2021-03-30T03:57:26.193Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-30T03:57:26.193Z] COPY failed: stat /var/lib/docker/overlay2/1fa8660d3e720d51f432cbbdee0ee8bc2899e00f4727f563d7809d05008f7af7/merged/device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml: no such file or directory [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-30T03:57:27.255Z] ---> job-cost.sh [2021-03-30T03:57:27.255Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-He41 [2021-03-30T03:57:42.200Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-30T03:57:42.475Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-30T03:58:08.873Z] lf-activate-venv(): INFO: Adding /tmp/venv-He41/bin to PATH [2021-03-30T03:58:08.873Z] INFO: No Stack... [2021-03-30T03:58:08.873Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-30T03:58:09.836Z] INFO: Archiving Costs [Pipeline] sh [2021-03-30T03:58:10.157Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-03-30T03:58:10.158Z] + cut -d, -f6 [Pipeline] lock [2021-03-30T03:58:10.285Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-4-stack-cost] [2021-03-30T03:58:10.296Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-4-stack-cost] did not exist. Created. [2021-03-30T03:58:10.297Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-30T03:58:10.722Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-30T03:58:10.866Z] Stashed 1 file(s) [Pipeline] } [2021-03-30T03:58:10.877Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-30T03:58:11.630Z] Failed in branch amd64 [2021-03-30T03:58:21.560Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-30T03:58:21.560Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-30T03:58:21.560Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-30T03:58:21.560Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-30T03:58:21.560Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-30T03:58:28.280Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.120s coverage: 27.0% of statements [2021-03-30T03:58:28.280Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.160s coverage: 81.2% of statements [2021-03-30T03:58:55.085Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.105s coverage: 10.5% of statements [2021-03-30T03:58:55.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-30T03:58:55.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-30T03:58:55.085Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.218s coverage: 32.5% of statements [2021-03-30T03:58:55.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-30T03:58:55.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-30T03:58:55.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-30T03:58:55.085Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.247s coverage: 57.3% of statements [2021-03-30T03:58:55.085Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.923s coverage: 6.6% of statements [2021-03-30T03:58:55.085Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.0% of statements [2021-03-30T03:58:55.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-30T03:58:55.085Z] GO111MODULE=on go vet ./... [2021-03-30T03:59:27.685Z] gofmt -l . [2021-03-30T03:59:27.685Z] [ "`gofmt -l .`" = "" ] [2021-03-30T03:59:27.685Z] ./bin/test-attribution-txt.sh [2021-03-30T03:59:27.685Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-30T03:59:27.711Z] $ docker stop --time=1 c2616739e790af74108c6d65906476cf0f6c9b811b74c3213a5de5d68d9a63d7 [2021-03-30T03:59:29.821Z] $ docker rm -f c2616739e790af74108c6d65906476cf0f6c9b811b74c3213a5de5d68d9a63d7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-30T03:59:31.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-30T03:59:31.129Z] Warning: overwriting stash ‘coverage-report’ [2021-03-30T03:59:31.891Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-30T03:59:32.616Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-30T03:59:32.948Z] + ls -al . [2021-03-30T03:59:32.948Z] total 220 [2021-03-30T03:59:32.948Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 30 03:59 . [2021-03-30T03:59:32.948Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 03:55 .. [2021-03-30T03:59:32.948Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 30 03:55 .dockerignore [2021-03-30T03:59:32.948Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 03:56 .git [2021-03-30T03:59:32.948Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 03:55 .github [2021-03-30T03:59:32.948Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 30 03:55 .gitignore [2021-03-30T03:59:32.948Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 30 03:55 Dockerfile.build [2021-03-30T03:59:32.948Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 30 03:55 Jenkinsfile [2021-03-30T03:59:32.948Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 30 03:55 LICENSE [2021-03-30T03:59:32.948Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 30 03:55 Makefile [2021-03-30T03:59:32.948Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 30 03:55 README.md [2021-03-30T03:59:32.948Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 30 03:55 RELEASE-NOTES.txt [2021-03-30T03:59:32.948Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 03:52 VERSION [2021-03-30T03:59:32.948Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 03:55 bin [2021-03-30T03:59:32.948Z] -rw-r--r-- 1 jenkins jenkins 100082 Mar 30 03:58 coverage.out [2021-03-30T03:59:32.948Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 30 03:55 example [2021-03-30T03:59:32.948Z] -rw-r--r-- 1 jenkins jenkins 514 Mar 30 03:59 go.mod [2021-03-30T03:59:32.948Z] -rw-r--r-- 1 jenkins jenkins 17372 Mar 30 03:59 go.sum [2021-03-30T03:59:32.948Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 30 03:55 internal [2021-03-30T03:59:32.948Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 03:55 openapi [2021-03-30T03:59:32.948Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 30 03:55 pkg [2021-03-30T03:59:32.948Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 03:55 snap [2021-03-30T03:59:32.948Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 30 03:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-30T03:59:33.290Z] + 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=a2b2291b08b531062f7f4dca65e9a843683076fa --label arch=arm64 --label version=0.0.0 . [2021-03-30T03:59:33.561Z] Sending build context to Docker daemon 2.444MB [2021-03-30T03:59:33.561Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-30T03:59:33.561Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-30T03:59:33.561Z] ---> 4e6fea33d076 [2021-03-30T03:59:33.561Z] Step 3/24 : ARG MAKE='make build' [2021-03-30T03:59:33.833Z] ---> Running in bb831ce6388b [2021-03-30T03:59:34.424Z] Removing intermediate container bb831ce6388b [2021-03-30T03:59:34.424Z] ---> e91a84cc7f35 [2021-03-30T03:59:34.424Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-30T03:59:34.693Z] ---> Running in 951356a8af3c [2021-03-30T03:59:34.964Z] Removing intermediate container 951356a8af3c [2021-03-30T03:59:34.964Z] ---> 9c91dbf53920 [2021-03-30T03:59:34.964Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-30T03:59:35.234Z] ---> Running in 36af676db132 [2021-03-30T03:59:35.826Z] Removing intermediate container 36af676db132 [2021-03-30T03:59:35.826Z] ---> a1d98e0c70a8 [2021-03-30T03:59:35.826Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-30T03:59:35.826Z] ---> Running in 1371e09701f8 [2021-03-30T03:59:37.793Z] Removing intermediate container 1371e09701f8 [2021-03-30T03:59:37.793Z] ---> 1c6ca14cf732 [2021-03-30T03:59:37.793Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-30T03:59:37.793Z] ---> Running in 344feacfaebb [2021-03-30T03:59:38.771Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-30T03:59:40.193Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-30T03:59:41.619Z] OK: 142 MiB in 39 packages [2021-03-30T03:59:42.598Z] Removing intermediate container 344feacfaebb [2021-03-30T03:59:42.598Z] ---> 5edd55767c5d [2021-03-30T03:59:42.598Z] Step 8/24 : COPY . . [2021-03-30T03:59:44.033Z] ---> 2eb46bb564db [2021-03-30T03:59:44.033Z] Step 9/24 : RUN ${MAKE} [2021-03-30T03:59:44.033Z] ---> Running in 5e521d511aa6 [2021-03-30T03:59:45.015Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-30T04:00:11.831Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-30T04:00:13.266Z] Removing intermediate container 5e521d511aa6 [2021-03-30T04:00:13.266Z] ---> 1fa9deb6e958 [2021-03-30T04:00:13.266Z] Step 10/24 : FROM scratch [2021-03-30T04:00:13.266Z] ---> [2021-03-30T04:00:13.266Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-30T04:00:13.540Z] ---> Running in 4918272081fd [2021-03-30T04:00:13.816Z] Removing intermediate container 4918272081fd [2021-03-30T04:00:13.816Z] ---> 6b8d5bb74571 [2021-03-30T04:00:13.816Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-30T04:00:14.088Z] ---> Running in 7db0c81b3a9c [2021-03-30T04:00:14.362Z] Removing intermediate container 7db0c81b3a9c [2021-03-30T04:00:14.362Z] ---> 4f79601d60a2 [2021-03-30T04:00:14.362Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-30T04:00:14.362Z] ---> Running in 4e3100c560b8 [2021-03-30T04:00:14.963Z] Removing intermediate container 4e3100c560b8 [2021-03-30T04:00:14.963Z] ---> 828cf87961f9 [2021-03-30T04:00:14.963Z] Step 14/24 : WORKDIR / [2021-03-30T04:00:14.963Z] ---> Running in feaa0a181c1d [2021-03-30T04:00:15.556Z] Removing intermediate container feaa0a181c1d [2021-03-30T04:00:15.556Z] ---> 7e22ac235a45 [2021-03-30T04:00:15.556Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-30T04:00:16.536Z] ---> 1b680fccc6c3 [2021-03-30T04:00:16.536Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-30T04:00:17.515Z] ---> 737aff2526a5 [2021-03-30T04:00:17.515Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-30T04:00:17.515Z] COPY failed: stat /var/lib/docker/overlay2/2baec20ac49d0c95e6cd0d01c460afaf8ebda6efbe0f956a24dfdc4035f1d929/merged/device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml: no such file or directory [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-30T04:00:18.380Z] ---> job-cost.sh [2021-03-30T04:00:18.380Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-J0ph [2021-03-30T04:00:57.355Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-30T04:02:34.102Z] lf-activate-venv(): INFO: Adding /tmp/venv-J0ph/bin to PATH [2021-03-30T04:02:34.102Z] INFO: No Stack... [2021-03-30T04:02:34.102Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-30T04:02:34.102Z] INFO: Archiving Costs [Pipeline] sh [2021-03-30T04:02:34.440Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-03-30T04:02:34.440Z] + cut -d, -f6 [Pipeline] lock [2021-03-30T04:02:34.544Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-4-stack-cost] [2021-03-30T04:02:34.553Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-4-stack-cost] did not exist. Created. [2021-03-30T04:02:34.553Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-30T04:02:35.072Z] /w/workspace/device-sdk-go/4@tmp/durable-8e465f5d/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-8e465f5d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-30T04:02:35.419Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-30T04:02:35.518Z] Warning: overwriting stash ‘stack-cost’ [2021-03-30T04:02:35.675Z] Stashed 1 file(s) [Pipeline] } [2021-03-30T04:02:35.687Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-30T04:02:36.373Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-30T04:02:38.771Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T04:02:39.363Z] ---> package-listing.sh [2021-03-30T04:02:39.363Z] ++ facter osfamily [2021-03-30T04:02:39.363Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-30T04:02:39.363Z] + OS_FAMILY=redhat [2021-03-30T04:02:39.363Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-844 [2021-03-30T04:02:39.363Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-30T04:02:39.363Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-30T04:02:39.363Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-30T04:02:39.363Z] + PACKAGES=/tmp/packages_start.txt [2021-03-30T04:02:39.363Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' [2021-03-30T04:02:39.363Z] + PACKAGES=/tmp/packages_end.txt [2021-03-30T04:02:39.363Z] + case "${OS_FAMILY}" in [2021-03-30T04:02:39.363Z] + rpm -qa [2021-03-30T04:02:39.363Z] + sort [2021-03-30T04:02:44.675Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-30T04:02:44.675Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-30T04:02:44.675Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-30T04:02:44.675Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' [2021-03-30T04:02:44.675Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ [2021-03-30T04:02:44.675Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ [Pipeline] echo [2021-03-30T04:02:44.689Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-844/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-30T04:02:44.977Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-30T04:02:45.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-30T04:02:45.282Z] [2021-03-30T04:02:45.282Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-30T04:02:45.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-30T04:02:45.633Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-30T04:02:45.633Z] df20fa9351a1: Pulling fs layer [2021-03-30T04:02:45.633Z] 36b3adc4ff6f: Pulling fs layer [2021-03-30T04:02:45.633Z] 8ad3a11d3b57: Pulling fs layer [2021-03-30T04:02:45.633Z] 46f8f816bc3b: Pulling fs layer [2021-03-30T04:02:45.634Z] 93b61091891f: Pulling fs layer [2021-03-30T04:02:45.634Z] 93b9cdb0e59b: Pulling fs layer [2021-03-30T04:02:45.634Z] 5e14af77c1be: Pulling fs layer [2021-03-30T04:02:45.634Z] 01666e4c0597: Pulling fs layer [2021-03-30T04:02:45.634Z] aa168da1d23b: Pulling fs layer [2021-03-30T04:02:45.634Z] 93b9cdb0e59b: Waiting [2021-03-30T04:02:45.634Z] 5e14af77c1be: Waiting [2021-03-30T04:02:45.634Z] aa168da1d23b: Waiting [2021-03-30T04:02:45.634Z] 46f8f816bc3b: Waiting [2021-03-30T04:02:45.634Z] 93b61091891f: Waiting [2021-03-30T04:02:45.634Z] 36b3adc4ff6f: Verifying Checksum [2021-03-30T04:02:45.634Z] 36b3adc4ff6f: Download complete [2021-03-30T04:02:45.634Z] 46f8f816bc3b: Verifying Checksum [2021-03-30T04:02:45.634Z] 46f8f816bc3b: Download complete [2021-03-30T04:02:45.900Z] df20fa9351a1: Verifying Checksum [2021-03-30T04:02:45.900Z] df20fa9351a1: Download complete [2021-03-30T04:02:45.900Z] 93b9cdb0e59b: Verifying Checksum [2021-03-30T04:02:45.900Z] 93b9cdb0e59b: Download complete [2021-03-30T04:02:45.900Z] 5e14af77c1be: Verifying Checksum [2021-03-30T04:02:45.900Z] 5e14af77c1be: Download complete [2021-03-30T04:02:45.900Z] 01666e4c0597: Verifying Checksum [2021-03-30T04:02:45.900Z] 93b61091891f: Verifying Checksum [2021-03-30T04:02:45.900Z] 93b61091891f: Download complete [2021-03-30T04:02:45.900Z] 01666e4c0597: Download complete [2021-03-30T04:02:46.185Z] df20fa9351a1: Pull complete [2021-03-30T04:02:46.185Z] 8ad3a11d3b57: Verifying Checksum [2021-03-30T04:02:46.185Z] 8ad3a11d3b57: Download complete [2021-03-30T04:02:46.457Z] 36b3adc4ff6f: Pull complete [2021-03-30T04:02:47.413Z] 8ad3a11d3b57: Pull complete [2021-03-30T04:02:47.413Z] 46f8f816bc3b: Pull complete [2021-03-30T04:02:47.993Z] 93b61091891f: Pull complete [2021-03-30T04:02:47.993Z] 93b9cdb0e59b: Pull complete [2021-03-30T04:02:48.256Z] aa168da1d23b: Verifying Checksum [2021-03-30T04:02:48.256Z] aa168da1d23b: Download complete [2021-03-30T04:02:48.256Z] 5e14af77c1be: Pull complete [2021-03-30T04:02:48.256Z] 01666e4c0597: Pull complete [2021-03-30T04:02:58.318Z] aa168da1d23b: Pull complete [2021-03-30T04:02:58.319Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-30T04:02:58.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-30T04:02:58.319Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-30T04:02:58.532Z] prd-centos7-docker-4c-2g-31969 does not seem to be running inside a container [2021-03-30T04:02:58.581Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-844/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-30T04:03:01.905Z] $ docker top 17223120d8cf745dd7774feea7f42cef44b0c1db319c1ae49d64b9c26671b71d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T04:03:02.438Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-30T04:03:02.771Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-30T04:03:03.070Z] + ls /var/log/sa-host [2021-03-30T04:03:03.070Z] + sadf -c /var/log/sa-host/sa23 [2021-03-30T04:03:03.070Z] file_magic: OK [2021-03-30T04:03:03.070Z] HZ: Using current value: 100 [2021-03-30T04:03:03.070Z] file_header: OK [2021-03-30T04:03:03.070Z] 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-30T04:03:03.070Z] Statistics: [2021-03-30T04:03:03.070Z] Hnuu...uuuununununu... [2021-03-30T04:03:03.070Z] File successfully converted to sysstat format version 12.2.1 [2021-03-30T04:03:03.070Z] + sadf -c /var/log/sa-host/sa30 [2021-03-30T04:03:03.070Z] file_magic: OK [2021-03-30T04:03:03.070Z] HZ: Using current value: 100 [2021-03-30T04:03:03.070Z] file_header: OK [2021-03-30T04:03:03.070Z] 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-30T04:03:03.070Z] Statistics: [2021-03-30T04:03:03.070Z] 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-30T04:03:03.070Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-30T04:03:03.355Z] provisioning config files... [2021-03-30T04:03:03.371Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config2548481551609372333tmp [Pipeline] { [Pipeline] echo [2021-03-30T04:03:03.457Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T04:03:03.794Z] ---> create-netrc.sh [Pipeline] } [2021-03-30T04:03:03.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-30T04:03:03.981Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T04:03:04.281Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-30T04:03:04.292Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T04:03:04.600Z] ---> sudo-logs.sh [2021-03-30T04:03:04.600Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-30T04:03:04.711Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T04:03:05.010Z] ---> job-cost.sh [2021-03-30T04:03:05.011Z] lf-activate-venv: SKIPPING [2021-03-30T04:03:05.011Z] DEBUG: total: 0.20999999344348907 [2021-03-30T04:03:05.011Z] INFO: Retrieving Stack Cost... [2021-03-30T04:03:05.587Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-30T04:03:06.169Z] INFO: Archiving Costs [Pipeline] echo [2021-03-30T04:03:06.193Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T04:03:06.499Z] ---> logs-deploy.sh [2021-03-30T04:03:06.499Z] lf-activate-venv: SKIPPING [2021-03-30T04:03:06.499Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-844/4 [2021-03-30T04:03:06.499Z] INFO: archiving workspace using pattern(s): [2021-03-30T04:03:08.431Z] Archives upload complete. [2021-03-30T04:03:08.431Z] INFO: archiving logs to Nexus