Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 57eed509a15d49ff407fabd85d00a31b60dddb51+b247510d13ba8e9fad57040faa04d23d7bfdafc2 (e58bf3ad6d60056659b7b471df108bf5fc153936) 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-21725 in /w/workspace/gexfoundry_device-mqtt-go_PR-198 [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-198 # 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/198/head:refs/remotes/origin/PR-198 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b247510d13ba8e9fad57040faa04d23d7bfdafc2 into PR head commit 57eed509a15d49ff407fabd85d00a31b60dddb51 Merge succeeded, producing 1c0ed1a14d5e0187b38253ebc19222cdb24211bd Checking out Revision 1c0ed1a14d5e0187b38253ebc19222cdb24211bd (PR-198) > git config core.sparsecheckout # timeout=10 > git checkout -f 57eed509a15d49ff407fabd85d00a31b60dddb51 # 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 1c0ed1a14d5e0187b38253ebc19222cdb24211bd # timeout=10 Commit message: "Merge commit 'b247510d13ba8e9fad57040faa04d23d7bfdafc2' into HEAD" > git rev-list --no-walk 57eed509a15d49ff407fabd85d00a31b60dddb51 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-20T23:19:06.275Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-20T23:19:06.505Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-20T23:19:06.597Z] ========================================================= [2021-01-20T23:19:06.597Z] EdgeX Global Pipelines Version Info [2021-01-20T23:19:06.597Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:19:08.632Z] ------------------- [2021-01-20T23:19:08.632Z] stable info: [2021-01-20T23:19:08.632Z] ------------------- [2021-01-20T23:19:08.632Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T23:19:08.632Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T23:19:08.632Z] Message: update stable to v1.0.179 [2021-01-20T23:19:09.582Z] ------------------- [2021-01-20T23:19:09.582Z] experimental info: [2021-01-20T23:19:09.582Z] ------------------- [2021-01-20T23:19:09.582Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T23:19:09.582Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T23:19:09.582Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-20T23:19:09.829Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-01-20T23:19:09.931Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-01-20T23:19:10.048Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-20T23:19:10.157Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-20T23:19:10.283Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-20T23:19:10.469Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-20T23:19:10.588Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-20T23:19:10.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-20T23:19:10.784Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-20T23:19:10.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-20T23:19:10.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-20T23:19:11.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-01-20T23:19:11.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-20T23:19:11.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-20T23:19:11.390Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T23:19:11.475Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T23:19:11.560Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T23:19:11.641Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T23:19:11.735Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-20T23:19:11.831Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-20T23:19:11.939Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-20T23:19:12.061Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-20T23:19:12.187Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-20T23:19:12.289Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-20T23:19:12.380Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-20T23:19:12.472Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-20T23:19:12.561Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-20T23:19:12.647Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-198 [Pipeline] echo [2021-01-20T23:19:12.740Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-198 [Pipeline] echo [2021-01-20T23:19:12.828Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-198 [Pipeline] echo [2021-01-20T23:19:12.927Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c0ed1a14d5e0187b38253ebc19222cdb24211bd [Pipeline] echo [2021-01-20T23:19:13.011Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c0ed1a [Pipeline] echo [2021-01-20T23:19:13.190Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T23:19:13.379Z] provisioning config files... [2021-01-20T23:19:13.414Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/config8292614349868974626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:19:13.792Z] ---> docker-login.sh [2021-01-20T23:19:13.792Z] nexus3.edgexfoundry.org:10001 [2021-01-20T23:19:14.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:19:14.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:19:14.327Z] Configure a credential helper to remove this warning. See [2021-01-20T23:19:14.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:19:14.327Z] [2021-01-20T23:19:14.327Z] Login Succeeded [2021-01-20T23:19:14.327Z] nexus3.edgexfoundry.org:10002 [2021-01-20T23:19:14.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:19:14.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:19:14.607Z] Configure a credential helper to remove this warning. See [2021-01-20T23:19:14.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:19:14.607Z] [2021-01-20T23:19:14.607Z] Login Succeeded [2021-01-20T23:19:14.607Z] nexus3.edgexfoundry.org:10003 [2021-01-20T23:19:14.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:19:14.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:19:14.607Z] Configure a credential helper to remove this warning. See [2021-01-20T23:19:14.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:19:14.607Z] [2021-01-20T23:19:14.607Z] Login Succeeded [2021-01-20T23:19:14.607Z] nexus3.edgexfoundry.org:10004 [2021-01-20T23:19:14.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:19:14.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:19:14.880Z] Configure a credential helper to remove this warning. See [2021-01-20T23:19:14.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:19:14.880Z] [2021-01-20T23:19:14.880Z] Login Succeeded [2021-01-20T23:19:14.880Z] docker.io [2021-01-20T23:19:15.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:19:15.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:19:15.412Z] Configure a credential helper to remove this warning. See [2021-01-20T23:19:15.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:19:15.412Z] [2021-01-20T23:19:15.412Z] Login Succeeded [2021-01-20T23:19:15.412Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T23:19:15.423Z] 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:16.209Z] + git log --format=format:%s -1 1c0ed1a14d5e0187b38253ebc19222cdb24211bd [Pipeline] echo [2021-01-20T23:19:16.281Z] GIT_COMMIT: 1c0ed1a14d5e0187b38253ebc19222cdb24211bd, Commit Message: Merge commit 'b247510d13ba8e9fad57040faa04d23d7bfdafc2' into HEAD [Pipeline] echo [2021-01-20T23:19:16.326Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:19:16.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T23:19:16.909Z] [2021-01-20T23:19:16.909Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:19:17.274Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T23:19:17.274Z] latest: Pulling from edgex-devops/git-semver [2021-01-20T23:19:17.274Z] 31603596830f: Pulling fs layer [2021-01-20T23:19:17.274Z] 2a8b12db71e7: Pulling fs layer [2021-01-20T23:19:17.274Z] 6ca5941a6612: Pulling fs layer [2021-01-20T23:19:17.274Z] ecc8261a40a4: Pulling fs layer [2021-01-20T23:19:17.274Z] ecc8261a40a4: Waiting [2021-01-20T23:19:17.274Z] 2a8b12db71e7: Verifying Checksum [2021-01-20T23:19:17.274Z] 2a8b12db71e7: Download complete [2021-01-20T23:19:17.274Z] 31603596830f: Verifying Checksum [2021-01-20T23:19:17.274Z] 31603596830f: Download complete [2021-01-20T23:19:17.545Z] ecc8261a40a4: Verifying Checksum [2021-01-20T23:19:17.545Z] ecc8261a40a4: Download complete [2021-01-20T23:19:17.545Z] 6ca5941a6612: Verifying Checksum [2021-01-20T23:19:17.545Z] 6ca5941a6612: Download complete [2021-01-20T23:19:17.819Z] 31603596830f: Pull complete [2021-01-20T23:19:17.819Z] 2a8b12db71e7: Pull complete [2021-01-20T23:19:18.771Z] 6ca5941a6612: Pull complete [2021-01-20T23:19:19.036Z] ecc8261a40a4: Pull complete [2021-01-20T23:19:19.036Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-20T23:19:19.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T23:19:19.036Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-20T23:19:19.146Z] prd-centos7-docker-4c-2g-21725 does not seem to be running inside a container [2021-01-20T23:19:19.190Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-198 -v /w/workspace/gexfoundry_device-mqtt-go_PR-198:/w/workspace/gexfoundry_device-mqtt-go_PR-198:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-198@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:21.118Z] $ docker top 648e807bed82b1f100528a69bd2d644cfef3ff0732500247c2659b8676e565a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-20T23:19:21.444Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T23:19:21.444Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T23:19:21.686Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T23:19:21.684Z] $ docker exec 648e807bed82b1f100528a69bd2d644cfef3ff0732500247c2659b8676e565a7 ssh-agent [2021-01-20T23:19:21.863Z] SSH_AUTH_SOCK=/tmp/ssh-ZsJ9xhVXvIvR/agent.11 [2021-01-20T23:19:21.863Z] SSH_AGENT_PID=17 [2021-01-20T23:19:21.873Z] Running ssh-add (command line suppressed) [2021-01-20T23:19:21.998Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_4580417447872048804.key (/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_4580417447872048804.key) [2021-01-20T23:19:22.067Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T23:19:22.402Z] + git tag --points-at HEAD [Pipeline] } [2021-01-20T23:19:22.426Z] $ docker exec --env ******** --env ******** 648e807bed82b1f100528a69bd2d644cfef3ff0732500247c2659b8676e565a7 ssh-agent -k [2021-01-20T23:19:22.560Z] unset SSH_AUTH_SOCK; [2021-01-20T23:19:22.561Z] unset SSH_AGENT_PID; [2021-01-20T23:19:22.561Z] echo Agent pid 17 killed; [2021-01-20T23:19:22.617Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-20T23:19:22.780Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T23:19:22.780Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T23:19:22.965Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T23:19:22.963Z] $ docker exec 648e807bed82b1f100528a69bd2d644cfef3ff0732500247c2659b8676e565a7 ssh-agent [2021-01-20T23:19:23.142Z] SSH_AUTH_SOCK=/tmp/ssh-xRFLXyuC7jq1/agent.45 [2021-01-20T23:19:23.143Z] SSH_AGENT_PID=50 [2021-01-20T23:19:23.149Z] Running ssh-add (command line suppressed) [2021-01-20T23:19:23.273Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_2881945434460061514.key (/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_2881945434460061514.key) [2021-01-20T23:19:23.333Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T23:19:23.691Z] + git semver init [2021-01-20T23:19:23.691Z] # -> Open(): unable to determine branch for HEAD [2021-01-20T23:19:23.691Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-198/.git [2021-01-20T23:19:23.691Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-198 [2021-01-20T23:19:23.691Z] # $SEMVER_REMOTE_NAME = origin [2021-01-20T23:19:23.691Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-20T23:19:23.691Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-20T23:19:23.691Z] # $SEMVER_BRANCH = PR-198 [2021-01-20T23:19:23.691Z] # $SEMVER_TEMP = /tmp/semver-968344733 [2021-01-20T23:19:23.691Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-01-20T23:19:24.265Z] # '/tmp/semver-968344733' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-198/.semver' [2021-01-20T23:19:24.265Z] # -> Force: false [2021-01-20T23:19:24.265Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-198/.semver [Pipeline] } [2021-01-20T23:19:24.271Z] $ docker exec --env ******** --env ******** 648e807bed82b1f100528a69bd2d644cfef3ff0732500247c2659b8676e565a7 ssh-agent -k [2021-01-20T23:19:24.392Z] unset SSH_AUTH_SOCK; [2021-01-20T23:19:24.392Z] unset SSH_AGENT_PID; [2021-01-20T23:19:24.392Z] echo Agent pid 50 killed; [2021-01-20T23:19:24.455Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-20T23:19:24.904Z] + git semver [Pipeline] } [2021-01-20T23:19:24.917Z] $ docker stop --time=1 648e807bed82b1f100528a69bd2d644cfef3ff0732500247c2659b8676e565a7 [2021-01-20T23:19:26.335Z] $ docker rm -f 648e807bed82b1f100528a69bd2d644cfef3ff0732500247c2659b8676e565a7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T23:19:26.799Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-20T23:19:27.190Z] Stashed 1 file(s) [Pipeline] echo [2021-01-20T23:19:27.193Z] [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:42.818Z] Still waiting to schedule task [2021-01-20T23:19:42.818Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-20T23:19:42.821Z] Still waiting to schedule task [2021-01-20T23:19:42.821Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-20T23:23:11.739Z] Running on prd-centos7-docker-4c-2g-21740 in /w/workspace/gexfoundry_device-mqtt-go_PR-198 [Pipeline] { [Pipeline] ws [2021-01-20T23:23:11.799Z] Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout [2021-01-20T23:23:12.808Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21736 in /w/workspace/gexfoundry_device-mqtt-go_PR-198 [Pipeline] { [Pipeline] ws [2021-01-20T23:23:12.858Z] Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout [2021-01-20T23:23:14.415Z] using credential edgex-jenkins-ssh [2021-01-20T23:23:14.468Z] Cloning the remote Git repository [2021-01-20T23:23:14.487Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:23:14.556Z] > git init /w/workspace/device-mqtt-go/5 # timeout=10 [2021-01-20T23:23:14.623Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:23:14.624Z] > git --version # timeout=10 [2021-01-20T23:23:14.631Z] > git --version # 'git version 2.24.3' [2021-01-20T23:23:14.632Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:23:14.662Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:23:15.224Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-20T23:23:15.231Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:23:15.246Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-20T23:23:15.258Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:23:15.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:23:15.263Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/198/head:refs/remotes/origin/PR-198 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T23:23:15.625Z] Merging remotes/origin/master commit b247510d13ba8e9fad57040faa04d23d7bfdafc2 into PR head commit 57eed509a15d49ff407fabd85d00a31b60dddb51 [2021-01-20T23:23:15.718Z] Merge succeeded, producing 8df39ac5de1b96c822339c587b518befd3b79450 [2021-01-20T23:23:15.718Z] Checking out Revision 8df39ac5de1b96c822339c587b518befd3b79450 (PR-198) [2021-01-20T23:23:15.625Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:23:15.630Z] > git checkout -f 57eed509a15d49ff407fabd85d00a31b60dddb51 # timeout=10 [2021-01-20T23:23:15.664Z] > git remote # timeout=10 [2021-01-20T23:23:15.670Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T23:23:15.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:23:15.685Z] > git merge b247510d13ba8e9fad57040faa04d23d7bfdafc2 # timeout=10 [2021-01-20T23:23:15.705Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T23:23:15.715Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:23:15.720Z] > git checkout -f 8df39ac5de1b96c822339c587b518befd3b79450 # timeout=10 [2021-01-20T23:23:18.194Z] using credential edgex-jenkins-ssh [2021-01-20T23:23:18.302Z] Cloning the remote Git repository [2021-01-20T23:23:18.368Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:23:18.491Z] > git init /w/workspace/device-mqtt-go/5 # timeout=10 [2021-01-20T23:23:18.569Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:23:18.569Z] > git --version # timeout=10 [2021-01-20T23:23:18.595Z] > git --version # 'git version 2.17.1' [2021-01-20T23:23:18.596Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:23:18.680Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:23:19.359Z] Commit message: "Merge commit 'b247510d13ba8e9fad57040faa04d23d7bfdafc2' into HEAD" [2021-01-20T23:23:19.356Z] > git rev-list --no-walk 57eed509a15d49ff407fabd85d00a31b60dddb51 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T23:23:20.091Z] Merging remotes/origin/master commit b247510d13ba8e9fad57040faa04d23d7bfdafc2 into PR head commit 57eed509a15d49ff407fabd85d00a31b60dddb51 [2021-01-20T23:23:20.389Z] Merge succeeded, producing bee91922558437dee6894d92499cf9d6c0f0e017 [2021-01-20T23:23:20.390Z] Checking out Revision bee91922558437dee6894d92499cf9d6c0f0e017 (PR-198) [2021-01-20T23:23:19.510Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-20T23:23:19.533Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:23:19.563Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-20T23:23:19.605Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-20T23:23:19.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:23:19.617Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/198/head:refs/remotes/origin/PR-198 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T23:23:20.122Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:23:20.144Z] > git checkout -f 57eed509a15d49ff407fabd85d00a31b60dddb51 # timeout=10 [2021-01-20T23:23:20.259Z] > git remote # timeout=10 [2021-01-20T23:23:20.280Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T23:23:20.306Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:23:20.319Z] > git merge b247510d13ba8e9fad57040faa04d23d7bfdafc2 # timeout=10 [2021-01-20T23:23:20.372Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T23:23:20.400Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:23:20.645Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:23:20.982Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:23:21.282Z] + sudo service docker restart [2021-01-20T23:23:21.282Z] + true [2021-01-20T23:23:21.282Z] Redirecting to /bin/systemctl restart docker.service [2021-01-20T23:23:20.419Z] > git checkout -f bee91922558437dee6894d92499cf9d6c0f0e017 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T23:23:22.293Z] provisioning config files... [2021-01-20T23:23:22.322Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/5@tmp/config5412161913943402824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:23:22.674Z] ---> docker-login.sh [2021-01-20T23:23:22.674Z] nexus3.edgexfoundry.org:10001 [2021-01-20T23:23:22.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:23:23.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:23:23.206Z] Configure a credential helper to remove this warning. See [2021-01-20T23:23:23.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:23:23.206Z] [2021-01-20T23:23:23.206Z] Login Succeeded [2021-01-20T23:23:23.206Z] nexus3.edgexfoundry.org:10002 [2021-01-20T23:23:23.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:23:23.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:23:23.476Z] Configure a credential helper to remove this warning. See [2021-01-20T23:23:23.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:23:23.476Z] [2021-01-20T23:23:23.476Z] Login Succeeded [2021-01-20T23:23:23.476Z] nexus3.edgexfoundry.org:10003 [2021-01-20T23:23:23.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:23:23.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:23:23.741Z] Configure a credential helper to remove this warning. See [2021-01-20T23:23:23.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:23:23.741Z] [2021-01-20T23:23:23.741Z] Login Succeeded [2021-01-20T23:23:23.741Z] nexus3.edgexfoundry.org:10004 [2021-01-20T23:23:23.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:23:23.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:23:23.741Z] Configure a credential helper to remove this warning. See [2021-01-20T23:23:23.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:23:23.741Z] [2021-01-20T23:23:23.741Z] Login Succeeded [2021-01-20T23:23:23.741Z] docker.io [2021-01-20T23:23:24.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:23:24.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:23:24.270Z] Configure a credential helper to remove this warning. See [2021-01-20T23:23:24.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:23:24.270Z] [2021-01-20T23:23:24.270Z] Login Succeeded [2021-01-20T23:23:24.270Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T23:23:24.281Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T23:23:24.955Z] ========================================================= [2021-01-20T23:23:24.956Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-20T23:23:24.956Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:23:25.252Z] Commit message: "Merge commit 'b247510d13ba8e9fad57040faa04d23d7bfdafc2' into HEAD" [2021-01-20T23:23:25.304Z] + 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:23:25.268Z] > git rev-list --no-walk 57eed509a15d49ff407fabd85d00a31b60dddb51 # timeout=10 [2021-01-20T23:23:25.566Z] Sending build context to Docker daemon 487.9kB [2021-01-20T23:23:25.566Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T23:23:25.566Z] Step 2/8 : FROM ${BASE} [2021-01-20T23:23:25.566Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-20T23:23:25.566Z] 188c0c94c7c5: Pulling fs layer [2021-01-20T23:23:25.566Z] 0ef7d3d256c8: Pulling fs layer [2021-01-20T23:23:25.566Z] de9db76c5a1d: Pulling fs layer [2021-01-20T23:23:25.566Z] bca2f99d35d6: Pulling fs layer [2021-01-20T23:23:25.566Z] 93359f2a8cfa: Pulling fs layer [2021-01-20T23:23:25.566Z] 7c6f9722023f: Pulling fs layer [2021-01-20T23:23:25.566Z] a35cf1a2eb13: Pulling fs layer [2021-01-20T23:23:25.566Z] 93359f2a8cfa: Waiting [2021-01-20T23:23:25.566Z] 7c6f9722023f: Waiting [2021-01-20T23:23:25.566Z] a35cf1a2eb13: Waiting [2021-01-20T23:23:25.566Z] bca2f99d35d6: Waiting [2021-01-20T23:23:25.566Z] de9db76c5a1d: Download complete [2021-01-20T23:23:25.566Z] 0ef7d3d256c8: Verifying Checksum [2021-01-20T23:23:25.566Z] 0ef7d3d256c8: Download complete [2021-01-20T23:23:25.566Z] 93359f2a8cfa: Verifying Checksum [2021-01-20T23:23:25.566Z] 93359f2a8cfa: Download complete [2021-01-20T23:23:25.566Z] 188c0c94c7c5: Verifying Checksum [2021-01-20T23:23:25.566Z] 188c0c94c7c5: Download complete [2021-01-20T23:23:25.566Z] 7c6f9722023f: Verifying Checksum [2021-01-20T23:23:25.566Z] 7c6f9722023f: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-01-20T23:23:25.835Z] 188c0c94c7c5: Pull complete [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T23:23:26.110Z] 0ef7d3d256c8: Pull complete [2021-01-20T23:23:26.111Z] de9db76c5a1d: Pull complete [2021-01-20T23:23:26.898Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:23:27.377Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:23:27.731Z] + true [2021-01-20T23:23:27.731Z] + sudo service docker restart [2021-01-20T23:23:28.039Z] a35cf1a2eb13: Verifying Checksum [2021-01-20T23:23:28.040Z] a35cf1a2eb13: Download complete [2021-01-20T23:23:28.309Z] bca2f99d35d6: Verifying Checksum [2021-01-20T23:23:28.309Z] bca2f99d35d6: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T23:23:30.471Z] provisioning config files... [2021-01-20T23:23:30.515Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/5@tmp/config7683135690958533959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:23:30.969Z] ---> docker-login.sh [2021-01-20T23:23:30.969Z] nexus3.edgexfoundry.org:10001 [2021-01-20T23:23:31.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:23:32.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:23:32.264Z] Configure a credential helper to remove this warning. See [2021-01-20T23:23:32.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:23:32.264Z] [2021-01-20T23:23:32.264Z] Login Succeeded [2021-01-20T23:23:32.264Z] nexus3.edgexfoundry.org:10002 [2021-01-20T23:23:32.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:23:32.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:23:32.879Z] Configure a credential helper to remove this warning. See [2021-01-20T23:23:32.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:23:32.879Z] [2021-01-20T23:23:32.879Z] Login Succeeded [2021-01-20T23:23:32.879Z] nexus3.edgexfoundry.org:10003 [2021-01-20T23:23:33.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:23:33.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:23:33.482Z] Configure a credential helper to remove this warning. See [2021-01-20T23:23:33.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:23:33.482Z] [2021-01-20T23:23:33.482Z] Login Succeeded [2021-01-20T23:23:33.482Z] nexus3.edgexfoundry.org:10004 [2021-01-20T23:23:33.707Z] bca2f99d35d6: Pull complete [2021-01-20T23:23:33.971Z] 93359f2a8cfa: Pull complete [2021-01-20T23:23:33.971Z] 7c6f9722023f: Pull complete [2021-01-20T23:23:34.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:23:34.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:23:34.091Z] Configure a credential helper to remove this warning. See [2021-01-20T23:23:34.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:23:34.091Z] [2021-01-20T23:23:34.091Z] Login Succeeded [2021-01-20T23:23:34.367Z] docker.io [2021-01-20T23:23:34.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:23:34.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:23:34.922Z] Configure a credential helper to remove this warning. See [2021-01-20T23:23:34.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:23:34.922Z] [2021-01-20T23:23:34.922Z] Login Succeeded [2021-01-20T23:23:35.202Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T23:23:35.222Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T23:23:35.716Z] ========================================================= [2021-01-20T23:23:35.716Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-20T23:23:35.716Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:23:36.127Z] + 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:36.764Z] Sending build context to Docker daemon 486.9kB [2021-01-20T23:23:36.764Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T23:23:36.764Z] Step 2/8 : FROM ${BASE} [2021-01-20T23:23:36.764Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-20T23:23:36.764Z] 5f621e34cdf4: Pulling fs layer [2021-01-20T23:23:36.764Z] a4357932f1b6: Pulling fs layer [2021-01-20T23:23:36.764Z] 18c013af1878: Pulling fs layer [2021-01-20T23:23:36.764Z] 00ac8860ef70: Pulling fs layer [2021-01-20T23:23:36.764Z] 63d7cb157983: Pulling fs layer [2021-01-20T23:23:36.764Z] b116817d02f9: Pulling fs layer [2021-01-20T23:23:36.764Z] 745a02a5169b: Pulling fs layer [2021-01-20T23:23:36.764Z] 00ac8860ef70: Waiting [2021-01-20T23:23:36.764Z] 63d7cb157983: Waiting [2021-01-20T23:23:36.764Z] b116817d02f9: Waiting [2021-01-20T23:23:36.764Z] 745a02a5169b: Waiting [2021-01-20T23:23:36.764Z] 18c013af1878: Verifying Checksum [2021-01-20T23:23:36.764Z] 18c013af1878: Download complete [2021-01-20T23:23:36.764Z] a4357932f1b6: Verifying Checksum [2021-01-20T23:23:36.764Z] a4357932f1b6: Download complete [2021-01-20T23:23:36.764Z] 63d7cb157983: Verifying Checksum [2021-01-20T23:23:36.764Z] 63d7cb157983: Download complete [2021-01-20T23:23:36.764Z] b116817d02f9: Download complete [2021-01-20T23:23:37.046Z] 5f621e34cdf4: Verifying Checksum [2021-01-20T23:23:37.046Z] 5f621e34cdf4: Download complete [2021-01-20T23:23:38.056Z] 5f621e34cdf4: Pull complete [2021-01-20T23:23:38.333Z] a4357932f1b6: Pull complete [2021-01-20T23:23:38.940Z] 18c013af1878: Pull complete [2021-01-20T23:23:39.305Z] a35cf1a2eb13: Pull complete [2021-01-20T23:23:39.305Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-20T23:23:39.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-20T23:23:39.305Z] ---> a62c8e92a672 [2021-01-20T23:23:39.305Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-20T23:23:39.572Z] ---> Running in df3e48bdaf53 [2021-01-20T23:23:39.572Z] Removing intermediate container df3e48bdaf53 [2021-01-20T23:23:39.572Z] ---> e2b1b6572d39 [2021-01-20T23:23:39.572Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T23:23:39.848Z] ---> Running in b3feb815fee9 [2021-01-20T23:23:39.957Z] 745a02a5169b: Verifying Checksum [2021-01-20T23:23:39.958Z] 745a02a5169b: Download complete [2021-01-20T23:23:41.311Z] Removing intermediate container b3feb815fee9 [2021-01-20T23:23:41.311Z] ---> c14a82a9c57c [2021-01-20T23:23:41.311Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-20T23:23:41.311Z] ---> Running in b2906aa2ccc0 [2021-01-20T23:23:41.443Z] 00ac8860ef70: Verifying Checksum [2021-01-20T23:23:41.443Z] 00ac8860ef70: Download complete [2021-01-20T23:23:41.891Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-20T23:23:43.831Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-20T23:23:45.227Z] (1/14) Installing libmagic (5.38-r0) [2021-01-20T23:23:45.489Z] (2/14) Installing file (5.38-r0) [2021-01-20T23:23:45.489Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-20T23:23:45.489Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-20T23:23:51.649Z] 00ac8860ef70: Pull complete [2021-01-20T23:23:51.649Z] 63d7cb157983: Pull complete [2021-01-20T23:23:51.649Z] b116817d02f9: Pull complete [2021-01-20T23:23:52.135Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-20T23:23:52.135Z] (6/14) Installing patch (2.7.6-r6) [2021-01-20T23:23:52.135Z] (7/14) Installing build-base (0.5-r2) [2021-01-20T23:23:52.135Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-20T23:23:52.406Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-20T23:23:52.406Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-20T23:23:52.991Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-20T23:23:52.991Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-20T23:23:52.991Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-20T23:23:53.255Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-20T23:23:53.519Z] Executing busybox-1.31.1-r19.trigger [2021-01-20T23:23:53.519Z] OK: 237 MiB in 53 packages [2021-01-20T23:23:55.074Z] 745a02a5169b: Pull complete [2021-01-20T23:23:55.074Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-20T23:23:55.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-20T23:23:55.074Z] ---> b7e6874047d6 [2021-01-20T23:23:55.074Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-20T23:23:56.867Z] Removing intermediate container b2906aa2ccc0 [2021-01-20T23:23:56.867Z] ---> 2eb00ce6e19c [2021-01-20T23:23:56.867Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-20T23:23:56.867Z] ---> Running in cce6c9e7b293 [2021-01-20T23:23:57.147Z] Removing intermediate container cce6c9e7b293 [2021-01-20T23:23:57.147Z] ---> 58213eed33be [2021-01-20T23:23:57.147Z] Step 7/8 : COPY . . [2021-01-20T23:23:58.097Z] ---> dfd7a1102d28 [2021-01-20T23:23:58.097Z] Step 8/8 : RUN go mod download [2021-01-20T23:23:58.097Z] ---> Running in 0aa8a2c68dd8 [2021-01-20T23:23:58.520Z] ---> Running in 415f1933db24 [2021-01-20T23:23:58.795Z] Removing intermediate container 415f1933db24 [2021-01-20T23:23:58.795Z] ---> f7bbaf7bdb94 [2021-01-20T23:23:58.795Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T23:23:58.795Z] ---> Running in 845ea1f6b92d [2021-01-20T23:24:01.442Z] Removing intermediate container 845ea1f6b92d [2021-01-20T23:24:01.442Z] ---> 3d4658583139 [2021-01-20T23:24:01.442Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-20T23:24:01.442Z] ---> Running in 9607346cce3a [2021-01-20T23:24:02.888Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-20T23:24:04.326Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-20T23:24:06.964Z] (1/14) Installing libmagic (5.38-r0) [2021-01-20T23:24:07.561Z] (2/14) Installing file (5.38-r0) [2021-01-20T23:24:07.838Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-20T23:24:07.838Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-20T23:24:20.168Z] Removing intermediate container 0aa8a2c68dd8 [2021-01-20T23:24:20.168Z] ---> 9102868b31ac [2021-01-20T23:24:20.168Z] Successfully built 9102868b31ac [2021-01-20T23:24:20.168Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:24:20.488Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T23:24:20.488Z] . [Pipeline] withDockerContainer [2021-01-20T23:24:20.663Z] prd-centos7-docker-4c-2g-21740 does not seem to be running inside a container [2021-01-20T23:24:20.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-20T23:24:21.686Z] $ docker top ce9a3cfb018c6075298e49f3b4f0e3b557c688ffdfbbe7aee628902980958a98 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:24:22.365Z] + go version [2021-01-20T23:24:22.365Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-20T23:24:22.401Z] $ docker stop --time=1 ce9a3cfb018c6075298e49f3b4f0e3b557c688ffdfbbe7aee628902980958a98 [2021-01-20T23:24:23.773Z] $ docker rm -f ce9a3cfb018c6075298e49f3b4f0e3b557c688ffdfbbe7aee628902980958a98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:24:24.616Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T23:24:24.617Z] . [Pipeline] withDockerContainer [2021-01-20T23:24:24.714Z] prd-centos7-docker-4c-2g-21740 does not seem to be running inside a container [2021-01-20T23:24:24.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-20T23:24:25.368Z] $ docker top 81a396a056083ce9e610d0fe21f38264dd71d819c666a42f99fa953e67e9d3cb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:24:25.906Z] + make test [2021-01-20T23:24:25.906Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-20T23:24:27.321Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-20T23:24:30.161Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-20T23:24:30.443Z] (6/14) Installing patch (2.7.6-r6) [2021-01-20T23:24:30.443Z] (7/14) Installing build-base (0.5-r2) [2021-01-20T23:24:30.443Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-20T23:24:31.045Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-20T23:24:31.330Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-20T23:24:33.970Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-20T23:24:33.970Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-20T23:24:33.970Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-20T23:24:34.243Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-20T23:24:34.847Z] Executing busybox-1.31.1-r19.trigger [2021-01-20T23:24:34.848Z] OK: 221 MiB in 53 packages [2021-01-20T23:24:39.183Z] Removing intermediate container 9607346cce3a [2021-01-20T23:24:39.183Z] ---> f267a7b95d0c [2021-01-20T23:24:39.183Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-20T23:24:39.183Z] ---> Running in 1dd582491729 [2021-01-20T23:24:39.183Z] Removing intermediate container 1dd582491729 [2021-01-20T23:24:39.183Z] ---> 8940a1e4c9a8 [2021-01-20T23:24:39.183Z] Step 7/8 : COPY . . [2021-01-20T23:24:39.757Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-01-20T23:24:40.173Z] ---> c0703f402bf8 [2021-01-20T23:24:40.173Z] Step 8/8 : RUN go mod download [2021-01-20T23:24:40.447Z] ---> Running in 52d507838fdd [2021-01-20T23:24:41.180Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 28.3% of statements [2021-01-20T23:24:41.180Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-01-20T23:24:41.180Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-20T23:24:43.799Z] gofmt -l . [2021-01-20T23:24:43.799Z] ["`gofmt -l .`" = ""] [2021-01-20T23:24:43.799Z] ./bin/test-attribution-txt.sh [2021-01-20T23:24:44.377Z] An attribution for github.com/gorilla/websocket is missing from in Attribution.txt, please add [2021-01-20T23:24:44.641Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-01-20T23:24:44.659Z] $ docker stop --time=1 81a396a056083ce9e610d0fe21f38264dd71d819c666a42f99fa953e67e9d3cb [2021-01-20T23:24:47.135Z] $ docker rm -f 81a396a056083ce9e610d0fe21f38264dd71d819c666a42f99fa953e67e9d3cb [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:48.783Z] Failed in branch amd64 [2021-01-20T23:25:07.261Z] Removing intermediate container 52d507838fdd [2021-01-20T23:25:07.261Z] ---> d1daf96d35fb [2021-01-20T23:25:07.261Z] Successfully built d1daf96d35fb [2021-01-20T23:25:07.261Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:25:07.621Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T23:25:07.621Z] . [Pipeline] withDockerContainer [2021-01-20T23:25:07.924Z] prd-ubuntu18.04-docker-arm64-4c-16g-21736 does not seem to be running inside a container [2021-01-20T23:25:08.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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:25:09.585Z] $ docker top 3c9414fa8a74be231b9a69961473b0c9c67676e1427f7d3f8ea9cc0522949c44 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:25:10.634Z] + go version [2021-01-20T23:25:10.634Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-20T23:25:10.665Z] $ docker stop --time=1 3c9414fa8a74be231b9a69961473b0c9c67676e1427f7d3f8ea9cc0522949c44 [2021-01-20T23:25:12.593Z] $ docker rm -f 3c9414fa8a74be231b9a69961473b0c9c67676e1427f7d3f8ea9cc0522949c44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:25:13.649Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T23:25:13.649Z] . [Pipeline] withDockerContainer [2021-01-20T23:25:13.957Z] prd-ubuntu18.04-docker-arm64-4c-16g-21736 does not seem to be running inside a container [2021-01-20T23:25:14.045Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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:25:15.597Z] $ docker top dab87a9f68d84409f9f7ac690c3d5f5b5d732e9745e084114446299ab4e14b76 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:25:16.631Z] + make test [2021-01-20T23:25:16.631Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-20T23:25:17.622Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-20T23:25:56.863Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-01-20T23:25:56.863Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.032s coverage: 28.3% of statements [2021-01-20T23:25:56.863Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-01-20T23:25:56.863Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-20T23:26:05.617Z] gofmt -l . [2021-01-20T23:26:05.617Z] ["`gofmt -l .`" = ""] [2021-01-20T23:26:05.617Z] ./bin/test-attribution-txt.sh [2021-01-20T23:26:05.617Z] An attribution for github.com/gorilla/websocket is missing from in Attribution.txt, please add [2021-01-20T23:26:05.617Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-01-20T23:26:05.658Z] $ docker stop --time=1 dab87a9f68d84409f9f7ac690c3d5f5b5d732e9745e084114446299ab4e14b76 [2021-01-20T23:26:08.003Z] $ docker rm -f dab87a9f68d84409f9f7ac690c3d5f5b5d732e9745e084114446299ab4e14b76 [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:26:09.742Z] 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:26:12.737Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:26:13.360Z] ---> package-listing.sh [2021-01-20T23:26:13.360Z] ++ facter osfamily [2021-01-20T23:26:13.360Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-20T23:26:13.360Z] + OS_FAMILY=redhat [2021-01-20T23:26:13.360Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-198 [2021-01-20T23:26:13.360Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-20T23:26:13.360Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-20T23:26:13.360Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-20T23:26:13.360Z] + PACKAGES=/tmp/packages_start.txt [2021-01-20T23:26:13.360Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-198 ']' [2021-01-20T23:26:13.360Z] + PACKAGES=/tmp/packages_end.txt [2021-01-20T23:26:13.360Z] + case "${OS_FAMILY}" in [2021-01-20T23:26:13.360Z] + rpm -qa [2021-01-20T23:26:13.360Z] + sort [2021-01-20T23:26:18.795Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-20T23:26:18.795Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-20T23:26:18.795Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-20T23:26:18.795Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-198 ']' [2021-01-20T23:26:18.795Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-198/archives/ [2021-01-20T23:26:18.795Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-198/archives/ [Pipeline] echo [2021-01-20T23:26:18.818Z] 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-198/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:26:19.153Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:26:19.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T23:26:19.492Z] [2021-01-20T23:26:19.492Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:26:19.906Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T23:26:19.906Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-20T23:26:19.906Z] df20fa9351a1: Pulling fs layer [2021-01-20T23:26:19.906Z] 36b3adc4ff6f: Pulling fs layer [2021-01-20T23:26:19.906Z] 8ad3a11d3b57: Pulling fs layer [2021-01-20T23:26:19.906Z] 46f8f816bc3b: Pulling fs layer [2021-01-20T23:26:19.906Z] 93b61091891f: Pulling fs layer [2021-01-20T23:26:19.906Z] 93b9cdb0e59b: Pulling fs layer [2021-01-20T23:26:19.906Z] 5e14af77c1be: Pulling fs layer [2021-01-20T23:26:19.906Z] 01666e4c0597: Pulling fs layer [2021-01-20T23:26:19.906Z] aa168da1d23b: Pulling fs layer [2021-01-20T23:26:19.906Z] 46f8f816bc3b: Waiting [2021-01-20T23:26:19.906Z] 93b61091891f: Waiting [2021-01-20T23:26:19.906Z] 93b9cdb0e59b: Waiting [2021-01-20T23:26:19.906Z] 5e14af77c1be: Waiting [2021-01-20T23:26:19.906Z] 01666e4c0597: Waiting [2021-01-20T23:26:19.906Z] aa168da1d23b: Waiting [2021-01-20T23:26:19.906Z] 36b3adc4ff6f: Verifying Checksum [2021-01-20T23:26:19.906Z] 36b3adc4ff6f: Download complete [2021-01-20T23:26:19.906Z] 46f8f816bc3b: Verifying Checksum [2021-01-20T23:26:19.906Z] 46f8f816bc3b: Download complete [2021-01-20T23:26:20.179Z] df20fa9351a1: Download complete [2021-01-20T23:26:20.179Z] 93b61091891f: Verifying Checksum [2021-01-20T23:26:20.179Z] 93b61091891f: Download complete [2021-01-20T23:26:20.179Z] 93b9cdb0e59b: Verifying Checksum [2021-01-20T23:26:20.179Z] 93b9cdb0e59b: Download complete [2021-01-20T23:26:20.179Z] 5e14af77c1be: Verifying Checksum [2021-01-20T23:26:20.179Z] 5e14af77c1be: Download complete [2021-01-20T23:26:20.179Z] 01666e4c0597: Verifying Checksum [2021-01-20T23:26:20.179Z] 01666e4c0597: Download complete [2021-01-20T23:26:20.452Z] df20fa9351a1: Pull complete [2021-01-20T23:26:20.716Z] 36b3adc4ff6f: Pull complete [2021-01-20T23:26:20.716Z] 8ad3a11d3b57: Verifying Checksum [2021-01-20T23:26:20.716Z] 8ad3a11d3b57: Download complete [2021-01-20T23:26:21.683Z] 8ad3a11d3b57: Pull complete [2021-01-20T23:26:21.683Z] 46f8f816bc3b: Pull complete [2021-01-20T23:26:22.682Z] 93b61091891f: Pull complete [2021-01-20T23:26:22.949Z] aa168da1d23b: Verifying Checksum [2021-01-20T23:26:22.949Z] aa168da1d23b: Download complete [2021-01-20T23:26:22.949Z] 93b9cdb0e59b: Pull complete [2021-01-20T23:26:23.211Z] 5e14af77c1be: Pull complete [2021-01-20T23:26:23.211Z] 01666e4c0597: Pull complete [2021-01-20T23:26:31.438Z] aa168da1d23b: Pull complete [2021-01-20T23:26:31.438Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-20T23:26:31.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T23:26:31.438Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-20T23:26:31.651Z] prd-centos7-docker-4c-2g-21725 does not seem to be running inside a container [2021-01-20T23:26:31.717Z] $ 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-198/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-198 -v /w/workspace/gexfoundry_device-mqtt-go_PR-198:/w/workspace/gexfoundry_device-mqtt-go_PR-198:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-198@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:35.557Z] $ docker top 875875d837667c8276b27740916bf202b485a1c594761f1b4e098237f0356d32 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:26:36.135Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-20T23:26:36.440Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-20T23:26:36.744Z] + ls /var/log/sa-host [2021-01-20T23:26:36.744Z] + sadf -c /var/log/sa-host/sa20 [2021-01-20T23:26:36.744Z] file_magic: OK [2021-01-20T23:26:36.744Z] HZ: Using current value: 100 [2021-01-20T23:26:36.744Z] file_header: OK [2021-01-20T23:26:36.744Z] 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:36.744Z] Statistics: [2021-01-20T23:26:36.744Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-20T23:26:36.744Z] File successfully converted to sysstat format version 12.2.1 [2021-01-20T23:26:36.744Z] + sadf -c /var/log/sa-host/sa23 [2021-01-20T23:26:36.744Z] file_magic: OK [2021-01-20T23:26:36.744Z] HZ: Using current value: 100 [2021-01-20T23:26:36.744Z] file_header: OK [2021-01-20T23:26:36.744Z] 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:36.744Z] Statistics: [2021-01-20T23:26:36.744Z] Hnuu...uuuununununu... [2021-01-20T23:26:36.744Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-20T23:26:36.949Z] provisioning config files... [2021-01-20T23:26:36.963Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/config2649136229017589320tmp [Pipeline] { [Pipeline] echo [2021-01-20T23:26:37.043Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:26:37.353Z] ---> create-netrc.sh [Pipeline] } [2021-01-20T23:26:37.365Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-20T23:26:37.498Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:26:37.798Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-20T23:26:37.810Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:26:38.127Z] ---> sudo-logs.sh [2021-01-20T23:26:38.127Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-20T23:26:38.146Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:26:38.483Z] ---> job-cost.sh [2021-01-20T23:26:38.483Z] lf-activate-venv: SKIPPING [2021-01-20T23:26:38.483Z] INFO: No Stack... [2021-01-20T23:26:39.431Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-20T23:26:39.694Z] INFO: Archiving Costs [Pipeline] echo [2021-01-20T23:26:39.708Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:26:40.007Z] ---> logs-deploy.sh [2021-01-20T23:26:40.007Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-198/5 [2021-01-20T23:26:40.007Z] INFO: archiving workspace using pattern(s): [2021-01-20T23:26:41.953Z] Archives upload complete. [2021-01-20T23:26:41.953Z] INFO: archiving logs to Nexus