Pull request #829 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 f82460527c0eb718fcf2dd97423294a8a45a7202+b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 (769566b112eb6e05bdb74fda60f18a55b1108496) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-31664 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [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-829 # 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 Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit f82460527c0eb718fcf2dd97423294a8a45a7202 Merge succeeded, producing f82460527c0eb718fcf2dd97423294a8a45a7202 Checking out Revision f82460527c0eb718fcf2dd97423294a8a45a7202 (PR-829) 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/829/head:refs/remotes/origin/PR-829 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f82460527c0eb718fcf2dd97423294a8a45a7202 # 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 f82460527c0eb718fcf2dd97423294a8a45a7202 # timeout=10 Commit message: "ci: update build files to support zmq dependency" First time build. Skipping changelog. > git rev-list --no-walk 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-29T04:50:51.088Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-29T04:50:51.382Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-29T04:50:51.500Z] ========================================================= [2021-03-29T04:50:51.500Z] EdgeX Global Pipelines Version Info [2021-03-29T04:50:51.500Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:50:52.993Z] ------------------- [2021-03-29T04:50:52.994Z] stable info: [2021-03-29T04:50:52.994Z] ------------------- [2021-03-29T04:50:52.994Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-29T04:50:52.994Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-29T04:50:52.994Z] Message: update stable to v1.0.186 [2021-03-29T04:50:53.940Z] ------------------- [2021-03-29T04:50:53.941Z] experimental info: [2021-03-29T04:50:53.941Z] ------------------- [2021-03-29T04:50:53.941Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-29T04:50:53.941Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-29T04:50:53.941Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-29T04:50:54.210Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-29T04:50:54.304Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-29T04:50:54.397Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-29T04:50:54.500Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-29T04:50:54.612Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-29T04:50:54.704Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-29T04:50:54.798Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-29T04:50:54.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-29T04:50:55.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-29T04:50:55.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-29T04:50:55.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-29T04:50:55.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-29T04:50:55.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-29T04:50:55.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-29T04:50:55.693Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-29T04:50:55.788Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-29T04:50:55.878Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-29T04:50:55.974Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-29T04:50:56.063Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-29T04:50:56.153Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-29T04:50:56.262Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-29T04:50:56.355Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-29T04:50:56.444Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-29T04:50:56.537Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-29T04:50:56.629Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-29T04:50:56.739Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-29T04:50:56.852Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-829 [Pipeline] echo [2021-03-29T04:50:57.026Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-829 [Pipeline] echo [2021-03-29T04:50:57.123Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-829 [Pipeline] echo [2021-03-29T04:50:57.215Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f82460527c0eb718fcf2dd97423294a8a45a7202 [Pipeline] echo [2021-03-29T04:50:57.302Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f824605 [Pipeline] echo [2021-03-29T04:50:57.389Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-29T04:50:57.559Z] provisioning config files... [2021-03-29T04:50:57.588Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config9036178407734819285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:50:57.948Z] ---> docker-login.sh [2021-03-29T04:50:57.948Z] nexus3.edgexfoundry.org:10001 [2021-03-29T04:50:58.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:50:58.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:50:58.212Z] Configure a credential helper to remove this warning. See [2021-03-29T04:50:58.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:50:58.212Z] [2021-03-29T04:50:58.212Z] Login Succeeded [2021-03-29T04:50:58.212Z] nexus3.edgexfoundry.org:10002 [2021-03-29T04:50:58.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:50:58.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:50:58.478Z] Configure a credential helper to remove this warning. See [2021-03-29T04:50:58.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:50:58.478Z] [2021-03-29T04:50:58.478Z] Login Succeeded [2021-03-29T04:50:58.478Z] nexus3.edgexfoundry.org:10003 [2021-03-29T04:50:58.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:50:58.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:50:58.743Z] Configure a credential helper to remove this warning. See [2021-03-29T04:50:58.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:50:58.744Z] [2021-03-29T04:50:58.744Z] Login Succeeded [2021-03-29T04:50:58.744Z] nexus3.edgexfoundry.org:10004 [2021-03-29T04:50:58.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:50:59.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:50:59.007Z] Configure a credential helper to remove this warning. See [2021-03-29T04:50:59.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:50:59.007Z] [2021-03-29T04:50:59.007Z] Login Succeeded [2021-03-29T04:50:59.007Z] docker.io [2021-03-29T04:50:59.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:50:59.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:50:59.271Z] Configure a credential helper to remove this warning. See [2021-03-29T04:50:59.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:50:59.271Z] [2021-03-29T04:50:59.271Z] Login Succeeded [2021-03-29T04:50:59.271Z] ---> docker-login.sh ends [Pipeline] } [2021-03-29T04:50:59.282Z] 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-29T04:51:00.071Z] + git log --format=format:%s -1 f82460527c0eb718fcf2dd97423294a8a45a7202 [Pipeline] echo [2021-03-29T04:51:00.143Z] GIT_COMMIT: f82460527c0eb718fcf2dd97423294a8a45a7202, Commit Message: ci: update build files to support zmq dependency [Pipeline] echo [2021-03-29T04:51:00.210Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:51:00.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T04:51:00.873Z] [2021-03-29T04:51:00.873Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:51:01.239Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T04:51:01.239Z] latest: Pulling from edgex-devops/git-semver [2021-03-29T04:51:01.239Z] 31603596830f: Pulling fs layer [2021-03-29T04:51:01.239Z] 2a8b12db71e7: Pulling fs layer [2021-03-29T04:51:01.239Z] 6ca5941a6612: Pulling fs layer [2021-03-29T04:51:01.239Z] ecc8261a40a4: Pulling fs layer [2021-03-29T04:51:01.239Z] ecc8261a40a4: Waiting [2021-03-29T04:51:01.239Z] 2a8b12db71e7: Verifying Checksum [2021-03-29T04:51:01.512Z] 31603596830f: Verifying Checksum [2021-03-29T04:51:01.512Z] 31603596830f: Download complete [2021-03-29T04:51:01.512Z] ecc8261a40a4: Verifying Checksum [2021-03-29T04:51:01.512Z] ecc8261a40a4: Download complete [2021-03-29T04:51:01.512Z] 6ca5941a6612: Verifying Checksum [2021-03-29T04:51:01.512Z] 6ca5941a6612: Download complete [2021-03-29T04:51:01.777Z] 31603596830f: Pull complete [2021-03-29T04:51:02.056Z] 2a8b12db71e7: Pull complete [2021-03-29T04:51:03.013Z] 6ca5941a6612: Pull complete [2021-03-29T04:51:03.276Z] ecc8261a40a4: Pull complete [2021-03-29T04:51:03.276Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-29T04:51:03.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T04:51:03.276Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-29T04:51:03.392Z] prd-centos7-docker-4c-2g-31664 does not seem to be running inside a container [2021-03-29T04:51:03.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-829 -v /w/workspace/dgexfoundry_device-sdk-go_PR-829:/w/workspace/dgexfoundry_device-sdk-go_PR-829:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-829@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-29T04:51:05.650Z] $ docker top 1b5edbbc5b0e5c3a546f7713536255acaa6434436fa4baaaa839fb5daa98cc99 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-29T04:51:05.952Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-29T04:51:05.953Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-29T04:51:06.181Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-29T04:51:06.183Z] $ docker exec 1b5edbbc5b0e5c3a546f7713536255acaa6434436fa4baaaa839fb5daa98cc99 ssh-agent [2021-03-29T04:51:06.349Z] SSH_AUTH_SOCK=/tmp/ssh-0fKQkEagxSzw/agent.11 [2021-03-29T04:51:06.349Z] SSH_AGENT_PID=16 [2021-03-29T04:51:06.360Z] Running ssh-add (command line suppressed) [2021-03-29T04:51:06.482Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_7955804140139316044.key (/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_7955804140139316044.key) [2021-03-29T04:51:06.536Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-29T04:51:06.876Z] + git tag --points-at HEAD [Pipeline] } [2021-03-29T04:51:06.898Z] $ docker exec --env ******** --env ******** 1b5edbbc5b0e5c3a546f7713536255acaa6434436fa4baaaa839fb5daa98cc99 ssh-agent -k [2021-03-29T04:51:07.009Z] unset SSH_AUTH_SOCK; [2021-03-29T04:51:07.009Z] unset SSH_AGENT_PID; [2021-03-29T04:51:07.010Z] echo Agent pid 16 killed; [2021-03-29T04:51:07.059Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-29T04:51:07.197Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-29T04:51:07.197Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-29T04:51:07.364Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-29T04:51:07.365Z] $ docker exec 1b5edbbc5b0e5c3a546f7713536255acaa6434436fa4baaaa839fb5daa98cc99 ssh-agent [2021-03-29T04:51:07.550Z] SSH_AUTH_SOCK=/tmp/ssh-L8w6BWXMAu6z/agent.45 [2021-03-29T04:51:07.550Z] SSH_AGENT_PID=51 [2021-03-29T04:51:07.557Z] Running ssh-add (command line suppressed) [2021-03-29T04:51:07.681Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_3552103087871560283.key (/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_3552103087871560283.key) [2021-03-29T04:51:07.737Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-29T04:51:08.079Z] + git semver init [2021-03-29T04:51:08.079Z] # -> Open(): unable to determine branch for HEAD [2021-03-29T04:51:08.079Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-829/.git [2021-03-29T04:51:08.079Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-829 [2021-03-29T04:51:08.079Z] # $SEMVER_REMOTE_NAME = origin [2021-03-29T04:51:08.079Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-29T04:51:08.079Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-29T04:51:08.079Z] # $SEMVER_BRANCH = PR-829 [2021-03-29T04:51:08.079Z] # $SEMVER_TEMP = /tmp/semver-148637851 [2021-03-29T04:51:08.079Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-29T04:51:08.654Z] # '/tmp/semver-148637851' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-829/.semver' [2021-03-29T04:51:08.654Z] # -> Force: false [2021-03-29T04:51:08.654Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-829/.semver [Pipeline] } [2021-03-29T04:51:08.664Z] $ docker exec --env ******** --env ******** 1b5edbbc5b0e5c3a546f7713536255acaa6434436fa4baaaa839fb5daa98cc99 ssh-agent -k [2021-03-29T04:51:08.809Z] unset SSH_AUTH_SOCK; [2021-03-29T04:51:08.810Z] unset SSH_AGENT_PID; [2021-03-29T04:51:08.810Z] echo Agent pid 51 killed; [2021-03-29T04:51:08.863Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-29T04:51:09.331Z] + git semver [Pipeline] } [2021-03-29T04:51:09.345Z] $ docker stop --time=1 1b5edbbc5b0e5c3a546f7713536255acaa6434436fa4baaaa839fb5daa98cc99 [2021-03-29T04:51:11.049Z] $ docker rm -f 1b5edbbc5b0e5c3a546f7713536255acaa6434436fa4baaaa839fb5daa98cc99 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-29T04:51:11.521Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-29T04:51:12.009Z] Stashed 1 file(s) [Pipeline] echo [2021-03-29T04:51:12.012Z] [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-29T04:51:27.580Z] Still waiting to schedule task [2021-03-29T04:51:27.580Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-29T04:51:27.583Z] Still waiting to schedule task [2021-03-29T04:51:27.583Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-29T04:53:08.225Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31665 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [Pipeline] { [Pipeline] ws [2021-03-29T04:53:08.287Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2021-03-29T04:53:13.502Z] using credential edgex-jenkins-ssh [2021-03-29T04:53:13.563Z] Cloning the remote Git repository [2021-03-29T04:53:13.637Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-29T04:53:13.752Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2021-03-29T04:53:13.827Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-29T04:53:13.828Z] > git --version # timeout=10 [2021-03-29T04:53:13.851Z] > git --version # 'git version 2.17.1' [2021-03-29T04:53:13.853Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T04:53:13.927Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T04:53:15.262Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-29T04:53:15.294Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T04:53:15.325Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-29T04:53:15.380Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-29T04:53:15.381Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T04:53:15.395Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/829/head:refs/remotes/origin/PR-829 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-29T04:53:16.074Z] Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit f82460527c0eb718fcf2dd97423294a8a45a7202 [2021-03-29T04:53:16.355Z] Merge succeeded, producing f82460527c0eb718fcf2dd97423294a8a45a7202 [2021-03-29T04:53:16.356Z] Checking out Revision f82460527c0eb718fcf2dd97423294a8a45a7202 (PR-829) [2021-03-29T04:53:16.092Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T04:53:16.127Z] > git checkout -f f82460527c0eb718fcf2dd97423294a8a45a7202 # timeout=10 [2021-03-29T04:53:16.238Z] > git remote # timeout=10 [2021-03-29T04:53:16.264Z] > git config --get remote.origin.url # timeout=10 [2021-03-29T04:53:16.286Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T04:53:16.296Z] > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 [2021-03-29T04:53:16.331Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-29T04:53:16.359Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T04:53:16.374Z] > git checkout -f f82460527c0eb718fcf2dd97423294a8a45a7202 # timeout=10 [2021-03-29T04:53:20.966Z] Commit message: "ci: update build files to support zmq dependency" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-29T04:53:22.537Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-29T04:53:22.976Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-29T04:53:23.320Z] + true [2021-03-29T04:53:23.320Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-29T04:53:25.501Z] provisioning config files... [2021-03-29T04:53:25.586Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config2384033882533220231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:53:26.001Z] ---> docker-login.sh [2021-03-29T04:53:26.001Z] nexus3.edgexfoundry.org:10001 [2021-03-29T04:53:26.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:53:27.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:53:27.271Z] Configure a credential helper to remove this warning. See [2021-03-29T04:53:27.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:53:27.271Z] [2021-03-29T04:53:27.271Z] Login Succeeded [2021-03-29T04:53:27.271Z] nexus3.edgexfoundry.org:10002 [2021-03-29T04:53:27.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:53:27.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:53:27.872Z] Configure a credential helper to remove this warning. See [2021-03-29T04:53:27.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:53:27.872Z] [2021-03-29T04:53:27.872Z] Login Succeeded [2021-03-29T04:53:27.872Z] nexus3.edgexfoundry.org:10003 [2021-03-29T04:53:28.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:53:28.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:53:28.426Z] Configure a credential helper to remove this warning. See [2021-03-29T04:53:28.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:53:28.426Z] [2021-03-29T04:53:28.426Z] Login Succeeded [2021-03-29T04:53:28.426Z] nexus3.edgexfoundry.org:10004 [2021-03-29T04:53:28.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:53:28.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:53:28.976Z] Configure a credential helper to remove this warning. See [2021-03-29T04:53:28.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:53:28.976Z] [2021-03-29T04:53:28.976Z] Login Succeeded [2021-03-29T04:53:28.976Z] docker.io [2021-03-29T04:53:29.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:53:29.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:53:29.525Z] Configure a credential helper to remove this warning. See [2021-03-29T04:53:29.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:53:29.525Z] [2021-03-29T04:53:29.525Z] Login Succeeded [2021-03-29T04:53:29.525Z] ---> docker-login.sh ends [Pipeline] } [2021-03-29T04:53:29.543Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-29T04:53:30.016Z] ========================================================= [2021-03-29T04:53:30.016Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-29T04:53:30.016Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:53:30.402Z] + 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-29T04:53:31.028Z] Sending build context to Docker daemon 2.434MB [2021-03-29T04:53:31.028Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-03-29T04:53:31.028Z] Step 2/8 : FROM ${BASE} [2021-03-29T04:53:31.028Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-29T04:53:31.028Z] 5f621e34cdf4: Pulling fs layer [2021-03-29T04:53:31.028Z] a4357932f1b6: Pulling fs layer [2021-03-29T04:53:31.028Z] 18c013af1878: Pulling fs layer [2021-03-29T04:53:31.028Z] 00ac8860ef70: Pulling fs layer [2021-03-29T04:53:31.028Z] 63d7cb157983: Pulling fs layer [2021-03-29T04:53:31.028Z] b116817d02f9: Pulling fs layer [2021-03-29T04:53:31.028Z] 745a02a5169b: Pulling fs layer [2021-03-29T04:53:31.028Z] b116817d02f9: Waiting [2021-03-29T04:53:31.028Z] 745a02a5169b: Waiting [2021-03-29T04:53:31.028Z] 00ac8860ef70: Waiting [2021-03-29T04:53:31.028Z] 63d7cb157983: Waiting [2021-03-29T04:53:31.028Z] 18c013af1878: Verifying Checksum [2021-03-29T04:53:31.028Z] 18c013af1878: Download complete [2021-03-29T04:53:31.028Z] a4357932f1b6: Verifying Checksum [2021-03-29T04:53:31.028Z] a4357932f1b6: Download complete [2021-03-29T04:53:31.028Z] 63d7cb157983: Verifying Checksum [2021-03-29T04:53:31.028Z] 63d7cb157983: Download complete [2021-03-29T04:53:31.303Z] 5f621e34cdf4: Verifying Checksum [2021-03-29T04:53:31.303Z] 5f621e34cdf4: Download complete [2021-03-29T04:53:31.584Z] b116817d02f9: Verifying Checksum [2021-03-29T04:53:31.584Z] b116817d02f9: Download complete [2021-03-29T04:53:32.189Z] 5f621e34cdf4: Pull complete [2021-03-29T04:53:32.805Z] a4357932f1b6: Pull complete [2021-03-29T04:53:33.081Z] 18c013af1878: Pull complete [2021-03-29T04:53:34.521Z] 745a02a5169b: Verifying Checksum [2021-03-29T04:53:34.521Z] 745a02a5169b: Download complete [2021-03-29T04:53:35.509Z] 00ac8860ef70: Download complete [2021-03-29T04:53:45.712Z] 00ac8860ef70: Pull complete [2021-03-29T04:53:45.985Z] 63d7cb157983: Pull complete [2021-03-29T04:53:46.265Z] b116817d02f9: Pull complete [2021-03-29T04:53:49.667Z] 745a02a5169b: Pull complete [2021-03-29T04:53:49.667Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-29T04:53:49.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-29T04:53:49.667Z] ---> b7e6874047d6 [2021-03-29T04:53:49.667Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-29T04:53:52.304Z] ---> Running in 4342da6ec336 [2021-03-29T04:53:52.576Z] Removing intermediate container 4342da6ec336 [2021-03-29T04:53:52.576Z] ---> 7e2a79651971 [2021-03-29T04:53:52.576Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-29T04:53:52.851Z] ---> Running in 0656969f2724 [2021-03-29T04:53:54.839Z] Removing intermediate container 0656969f2724 [2021-03-29T04:53:54.839Z] ---> 5040fe3fcf82 [2021-03-29T04:53:54.839Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-03-29T04:53:55.111Z] ---> Running in 630ff82a8e62 [2021-03-29T04:53:56.090Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-29T04:53:56.684Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-29T04:53:57.072Z] Running on prd-centos7-docker-4c-2g-31666 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [Pipeline] { [Pipeline] ws [2021-03-29T04:53:57.130Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2021-03-29T04:53:57.280Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-03-29T04:53:57.554Z] (2/6) Installing libsodium (1.0.18-r0) [2021-03-29T04:53:57.554Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-03-29T04:53:57.554Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-03-29T04:53:57.828Z] (5/6) Installing libzmq (4.3.3-r0) [2021-03-29T04:53:57.828Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-03-29T04:53:57.828Z] Executing busybox-1.31.1-r19.trigger [2021-03-29T04:53:57.828Z] OK: 144 MiB in 45 packages [2021-03-29T04:53:59.277Z] Removing intermediate container 630ff82a8e62 [2021-03-29T04:53:59.277Z] ---> 84498b2cec7b [2021-03-29T04:53:59.277Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-29T04:53:59.277Z] ---> Running in 49bb55a0fd91 [2021-03-29T04:53:59.584Z] using credential edgex-jenkins-ssh [2021-03-29T04:53:59.639Z] Cloning the remote Git repository [2021-03-29T04:53:59.663Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-29T04:53:59.878Z] Removing intermediate container 49bb55a0fd91 [2021-03-29T04:53:59.878Z] ---> d2f7df33bda8 [2021-03-29T04:53:59.878Z] Step 7/8 : COPY . . [2021-03-29T04:53:59.730Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2021-03-29T04:53:59.789Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-29T04:53:59.790Z] > git --version # timeout=10 [2021-03-29T04:53:59.802Z] > git --version # 'git version 2.24.3' [2021-03-29T04:53:59.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T04:53:59.839Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T04:54:00.522Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-29T04:54:00.530Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T04:54:00.551Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-29T04:54:00.570Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-29T04:54:00.570Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T04:54:00.576Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/829/head:refs/remotes/origin/PR-829 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-29T04:54:01.106Z] Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit f82460527c0eb718fcf2dd97423294a8a45a7202 [2021-03-29T04:54:01.203Z] Merge succeeded, producing f82460527c0eb718fcf2dd97423294a8a45a7202 [2021-03-29T04:54:01.203Z] Checking out Revision f82460527c0eb718fcf2dd97423294a8a45a7202 (PR-829) [2021-03-29T04:54:01.316Z] ---> aea9dd01eb66 [2021-03-29T04:54:01.317Z] Step 8/8 : RUN go mod download [2021-03-29T04:54:01.317Z] ---> Running in c6ba1906e9c5 [2021-03-29T04:54:01.112Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T04:54:01.117Z] > git checkout -f f82460527c0eb718fcf2dd97423294a8a45a7202 # timeout=10 [2021-03-29T04:54:01.161Z] > git remote # timeout=10 [2021-03-29T04:54:01.169Z] > git config --get remote.origin.url # timeout=10 [2021-03-29T04:54:01.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T04:54:01.183Z] > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 [2021-03-29T04:54:01.193Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-29T04:54:01.204Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T04:54:01.212Z] > git checkout -f f82460527c0eb718fcf2dd97423294a8a45a7202 # timeout=10 [2021-03-29T04:54:04.860Z] Commit message: "ci: update build files to support zmq dependency" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-29T04:54:06.008Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-29T04:54:06.342Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-29T04:54:06.654Z] + sudo service docker restart [2021-03-29T04:54:06.654Z] + true [2021-03-29T04:54:06.654Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-29T04:54:07.680Z] provisioning config files... [2021-03-29T04:54:07.717Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config2577249614580220479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:54:08.092Z] ---> docker-login.sh [2021-03-29T04:54:08.092Z] nexus3.edgexfoundry.org:10001 [2021-03-29T04:54:08.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:54:08.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:54:08.357Z] Configure a credential helper to remove this warning. See [2021-03-29T04:54:08.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:54:08.357Z] [2021-03-29T04:54:08.357Z] Login Succeeded [2021-03-29T04:54:08.357Z] nexus3.edgexfoundry.org:10002 [2021-03-29T04:54:08.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:54:08.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:54:08.620Z] Configure a credential helper to remove this warning. See [2021-03-29T04:54:08.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:54:08.620Z] [2021-03-29T04:54:08.620Z] Login Succeeded [2021-03-29T04:54:08.620Z] nexus3.edgexfoundry.org:10003 [2021-03-29T04:54:08.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:54:08.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:54:08.883Z] Configure a credential helper to remove this warning. See [2021-03-29T04:54:08.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:54:08.883Z] [2021-03-29T04:54:08.883Z] Login Succeeded [2021-03-29T04:54:08.883Z] nexus3.edgexfoundry.org:10004 [2021-03-29T04:54:08.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:54:08.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:54:08.883Z] Configure a credential helper to remove this warning. See [2021-03-29T04:54:08.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:54:08.883Z] [2021-03-29T04:54:08.883Z] Login Succeeded [2021-03-29T04:54:08.883Z] docker.io [2021-03-29T04:54:09.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:54:09.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:54:09.408Z] Configure a credential helper to remove this warning. See [2021-03-29T04:54:09.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:54:09.408Z] [2021-03-29T04:54:09.408Z] Login Succeeded [2021-03-29T04:54:09.408Z] ---> docker-login.sh ends [Pipeline] } [2021-03-29T04:54:09.418Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-29T04:54:09.794Z] ========================================================= [2021-03-29T04:54:09.794Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-29T04:54:09.794Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:54:10.139Z] + 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-29T04:54:10.139Z] Sending build context to Docker daemon 2.42MB [2021-03-29T04:54:10.401Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-03-29T04:54:10.401Z] Step 2/8 : FROM ${BASE} [2021-03-29T04:54:10.401Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-29T04:54:10.401Z] 188c0c94c7c5: Pulling fs layer [2021-03-29T04:54:10.401Z] 0ef7d3d256c8: Pulling fs layer [2021-03-29T04:54:10.401Z] de9db76c5a1d: Pulling fs layer [2021-03-29T04:54:10.401Z] bca2f99d35d6: Pulling fs layer [2021-03-29T04:54:10.401Z] 93359f2a8cfa: Pulling fs layer [2021-03-29T04:54:10.401Z] 7c6f9722023f: Pulling fs layer [2021-03-29T04:54:10.401Z] a35cf1a2eb13: Pulling fs layer [2021-03-29T04:54:10.401Z] 93359f2a8cfa: Waiting [2021-03-29T04:54:10.401Z] 7c6f9722023f: Waiting [2021-03-29T04:54:10.401Z] a35cf1a2eb13: Waiting [2021-03-29T04:54:10.401Z] bca2f99d35d6: Waiting [2021-03-29T04:54:10.401Z] de9db76c5a1d: Verifying Checksum [2021-03-29T04:54:10.401Z] de9db76c5a1d: Download complete [2021-03-29T04:54:10.401Z] 0ef7d3d256c8: Download complete [2021-03-29T04:54:10.401Z] 93359f2a8cfa: Verifying Checksum [2021-03-29T04:54:10.401Z] 93359f2a8cfa: Download complete [2021-03-29T04:54:10.668Z] 188c0c94c7c5: Download complete [2021-03-29T04:54:10.668Z] 7c6f9722023f: Verifying Checksum [2021-03-29T04:54:10.668Z] 7c6f9722023f: Download complete [2021-03-29T04:54:10.933Z] 188c0c94c7c5: Pull complete [2021-03-29T04:54:11.196Z] 0ef7d3d256c8: Pull complete [2021-03-29T04:54:11.196Z] de9db76c5a1d: Pull complete [2021-03-29T04:54:12.586Z] a35cf1a2eb13: Verifying Checksum [2021-03-29T04:54:12.586Z] a35cf1a2eb13: Download complete [2021-03-29T04:54:12.849Z] bca2f99d35d6: Verifying Checksum [2021-03-29T04:54:12.849Z] bca2f99d35d6: Download complete [2021-03-29T04:54:18.189Z] bca2f99d35d6: Pull complete [2021-03-29T04:54:18.189Z] 93359f2a8cfa: Pull complete [2021-03-29T04:54:18.189Z] 7c6f9722023f: Pull complete [2021-03-29T04:54:26.383Z] a35cf1a2eb13: Pull complete [2021-03-29T04:54:26.383Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-29T04:54:26.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-29T04:54:26.383Z] ---> a62c8e92a672 [2021-03-29T04:54:26.383Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-29T04:54:26.383Z] ---> Running in b34c819913de [2021-03-29T04:54:26.383Z] Removing intermediate container b34c819913de [2021-03-29T04:54:26.383Z] ---> 2ef69402ea86 [2021-03-29T04:54:26.383Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-29T04:54:26.383Z] ---> Running in 0555dc90b6e4 [2021-03-29T04:54:26.651Z] Removing intermediate container 0555dc90b6e4 [2021-03-29T04:54:26.651Z] ---> 5671c584385a [2021-03-29T04:54:26.651Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-03-29T04:54:26.651Z] ---> Running in 57759346602d [2021-03-29T04:54:27.601Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-29T04:54:28.150Z] Removing intermediate container c6ba1906e9c5 [2021-03-29T04:54:28.150Z] ---> 7981816d5824 [2021-03-29T04:54:28.150Z] Successfully built 7981816d5824 [2021-03-29T04:54:28.150Z] Successfully tagged ci-base-image-arm64:latest [2021-03-29T04:54:28.177Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:54:28.526Z] + docker inspect -f . ci-base-image-arm64 [2021-03-29T04:54:28.526Z] . [Pipeline] withDockerContainer [2021-03-29T04:54:28.752Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-03-29T04:54:28.752Z] (2/6) Installing libsodium (1.0.18-r0) [2021-03-29T04:54:28.752Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-03-29T04:54:28.800Z] prd-ubuntu18.04-docker-arm64-4c-16g-31665 does not seem to be running inside a container [2021-03-29T04:54:28.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-arm64 cat [2021-03-29T04:54:29.015Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-03-29T04:54:29.015Z] (5/6) Installing libzmq (4.3.3-r0) [2021-03-29T04:54:29.285Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-03-29T04:54:29.285Z] Executing busybox-1.31.1-r19.trigger [2021-03-29T04:54:29.285Z] OK: 167 MiB in 45 packages [2021-03-29T04:54:29.862Z] Removing intermediate container 57759346602d [2021-03-29T04:54:29.862Z] ---> 987b4db1704b [2021-03-29T04:54:29.862Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-29T04:54:29.862Z] ---> Running in 3b625020e280 [2021-03-29T04:54:30.124Z] Removing intermediate container 3b625020e280 [2021-03-29T04:54:30.124Z] ---> b902d56f7cfd [2021-03-29T04:54:30.124Z] Step 7/8 : COPY . . [2021-03-29T04:54:30.448Z] $ docker top fde8b072dc0b9a39bc269282741d6c6f65cb422d7e6155d5de27e7a25c24a7c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T04:54:31.493Z] + go version [2021-03-29T04:54:31.493Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-29T04:54:31.520Z] $ docker stop --time=1 fde8b072dc0b9a39bc269282741d6c6f65cb422d7e6155d5de27e7a25c24a7c0 [2021-03-29T04:54:31.522Z] ---> 31bf858003e8 [2021-03-29T04:54:31.522Z] Step 8/8 : RUN go mod download [2021-03-29T04:54:31.522Z] ---> Running in 1368913a22c3 [2021-03-29T04:54:33.433Z] $ docker rm -f fde8b072dc0b9a39bc269282741d6c6f65cb422d7e6155d5de27e7a25c24a7c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:54:34.470Z] + docker inspect -f . ci-base-image-arm64 [2021-03-29T04:54:34.470Z] . [Pipeline] withDockerContainer [2021-03-29T04:54:34.731Z] prd-ubuntu18.04-docker-arm64-4c-16g-31665 does not seem to be running inside a container [2021-03-29T04:54:34.816Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-arm64 cat [2021-03-29T04:54:36.300Z] $ docker top 547781607acc7ca24deebe644e15c53999f4292af16fba5f5080d4bed5f5eeb8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T04:54:37.319Z] + make test [2021-03-29T04:54:37.319Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-29T04:54:53.535Z] Removing intermediate container 1368913a22c3 [2021-03-29T04:54:53.535Z] ---> e1ed6fed9e56 [2021-03-29T04:54:53.535Z] Successfully built e1ed6fed9e56 [2021-03-29T04:54:53.535Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:54:53.847Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-29T04:54:53.847Z] . [Pipeline] withDockerContainer [2021-03-29T04:54:54.072Z] prd-centos7-docker-4c-2g-31666 does not seem to be running inside a container [2021-03-29T04:54:54.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-29T04:54:55.086Z] $ docker top 414f48acca6b36ddb662d5d22ca818e7ebd5edf3435d9d00f26b650ce9033d43 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T04:54:55.598Z] + go version [2021-03-29T04:54:55.598Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-29T04:54:55.610Z] $ docker stop --time=1 414f48acca6b36ddb662d5d22ca818e7ebd5edf3435d9d00f26b650ce9033d43 [2021-03-29T04:54:56.947Z] $ docker rm -f 414f48acca6b36ddb662d5d22ca818e7ebd5edf3435d9d00f26b650ce9033d43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:54:57.894Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-29T04:54:57.894Z] . [Pipeline] withDockerContainer [2021-03-29T04:54:57.998Z] prd-centos7-docker-4c-2g-31666 does not seem to be running inside a container [2021-03-29T04:54:58.043Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-29T04:54:58.624Z] $ docker top ba49e0d65057c552addf84823b07adc91ef3b758de0ae8c0d0a55ef0db8d2dc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T04:54:59.117Z] + make test [2021-03-29T04:54:59.117Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-29T04:54:59.518Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-29T04:55:07.330Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-29T04:55:25.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-29T04:55:25.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-29T04:55:25.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-29T04:55:25.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-29T04:55:25.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-29T04:55:28.162Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.0% of statements [2021-03-29T04:55:28.162Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 81.2% of statements [2021-03-29T04:55:29.147Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.100s coverage: 7.8% of statements [2021-03-29T04:55:29.147Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-29T04:55:29.147Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-03-29T04:55:29.147Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-29T04:55:29.412Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.102s coverage: 32.5% of statements [2021-03-29T04:55:29.412Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-29T04:55:29.412Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-29T04:55:29.412Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-29T04:55:29.412Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 57.3% of statements [2021-03-29T04:55:30.371Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.129s coverage: 6.6% of statements [2021-03-29T04:55:30.371Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-03-29T04:55:30.371Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-29T04:55:30.634Z] GO111MODULE=on go vet ./... [2021-03-29T04:55:45.693Z] gofmt -l . [2021-03-29T04:55:45.693Z] [ "`gofmt -l .`" = "" ] [2021-03-29T04:55:45.693Z] ./bin/test-attribution-txt.sh [2021-03-29T04:55:46.270Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-29T04:55:46.552Z] $ docker stop --time=1 ba49e0d65057c552addf84823b07adc91ef3b758de0ae8c0d0a55ef0db8d2dc4 [2021-03-29T04:55:48.262Z] $ docker rm -f ba49e0d65057c552addf84823b07adc91ef3b758de0ae8c0d0a55ef0db8d2dc4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-29T04:55:48.988Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-29T04:55:49.385Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-29T04:55:53.537Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-29T04:55:53.837Z] + ls -al . [2021-03-29T04:55:53.837Z] total 188 [2021-03-29T04:55:53.837Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 29 04:55 . [2021-03-29T04:55:53.837Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 29 04:53 .. [2021-03-29T04:55:53.837Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 29 04:54 bin [2021-03-29T04:55:53.837Z] -rw-r--r--. 1 jenkins jenkins 101416 Mar 29 04:55 coverage.out [2021-03-29T04:55:53.837Z] -rw-rw-r--. 1 jenkins jenkins 987 Mar 29 04:54 Dockerfile.build [2021-03-29T04:55:53.837Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 29 04:54 .dockerignore [2021-03-29T04:55:53.837Z] drwxrwxr-x. 5 jenkins jenkins 62 Mar 29 04:54 example [2021-03-29T04:55:53.837Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 29 04:54 .git [2021-03-29T04:55:53.837Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 29 04:54 .github [2021-03-29T04:55:53.837Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 29 04:54 .gitignore [2021-03-29T04:55:53.837Z] -rw-r--r--. 1 jenkins jenkins 537 Mar 29 04:55 go.mod [2021-03-29T04:55:53.837Z] -rw-r--r--. 1 jenkins jenkins 20914 Mar 29 04:55 go.sum [2021-03-29T04:55:53.837Z] drwxrwxr-x. 14 jenkins jenkins 207 Mar 29 04:54 internal [2021-03-29T04:55:53.837Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 29 04:54 Jenkinsfile [2021-03-29T04:55:53.837Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 29 04:54 LICENSE [2021-03-29T04:55:53.837Z] -rw-rw-r--. 1 jenkins jenkins 1022 Mar 29 04:54 Makefile [2021-03-29T04:55:53.837Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 29 04:54 openapi [2021-03-29T04:55:53.837Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 29 04:54 pkg [2021-03-29T04:55:53.837Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 29 04:54 README.md [2021-03-29T04:55:53.837Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 29 04:54 RELEASE-NOTES.txt [2021-03-29T04:55:53.837Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 29 04:54 snap [2021-03-29T04:55:53.837Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 29 04:51 VERSION [2021-03-29T04:55:53.837Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 29 04:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:55:54.142Z] + 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=f82460527c0eb718fcf2dd97423294a8a45a7202 --label arch=amd64 --label version=0.0.0 . [2021-03-29T04:55:54.404Z] Sending build context to Docker daemon 2.522MB [2021-03-29T04:55:54.404Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-03-29T04:55:54.404Z] Step 2/23 : FROM ${BASE} AS builder [2021-03-29T04:55:54.404Z] ---> e1ed6fed9e56 [2021-03-29T04:55:54.404Z] Step 3/23 : WORKDIR /device-sdk-go [2021-03-29T04:55:54.979Z] ---> Running in a38267ec4360 [2021-03-29T04:55:55.242Z] Removing intermediate container a38267ec4360 [2021-03-29T04:55:55.242Z] ---> c2edd4389410 [2021-03-29T04:55:55.242Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-29T04:55:55.242Z] ---> Running in 6e43954d0489 [2021-03-29T04:55:55.505Z] Removing intermediate container 6e43954d0489 [2021-03-29T04:55:55.505Z] ---> 48ec0319d312 [2021-03-29T04:55:55.505Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-29T04:55:55.505Z] ---> Running in 77bb5e0bd3fa [2021-03-29T04:55:56.151Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-29T04:55:56.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-29T04:55:56.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-29T04:55:56.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-29T04:55:56.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-29T04:55:56.457Z] Removing intermediate container 77bb5e0bd3fa [2021-03-29T04:55:56.457Z] ---> 79cd7afafd61 [2021-03-29T04:55:56.457Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-03-29T04:55:56.457Z] ---> Running in 2e016eca64da [2021-03-29T04:55:57.033Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-29T04:55:57.606Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-29T04:55:58.185Z] OK: 167 MiB in 45 packages [2021-03-29T04:55:58.448Z] Removing intermediate container 2e016eca64da [2021-03-29T04:55:58.448Z] ---> 97f11a62ba22 [2021-03-29T04:55:58.448Z] Step 7/23 : COPY . . [2021-03-29T04:55:58.808Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.142s coverage: 27.0% of statements [2021-03-29T04:55:59.424Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.252s coverage: 81.2% of statements [2021-03-29T04:55:59.424Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.188s coverage: 7.8% of statements [2021-03-29T04:55:59.424Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-29T04:55:59.424Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-03-29T04:55:59.424Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-29T04:55:59.844Z] ---> 9a6bf046dc62 [2021-03-29T04:55:59.844Z] Step 8/23 : RUN go mod download [2021-03-29T04:55:59.844Z] ---> Running in ad26877dcea1 [2021-03-29T04:56:00.799Z] Removing intermediate container ad26877dcea1 [2021-03-29T04:56:00.799Z] ---> 1b6486ecf5be [2021-03-29T04:56:00.799Z] Step 9/23 : RUN make build [2021-03-29T04:56:00.799Z] ---> Running in 9a8493b85f31 [2021-03-29T04:56:00.872Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.238s coverage: 32.5% of statements [2021-03-29T04:56:00.872Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-29T04:56:00.872Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-29T04:56:00.872Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-29T04:56:01.401Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-29T04:56:05.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.263s coverage: 57.3% of statements [2021-03-29T04:56:05.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.110s coverage: 6.6% of statements [2021-03-29T04:56:05.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.0% of statements [2021-03-29T04:56:05.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-29T04:56:05.217Z] GO111MODULE=on go vet ./... [2021-03-29T04:56:11.551Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-03-29T04:56:13.478Z] Removing intermediate container 9a8493b85f31 [2021-03-29T04:56:13.478Z] ---> 550af1353fbb [2021-03-29T04:56:13.478Z] Step 10/23 : FROM alpine:3.12 [2021-03-29T04:56:13.740Z] 3.12: Pulling from library/alpine [2021-03-29T04:56:13.740Z] 22599d3e9e25: Pulling fs layer [2021-03-29T04:56:14.002Z] 22599d3e9e25: Verifying Checksum [2021-03-29T04:56:14.264Z] 22599d3e9e25: Pull complete [2021-03-29T04:56:14.264Z] Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 [2021-03-29T04:56:14.264Z] Status: Downloaded newer image for alpine:3.12 [2021-03-29T04:56:14.264Z] ---> 42cb162f0360 [2021-03-29T04:56:14.264Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-29T04:56:14.527Z] ---> Running in a410d66f46bb [2021-03-29T04:56:14.527Z] Removing intermediate container a410d66f46bb [2021-03-29T04:56:14.527Z] ---> a40df782da5d [2021-03-29T04:56:14.527Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-29T04:56:14.527Z] ---> Running in 56321ecfb0d0 [2021-03-29T04:56:15.475Z] Removing intermediate container 56321ecfb0d0 [2021-03-29T04:56:15.475Z] ---> 525e2cad11dd [2021-03-29T04:56:15.475Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-03-29T04:56:15.475Z] ---> Running in 00e31e6dc6bf [2021-03-29T04:56:16.053Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-29T04:56:16.631Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-29T04:56:17.203Z] (1/5) Installing libgcc (9.3.0-r2) [2021-03-29T04:56:17.203Z] (2/5) Installing libsodium (1.0.18-r0) [2021-03-29T04:56:17.203Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-03-29T04:56:17.466Z] (4/5) Installing libzmq (4.3.3-r0) [2021-03-29T04:56:17.728Z] (5/5) Installing zeromq (4.3.3-r0) [2021-03-29T04:56:17.728Z] Executing busybox-1.31.1-r19.trigger [2021-03-29T04:56:17.728Z] OK: 8 MiB in 19 packages [2021-03-29T04:56:18.302Z] Removing intermediate container 00e31e6dc6bf [2021-03-29T04:56:18.302Z] ---> 86e2f0e2754c [2021-03-29T04:56:18.302Z] Step 14/23 : WORKDIR / [2021-03-29T04:56:18.302Z] ---> Running in e57ba84c2bb9 [2021-03-29T04:56:18.564Z] Removing intermediate container e57ba84c2bb9 [2021-03-29T04:56:18.564Z] ---> 83aff70aa228 [2021-03-29T04:56:18.564Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-03-29T04:56:18.827Z] ---> 8dd8f64444d5 [2021-03-29T04:56:18.827Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-03-29T04:56:19.402Z] ---> 717fb74207ea [2021-03-29T04:56:19.402Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-03-29T04:56:19.663Z] ---> 3d80cc86a4a8 [2021-03-29T04:56:19.663Z] Step 18/23 : EXPOSE 49990 [2021-03-29T04:56:19.663Z] ---> Running in 9f07f582ca38 [2021-03-29T04:56:19.925Z] Removing intermediate container 9f07f582ca38 [2021-03-29T04:56:19.925Z] ---> 3aa506d26f34 [2021-03-29T04:56:19.925Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-03-29T04:56:19.925Z] ---> Running in e52986e581dc [2021-03-29T04:56:20.188Z] Removing intermediate container e52986e581dc [2021-03-29T04:56:20.188Z] ---> cfb0c6fe5aab [2021-03-29T04:56:20.188Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-29T04:56:20.188Z] ---> Running in 6a57e62d4677 [2021-03-29T04:56:20.449Z] Removing intermediate container 6a57e62d4677 [2021-03-29T04:56:20.449Z] ---> 4b3b513fbbb6 [2021-03-29T04:56:20.449Z] Step 21/23 : LABEL arch=amd64 [2021-03-29T04:56:20.715Z] ---> Running in 27b6de9066d4 [2021-03-29T04:56:20.715Z] Removing intermediate container 27b6de9066d4 [2021-03-29T04:56:20.715Z] ---> 26c6ee1d23bc [2021-03-29T04:56:20.715Z] Step 22/23 : LABEL git_sha=f82460527c0eb718fcf2dd97423294a8a45a7202 [2021-03-29T04:56:20.715Z] ---> Running in 4fb079f24959 [2021-03-29T04:56:20.977Z] Removing intermediate container 4fb079f24959 [2021-03-29T04:56:20.977Z] ---> 742604404d90 [2021-03-29T04:56:20.977Z] Step 23/23 : LABEL version=0.0.0 [2021-03-29T04:56:20.977Z] ---> Running in 75bc0601a277 [2021-03-29T04:56:21.238Z] Removing intermediate container 75bc0601a277 [2021-03-29T04:56:21.238Z] ---> f1359a0536b1 [2021-03-29T04:56:21.238Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-03-29T04:56:21.238Z] Successfully built f1359a0536b1 [2021-03-29T04:56:21.238Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:56:22.239Z] ---> job-cost.sh [2021-03-29T04:56:22.239Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Hxkx [2021-03-29T04:56:37.171Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-29T04:56:52.237Z] gofmt -l . [2021-03-29T04:56:52.237Z] [ "`gofmt -l .`" = "" ] [2021-03-29T04:56:52.237Z] ./bin/test-attribution-txt.sh [2021-03-29T04:56:52.237Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-29T04:56:52.270Z] $ docker stop --time=1 547781607acc7ca24deebe644e15c53999f4292af16fba5f5080d4bed5f5eeb8 [2021-03-29T04:56:54.565Z] $ docker rm -f 547781607acc7ca24deebe644e15c53999f4292af16fba5f5080d4bed5f5eeb8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-29T04:56:55.780Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-29T04:56:55.800Z] Warning: overwriting stash ‘coverage-report’ [2021-03-29T04:56:56.808Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-29T04:56:57.547Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-29T04:56:57.918Z] + ls -al . [2021-03-29T04:56:57.919Z] total 224 [2021-03-29T04:56:57.919Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 04:56 . [2021-03-29T04:56:57.919Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 04:53 .. [2021-03-29T04:56:57.919Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 29 04:53 .dockerignore [2021-03-29T04:56:57.919Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 04:53 .git [2021-03-29T04:56:57.919Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 04:53 .github [2021-03-29T04:56:57.919Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 29 04:53 .gitignore [2021-03-29T04:56:57.919Z] -rw-rw-r-- 1 jenkins jenkins 987 Mar 29 04:53 Dockerfile.build [2021-03-29T04:56:57.919Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 29 04:53 Jenkinsfile [2021-03-29T04:56:57.919Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 29 04:53 LICENSE [2021-03-29T04:56:57.919Z] -rw-rw-r-- 1 jenkins jenkins 1022 Mar 29 04:53 Makefile [2021-03-29T04:56:57.919Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 29 04:53 README.md [2021-03-29T04:56:57.919Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 29 04:53 RELEASE-NOTES.txt [2021-03-29T04:56:57.919Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 04:51 VERSION [2021-03-29T04:56:57.919Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 04:53 bin [2021-03-29T04:56:57.919Z] -rw-r--r-- 1 jenkins jenkins 101416 Mar 29 04:56 coverage.out [2021-03-29T04:56:57.919Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 29 04:53 example [2021-03-29T04:56:57.919Z] -rw-r--r-- 1 jenkins jenkins 537 Mar 29 04:56 go.mod [2021-03-29T04:56:57.919Z] -rw-r--r-- 1 jenkins jenkins 20914 Mar 29 04:56 go.sum [2021-03-29T04:56:57.919Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 29 04:53 internal [2021-03-29T04:56:57.919Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 04:53 openapi [2021-03-29T04:56:57.919Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 29 04:53 pkg [2021-03-29T04:56:57.919Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 04:53 snap [2021-03-29T04:56:57.919Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 29 04:53 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:56:58.386Z] + 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=f82460527c0eb718fcf2dd97423294a8a45a7202 --label arch=arm64 --label version=0.0.0 . [2021-03-29T04:56:58.990Z] Sending build context to Docker daemon 2.536MB [2021-03-29T04:56:58.990Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-03-29T04:56:58.990Z] Step 2/23 : FROM ${BASE} AS builder [2021-03-29T04:56:58.990Z] ---> 7981816d5824 [2021-03-29T04:56:58.990Z] Step 3/23 : WORKDIR /device-sdk-go [2021-03-29T04:56:59.268Z] ---> Running in b2484beded9f [2021-03-29T04:56:59.870Z] Removing intermediate container b2484beded9f [2021-03-29T04:56:59.870Z] ---> 58ca120a46e0 [2021-03-29T04:56:59.870Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-29T04:57:00.150Z] ---> Running in 4fad6a82485a [2021-03-29T04:57:00.425Z] Removing intermediate container 4fad6a82485a [2021-03-29T04:57:00.425Z] ---> df13ab6753fe [2021-03-29T04:57:00.425Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-29T04:57:00.698Z] ---> Running in decab562d102 [2021-03-29T04:57:02.666Z] Removing intermediate container decab562d102 [2021-03-29T04:57:02.666Z] ---> ddb8925d98f4 [2021-03-29T04:57:02.666Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-03-29T04:57:02.938Z] ---> Running in 0d0de6dec801 [2021-03-29T04:57:03.786Z] lf-activate-venv(): INFO: Adding /tmp/venv-Hxkx/bin to PATH [2021-03-29T04:57:03.786Z] INFO: No Stack... [2021-03-29T04:57:03.916Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-29T04:57:04.361Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-29T04:57:04.522Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-29T04:57:04.956Z] INFO: Archiving Costs [Pipeline] sh [2021-03-29T04:57:05.126Z] OK: 144 MiB in 45 packages [2021-03-29T04:57:05.278Z] + cat /w/workspace/device-sdk-go/9/archives/cost.csv [2021-03-29T04:57:05.278Z] + cut -d, -f6 [Pipeline] lock [2021-03-29T04:57:05.369Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-829-9-stack-cost] [2021-03-29T04:57:05.382Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-829-9-stack-cost] did not exist. Created. [2021-03-29T04:57:05.382Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-829-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-29T04:57:05.788Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-29T04:57:05.937Z] Stashed 1 file(s) [Pipeline] } [2021-03-29T04:57:05.950Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-829-9-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-03-29T04:57:06.584Z] Removing intermediate container 0d0de6dec801 [2021-03-29T04:57:06.584Z] ---> e34e2c131935 [2021-03-29T04:57:06.584Z] Step 7/23 : COPY . . [Pipeline] // stage [Pipeline] } [2021-03-29T04:57:08.021Z] ---> 883b8d0b849e [2021-03-29T04:57:08.021Z] Step 8/23 : RUN go mod download [2021-03-29T04:57:08.021Z] ---> Running in 2be925c8c93c [2021-03-29T04:57:10.657Z] Removing intermediate container 2be925c8c93c [2021-03-29T04:57:10.657Z] ---> 595258317079 [2021-03-29T04:57:10.657Z] Step 9/23 : RUN make build [2021-03-29T04:57:10.657Z] ---> Running in 6cd46d35f0e0 [2021-03-29T04:57:11.640Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-29T04:57:44.056Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-03-29T04:57:46.030Z] Removing intermediate container 6cd46d35f0e0 [2021-03-29T04:57:46.030Z] ---> de78597ba790 [2021-03-29T04:57:46.030Z] Step 10/23 : FROM alpine:3.12 [2021-03-29T04:57:46.300Z] 3.12: Pulling from library/alpine [2021-03-29T04:57:46.572Z] 95dec6db3722: Pulling fs layer [2021-03-29T04:57:46.572Z] 95dec6db3722: Verifying Checksum [2021-03-29T04:57:46.572Z] 95dec6db3722: Download complete [2021-03-29T04:57:47.171Z] 95dec6db3722: Pull complete [2021-03-29T04:57:47.171Z] Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 [2021-03-29T04:57:47.171Z] Status: Downloaded newer image for alpine:3.12 [2021-03-29T04:57:47.171Z] ---> e47305ac9786 [2021-03-29T04:57:47.171Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-29T04:57:47.445Z] ---> Running in f915600215df [2021-03-29T04:57:48.038Z] Removing intermediate container f915600215df [2021-03-29T04:57:48.038Z] ---> 3004d4be163b [2021-03-29T04:57:48.038Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-29T04:57:48.038Z] ---> Running in a0e5c41bf784 [2021-03-29T04:57:50.656Z] Removing intermediate container a0e5c41bf784 [2021-03-29T04:57:50.656Z] ---> 84dbd178e07a [2021-03-29T04:57:50.656Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-03-29T04:57:50.656Z] ---> Running in bd3c0f32b8b1 [2021-03-29T04:57:51.250Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-29T04:57:52.220Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-29T04:57:52.813Z] (1/5) Installing libgcc (9.3.0-r2) [2021-03-29T04:57:52.813Z] (2/5) Installing libsodium (1.0.18-r0) [2021-03-29T04:57:53.084Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-03-29T04:57:53.355Z] (4/5) Installing libzmq (4.3.3-r0) [2021-03-29T04:57:53.355Z] (5/5) Installing zeromq (4.3.3-r0) [2021-03-29T04:57:53.355Z] Executing busybox-1.31.1-r19.trigger [2021-03-29T04:57:53.629Z] OK: 8 MiB in 19 packages [2021-03-29T04:57:55.077Z] Removing intermediate container bd3c0f32b8b1 [2021-03-29T04:57:55.077Z] ---> 86d03ab2690c [2021-03-29T04:57:55.077Z] Step 14/23 : WORKDIR / [2021-03-29T04:57:55.077Z] ---> Running in 8e2dd01c3d93 [2021-03-29T04:57:55.352Z] Removing intermediate container 8e2dd01c3d93 [2021-03-29T04:57:55.352Z] ---> 6a3bae113079 [2021-03-29T04:57:55.352Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-03-29T04:57:56.338Z] ---> e9cb9c31b86f [2021-03-29T04:57:56.338Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-03-29T04:57:57.782Z] ---> 223f35431c93 [2021-03-29T04:57:57.782Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-03-29T04:57:58.386Z] ---> 7d14bbc78d68 [2021-03-29T04:57:58.386Z] Step 18/23 : EXPOSE 49990 [2021-03-29T04:57:58.386Z] ---> Running in f499cd082a1d [2021-03-29T04:57:58.983Z] Removing intermediate container f499cd082a1d [2021-03-29T04:57:58.983Z] ---> 5a041a6505c3 [2021-03-29T04:57:58.983Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-03-29T04:57:58.983Z] ---> Running in 636dff25dc31 [2021-03-29T04:57:59.580Z] Removing intermediate container 636dff25dc31 [2021-03-29T04:57:59.580Z] ---> 1aa6fa2e577d [2021-03-29T04:57:59.580Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-29T04:57:59.580Z] ---> Running in 6451907435ed [2021-03-29T04:58:00.174Z] Removing intermediate container 6451907435ed [2021-03-29T04:58:00.174Z] ---> b7d24908ce6e [2021-03-29T04:58:00.174Z] Step 21/23 : LABEL arch=arm64 [2021-03-29T04:58:00.174Z] ---> Running in e990aa911ca9 [2021-03-29T04:58:00.768Z] Removing intermediate container e990aa911ca9 [2021-03-29T04:58:00.768Z] ---> 28c86441630a [2021-03-29T04:58:00.768Z] Step 22/23 : LABEL git_sha=f82460527c0eb718fcf2dd97423294a8a45a7202 [2021-03-29T04:58:00.768Z] ---> Running in b2abbbe8a3d3 [2021-03-29T04:58:01.361Z] Removing intermediate container b2abbbe8a3d3 [2021-03-29T04:58:01.361Z] ---> 8b4ba5a6ab13 [2021-03-29T04:58:01.361Z] Step 23/23 : LABEL version=0.0.0 [2021-03-29T04:58:01.361Z] ---> Running in 031026219f28 [2021-03-29T04:58:01.957Z] Removing intermediate container 031026219f28 [2021-03-29T04:58:01.957Z] ---> 01f92e3d2bd2 [2021-03-29T04:58:01.957Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-03-29T04:58:01.957Z] Successfully built 01f92e3d2bd2 [2021-03-29T04:58:01.957Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:58:02.919Z] ---> job-cost.sh [2021-03-29T04:58:02.919Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WTZg [2021-03-29T04:58:41.894Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-29T05:00:18.668Z] lf-activate-venv(): INFO: Adding /tmp/venv-WTZg/bin to PATH [2021-03-29T05:00:18.668Z] INFO: No Stack... [2021-03-29T05:00:18.668Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-29T05:00:18.668Z] INFO: Archiving Costs [Pipeline] sh [2021-03-29T05:00:19.009Z] + cat /w/workspace/device-sdk-go/9/archives/cost.csv [2021-03-29T05:00:19.009Z] + cut -d, -f6 [Pipeline] lock [2021-03-29T05:00:19.120Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-829-9-stack-cost] [2021-03-29T05:00:19.130Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-829-9-stack-cost] did not exist. Created. [2021-03-29T05:00:19.130Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-829-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-29T05:00:19.580Z] /w/workspace/device-sdk-go/9@tmp/durable-99eda86d/script.sh: 1: /w/workspace/device-sdk-go/9@tmp/durable-99eda86d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-29T05:00:19.921Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-29T05:00:19.990Z] Warning: overwriting stash ‘stack-cost’ [2021-03-29T05:00:20.147Z] Stashed 1 file(s) [Pipeline] } [2021-03-29T05:00:20.160Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-829-9-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-29T05:00:22.075Z] provisioning config files... [2021-03-29T05:00:22.086Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config7809354103431027419tmp [Pipeline] { [Pipeline] sh [2021-03-29T05:00:22.480Z] + set +x [2021-03-29T05:00:22.480Z] + curl -s https://codecov.io/bash [2021-03-29T05:00:22.480Z] + bash -s -- [2021-03-29T05:00:23.057Z] [2021-03-29T05:00:23.057Z] _____ _ [2021-03-29T05:00:23.057Z] / ____| | | [2021-03-29T05:00:23.057Z] | | ___ __| | ___ ___ _____ __ [2021-03-29T05:00:23.057Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-29T05:00:23.057Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-29T05:00:23.057Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-29T05:00:23.057Z] Bash-20210309-2b87ace [2021-03-29T05:00:23.057Z] [2021-03-29T05:00:23.057Z] [2021-03-29T05:00:23.057Z] ==> git version 2.24.3 found [2021-03-29T05:00:23.057Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-03-29T05:00:23.057Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-29T05:00:23.057Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-29T05:00:23.057Z] curl: option -sm: expected a proper numerical parameter [2021-03-29T05:00:23.057Z] curl: try 'curl --help' or 'curl --manual' for more information [2021-03-29T05:00:23.057Z] ==> Jenkins CI detected. [2021-03-29T05:00:23.057Z] project root: . [2021-03-29T05:00:23.057Z] --> token set from env [2021-03-29T05:00:23.057Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-29T05:00:23.057Z] ==> Running gcov in . (disable via -X gcov) [2021-03-29T05:00:23.057Z] ==> Python coveragepy not found [2021-03-29T05:00:23.057Z] ==> Searching for coverage reports in: [2021-03-29T05:00:23.057Z] + . [2021-03-29T05:00:23.057Z] -> Found 1 reports [2021-03-29T05:00:23.057Z] ==> Detecting git/mercurial file structure [2021-03-29T05:00:23.057Z] ==> Reading reports [2021-03-29T05:00:23.057Z] + ./coverage.out bytes=101416 [2021-03-29T05:00:23.057Z] ==> Appending adjustments [2021-03-29T05:00:23.057Z] https://docs.codecov.io/docs/fixing-reports [2021-03-29T05:00:23.320Z] + Found adjustments [2021-03-29T05:00:23.320Z] ==> Gzipping contents [2021-03-29T05:00:23.320Z] 16K /tmp/codecov.RcYbwg.gz [2021-03-29T05:00:23.320Z] ==> Uploading reports [2021-03-29T05:00:23.320Z] url: https://codecov.io [2021-03-29T05:00:23.320Z] query: branch=PR-829&commit=f82460527c0eb718fcf2dd97423294a8a45a7202&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-829%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=829&job=&cmd_args= [2021-03-29T05:00:23.320Z] -> Pinging Codecov [2021-03-29T05:00:23.320Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-829&commit=f82460527c0eb718fcf2dd97423294a8a45a7202&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-829%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=829&job=&cmd_args= [2021-03-29T05:00:23.897Z] -> Uploading to [2021-03-29T05:00:23.897Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-29/7E55EF52A471D76F132DFD9A03CDDE97/f82460527c0eb718fcf2dd97423294a8a45a7202/1c70a279-f6e0-4c5d-b718-1a1bbd771b4c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210329T050023Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=368a111e0c9d8f077b915c983842d64707d651dff99a3194ee5e8a7f1f5b9dc4 [2021-03-29T05:00:23.897Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-29T05:00:23.897Z] Dload Upload Total Spent Left Speed [2021-03-29T05:00:24.162Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13698 0 0 100 13698 0 32838 --:--:-- --:--:-- --:--:-- 32927 [2021-03-29T05:00:24.162Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f82460527c0eb718fcf2dd97423294a8a45a7202 [Pipeline] } [2021-03-29T05:00:24.172Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-29T05:00:26.652Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T05:00:27.224Z] ---> package-listing.sh [2021-03-29T05:00:27.224Z] ++ facter osfamily [2021-03-29T05:00:27.224Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-29T05:00:27.224Z] + OS_FAMILY=redhat [2021-03-29T05:00:27.224Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-829 [2021-03-29T05:00:27.224Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-29T05:00:27.224Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-29T05:00:27.224Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-29T05:00:27.224Z] + PACKAGES=/tmp/packages_start.txt [2021-03-29T05:00:27.224Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-829 ']' [2021-03-29T05:00:27.224Z] + PACKAGES=/tmp/packages_end.txt [2021-03-29T05:00:27.224Z] + case "${OS_FAMILY}" in [2021-03-29T05:00:27.224Z] + rpm -qa [2021-03-29T05:00:27.224Z] + sort [2021-03-29T05:00:32.543Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-29T05:00:32.543Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-29T05:00:32.543Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-29T05:00:32.543Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-829 ']' [2021-03-29T05:00:32.543Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-829/archives/ [2021-03-29T05:00:32.543Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-829/archives/ [Pipeline] echo [2021-03-29T05:00:32.556Z] 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-829/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-29T05:00:32.850Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-29T05:00:33.160Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-29T05:00:33.160Z] [2021-03-29T05:00:33.160Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-29T05:00:33.532Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-29T05:00:33.532Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-29T05:00:33.532Z] df20fa9351a1: Pulling fs layer [2021-03-29T05:00:33.532Z] 36b3adc4ff6f: Pulling fs layer [2021-03-29T05:00:33.532Z] 8ad3a11d3b57: Pulling fs layer [2021-03-29T05:00:33.532Z] 46f8f816bc3b: Pulling fs layer [2021-03-29T05:00:33.532Z] 93b61091891f: Pulling fs layer [2021-03-29T05:00:33.532Z] 93b9cdb0e59b: Pulling fs layer [2021-03-29T05:00:33.532Z] 5e14af77c1be: Pulling fs layer [2021-03-29T05:00:33.532Z] 01666e4c0597: Pulling fs layer [2021-03-29T05:00:33.532Z] aa168da1d23b: Pulling fs layer [2021-03-29T05:00:33.532Z] 93b9cdb0e59b: Waiting [2021-03-29T05:00:33.532Z] 5e14af77c1be: Waiting [2021-03-29T05:00:33.532Z] 01666e4c0597: Waiting [2021-03-29T05:00:33.532Z] aa168da1d23b: Waiting [2021-03-29T05:00:33.532Z] 46f8f816bc3b: Waiting [2021-03-29T05:00:33.532Z] 93b61091891f: Waiting [2021-03-29T05:00:33.532Z] 36b3adc4ff6f: Verifying Checksum [2021-03-29T05:00:33.532Z] 36b3adc4ff6f: Download complete [2021-03-29T05:00:33.532Z] 46f8f816bc3b: Verifying Checksum [2021-03-29T05:00:33.532Z] 46f8f816bc3b: Download complete [2021-03-29T05:00:33.532Z] df20fa9351a1: Verifying Checksum [2021-03-29T05:00:33.532Z] df20fa9351a1: Download complete [2021-03-29T05:00:33.815Z] 93b9cdb0e59b: Verifying Checksum [2021-03-29T05:00:33.815Z] 93b9cdb0e59b: Download complete [2021-03-29T05:00:33.815Z] 93b61091891f: Download complete [2021-03-29T05:00:33.815Z] 5e14af77c1be: Verifying Checksum [2021-03-29T05:00:33.815Z] 5e14af77c1be: Download complete [2021-03-29T05:00:33.815Z] 01666e4c0597: Verifying Checksum [2021-03-29T05:00:33.815Z] 01666e4c0597: Download complete [2021-03-29T05:00:33.815Z] 8ad3a11d3b57: Verifying Checksum [2021-03-29T05:00:33.815Z] 8ad3a11d3b57: Download complete [2021-03-29T05:00:34.082Z] df20fa9351a1: Pull complete [2021-03-29T05:00:34.349Z] 36b3adc4ff6f: Pull complete [2021-03-29T05:00:35.766Z] aa168da1d23b: Verifying Checksum [2021-03-29T05:00:35.766Z] aa168da1d23b: Download complete [2021-03-29T05:00:36.028Z] 8ad3a11d3b57: Pull complete [2021-03-29T05:00:36.606Z] 46f8f816bc3b: Pull complete [2021-03-29T05:00:36.869Z] 93b61091891f: Pull complete [2021-03-29T05:00:36.869Z] 93b9cdb0e59b: Pull complete [2021-03-29T05:00:37.134Z] 5e14af77c1be: Pull complete [2021-03-29T05:00:37.134Z] 01666e4c0597: Pull complete [2021-03-29T05:00:43.801Z] aa168da1d23b: Pull complete [2021-03-29T05:00:43.801Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-29T05:00:43.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-29T05:00:43.801Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-29T05:00:44.023Z] prd-centos7-docker-4c-2g-31664 does not seem to be running inside a container [2021-03-29T05:00:44.073Z] $ 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-829/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-829 -v /w/workspace/dgexfoundry_device-sdk-go_PR-829:/w/workspace/dgexfoundry_device-sdk-go_PR-829:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-829@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-29T05:00:48.721Z] $ docker top a999e7dde813d5ce35e3a46a1c73a897fac407e4fd2ce913633ae84c230ca609 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T05:00:49.285Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-29T05:00:49.592Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-29T05:00:49.898Z] + ls /var/log/sa-host [2021-03-29T05:00:49.898Z] + sadf -c /var/log/sa-host/sa23 [2021-03-29T05:00:49.899Z] file_magic: OK [2021-03-29T05:00:49.899Z] HZ: Using current value: 100 [2021-03-29T05:00:49.899Z] file_header: OK [2021-03-29T05:00:49.899Z] 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-29T05:00:49.899Z] Statistics: [2021-03-29T05:00:49.899Z] Hnuu...uuuununununu... [2021-03-29T05:00:49.899Z] File successfully converted to sysstat format version 12.2.1 [2021-03-29T05:00:49.899Z] + sadf -c /var/log/sa-host/sa29 [2021-03-29T05:00:49.899Z] file_magic: OK [2021-03-29T05:00:49.899Z] HZ: Using current value: 100 [2021-03-29T05:00:49.899Z] file_header: OK [2021-03-29T05:00:49.899Z] 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-29T05:00:49.899Z] Statistics: [2021-03-29T05:00:49.899Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-29T05:00:49.899Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-29T05:00:50.139Z] provisioning config files... [2021-03-29T05:00:50.157Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config6007514866195489538tmp [Pipeline] { [Pipeline] echo [2021-03-29T05:00:50.323Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T05:00:50.624Z] ---> create-netrc.sh [Pipeline] } [2021-03-29T05:00:50.634Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-29T05:00:50.751Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T05:00:51.057Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-29T05:00:51.068Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T05:00:51.368Z] ---> sudo-logs.sh [2021-03-29T05:00:51.368Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-29T05:00:51.441Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T05:00:51.741Z] ---> job-cost.sh [2021-03-29T05:00:51.742Z] lf-activate-venv: SKIPPING [2021-03-29T05:00:51.742Z] DEBUG: total: 0.20999999344348907 [2021-03-29T05:00:51.742Z] INFO: Retrieving Stack Cost... [2021-03-29T05:00:53.136Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-29T05:00:53.400Z] INFO: Archiving Costs [Pipeline] echo [2021-03-29T05:00:53.416Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T05:00:53.719Z] ---> logs-deploy.sh [2021-03-29T05:00:53.719Z] lf-activate-venv: SKIPPING [2021-03-29T05:00:53.719Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-829/9 [2021-03-29T05:00:53.719Z] INFO: archiving workspace using pattern(s): [2021-03-29T05:00:55.645Z] Archives upload complete. [2021-03-29T05:00:55.645Z] INFO: archiving logs to Nexus [2021-03-29T05:00:56.592Z] ---> uname -a: [2021-03-29T05:00:56.592Z] Linux prd-centos7-docker-4c-2g-31664.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-03-29T05:00:56.592Z] [2021-03-29T05:00:56.592Z]