Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7d3fac01e70055c183287e1481e2b59da4885889+b247510d13ba8e9fad57040faa04d23d7bfdafc2 (3aaa798b3ca60b36495de7f0fcc8fb6a41f074ac) 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-21720 in /w/workspace/gexfoundry_device-mqtt-go_PR-207 [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-207 # 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 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/207/head:refs/remotes/origin/PR-207 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b247510d13ba8e9fad57040faa04d23d7bfdafc2 into PR head commit 7d3fac01e70055c183287e1481e2b59da4885889 Merge succeeded, producing 15ea7ebacc7b8af65d28f7b1c5501dc3d35a622d Checking out Revision 15ea7ebacc7b8af65d28f7b1c5501dc3d35a622d (PR-207) > git config core.sparsecheckout # timeout=10 > git checkout -f 7d3fac01e70055c183287e1481e2b59da4885889 # 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 15ea7ebacc7b8af65d28f7b1c5501dc3d35a622d # timeout=10 Commit message: "Merge commit 'b247510d13ba8e9fad57040faa04d23d7bfdafc2' into HEAD" > git rev-list --no-walk 7d3fac01e70055c183287e1481e2b59da4885889 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-20T23:18:45.866Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-20T23:18:46.117Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-20T23:18:46.209Z] ========================================================= [2021-01-20T23:18:46.209Z] EdgeX Global Pipelines Version Info [2021-01-20T23:18:46.209Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:18:49.154Z] ------------------- [2021-01-20T23:18:49.154Z] stable info: [2021-01-20T23:18:49.154Z] ------------------- [2021-01-20T23:18:49.154Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T23:18:49.154Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T23:18:49.154Z] Message: update stable to v1.0.179 [2021-01-20T23:18:50.741Z] ------------------- [2021-01-20T23:18:50.741Z] experimental info: [2021-01-20T23:18:50.741Z] ------------------- [2021-01-20T23:18:50.741Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T23:18:50.741Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T23:18:50.741Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-20T23:18:51.151Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-01-20T23:18:51.389Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-01-20T23:18:51.555Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-20T23:18:51.689Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-20T23:18:51.789Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-20T23:18:51.920Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-20T23:18:52.037Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-20T23:18:52.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-20T23:18:52.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-20T23:18:52.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-20T23:18:52.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-20T23:18:52.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-01-20T23:18:52.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-20T23:18:52.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-20T23:18:52.828Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T23:18:52.929Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T23:18:53.030Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T23:18:53.129Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T23:18:53.319Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-20T23:18:53.414Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-20T23:18:53.501Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-20T23:18:53.585Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-20T23:18:53.671Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-20T23:18:53.759Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-20T23:18:53.851Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-20T23:18:54.063Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-20T23:18:54.147Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-20T23:18:54.230Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-207 [Pipeline] echo [2021-01-20T23:18:54.335Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-207 [Pipeline] echo [2021-01-20T23:18:54.419Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-207 [Pipeline] echo [2021-01-20T23:18:54.498Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 15ea7ebacc7b8af65d28f7b1c5501dc3d35a622d [Pipeline] echo [2021-01-20T23:18:54.577Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 15ea7eb [Pipeline] echo [2021-01-20T23:18:54.659Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T23:18:54.843Z] provisioning config files... [2021-01-20T23:18:54.882Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-207@tmp/config2745332821891971305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:18:55.351Z] ---> docker-login.sh [2021-01-20T23:18:55.351Z] nexus3.edgexfoundry.org:10001 [2021-01-20T23:18:56.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:18:56.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:18:56.872Z] Configure a credential helper to remove this warning. See [2021-01-20T23:18:56.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:18:56.872Z] [2021-01-20T23:18:56.872Z] Login Succeeded [2021-01-20T23:18:56.872Z] nexus3.edgexfoundry.org:10002 [2021-01-20T23:18:57.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:18:57.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:18:57.447Z] Configure a credential helper to remove this warning. See [2021-01-20T23:18:57.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:18:57.447Z] [2021-01-20T23:18:57.447Z] Login Succeeded [2021-01-20T23:18:57.447Z] nexus3.edgexfoundry.org:10003 [2021-01-20T23:18:58.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:18:58.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:18:58.105Z] Configure a credential helper to remove this warning. See [2021-01-20T23:18:58.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:18:58.105Z] [2021-01-20T23:18:58.105Z] Login Succeeded [2021-01-20T23:18:58.105Z] nexus3.edgexfoundry.org:10004 [2021-01-20T23:18:58.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:18:58.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:18:58.435Z] Configure a credential helper to remove this warning. See [2021-01-20T23:18:58.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:18:58.435Z] [2021-01-20T23:18:58.435Z] Login Succeeded [2021-01-20T23:18:58.435Z] docker.io [2021-01-20T23:18:59.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:18:59.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:18:59.392Z] Configure a credential helper to remove this warning. See [2021-01-20T23:18:59.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:18:59.392Z] [2021-01-20T23:18:59.392Z] Login Succeeded [2021-01-20T23:18:59.392Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T23:18:59.434Z] 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:19:00.340Z] + git log --format=format:%s -1 15ea7ebacc7b8af65d28f7b1c5501dc3d35a622d [Pipeline] echo [2021-01-20T23:19:00.432Z] GIT_COMMIT: 15ea7ebacc7b8af65d28f7b1c5501dc3d35a622d, Commit Message: Merge commit 'b247510d13ba8e9fad57040faa04d23d7bfdafc2' into HEAD [Pipeline] echo [2021-01-20T23:19:00.477Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:19:01.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T23:19:01.149Z] [2021-01-20T23:19:01.149Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:19:01.563Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T23:19:02.062Z] latest: Pulling from edgex-devops/git-semver [2021-01-20T23:19:02.062Z] 31603596830f: Pulling fs layer [2021-01-20T23:19:02.062Z] 2a8b12db71e7: Pulling fs layer [2021-01-20T23:19:02.062Z] 6ca5941a6612: Pulling fs layer [2021-01-20T23:19:02.062Z] ecc8261a40a4: Pulling fs layer [2021-01-20T23:19:02.062Z] ecc8261a40a4: Waiting [2021-01-20T23:19:02.062Z] 2a8b12db71e7: Verifying Checksum [2021-01-20T23:19:02.062Z] 2a8b12db71e7: Download complete [2021-01-20T23:19:02.729Z] 31603596830f: Verifying Checksum [2021-01-20T23:19:02.729Z] 31603596830f: Download complete [2021-01-20T23:19:03.055Z] ecc8261a40a4: Verifying Checksum [2021-01-20T23:19:03.055Z] ecc8261a40a4: Download complete [2021-01-20T23:19:03.388Z] 6ca5941a6612: Verifying Checksum [2021-01-20T23:19:03.388Z] 6ca5941a6612: Download complete [2021-01-20T23:19:03.388Z] 31603596830f: Pull complete [2021-01-20T23:19:03.665Z] 2a8b12db71e7: Pull complete [2021-01-20T23:19:05.780Z] 6ca5941a6612: Pull complete [2021-01-20T23:19:06.064Z] ecc8261a40a4: Pull complete [2021-01-20T23:19:06.064Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-20T23:19:06.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T23:19:06.064Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-20T23:19:06.411Z] prd-centos7-docker-4c-2g-21720 does not seem to be running inside a container [2021-01-20T23:19:06.614Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-207 -v /w/workspace/gexfoundry_device-mqtt-go_PR-207:/w/workspace/gexfoundry_device-mqtt-go_PR-207:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-207@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-207@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:19:09.626Z] $ docker top d10c18ebf313eed1a97ac51b199901f5634e419ac2b4841999397399571acbba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-20T23:19:10.197Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T23:19:10.197Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T23:19:10.779Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T23:19:10.788Z] $ docker exec d10c18ebf313eed1a97ac51b199901f5634e419ac2b4841999397399571acbba ssh-agent [2021-01-20T23:19:11.297Z] SSH_AUTH_SOCK=/tmp/ssh-Z0zeTUXEjIWs/agent.11 [2021-01-20T23:19:11.297Z] SSH_AGENT_PID=16 [2021-01-20T23:19:11.325Z] Running ssh-add (command line suppressed) [2021-01-20T23:19:11.763Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-207@tmp/private_key_762615311862351627.key (/w/workspace/gexfoundry_device-mqtt-go_PR-207@tmp/private_key_762615311862351627.key) [2021-01-20T23:19:12.113Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T23:19:13.128Z] + git tag --points-at HEAD [Pipeline] } [2021-01-20T23:19:13.246Z] $ docker exec --env ******** --env ******** d10c18ebf313eed1a97ac51b199901f5634e419ac2b4841999397399571acbba ssh-agent -k [2021-01-20T23:19:13.692Z] unset SSH_AUTH_SOCK; [2021-01-20T23:19:13.693Z] unset SSH_AGENT_PID; [2021-01-20T23:19:13.693Z] echo Agent pid 16 killed; [2021-01-20T23:19:14.001Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-20T23:19:14.142Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T23:19:14.142Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T23:19:14.944Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T23:19:14.944Z] $ docker exec d10c18ebf313eed1a97ac51b199901f5634e419ac2b4841999397399571acbba ssh-agent [2021-01-20T23:19:15.430Z] SSH_AUTH_SOCK=/tmp/ssh-bkcr9xPuCg13/agent.44 [2021-01-20T23:19:15.430Z] SSH_AGENT_PID=49 [2021-01-20T23:19:15.445Z] Running ssh-add (command line suppressed) [2021-01-20T23:19:15.958Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-207@tmp/private_key_2916959980500120078.key (/w/workspace/gexfoundry_device-mqtt-go_PR-207@tmp/private_key_2916959980500120078.key) [2021-01-20T23:19:16.093Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T23:19:16.583Z] + git semver init [2021-01-20T23:19:16.583Z] # -> Open(): unable to determine branch for HEAD [2021-01-20T23:19:16.583Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-207/.git [2021-01-20T23:19:16.584Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-207 [2021-01-20T23:19:16.584Z] # $SEMVER_REMOTE_NAME = origin [2021-01-20T23:19:16.584Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-20T23:19:16.584Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-20T23:19:16.584Z] # $SEMVER_BRANCH = PR-207 [2021-01-20T23:19:16.584Z] # $SEMVER_TEMP = /tmp/semver-120710658 [2021-01-20T23:19:16.584Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-01-20T23:19:17.173Z] # '/tmp/semver-120710658' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-207/.semver' [2021-01-20T23:19:17.173Z] # -> Force: false [2021-01-20T23:19:17.173Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-207/.semver [Pipeline] } [2021-01-20T23:19:17.189Z] $ docker exec --env ******** --env ******** d10c18ebf313eed1a97ac51b199901f5634e419ac2b4841999397399571acbba ssh-agent -k [2021-01-20T23:19:17.573Z] unset SSH_AUTH_SOCK; [2021-01-20T23:19:17.577Z] unset SSH_AGENT_PID; [2021-01-20T23:19:17.578Z] echo Agent pid 49 killed; [2021-01-20T23:19:17.815Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-20T23:19:18.685Z] + git semver [Pipeline] } [2021-01-20T23:19:18.738Z] $ docker stop --time=1 d10c18ebf313eed1a97ac51b199901f5634e419ac2b4841999397399571acbba [2021-01-20T23:19:20.724Z] $ docker rm -f d10c18ebf313eed1a97ac51b199901f5634e419ac2b4841999397399571acbba [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T23:19:21.870Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-20T23:19:22.867Z] Stashed 1 file(s) [Pipeline] echo [2021-01-20T23:19:22.870Z] [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:38.354Z] Still waiting to schedule task [2021-01-20T23:19:38.355Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-20T23:19:38.357Z] Still waiting to schedule task [2021-01-20T23:19:38.357Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-20T23:22:22.793Z] Running on prd-centos7-docker-4c-2g-21733 in /w/workspace/gexfoundry_device-mqtt-go_PR-207 [Pipeline] { [Pipeline] ws [2021-01-20T23:22:22.870Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2021-01-20T23:22:25.980Z] using credential edgex-jenkins-ssh [2021-01-20T23:22:26.034Z] Cloning the remote Git repository [2021-01-20T23:22:26.062Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:22:26.129Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2021-01-20T23:22:26.190Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:22:26.190Z] > git --version # timeout=10 [2021-01-20T23:22:26.199Z] > git --version # 'git version 2.24.3' [2021-01-20T23:22:26.200Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:22:26.227Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:22:27.501Z] Merging remotes/origin/master commit b247510d13ba8e9fad57040faa04d23d7bfdafc2 into PR head commit 7d3fac01e70055c183287e1481e2b59da4885889 [2021-01-20T23:22:27.620Z] Merge succeeded, producing ddbcf65d1434a198969bddf9564fe2c14de0efa9 [2021-01-20T23:22:27.621Z] Checking out Revision ddbcf65d1434a198969bddf9564fe2c14de0efa9 (PR-207) [2021-01-20T23:22:27.047Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-20T23:22:27.054Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:22:27.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-20T23:22:27.084Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:22:27.084Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:22:27.090Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/207/head:refs/remotes/origin/PR-207 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T23:22:27.513Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:22:27.523Z] > git checkout -f 7d3fac01e70055c183287e1481e2b59da4885889 # timeout=10 [2021-01-20T23:22:27.565Z] > git remote # timeout=10 [2021-01-20T23:22:27.572Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T23:22:27.583Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:22:27.588Z] > git merge b247510d13ba8e9fad57040faa04d23d7bfdafc2 # timeout=10 [2021-01-20T23:22:27.615Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T23:22:27.625Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:22:27.631Z] > git checkout -f ddbcf65d1434a198969bddf9564fe2c14de0efa9 # timeout=10 [2021-01-20T23:22:31.390Z] Commit message: "Merge commit 'b247510d13ba8e9fad57040faa04d23d7bfdafc2' into HEAD" [2021-01-20T23:22:31.396Z] > git rev-list --no-walk 7d3fac01e70055c183287e1481e2b59da4885889 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T23:22:32.879Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:22:33.228Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:22:33.531Z] + sudo service docker restart [2021-01-20T23:22:33.531Z] + true [2021-01-20T23:22:33.531Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T23:22:34.546Z] provisioning config files... [2021-01-20T23:22:34.575Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config1002676006706482493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:22:34.945Z] ---> docker-login.sh [2021-01-20T23:22:34.945Z] nexus3.edgexfoundry.org:10001 [2021-01-20T23:22:35.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:35.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:35.476Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:35.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:35.476Z] [2021-01-20T23:22:35.476Z] Login Succeeded [2021-01-20T23:22:35.476Z] nexus3.edgexfoundry.org:10002 [2021-01-20T23:22:35.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:35.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:35.739Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:35.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:35.739Z] [2021-01-20T23:22:35.739Z] Login Succeeded [2021-01-20T23:22:35.739Z] nexus3.edgexfoundry.org:10003 [2021-01-20T23:22:35.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:35.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:35.739Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:35.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:35.739Z] [2021-01-20T23:22:35.739Z] Login Succeeded [2021-01-20T23:22:35.739Z] nexus3.edgexfoundry.org:10004 [2021-01-20T23:22:36.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:36.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:36.002Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:36.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:36.002Z] [2021-01-20T23:22:36.002Z] Login Succeeded [2021-01-20T23:22:36.002Z] docker.io [2021-01-20T23:22:36.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:36.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:36.529Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:36.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:36.529Z] [2021-01-20T23:22:36.529Z] Login Succeeded [2021-01-20T23:22:36.529Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T23:22:36.541Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T23:22:37.014Z] ========================================================= [2021-01-20T23:22:37.015Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-20T23:22:37.015Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:22:37.363Z] + 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:37.631Z] Sending build context to Docker daemon 487.9kB [2021-01-20T23:22:37.631Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T23:22:37.631Z] Step 2/8 : FROM ${BASE} [2021-01-20T23:22:37.631Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-20T23:22:37.631Z] 188c0c94c7c5: Pulling fs layer [2021-01-20T23:22:37.631Z] 0ef7d3d256c8: Pulling fs layer [2021-01-20T23:22:37.631Z] de9db76c5a1d: Pulling fs layer [2021-01-20T23:22:37.631Z] bca2f99d35d6: Pulling fs layer [2021-01-20T23:22:37.631Z] 93359f2a8cfa: Pulling fs layer [2021-01-20T23:22:37.631Z] 7c6f9722023f: Pulling fs layer [2021-01-20T23:22:37.631Z] a35cf1a2eb13: Pulling fs layer [2021-01-20T23:22:37.631Z] 93359f2a8cfa: Waiting [2021-01-20T23:22:37.631Z] 7c6f9722023f: Waiting [2021-01-20T23:22:37.631Z] a35cf1a2eb13: Waiting [2021-01-20T23:22:37.631Z] bca2f99d35d6: Waiting [2021-01-20T23:22:37.631Z] de9db76c5a1d: Download complete [2021-01-20T23:22:37.631Z] 0ef7d3d256c8: Download complete [2021-01-20T23:22:37.631Z] 93359f2a8cfa: Verifying Checksum [2021-01-20T23:22:37.631Z] 93359f2a8cfa: Download complete [2021-01-20T23:22:37.631Z] 7c6f9722023f: Download complete [2021-01-20T23:22:37.631Z] 188c0c94c7c5: Verifying Checksum [2021-01-20T23:22:37.631Z] 188c0c94c7c5: Download complete [2021-01-20T23:22:38.029Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21731 in /w/workspace/gexfoundry_device-mqtt-go_PR-207 [Pipeline] { [Pipeline] ws [2021-01-20T23:22:38.080Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2021-01-20T23:22:38.224Z] 188c0c94c7c5: Pull complete [2021-01-20T23:22:38.224Z] 0ef7d3d256c8: Pull complete [2021-01-20T23:22:38.491Z] de9db76c5a1d: Pull complete [2021-01-20T23:22:39.893Z] a35cf1a2eb13: Verifying Checksum [2021-01-20T23:22:39.893Z] a35cf1a2eb13: Download complete [2021-01-20T23:22:40.477Z] bca2f99d35d6: Verifying Checksum [2021-01-20T23:22:40.477Z] bca2f99d35d6: Download complete [2021-01-20T23:22:43.406Z] using credential edgex-jenkins-ssh [2021-01-20T23:22:43.462Z] Cloning the remote Git repository [2021-01-20T23:22:43.537Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:22:43.652Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2021-01-20T23:22:43.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:22:43.751Z] > git --version # timeout=10 [2021-01-20T23:22:43.771Z] > git --version # 'git version 2.17.1' [2021-01-20T23:22:43.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:22:43.829Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:22:45.207Z] Merging remotes/origin/master commit b247510d13ba8e9fad57040faa04d23d7bfdafc2 into PR head commit 7d3fac01e70055c183287e1481e2b59da4885889 [2021-01-20T23:22:45.467Z] Merge succeeded, producing 412d39661c0beaf566e6892081618b7a8d8020cd [2021-01-20T23:22:45.467Z] Checking out Revision 412d39661c0beaf566e6892081618b7a8d8020cd (PR-207) [2021-01-20T23:22:44.599Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-20T23:22:44.618Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:22:44.649Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-20T23:22:44.681Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:22:44.682Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:22:44.694Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/207/head:refs/remotes/origin/PR-207 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T23:22:45.226Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:22:45.265Z] > git checkout -f 7d3fac01e70055c183287e1481e2b59da4885889 # timeout=10 [2021-01-20T23:22:45.353Z] > git remote # timeout=10 [2021-01-20T23:22:45.372Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T23:22:45.388Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:22:45.398Z] > git merge b247510d13ba8e9fad57040faa04d23d7bfdafc2 # timeout=10 [2021-01-20T23:22:45.448Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T23:22:45.470Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:22:45.488Z] > git checkout -f 412d39661c0beaf566e6892081618b7a8d8020cd # timeout=10 [2021-01-20T23:22:45.808Z] bca2f99d35d6: Pull complete [2021-01-20T23:22:46.071Z] 93359f2a8cfa: Pull complete [2021-01-20T23:22:46.071Z] 7c6f9722023f: Pull complete [2021-01-20T23:22:50.025Z] Commit message: "Merge commit 'b247510d13ba8e9fad57040faa04d23d7bfdafc2' into HEAD" [2021-01-20T23:22:50.031Z] > git rev-list --no-walk 7d3fac01e70055c183287e1481e2b59da4885889 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T23:22:51.597Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:22:52.143Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:22:52.544Z] + sudo service docker restart [2021-01-20T23:22:52.544Z] + true [2021-01-20T23:22:54.260Z] a35cf1a2eb13: Pull complete [2021-01-20T23:22:54.260Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-20T23:22:54.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-20T23:22:54.260Z] ---> a62c8e92a672 [2021-01-20T23:22:54.260Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-20T23:22:54.260Z] ---> Running in aadb2a3483e6 [2021-01-20T23:22:54.260Z] Removing intermediate container aadb2a3483e6 [2021-01-20T23:22:54.260Z] ---> 20806404cee6 [2021-01-20T23:22:54.260Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T23:22:54.260Z] ---> Running in eecace770643 [2021-01-20T23:22:54.835Z] Removing intermediate container eecace770643 [2021-01-20T23:22:54.835Z] ---> 410213ce706f [2021-01-20T23:22:54.835Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-20T23:22:54.835Z] ---> Running in ede16f82bf24 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T23:22:55.254Z] provisioning config files... [2021-01-20T23:22:55.299Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config5270325030788897079tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:22:55.734Z] ---> docker-login.sh [2021-01-20T23:22:55.734Z] nexus3.edgexfoundry.org:10001 [2021-01-20T23:22:56.230Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-20T23:22:56.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:56.805Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-20T23:22:57.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:57.003Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:57.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:57.003Z] [2021-01-20T23:22:57.003Z] Login Succeeded [2021-01-20T23:22:57.003Z] nexus3.edgexfoundry.org:10002 [2021-01-20T23:22:57.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:57.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:57.559Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:57.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:57.559Z] [2021-01-20T23:22:57.559Z] Login Succeeded [2021-01-20T23:22:57.559Z] nexus3.edgexfoundry.org:10003 [2021-01-20T23:22:57.751Z] (1/14) Installing libmagic (5.38-r0) [2021-01-20T23:22:57.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:58.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:58.109Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:58.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:58.109Z] [2021-01-20T23:22:58.109Z] Login Succeeded [2021-01-20T23:22:58.109Z] nexus3.edgexfoundry.org:10004 [2021-01-20T23:22:58.327Z] (2/14) Installing file (5.38-r0) [2021-01-20T23:22:58.327Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-20T23:22:58.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:58.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:58.382Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:58.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:58.382Z] [2021-01-20T23:22:58.382Z] Login Succeeded [2021-01-20T23:22:58.382Z] docker.io [2021-01-20T23:22:58.589Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-20T23:22:58.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:22:59.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:22:59.247Z] Configure a credential helper to remove this warning. See [2021-01-20T23:22:59.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:22:59.247Z] [2021-01-20T23:22:59.247Z] Login Succeeded [2021-01-20T23:22:59.247Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T23:22:59.268Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T23:22:59.792Z] ========================================================= [2021-01-20T23:22:59.792Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-20T23:22:59.792Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:23:00.174Z] + 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:23:00.453Z] Sending build context to Docker daemon 486.9kB [2021-01-20T23:23:00.453Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T23:23:00.453Z] Step 2/8 : FROM ${BASE} [2021-01-20T23:23:00.729Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-20T23:23:00.729Z] 5f621e34cdf4: Pulling fs layer [2021-01-20T23:23:00.729Z] a4357932f1b6: Pulling fs layer [2021-01-20T23:23:00.729Z] 18c013af1878: Pulling fs layer [2021-01-20T23:23:00.729Z] 00ac8860ef70: Pulling fs layer [2021-01-20T23:23:00.729Z] 63d7cb157983: Pulling fs layer [2021-01-20T23:23:00.729Z] 00ac8860ef70: Waiting [2021-01-20T23:23:00.729Z] b116817d02f9: Pulling fs layer [2021-01-20T23:23:00.729Z] 745a02a5169b: Pulling fs layer [2021-01-20T23:23:00.729Z] 63d7cb157983: Waiting [2021-01-20T23:23:00.729Z] b116817d02f9: Waiting [2021-01-20T23:23:00.729Z] 745a02a5169b: Waiting [2021-01-20T23:23:00.729Z] 18c013af1878: Verifying Checksum [2021-01-20T23:23:00.729Z] 18c013af1878: Download complete [2021-01-20T23:23:00.729Z] a4357932f1b6: Verifying Checksum [2021-01-20T23:23:00.729Z] a4357932f1b6: Download complete [2021-01-20T23:23:00.729Z] 63d7cb157983: Verifying Checksum [2021-01-20T23:23:00.729Z] 63d7cb157983: Download complete [2021-01-20T23:23:00.729Z] b116817d02f9: Verifying Checksum [2021-01-20T23:23:00.729Z] b116817d02f9: Download complete [2021-01-20T23:23:00.729Z] 5f621e34cdf4: Verifying Checksum [2021-01-20T23:23:00.729Z] 5f621e34cdf4: Download complete [2021-01-20T23:23:01.329Z] 5f621e34cdf4: Pull complete [2021-01-20T23:23:01.933Z] a4357932f1b6: Pull complete [2021-01-20T23:23:02.217Z] 18c013af1878: Pull complete [2021-01-20T23:23:03.201Z] 745a02a5169b: Verifying Checksum [2021-01-20T23:23:03.201Z] 745a02a5169b: Download complete [2021-01-20T23:23:04.645Z] 00ac8860ef70: Verifying Checksum [2021-01-20T23:23:04.645Z] 00ac8860ef70: Download complete [2021-01-20T23:23:14.838Z] 00ac8860ef70: Pull complete [2021-01-20T23:23:14.838Z] 63d7cb157983: Pull complete [2021-01-20T23:23:15.438Z] b116817d02f9: Pull complete [2021-01-20T23:23:19.769Z] 745a02a5169b: Pull complete [2021-01-20T23:23:19.769Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-20T23:23:19.769Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-20T23:23:19.769Z] ---> b7e6874047d6 [2021-01-20T23:23:19.769Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-20T23:23:22.411Z] ---> Running in 84e318412b14 [2021-01-20T23:23:22.412Z] Removing intermediate container 84e318412b14 [2021-01-20T23:23:22.412Z] ---> 581fb0d751a0 [2021-01-20T23:23:22.412Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T23:23:22.686Z] ---> Running in 9920ef85e7be [2021-01-20T23:23:25.225Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-20T23:23:25.225Z] (6/14) Installing patch (2.7.6-r6) [2021-01-20T23:23:25.225Z] (7/14) Installing build-base (0.5-r2) [2021-01-20T23:23:25.225Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-20T23:23:25.225Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-20T23:23:25.225Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-20T23:23:25.225Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-20T23:23:25.225Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-20T23:23:25.225Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-20T23:23:25.309Z] Removing intermediate container 9920ef85e7be [2021-01-20T23:23:25.309Z] ---> 40121ca1baf8 [2021-01-20T23:23:25.309Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-20T23:23:25.309Z] ---> Running in 9c561310b69c [2021-01-20T23:23:25.803Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-20T23:23:25.905Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-20T23:23:26.072Z] Executing busybox-1.31.1-r19.trigger [2021-01-20T23:23:26.072Z] OK: 237 MiB in 53 packages [2021-01-20T23:23:27.884Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-20T23:23:30.305Z] Removing intermediate container ede16f82bf24 [2021-01-20T23:23:30.305Z] ---> 674d6daa31bd [2021-01-20T23:23:30.305Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-20T23:23:30.305Z] ---> Running in 0f1e78ddf5a2 [2021-01-20T23:23:30.305Z] Removing intermediate container 0f1e78ddf5a2 [2021-01-20T23:23:30.305Z] ---> 2d17655f6e00 [2021-01-20T23:23:30.305Z] Step 7/8 : COPY . . [2021-01-20T23:23:30.581Z] ---> 9f343cb10e0a [2021-01-20T23:23:30.581Z] Step 8/8 : RUN go mod download [2021-01-20T23:23:30.581Z] ---> Running in c57634713524 [2021-01-20T23:23:31.285Z] (1/14) Installing libmagic (5.38-r0) [2021-01-20T23:23:32.335Z] (2/14) Installing file (5.38-r0) [2021-01-20T23:23:32.335Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-20T23:23:32.335Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-20T23:23:52.720Z] Removing intermediate container c57634713524 [2021-01-20T23:23:52.720Z] ---> ec4fd6014483 [2021-01-20T23:23:52.720Z] Successfully built ec4fd6014483 [2021-01-20T23:23:52.720Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:23:53.054Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T23:23:53.054Z] . [Pipeline] withDockerContainer [2021-01-20T23:23:53.189Z] prd-centos7-docker-4c-2g-21733 does not seem to be running inside a container [2021-01-20T23:23:53.260Z] $ 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:54.209Z] $ docker top ae0b6bc3757913adf4d24936b04bcda6b77c0ec3884d194801456423aa31d99a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:23:54.525Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-20T23:23:54.525Z] (6/14) Installing patch (2.7.6-r6) [2021-01-20T23:23:54.525Z] (7/14) Installing build-base (0.5-r2) [2021-01-20T23:23:54.525Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-20T23:23:54.525Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-20T23:23:54.525Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-20T23:23:54.525Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-20T23:23:54.525Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-20T23:23:54.525Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-20T23:23:54.525Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-20T23:23:54.525Z] Executing busybox-1.31.1-r19.trigger [2021-01-20T23:23:54.525Z] OK: 221 MiB in 53 packages [2021-01-20T23:23:54.737Z] + go version [2021-01-20T23:23:54.737Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-20T23:23:54.756Z] $ docker stop --time=1 ae0b6bc3757913adf4d24936b04bcda6b77c0ec3884d194801456423aa31d99a [2021-01-20T23:23:56.113Z] $ docker rm -f ae0b6bc3757913adf4d24936b04bcda6b77c0ec3884d194801456423aa31d99a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:23:56.903Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T23:23:56.903Z] . [Pipeline] withDockerContainer [2021-01-20T23:23:57.020Z] prd-centos7-docker-4c-2g-21733 does not seem to be running inside a container [2021-01-20T23:23:57.070Z] $ 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:57.747Z] $ docker top 3ed7d342e5294151cd55a6520f9fba07b1a7502a61abbb83b87bb1475e735e4a -eo pid,comm [2021-01-20T23:23:57.919Z] Removing intermediate container 9c561310b69c [2021-01-20T23:23:57.919Z] ---> fbe55d33b207 [2021-01-20T23:23:57.919Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-20T23:23:57.919Z] ---> Running in 7268d07929e8 [Pipeline] { [Pipeline] sh [2021-01-20T23:23:58.191Z] Removing intermediate container 7268d07929e8 [2021-01-20T23:23:58.191Z] ---> 1008fbfc7d39 [2021-01-20T23:23:58.191Z] Step 7/8 : COPY . . [2021-01-20T23:23:58.304Z] + make test [2021-01-20T23:23:58.304Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-20T23:23:59.175Z] ---> bd6ce72ba0ea [2021-01-20T23:23:59.175Z] Step 8/8 : RUN go mod download [2021-01-20T23:23:59.454Z] ---> Running in c7518e75adbf [2021-01-20T23:23:59.724Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-20T23:24:06.472Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-20T23:24:06.472Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-20T23:24:06.472Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-20T23:24:06.473Z] have (string, bool, string, string) [2021-01-20T23:24:06.473Z] want (string, string) [2021-01-20T23:24:11.883Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2021-01-20T23:24:11.883Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-01-20T23:24:12.001Z] $ docker stop --time=1 3ed7d342e5294151cd55a6520f9fba07b1a7502a61abbb83b87bb1475e735e4a [2021-01-20T23:24:14.559Z] $ docker rm -f 3ed7d342e5294151cd55a6520f9fba07b1a7502a61abbb83b87bb1475e735e4a [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:16.831Z] Failed in branch amd64 [2021-01-20T23:24:26.482Z] Removing intermediate container c7518e75adbf [2021-01-20T23:24:26.482Z] ---> 1f9f0fcbcf6a [2021-01-20T23:24:26.482Z] Successfully built 1f9f0fcbcf6a [2021-01-20T23:24:26.482Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:24:26.832Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T23:24:26.832Z] . [Pipeline] withDockerContainer [2021-01-20T23:24:27.125Z] prd-ubuntu18.04-docker-arm64-4c-16g-21731 does not seem to be running inside a container [2021-01-20T23:24:27.209Z] $ 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-arm64 cat [2021-01-20T23:24:28.781Z] $ docker top 48dfb471b1a05b05fed406c40b6fd7ef76ea9f3c5dee63116ed05b4f2a33b7a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:24:29.848Z] + go version [2021-01-20T23:24:29.848Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-20T23:24:29.871Z] $ docker stop --time=1 48dfb471b1a05b05fed406c40b6fd7ef76ea9f3c5dee63116ed05b4f2a33b7a8 [2021-01-20T23:24:31.845Z] $ docker rm -f 48dfb471b1a05b05fed406c40b6fd7ef76ea9f3c5dee63116ed05b4f2a33b7a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:24:32.989Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T23:24:32.989Z] . [Pipeline] withDockerContainer [2021-01-20T23:24:33.276Z] prd-ubuntu18.04-docker-arm64-4c-16g-21731 does not seem to be running inside a container [2021-01-20T23:24:33.373Z] $ 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-arm64 cat [2021-01-20T23:24:34.995Z] $ docker top 1fba5fd68e3fddb55cd46cd4ad29d2f40ba9602e7c697fbdb91f4a4e8af26f4c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:24:36.094Z] + make test [2021-01-20T23:24:36.094Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-20T23:24:37.085Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-20T23:25:04.203Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-20T23:25:04.203Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-20T23:25:04.203Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-20T23:25:04.203Z] have (string, bool, string, string) [2021-01-20T23:25:04.203Z] want (string, string) [2021-01-20T23:25:14.535Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2021-01-20T23:25:14.535Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-01-20T23:25:14.555Z] $ docker stop --time=1 1fba5fd68e3fddb55cd46cd4ad29d2f40ba9602e7c697fbdb91f4a4e8af26f4c [2021-01-20T23:25:16.715Z] $ docker rm -f 1fba5fd68e3fddb55cd46cd4ad29d2f40ba9602e7c697fbdb91f4a4e8af26f4c [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:25:18.216Z] 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:25:21.032Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:25:22.549Z] ---> package-listing.sh [2021-01-20T23:25:22.549Z] ++ facter osfamily [2021-01-20T23:25:22.549Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-20T23:25:22.861Z] + OS_FAMILY=redhat [2021-01-20T23:25:22.861Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-207 [2021-01-20T23:25:22.861Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-20T23:25:22.861Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-20T23:25:22.861Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-20T23:25:22.861Z] + PACKAGES=/tmp/packages_start.txt [2021-01-20T23:25:22.861Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-207 ']' [2021-01-20T23:25:22.861Z] + PACKAGES=/tmp/packages_end.txt [2021-01-20T23:25:22.861Z] + case "${OS_FAMILY}" in [2021-01-20T23:25:22.861Z] + rpm -qa [2021-01-20T23:25:22.861Z] + sort [2021-01-20T23:25:29.673Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-20T23:25:29.673Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-20T23:25:29.673Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-20T23:25:29.673Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-207 ']' [2021-01-20T23:25:29.674Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-207/archives/ [2021-01-20T23:25:29.674Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-207/archives/ [Pipeline] echo [2021-01-20T23:25:29.710Z] 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-207/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:25:30.035Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:25:30.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T23:25:30.454Z] [2021-01-20T23:25:30.454Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:25:30.834Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T23:25:30.834Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-20T23:25:30.834Z] df20fa9351a1: Pulling fs layer [2021-01-20T23:25:30.834Z] 36b3adc4ff6f: Pulling fs layer [2021-01-20T23:25:30.834Z] 8ad3a11d3b57: Pulling fs layer [2021-01-20T23:25:30.834Z] 46f8f816bc3b: Pulling fs layer [2021-01-20T23:25:30.834Z] 93b61091891f: Pulling fs layer [2021-01-20T23:25:30.834Z] 93b9cdb0e59b: Pulling fs layer [2021-01-20T23:25:30.834Z] 5e14af77c1be: Pulling fs layer [2021-01-20T23:25:30.834Z] 01666e4c0597: Pulling fs layer [2021-01-20T23:25:30.834Z] aa168da1d23b: Pulling fs layer [2021-01-20T23:25:30.834Z] 46f8f816bc3b: Waiting [2021-01-20T23:25:30.834Z] 93b61091891f: Waiting [2021-01-20T23:25:30.834Z] 93b9cdb0e59b: Waiting [2021-01-20T23:25:30.834Z] 5e14af77c1be: Waiting [2021-01-20T23:25:30.834Z] 01666e4c0597: Waiting [2021-01-20T23:25:30.834Z] aa168da1d23b: Waiting [2021-01-20T23:25:31.155Z] 36b3adc4ff6f: Verifying Checksum [2021-01-20T23:25:31.155Z] 36b3adc4ff6f: Download complete [2021-01-20T23:25:31.155Z] 46f8f816bc3b: Download complete [2021-01-20T23:25:31.155Z] df20fa9351a1: Verifying Checksum [2021-01-20T23:25:31.155Z] df20fa9351a1: Download complete [2021-01-20T23:25:31.155Z] 93b9cdb0e59b: Verifying Checksum [2021-01-20T23:25:31.469Z] 5e14af77c1be: Verifying Checksum [2021-01-20T23:25:31.469Z] 5e14af77c1be: Download complete [2021-01-20T23:25:31.469Z] 01666e4c0597: Verifying Checksum [2021-01-20T23:25:31.469Z] 01666e4c0597: Download complete [2021-01-20T23:25:31.469Z] 93b61091891f: Download complete [2021-01-20T23:25:32.136Z] 8ad3a11d3b57: Verifying Checksum [2021-01-20T23:25:32.136Z] 8ad3a11d3b57: Download complete [2021-01-20T23:25:32.436Z] df20fa9351a1: Pull complete [2021-01-20T23:25:33.066Z] 36b3adc4ff6f: Pull complete [2021-01-20T23:25:34.699Z] 8ad3a11d3b57: Pull complete [2021-01-20T23:25:35.025Z] 46f8f816bc3b: Pull complete [2021-01-20T23:25:36.145Z] 93b61091891f: Pull complete [2021-01-20T23:25:36.145Z] 93b9cdb0e59b: Pull complete [2021-01-20T23:25:36.477Z] 5e14af77c1be: Pull complete [2021-01-20T23:25:37.191Z] 01666e4c0597: Pull complete [2021-01-20T23:25:40.240Z] aa168da1d23b: Verifying Checksum [2021-01-20T23:25:40.240Z] aa168da1d23b: Download complete [2021-01-20T23:25:55.658Z] aa168da1d23b: Pull complete [2021-01-20T23:25:55.658Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-20T23:25:55.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T23:25:55.658Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-20T23:25:56.116Z] prd-centos7-docker-4c-2g-21720 does not seem to be running inside a container [2021-01-20T23:25:56.253Z] $ 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-207/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-207 -v /w/workspace/gexfoundry_device-mqtt-go_PR-207:/w/workspace/gexfoundry_device-mqtt-go_PR-207:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-207@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-207@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:26:02.655Z] $ docker top 22004caf4c766fda7321e605bb217659e13daa8ef1ae49e7eb7b9f407857d7e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:26:03.495Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-20T23:26:04.280Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-20T23:26:05.525Z] + ls /var/log/sa-host [2021-01-20T23:26:05.526Z] + sadf -c /var/log/sa-host/sa20 [2021-01-20T23:26:05.526Z] file_magic: OK [2021-01-20T23:26:05.526Z] HZ: Using current value: 100 [2021-01-20T23:26:05.526Z] file_header: OK [2021-01-20T23:26:05.526Z] 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:26:05.526Z] Statistics: [2021-01-20T23:26:05.526Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-20T23:26:05.526Z] File successfully converted to sysstat format version 12.2.1 [2021-01-20T23:26:05.526Z] + sadf -c /var/log/sa-host/sa23 [2021-01-20T23:26:05.526Z] file_magic: OK [2021-01-20T23:26:05.526Z] HZ: Using current value: 100 [2021-01-20T23:26:05.526Z] file_header: OK [2021-01-20T23:26:05.526Z] 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:26:05.526Z] Statistics: [2021-01-20T23:26:05.526Z] Hnuu...uuuununununu... [2021-01-20T23:26:05.526Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-20T23:26:05.832Z] provisioning config files... [2021-01-20T23:26:05.870Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-207@tmp/config8842643628357691271tmp [Pipeline] { [Pipeline] echo [2021-01-20T23:26:05.939Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:26:06.273Z] ---> create-netrc.sh [Pipeline] } [2021-01-20T23:26:06.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-20T23:26:06.406Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:26:06.785Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-20T23:26:06.814Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:26:07.617Z] ---> sudo-logs.sh [2021-01-20T23:26:07.617Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-20T23:26:07.649Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:26:08.487Z] ---> job-cost.sh [2021-01-20T23:26:08.487Z] lf-activate-venv: SKIPPING [2021-01-20T23:26:08.487Z] INFO: No Stack... [2021-01-20T23:26:09.485Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-20T23:26:10.194Z] INFO: Archiving Costs [Pipeline] echo [2021-01-20T23:26:10.234Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:26:11.139Z] ---> logs-deploy.sh [2021-01-20T23:26:11.140Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-207/2 [2021-01-20T23:26:11.140Z] INFO: archiving workspace using pattern(s): [2021-01-20T23:26:14.943Z] Archives upload complete. [2021-01-20T23:26:14.943Z] INFO: archiving logs to Nexus