Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2+b247510d13ba8e9fad57040faa04d23d7bfdafc2 (ce91445a29829d5ad9c44392e91981e85e2b555d) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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-mqtt-go, buildSnap:true] ========================================================= [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-mqtt-go-settings PROJECT: device-mqtt-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21722 in /w/workspace/gexfoundry_device-mqtt-go_PR-208 [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-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-208 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git # timeout=10 Merging remotes/origin/master commit b247510d13ba8e9fad57040faa04d23d7bfdafc2 into PR head commit 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 Merge succeeded, producing 7973f23b471115579292fe0d90c7e919797e376f Checking out Revision 7973f23b471115579292fe0d90c7e919797e376f (PR-208) Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/208/head:refs/remotes/origin/PR-208 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 # 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 b247510d13ba8e9fad57040faa04d23d7bfdafc2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7973f23b471115579292fe0d90c7e919797e376f # timeout=10 Commit message: "Merge commit 'b247510d13ba8e9fad57040faa04d23d7bfdafc2' into HEAD" > git rev-list --no-walk 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-20T23:18:25.172Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-20T23:18:25.465Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-20T23:18:25.561Z] ========================================================= [2021-01-20T23:18:25.561Z] EdgeX Global Pipelines Version Info [2021-01-20T23:18:25.561Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:18:27.111Z] ------------------- [2021-01-20T23:18:27.111Z] stable info: [2021-01-20T23:18:27.111Z] ------------------- [2021-01-20T23:18:27.111Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T23:18:27.111Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T23:18:27.111Z] Message: update stable to v1.0.179 [2021-01-20T23:18:28.060Z] ------------------- [2021-01-20T23:18:28.061Z] experimental info: [2021-01-20T23:18:28.061Z] ------------------- [2021-01-20T23:18:28.061Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T23:18:28.061Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T23:18:28.061Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-20T23:18:28.325Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-01-20T23:18:28.412Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-01-20T23:18:28.499Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-20T23:18:28.596Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-20T23:18:28.685Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-20T23:18:28.783Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-20T23:18:28.867Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-20T23:18:28.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-20T23:18:29.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-20T23:18:29.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-20T23:18:29.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-20T23:18:29.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-01-20T23:18:29.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-20T23:18:29.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-20T23:18:29.628Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T23:18:29.715Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T23:18:29.899Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T23:18:30.022Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T23:18:30.126Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-20T23:18:30.217Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-20T23:18:30.318Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-20T23:18:30.457Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-20T23:18:30.547Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-20T23:18:30.663Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-20T23:18:30.752Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-20T23:18:30.846Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-20T23:18:30.933Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-20T23:18:31.017Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-208 [Pipeline] echo [2021-01-20T23:18:31.133Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-208 [Pipeline] echo [2021-01-20T23:18:31.236Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-208 [Pipeline] echo [2021-01-20T23:18:31.341Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7973f23b471115579292fe0d90c7e919797e376f [Pipeline] echo [2021-01-20T23:18:31.460Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7973f23 [Pipeline] echo [2021-01-20T23:18:31.562Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T23:18:31.747Z] provisioning config files... [2021-01-20T23:18:31.778Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp/config3196360392542301191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:18:32.186Z] ---> docker-login.sh [2021-01-20T23:18:32.186Z] nexus3.edgexfoundry.org:10001 [2021-01-20T23:18:32.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:18:32.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:18:32.715Z] Configure a credential helper to remove this warning. See [2021-01-20T23:18:32.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:18:32.715Z] [2021-01-20T23:18:32.715Z] Login Succeeded [2021-01-20T23:18:32.715Z] nexus3.edgexfoundry.org:10002 [2021-01-20T23:18:32.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:18:32.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:18:32.980Z] Configure a credential helper to remove this warning. See [2021-01-20T23:18:32.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:18:32.980Z] [2021-01-20T23:18:32.980Z] Login Succeeded [2021-01-20T23:18:32.980Z] nexus3.edgexfoundry.org:10003 [2021-01-20T23:18:32.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:18:32.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:18:32.980Z] Configure a credential helper to remove this warning. See [2021-01-20T23:18:32.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:18:32.980Z] [2021-01-20T23:18:32.980Z] Login Succeeded [2021-01-20T23:18:32.980Z] nexus3.edgexfoundry.org:10004 [2021-01-20T23:18:33.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:18:33.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:18:33.245Z] Configure a credential helper to remove this warning. See [2021-01-20T23:18:33.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:18:33.245Z] [2021-01-20T23:18:33.245Z] Login Succeeded [2021-01-20T23:18:33.245Z] docker.io [2021-01-20T23:18:33.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:18:33.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:18:33.507Z] Configure a credential helper to remove this warning. See [2021-01-20T23:18:33.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:18:33.507Z] [2021-01-20T23:18:33.507Z] Login Succeeded [2021-01-20T23:18:33.507Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T23:18:33.527Z] 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-01-20T23:18:34.353Z] + git log --format=format:%s -1 7973f23b471115579292fe0d90c7e919797e376f [Pipeline] echo [2021-01-20T23:18:34.430Z] GIT_COMMIT: 7973f23b471115579292fe0d90c7e919797e376f, Commit Message: Merge commit 'b247510d13ba8e9fad57040faa04d23d7bfdafc2' into HEAD [Pipeline] echo [2021-01-20T23:18:34.528Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:18:35.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T23:18:35.123Z] [2021-01-20T23:18:35.123Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:18:35.576Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T23:18:35.576Z] latest: Pulling from edgex-devops/git-semver [2021-01-20T23:18:35.576Z] 31603596830f: Pulling fs layer [2021-01-20T23:18:35.576Z] 2a8b12db71e7: Pulling fs layer [2021-01-20T23:18:35.576Z] 6ca5941a6612: Pulling fs layer [2021-01-20T23:18:35.576Z] ecc8261a40a4: Pulling fs layer [2021-01-20T23:18:35.576Z] ecc8261a40a4: Waiting [2021-01-20T23:18:35.576Z] 2a8b12db71e7: Verifying Checksum [2021-01-20T23:18:35.576Z] 2a8b12db71e7: Download complete [2021-01-20T23:18:35.576Z] 31603596830f: Verifying Checksum [2021-01-20T23:18:35.576Z] 31603596830f: Download complete [2021-01-20T23:18:35.842Z] ecc8261a40a4: Verifying Checksum [2021-01-20T23:18:35.842Z] ecc8261a40a4: Download complete [2021-01-20T23:18:35.842Z] 6ca5941a6612: Verifying Checksum [2021-01-20T23:18:35.842Z] 6ca5941a6612: Download complete [2021-01-20T23:18:36.109Z] 31603596830f: Pull complete [2021-01-20T23:18:36.109Z] 2a8b12db71e7: Pull complete [2021-01-20T23:18:37.073Z] 6ca5941a6612: Pull complete [2021-01-20T23:18:37.338Z] ecc8261a40a4: Pull complete [2021-01-20T23:18:37.338Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-20T23:18:37.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T23:18:37.338Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-20T23:18:37.459Z] prd-centos7-docker-4c-2g-21722 does not seem to be running inside a container [2021-01-20T23:18:37.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-208 -v /w/workspace/gexfoundry_device-mqtt-go_PR-208:/w/workspace/gexfoundry_device-mqtt-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-208@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-20T23:18:39.542Z] $ docker top 9af63460cd0f25206bba4b6051369af4c07810cc234961e14a2147fe7c81b413 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-20T23:18:39.960Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T23:18:39.960Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T23:18:40.208Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T23:18:40.214Z] $ docker exec 9af63460cd0f25206bba4b6051369af4c07810cc234961e14a2147fe7c81b413 ssh-agent [2021-01-20T23:18:40.398Z] SSH_AUTH_SOCK=/tmp/ssh-z61AJSBLv96w/agent.12 [2021-01-20T23:18:40.398Z] SSH_AGENT_PID=17 [2021-01-20T23:18:40.412Z] Running ssh-add (command line suppressed) [2021-01-20T23:18:40.547Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp/private_key_1526881250699043335.key (/w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp/private_key_1526881250699043335.key) [2021-01-20T23:18:40.598Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T23:18:40.938Z] + git tag --points-at HEAD [Pipeline] } [2021-01-20T23:18:40.959Z] $ docker exec --env ******** --env ******** 9af63460cd0f25206bba4b6051369af4c07810cc234961e14a2147fe7c81b413 ssh-agent -k [2021-01-20T23:18:41.083Z] unset SSH_AUTH_SOCK; [2021-01-20T23:18:41.084Z] unset SSH_AGENT_PID; [2021-01-20T23:18:41.084Z] echo Agent pid 17 killed; [2021-01-20T23:18:41.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-20T23:18:41.315Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T23:18:41.315Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T23:18:41.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T23:18:41.497Z] $ docker exec 9af63460cd0f25206bba4b6051369af4c07810cc234961e14a2147fe7c81b413 ssh-agent [2021-01-20T23:18:41.668Z] SSH_AUTH_SOCK=/tmp/ssh-ayQ9XOMfQLy6/agent.45 [2021-01-20T23:18:41.668Z] SSH_AGENT_PID=50 [2021-01-20T23:18:41.677Z] Running ssh-add (command line suppressed) [2021-01-20T23:18:41.806Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp/private_key_3846013525996993238.key (/w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp/private_key_3846013525996993238.key) [2021-01-20T23:18:41.863Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T23:18:42.214Z] + git semver init [2021-01-20T23:18:42.214Z] # -> Open(): unable to determine branch for HEAD [2021-01-20T23:18:42.214Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-208/.git [2021-01-20T23:18:42.214Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-208 [2021-01-20T23:18:42.214Z] # $SEMVER_REMOTE_NAME = origin [2021-01-20T23:18:42.214Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-20T23:18:42.214Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-20T23:18:42.214Z] # $SEMVER_BRANCH = PR-208 [2021-01-20T23:18:42.214Z] # $SEMVER_TEMP = /tmp/semver-768308625 [2021-01-20T23:18:42.214Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-01-20T23:18:42.789Z] # '/tmp/semver-768308625' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-208/.semver' [2021-01-20T23:18:42.789Z] # -> Force: false [2021-01-20T23:18:42.789Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-208/.semver [Pipeline] } [2021-01-20T23:18:42.804Z] $ docker exec --env ******** --env ******** 9af63460cd0f25206bba4b6051369af4c07810cc234961e14a2147fe7c81b413 ssh-agent -k [2021-01-20T23:18:42.936Z] unset SSH_AUTH_SOCK; [2021-01-20T23:18:42.936Z] unset SSH_AGENT_PID; [2021-01-20T23:18:42.936Z] echo Agent pid 50 killed; [2021-01-20T23:18:42.990Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-20T23:18:43.521Z] + git semver [Pipeline] } [2021-01-20T23:18:43.538Z] $ docker stop --time=1 9af63460cd0f25206bba4b6051369af4c07810cc234961e14a2147fe7c81b413 [2021-01-20T23:18:44.935Z] $ docker rm -f 9af63460cd0f25206bba4b6051369af4c07810cc234961e14a2147fe7c81b413 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T23:18:45.408Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-20T23:18:45.850Z] Stashed 1 file(s) [Pipeline] echo [2021-01-20T23:18:45.852Z] [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-01-20T23:19:01.415Z] Still waiting to schedule task [2021-01-20T23:19:01.415Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-21712’ is offline; ‘prd-centos7-docker-4c-2g-21713’ is offline; ‘prd-centos7-docker-4c-2g-21719’ is offline; ‘prd-centos7-docker-4c-2g-21726’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-21717’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-21718’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-20T23:19:01.418Z] Still waiting to schedule task [2021-01-20T23:19:01.418Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-20T23:21:41.098Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21728 in /w/workspace/gexfoundry_device-mqtt-go_PR-208 [Pipeline] { [Pipeline] ws [2021-01-20T23:21:41.154Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2021-01-20T23:21:46.934Z] using credential edgex-jenkins-ssh [2021-01-20T23:21:46.995Z] Cloning the remote Git repository [2021-01-20T23:21:47.070Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:21:47.203Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2021-01-20T23:21:47.298Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:21:47.299Z] > git --version # timeout=10 [2021-01-20T23:21:47.323Z] > git --version # 'git version 2.17.1' [2021-01-20T23:21:47.326Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:21:47.398Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:21:48.137Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-20T23:21:48.157Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:21:48.188Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-20T23:21:48.238Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:21:48.240Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:21:48.254Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/208/head:refs/remotes/origin/PR-208 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T23:21:49.769Z] Merging remotes/origin/master commit b247510d13ba8e9fad57040faa04d23d7bfdafc2 into PR head commit 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 [2021-01-20T23:21:50.022Z] Merge succeeded, producing f1e5d6d54db3c81ec59a0b70841c62d1ff021e57 [2021-01-20T23:21:50.023Z] Checking out Revision f1e5d6d54db3c81ec59a0b70841c62d1ff021e57 (PR-208) [2021-01-20T23:21:49.790Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:21:49.806Z] > git checkout -f 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 # timeout=10 [2021-01-20T23:21:49.899Z] > git remote # timeout=10 [2021-01-20T23:21:49.915Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T23:21:49.940Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:21:49.954Z] > git merge b247510d13ba8e9fad57040faa04d23d7bfdafc2 # timeout=10 [2021-01-20T23:21:50.006Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T23:21:50.033Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:21:50.045Z] > git checkout -f f1e5d6d54db3c81ec59a0b70841c62d1ff021e57 # timeout=10 [2021-01-20T23:21:54.548Z] Commit message: "Merge commit 'b247510d13ba8e9fad57040faa04d23d7bfdafc2' into HEAD" [2021-01-20T23:21:54.559Z] > git rev-list --no-walk 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T23:21:56.265Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:21:56.684Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:21:57.028Z] + sudo service docker restart [2021-01-20T23:21:57.028Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T23:21:59.404Z] provisioning config files... [2021-01-20T23:21:59.461Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config2523495944158252978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:21:59.917Z] ---> docker-login.sh [2021-01-20T23:21:59.917Z] nexus3.edgexfoundry.org:10001 [2021-01-20T23:22:00.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:01.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:01.191Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:01.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:01.191Z] [2021-01-20T23:22:01.191Z] Login Succeeded [2021-01-20T23:22:01.191Z] nexus3.edgexfoundry.org:10002 [2021-01-20T23:22:01.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:01.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:01.791Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:01.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:01.791Z] [2021-01-20T23:22:01.791Z] Login Succeeded [2021-01-20T23:22:01.791Z] nexus3.edgexfoundry.org:10003 [2021-01-20T23:22:02.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:02.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:02.337Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:02.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:02.337Z] [2021-01-20T23:22:02.337Z] Login Succeeded [2021-01-20T23:22:02.337Z] nexus3.edgexfoundry.org:10004 [2021-01-20T23:22:02.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:02.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:02.891Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:02.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:02.891Z] [2021-01-20T23:22:02.891Z] Login Succeeded [2021-01-20T23:22:02.891Z] docker.io [2021-01-20T23:22:03.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:03.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:03.451Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:03.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:03.451Z] [2021-01-20T23:22:03.451Z] Login Succeeded [2021-01-20T23:22:03.451Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T23:22:03.474Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T23:22:03.939Z] ========================================================= [2021-01-20T23:22:03.939Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-20T23:22:03.939Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:22:04.335Z] + 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-01-20T23:22:04.612Z] Sending build context to Docker daemon 486.9kB [2021-01-20T23:22:04.612Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T23:22:04.612Z] Step 2/8 : FROM ${BASE} [2021-01-20T23:22:04.885Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-20T23:22:04.885Z] 5f621e34cdf4: Pulling fs layer [2021-01-20T23:22:04.885Z] a4357932f1b6: Pulling fs layer [2021-01-20T23:22:04.885Z] 18c013af1878: Pulling fs layer [2021-01-20T23:22:04.885Z] 00ac8860ef70: Pulling fs layer [2021-01-20T23:22:04.885Z] 63d7cb157983: Pulling fs layer [2021-01-20T23:22:04.885Z] b116817d02f9: Pulling fs layer [2021-01-20T23:22:04.885Z] 745a02a5169b: Pulling fs layer [2021-01-20T23:22:04.885Z] 00ac8860ef70: Waiting [2021-01-20T23:22:04.885Z] 63d7cb157983: Waiting [2021-01-20T23:22:04.885Z] b116817d02f9: Waiting [2021-01-20T23:22:04.885Z] 745a02a5169b: Waiting [2021-01-20T23:22:04.885Z] 18c013af1878: Verifying Checksum [2021-01-20T23:22:04.885Z] 18c013af1878: Download complete [2021-01-20T23:22:04.885Z] a4357932f1b6: Verifying Checksum [2021-01-20T23:22:04.885Z] a4357932f1b6: Download complete [2021-01-20T23:22:04.885Z] 63d7cb157983: Verifying Checksum [2021-01-20T23:22:04.885Z] 63d7cb157983: Download complete [2021-01-20T23:22:04.885Z] b116817d02f9: Verifying Checksum [2021-01-20T23:22:04.885Z] b116817d02f9: Download complete [2021-01-20T23:22:05.484Z] 5f621e34cdf4: Verifying Checksum [2021-01-20T23:22:05.484Z] 5f621e34cdf4: Download complete [2021-01-20T23:22:06.088Z] 5f621e34cdf4: Pull complete [2021-01-20T23:22:06.694Z] a4357932f1b6: Pull complete [2021-01-20T23:22:06.967Z] 18c013af1878: Pull complete [2021-01-20T23:22:07.964Z] 745a02a5169b: Download complete [2021-01-20T23:22:08.956Z] 00ac8860ef70: Verifying Checksum [2021-01-20T23:22:08.956Z] 00ac8860ef70: Download complete [2021-01-20T23:22:10.091Z] Running on prd-centos7-docker-4c-2g-21734 in /w/workspace/gexfoundry_device-mqtt-go_PR-208 [Pipeline] { [Pipeline] ws [2021-01-20T23:22:10.143Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2021-01-20T23:22:14.021Z] using credential edgex-jenkins-ssh [2021-01-20T23:22:14.115Z] Cloning the remote Git repository [2021-01-20T23:22:14.159Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:22:14.265Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2021-01-20T23:22:14.324Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:22:14.324Z] > git --version # timeout=10 [2021-01-20T23:22:14.330Z] > git --version # 'git version 2.24.3' [2021-01-20T23:22:14.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:22:14.359Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:22:14.962Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-20T23:22:14.974Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:22:14.996Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-20T23:22:15.010Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:22:15.011Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:22:15.015Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/208/head:refs/remotes/origin/PR-208 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T23:22:15.411Z] Merging remotes/origin/master commit b247510d13ba8e9fad57040faa04d23d7bfdafc2 into PR head commit 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 [2021-01-20T23:22:15.531Z] Merge succeeded, producing 2a7c05ea144c356d5f4da3aadbbd1f1dfc0f2625 [2021-01-20T23:22:15.532Z] Checking out Revision 2a7c05ea144c356d5f4da3aadbbd1f1dfc0f2625 (PR-208) [2021-01-20T23:22:15.421Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:22:15.427Z] > git checkout -f 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 # timeout=10 [2021-01-20T23:22:15.473Z] > git remote # timeout=10 [2021-01-20T23:22:15.479Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T23:22:15.488Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:22:15.494Z] > git merge b247510d13ba8e9fad57040faa04d23d7bfdafc2 # timeout=10 [2021-01-20T23:22:15.516Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T23:22:15.535Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:22:15.540Z] > git checkout -f 2a7c05ea144c356d5f4da3aadbbd1f1dfc0f2625 # timeout=10 [2021-01-20T23:22:19.248Z] 00ac8860ef70: Pull complete [2021-01-20T23:22:19.248Z] 63d7cb157983: Pull complete [2021-01-20T23:22:19.248Z] b116817d02f9: Pull complete [2021-01-20T23:22:19.399Z] Commit message: "Merge commit 'b247510d13ba8e9fad57040faa04d23d7bfdafc2' into HEAD" [2021-01-20T23:22:19.404Z] > git rev-list --no-walk 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T23:22:20.849Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:22:21.172Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:22:21.476Z] + true [2021-01-20T23:22:21.476Z] + sudo service docker restart [2021-01-20T23:22:21.476Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T23:22:22.506Z] provisioning config files... [2021-01-20T23:22:22.536Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config3914031448339819167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:22:22.894Z] ---> docker-login.sh [2021-01-20T23:22:22.894Z] nexus3.edgexfoundry.org:10001 [2021-01-20T23:22:23.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:23.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:23.421Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:23.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:23.421Z] [2021-01-20T23:22:23.421Z] Login Succeeded [2021-01-20T23:22:23.421Z] nexus3.edgexfoundry.org:10002 [2021-01-20T23:22:23.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:23.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:23.421Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:23.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:23.421Z] [2021-01-20T23:22:23.421Z] Login Succeeded [2021-01-20T23:22:23.421Z] nexus3.edgexfoundry.org:10003 [2021-01-20T23:22:23.629Z] 745a02a5169b: Pull complete [2021-01-20T23:22:23.629Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-20T23:22:23.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-20T23:22:23.629Z] ---> b7e6874047d6 [2021-01-20T23:22:23.630Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-20T23:22:23.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:23.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:23.689Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:23.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:23.689Z] [2021-01-20T23:22:23.689Z] Login Succeeded [2021-01-20T23:22:23.689Z] nexus3.edgexfoundry.org:10004 [2021-01-20T23:22:23.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:23.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:23.957Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:23.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:23.957Z] [2021-01-20T23:22:23.957Z] Login Succeeded [2021-01-20T23:22:23.957Z] docker.io [2021-01-20T23:22:23.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:24.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:24.223Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:24.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:24.223Z] [2021-01-20T23:22:24.223Z] Login Succeeded [2021-01-20T23:22:24.223Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T23:22:24.232Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T23:22:24.695Z] ========================================================= [2021-01-20T23:22:24.695Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-20T23:22:24.695Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:22:25.084Z] + 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-01-20T23:22:25.084Z] Sending build context to Docker daemon 487.9kB [2021-01-20T23:22:25.084Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T23:22:25.084Z] Step 2/8 : FROM ${BASE} [2021-01-20T23:22:25.084Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-20T23:22:25.084Z] 188c0c94c7c5: Pulling fs layer [2021-01-20T23:22:25.084Z] 0ef7d3d256c8: Pulling fs layer [2021-01-20T23:22:25.084Z] de9db76c5a1d: Pulling fs layer [2021-01-20T23:22:25.084Z] bca2f99d35d6: Pulling fs layer [2021-01-20T23:22:25.084Z] 93359f2a8cfa: Pulling fs layer [2021-01-20T23:22:25.084Z] 7c6f9722023f: Pulling fs layer [2021-01-20T23:22:25.084Z] a35cf1a2eb13: Pulling fs layer [2021-01-20T23:22:25.084Z] bca2f99d35d6: Waiting [2021-01-20T23:22:25.084Z] 93359f2a8cfa: Waiting [2021-01-20T23:22:25.084Z] 7c6f9722023f: Waiting [2021-01-20T23:22:25.084Z] a35cf1a2eb13: Waiting [2021-01-20T23:22:25.351Z] de9db76c5a1d: Verifying Checksum [2021-01-20T23:22:25.351Z] de9db76c5a1d: Download complete [2021-01-20T23:22:25.351Z] 0ef7d3d256c8: Verifying Checksum [2021-01-20T23:22:25.351Z] 0ef7d3d256c8: Download complete [2021-01-20T23:22:25.351Z] 93359f2a8cfa: Verifying Checksum [2021-01-20T23:22:25.351Z] 93359f2a8cfa: Download complete [2021-01-20T23:22:25.351Z] 7c6f9722023f: Verifying Checksum [2021-01-20T23:22:25.351Z] 7c6f9722023f: Download complete [2021-01-20T23:22:25.351Z] 188c0c94c7c5: Verifying Checksum [2021-01-20T23:22:25.351Z] 188c0c94c7c5: Download complete [2021-01-20T23:22:25.618Z] 188c0c94c7c5: Pull complete [2021-01-20T23:22:25.619Z] 0ef7d3d256c8: Pull complete [2021-01-20T23:22:25.883Z] de9db76c5a1d: Pull complete [2021-01-20T23:22:26.288Z] ---> Running in 2dcd88a0345a [2021-01-20T23:22:26.889Z] Removing intermediate container 2dcd88a0345a [2021-01-20T23:22:26.889Z] ---> a76f91672759 [2021-01-20T23:22:26.889Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T23:22:26.889Z] ---> Running in 012d01054455 [2021-01-20T23:22:27.291Z] a35cf1a2eb13: Verifying Checksum [2021-01-20T23:22:27.291Z] a35cf1a2eb13: Download complete [2021-01-20T23:22:27.893Z] bca2f99d35d6: Verifying Checksum [2021-01-20T23:22:27.893Z] bca2f99d35d6: Download complete [2021-01-20T23:22:29.549Z] Removing intermediate container 012d01054455 [2021-01-20T23:22:29.549Z] ---> c9f6a3105d82 [2021-01-20T23:22:29.549Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-20T23:22:29.549Z] ---> Running in cccf984e9a47 [2021-01-20T23:22:31.000Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-20T23:22:31.979Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-20T23:22:33.256Z] bca2f99d35d6: Pull complete [2021-01-20T23:22:33.256Z] 93359f2a8cfa: Pull complete [2021-01-20T23:22:33.521Z] 7c6f9722023f: Pull complete [2021-01-20T23:22:35.373Z] (1/14) Installing libmagic (5.38-r0) [2021-01-20T23:22:36.354Z] (2/14) Installing file (5.38-r0) [2021-01-20T23:22:36.354Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-20T23:22:36.354Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-20T23:22:37.754Z] a35cf1a2eb13: Pull complete [2021-01-20T23:22:37.754Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-20T23:22:37.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-20T23:22:37.754Z] ---> a62c8e92a672 [2021-01-20T23:22:37.754Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-20T23:22:37.754Z] ---> Running in 818809979bf8 [2021-01-20T23:22:37.755Z] Removing intermediate container 818809979bf8 [2021-01-20T23:22:37.755Z] ---> bb7875a075af [2021-01-20T23:22:37.755Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T23:22:37.755Z] ---> Running in 78df58daa827 [2021-01-20T23:22:38.706Z] Removing intermediate container 78df58daa827 [2021-01-20T23:22:38.706Z] ---> 6352813f5109 [2021-01-20T23:22:38.706Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-20T23:22:38.988Z] ---> Running in 043f7a981f65 [2021-01-20T23:22:39.582Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-20T23:22:40.549Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-20T23:22:41.947Z] (1/14) Installing libmagic (5.38-r0) [2021-01-20T23:22:42.216Z] (2/14) Installing file (5.38-r0) [2021-01-20T23:22:42.216Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-20T23:22:42.484Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-20T23:22:54.648Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-20T23:22:54.648Z] (6/14) Installing patch (2.7.6-r6) [2021-01-20T23:22:54.648Z] (7/14) Installing build-base (0.5-r2) [2021-01-20T23:22:54.648Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-20T23:22:54.648Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-20T23:22:54.648Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-20T23:22:54.648Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-20T23:22:54.648Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-20T23:22:54.648Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-20T23:22:54.648Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-20T23:22:54.648Z] Executing busybox-1.31.1-r19.trigger [2021-01-20T23:22:54.648Z] OK: 221 MiB in 53 packages [2021-01-20T23:22:58.974Z] Removing intermediate container cccf984e9a47 [2021-01-20T23:22:58.974Z] ---> 6b489f4cba15 [2021-01-20T23:22:58.974Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-20T23:22:58.974Z] ---> Running in 2d03c31e483c [2021-01-20T23:22:58.974Z] Removing intermediate container 2d03c31e483c [2021-01-20T23:22:58.974Z] ---> de99cf2cd3bd [2021-01-20T23:22:58.974Z] Step 7/8 : COPY . . [2021-01-20T23:22:59.955Z] ---> 396f73adf103 [2021-01-20T23:22:59.955Z] Step 8/8 : RUN go mod download [2021-01-20T23:22:59.955Z] ---> Running in 1091eb683bf4 [2021-01-20T23:23:04.501Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-20T23:23:04.501Z] (6/14) Installing patch (2.7.6-r6) [2021-01-20T23:23:04.501Z] (7/14) Installing build-base (0.5-r2) [2021-01-20T23:23:04.501Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-20T23:23:04.501Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-20T23:23:04.501Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-20T23:23:07.066Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-20T23:23:07.066Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-20T23:23:07.066Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-20T23:23:07.641Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-20T23:23:07.903Z] Executing busybox-1.31.1-r19.trigger [2021-01-20T23:23:07.903Z] OK: 237 MiB in 53 packages [2021-01-20T23:23:10.480Z] Removing intermediate container 043f7a981f65 [2021-01-20T23:23:10.480Z] ---> a4d97518c645 [2021-01-20T23:23:10.480Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-20T23:23:10.480Z] ---> Running in d0f340cb2bc7 [2021-01-20T23:23:10.783Z] Removing intermediate container d0f340cb2bc7 [2021-01-20T23:23:10.783Z] ---> 9b11f32b2c7d [2021-01-20T23:23:10.783Z] Step 7/8 : COPY . . [2021-01-20T23:23:11.361Z] ---> eb8e2cdf8cfb [2021-01-20T23:23:11.361Z] Step 8/8 : RUN go mod download [2021-01-20T23:23:11.627Z] ---> Running in a6e073f616ee [2021-01-20T23:23:26.782Z] Removing intermediate container 1091eb683bf4 [2021-01-20T23:23:26.782Z] ---> 7eb26bd07c8d [2021-01-20T23:23:26.782Z] Successfully built 7eb26bd07c8d [2021-01-20T23:23:26.782Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:23:27.137Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T23:23:27.137Z] . [Pipeline] withDockerContainer [2021-01-20T23:23:27.391Z] prd-ubuntu18.04-docker-arm64-4c-16g-21728 does not seem to be running inside a container [2021-01-20T23:23:27.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-20T23:23:28.973Z] $ docker top c1f6b3d27b0efc956fc9677da7bd4455ba74b89e4c766e2b1760d44748168a72 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:23:30.050Z] + go version [2021-01-20T23:23:30.050Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-20T23:23:30.100Z] $ docker stop --time=1 c1f6b3d27b0efc956fc9677da7bd4455ba74b89e4c766e2b1760d44748168a72 [2021-01-20T23:23:32.061Z] $ docker rm -f c1f6b3d27b0efc956fc9677da7bd4455ba74b89e4c766e2b1760d44748168a72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:23:33.069Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T23:23:33.069Z] . [Pipeline] withDockerContainer [2021-01-20T23:23:33.321Z] prd-ubuntu18.04-docker-arm64-4c-16g-21728 does not seem to be running inside a container [2021-01-20T23:23:33.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-20T23:23:33.695Z] Removing intermediate container a6e073f616ee [2021-01-20T23:23:33.695Z] ---> 386a0d91cb7e [2021-01-20T23:23:33.695Z] Successfully built 386a0d91cb7e [2021-01-20T23:23:33.695Z] Successfully tagged ci-base-image-x86_64:latest [2021-01-20T23:23:35.006Z] $ docker top ac3faec940859ced9d1b91199fddfbe410d2a0493bf0478d8945461e5cac9f37 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:23:35.787Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T23:23:35.787Z] . [Pipeline] withDockerContainer [2021-01-20T23:23:35.941Z] prd-centos7-docker-4c-2g-21734 does not seem to be running inside a container [2021-01-20T23:23:35.975Z] + make test [2021-01-20T23:23:35.975Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-20T23:23:35.995Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-20T23:23:36.910Z] $ docker top f4dd96c27524641544f034a29a4cae940614f4346abb04a677c63c7ce9d387d9 -eo pid,comm [2021-01-20T23:23:36.953Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [Pipeline] { [Pipeline] sh [2021-01-20T23:23:37.431Z] + go version [2021-01-20T23:23:37.431Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-20T23:23:37.452Z] $ docker stop --time=1 f4dd96c27524641544f034a29a4cae940614f4346abb04a677c63c7ce9d387d9 [2021-01-20T23:23:38.841Z] $ docker rm -f f4dd96c27524641544f034a29a4cae940614f4346abb04a677c63c7ce9d387d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:23:39.737Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T23:23:39.737Z] . [Pipeline] withDockerContainer [2021-01-20T23:23:39.879Z] prd-centos7-docker-4c-2g-21734 does not seem to be running inside a container [2021-01-20T23:23:39.972Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-20T23:23:40.658Z] $ docker top 01aa7db0e9894f434d591e828cd152147db7a1d1ec50a734c7601bb33fbb3d6d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:23:41.250Z] + make test [2021-01-20T23:23:41.250Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-20T23:23:42.656Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-20T23:23:55.101Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-01-20T23:23:55.363Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 28.3% of statements [2021-01-20T23:23:55.363Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-01-20T23:23:55.363Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-20T23:23:57.974Z] gofmt -l . [2021-01-20T23:23:57.974Z] ["`gofmt -l .`" = ""] [2021-01-20T23:23:57.974Z] ./bin/test-attribution-txt.sh [2021-01-20T23:23:58.554Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2021-01-20T23:23:58.818Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-01-20T23:23:58.838Z] $ docker stop --time=1 01aa7db0e9894f434d591e828cd152147db7a1d1ec50a734c7601bb33fbb3d6d [2021-01-20T23:24:01.271Z] $ docker rm -f 01aa7db0e9894f434d591e828cd152147db7a1d1ec50a734c7601bb33fbb3d6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-20T23:24:03.038Z] Failed in branch amd64 [2021-01-20T23:24:16.116Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-01-20T23:24:16.116Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.036s coverage: 28.3% of statements [2021-01-20T23:24:16.116Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-01-20T23:24:16.789Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-20T23:24:25.175Z] gofmt -l . [2021-01-20T23:24:25.175Z] ["`gofmt -l .`" = ""] [2021-01-20T23:24:25.175Z] ./bin/test-attribution-txt.sh [2021-01-20T23:24:25.175Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2021-01-20T23:24:25.175Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-01-20T23:24:25.201Z] $ docker stop --time=1 ac3faec940859ced9d1b91199fddfbe410d2a0493bf0478d8945461e5cac9f37 [2021-01-20T23:24:27.687Z] $ docker rm -f ac3faec940859ced9d1b91199fddfbe410d2a0493bf0478d8945461e5cac9f37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-20T23:24:29.466Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:24:33.020Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:24:33.602Z] ---> package-listing.sh [2021-01-20T23:24:33.603Z] ++ facter osfamily [2021-01-20T23:24:33.603Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-20T23:24:33.603Z] + OS_FAMILY=redhat [2021-01-20T23:24:33.603Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-208 [2021-01-20T23:24:33.603Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-20T23:24:33.603Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-20T23:24:33.603Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-20T23:24:33.603Z] + PACKAGES=/tmp/packages_start.txt [2021-01-20T23:24:33.603Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-208 ']' [2021-01-20T23:24:33.603Z] + PACKAGES=/tmp/packages_end.txt [2021-01-20T23:24:33.603Z] + case "${OS_FAMILY}" in [2021-01-20T23:24:33.603Z] + rpm -qa [2021-01-20T23:24:33.603Z] + sort [2021-01-20T23:24:38.948Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-20T23:24:38.948Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-20T23:24:38.948Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-20T23:24:38.948Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-208 ']' [2021-01-20T23:24:38.948Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-208/archives/ [2021-01-20T23:24:38.948Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-208/archives/ [Pipeline] echo [2021-01-20T23:24:38.966Z] 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/gexfoundry_device-mqtt-go_PR-208/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-20T23:24:39.266Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:24:39.602Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T23:24:39.602Z] [2021-01-20T23:24:39.602Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:24:39.985Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T23:24:39.985Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-20T23:24:39.985Z] df20fa9351a1: Pulling fs layer [2021-01-20T23:24:39.985Z] 36b3adc4ff6f: Pulling fs layer [2021-01-20T23:24:39.985Z] 8ad3a11d3b57: Pulling fs layer [2021-01-20T23:24:39.985Z] 46f8f816bc3b: Pulling fs layer [2021-01-20T23:24:39.985Z] 93b61091891f: Pulling fs layer [2021-01-20T23:24:39.985Z] 93b9cdb0e59b: Pulling fs layer [2021-01-20T23:24:39.985Z] 5e14af77c1be: Pulling fs layer [2021-01-20T23:24:39.985Z] 01666e4c0597: Pulling fs layer [2021-01-20T23:24:39.985Z] aa168da1d23b: Pulling fs layer [2021-01-20T23:24:39.985Z] 46f8f816bc3b: Waiting [2021-01-20T23:24:39.985Z] 93b61091891f: Waiting [2021-01-20T23:24:39.985Z] 93b9cdb0e59b: Waiting [2021-01-20T23:24:39.985Z] 5e14af77c1be: Waiting [2021-01-20T23:24:39.985Z] 01666e4c0597: Waiting [2021-01-20T23:24:39.985Z] aa168da1d23b: Waiting [2021-01-20T23:24:39.985Z] 36b3adc4ff6f: Verifying Checksum [2021-01-20T23:24:39.985Z] 36b3adc4ff6f: Download complete [2021-01-20T23:24:39.985Z] 46f8f816bc3b: Verifying Checksum [2021-01-20T23:24:39.985Z] 46f8f816bc3b: Download complete [2021-01-20T23:24:40.257Z] df20fa9351a1: Download complete [2021-01-20T23:24:40.257Z] 93b61091891f: Verifying Checksum [2021-01-20T23:24:40.257Z] 93b61091891f: Download complete [2021-01-20T23:24:40.257Z] 93b9cdb0e59b: Verifying Checksum [2021-01-20T23:24:40.257Z] 93b9cdb0e59b: Download complete [2021-01-20T23:24:40.257Z] 5e14af77c1be: Verifying Checksum [2021-01-20T23:24:40.257Z] 5e14af77c1be: Download complete [2021-01-20T23:24:40.257Z] 01666e4c0597: Verifying Checksum [2021-01-20T23:24:40.257Z] 01666e4c0597: Download complete [2021-01-20T23:24:40.526Z] df20fa9351a1: Pull complete [2021-01-20T23:24:40.791Z] 8ad3a11d3b57: Verifying Checksum [2021-01-20T23:24:40.791Z] 8ad3a11d3b57: Download complete [2021-01-20T23:24:40.791Z] 36b3adc4ff6f: Pull complete [2021-01-20T23:24:41.774Z] 8ad3a11d3b57: Pull complete [2021-01-20T23:24:41.774Z] 46f8f816bc3b: Pull complete [2021-01-20T23:24:42.736Z] 93b61091891f: Pull complete [2021-01-20T23:24:42.736Z] aa168da1d23b: Verifying Checksum [2021-01-20T23:24:42.736Z] aa168da1d23b: Download complete [2021-01-20T23:24:42.736Z] 93b9cdb0e59b: Pull complete [2021-01-20T23:24:43.001Z] 5e14af77c1be: Pull complete [2021-01-20T23:24:43.001Z] 01666e4c0597: Pull complete [2021-01-20T23:24:51.247Z] aa168da1d23b: Pull complete [2021-01-20T23:24:51.247Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-20T23:24:51.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T23:24:51.247Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-20T23:24:51.405Z] prd-centos7-docker-4c-2g-21722 does not seem to be running inside a container [2021-01-20T23:24:51.457Z] $ 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/gexfoundry_device-mqtt-go_PR-208/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-208 -v /w/workspace/gexfoundry_device-mqtt-go_PR-208:/w/workspace/gexfoundry_device-mqtt-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-208@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-20T23:24:55.513Z] $ docker top 97d06eee57b3d4d90d73411d88fca872f371d0853e5dad1505ad8d8c69ca457c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:24:56.119Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-20T23:24:56.424Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-20T23:24:56.731Z] + ls /var/log/sa-host [2021-01-20T23:24:56.731Z] + sadf -c /var/log/sa-host/sa20 [2021-01-20T23:24:56.731Z] file_magic: OK [2021-01-20T23:24:56.731Z] HZ: Using current value: 100 [2021-01-20T23:24:56.731Z] file_header: OK [2021-01-20T23:24:56.731Z] 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-01-20T23:24:56.731Z] Statistics: [2021-01-20T23:24:56.731Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-20T23:24:56.731Z] File successfully converted to sysstat format version 12.2.1 [2021-01-20T23:24:56.731Z] + sadf -c /var/log/sa-host/sa23 [2021-01-20T23:24:56.731Z] file_magic: OK [2021-01-20T23:24:56.731Z] HZ: Using current value: 100 [2021-01-20T23:24:56.731Z] file_header: OK [2021-01-20T23:24:56.731Z] 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-01-20T23:24:56.731Z] Statistics: [2021-01-20T23:24:56.731Z] Hnuu...uuuununununu... [2021-01-20T23:24:56.731Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-20T23:24:56.948Z] provisioning config files... [2021-01-20T23:24:56.977Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp/config7007688762352573367tmp [Pipeline] { [Pipeline] echo [2021-01-20T23:24:57.048Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:24:57.375Z] ---> create-netrc.sh [Pipeline] } [2021-01-20T23:24:57.396Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-20T23:24:57.508Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:24:57.843Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-20T23:24:57.869Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:24:58.219Z] ---> sudo-logs.sh [2021-01-20T23:24:58.219Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-20T23:24:58.246Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:24:58.620Z] ---> job-cost.sh [2021-01-20T23:24:58.620Z] lf-activate-venv: SKIPPING [2021-01-20T23:24:58.620Z] INFO: No Stack... [2021-01-20T23:25:00.550Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-20T23:25:00.814Z] INFO: Archiving Costs [Pipeline] echo [2021-01-20T23:25:00.829Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:25:01.137Z] ---> logs-deploy.sh [2021-01-20T23:25:01.137Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-208/2 [2021-01-20T23:25:01.138Z] INFO: archiving workspace using pattern(s): [2021-01-20T23:25:03.085Z] Archives upload complete. [2021-01-20T23:25:03.085Z] INFO: archiving logs to Nexus