Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 40b20c8d99b7dbc6d9649d8245369877cd13ba18+7a1b18f551239dfc150e88617034cadc3790dddc (71c26142248dd5b5fbdfb3791a5859a6b45f83be) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-18328 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 Merging remotes/origin/master commit 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit 40b20c8d99b7dbc6d9649d8245369877cd13ba18 > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 40b20c8d99b7dbc6d9649d8245369877cd13ba18 # 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 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 Merge succeeded, producing dcf687a353acae98e64257f545a4852007fb0ba1 Checking out Revision dcf687a353acae98e64257f545a4852007fb0ba1 (PR-198) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dcf687a353acae98e64257f545a4852007fb0ba1 # timeout=10 Commit message: "Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD" > git rev-list --no-walk 40b20c8d99b7dbc6d9649d8245369877cd13ba18 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-04T23:18:24.728Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-04T23:18:24.963Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-04T23:18:25.067Z] ========================================================= [2021-01-04T23:18:25.067Z] EdgeX Global Pipelines Version Info [2021-01-04T23:18:25.067Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:18:26.566Z] ------------------- [2021-01-04T23:18:26.566Z] stable info: [2021-01-04T23:18:26.566Z] ------------------- [2021-01-04T23:18:26.566Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-04T23:18:26.566Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T23:18:26.566Z] Message: update stable to v1.0.173 [2021-01-04T23:18:27.518Z] ------------------- [2021-01-04T23:18:27.518Z] experimental info: [2021-01-04T23:18:27.518Z] ------------------- [2021-01-04T23:18:27.518Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-04T23:18:27.518Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T23:18:27.518Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-04T23:18:27.784Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-01-04T23:18:27.881Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-01-04T23:18:27.978Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-04T23:18:28.118Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-04T23:18:28.220Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-04T23:18:28.312Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-04T23:18:28.404Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-04T23:18:28.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-04T23:18:28.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-04T23:18:28.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-04T23:18:28.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-04T23:18:28.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-01-04T23:18:28.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-04T23:18:29.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-04T23:18:29.158Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T23:18:29.254Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T23:18:29.347Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T23:18:29.440Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T23:18:29.534Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-04T23:18:29.641Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-04T23:18:29.742Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-04T23:18:29.851Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-04T23:18:29.946Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-04T23:18:30.063Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-04T23:18:30.176Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-04T23:18:30.313Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-04T23:18:30.575Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-04T23:18:30.671Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-198 [Pipeline] echo [2021-01-04T23:18:30.782Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-198 [Pipeline] echo [2021-01-04T23:18:30.872Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-198 [Pipeline] echo [2021-01-04T23:18:30.969Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dcf687a353acae98e64257f545a4852007fb0ba1 [Pipeline] echo [2021-01-04T23:18:31.068Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dcf687a [Pipeline] echo [2021-01-04T23:18:31.199Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T23:18:31.366Z] provisioning config files... [2021-01-04T23:18:31.392Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/config5089269779376038518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:18:31.748Z] ---> docker-login.sh [2021-01-04T23:18:31.748Z] nexus3.edgexfoundry.org:10001 [2021-01-04T23:18:32.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:18:32.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:18:32.272Z] Configure a credential helper to remove this warning. See [2021-01-04T23:18:32.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:18:32.272Z] [2021-01-04T23:18:32.272Z] Login Succeeded [2021-01-04T23:18:32.272Z] nexus3.edgexfoundry.org:10002 [2021-01-04T23:18:32.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:18:32.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:18:32.272Z] Configure a credential helper to remove this warning. See [2021-01-04T23:18:32.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:18:32.272Z] [2021-01-04T23:18:32.272Z] Login Succeeded [2021-01-04T23:18:32.272Z] nexus3.edgexfoundry.org:10003 [2021-01-04T23:18:32.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:18:32.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:18:32.534Z] Configure a credential helper to remove this warning. See [2021-01-04T23:18:32.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:18:32.534Z] [2021-01-04T23:18:32.534Z] Login Succeeded [2021-01-04T23:18:32.534Z] nexus3.edgexfoundry.org:10004 [2021-01-04T23:18:32.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:18:32.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:18:32.796Z] Configure a credential helper to remove this warning. See [2021-01-04T23:18:32.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:18:32.796Z] [2021-01-04T23:18:32.796Z] Login Succeeded [2021-01-04T23:18:32.796Z] docker.io [2021-01-04T23:18:32.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:18:33.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:18:33.060Z] Configure a credential helper to remove this warning. See [2021-01-04T23:18:33.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:18:33.060Z] [2021-01-04T23:18:33.060Z] Login Succeeded [2021-01-04T23:18:33.060Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T23:18:33.069Z] 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-04T23:18:33.948Z] + git log --format=format:%s -1 dcf687a353acae98e64257f545a4852007fb0ba1 [Pipeline] echo [2021-01-04T23:18:34.009Z] GIT_COMMIT: dcf687a353acae98e64257f545a4852007fb0ba1, Commit Message: Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD [Pipeline] echo [2021-01-04T23:18:34.054Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:18:34.668Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T23:18:34.668Z] [2021-01-04T23:18:34.668Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:18:35.016Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T23:18:35.017Z] latest: Pulling from edgex-devops/git-semver [2021-01-04T23:18:35.017Z] 31603596830f: Pulling fs layer [2021-01-04T23:18:35.017Z] 2a8b12db71e7: Pulling fs layer [2021-01-04T23:18:35.017Z] 6ca5941a6612: Pulling fs layer [2021-01-04T23:18:35.017Z] ecc8261a40a4: Pulling fs layer [2021-01-04T23:18:35.017Z] ecc8261a40a4: Waiting [2021-01-04T23:18:35.017Z] 2a8b12db71e7: Download complete [2021-01-04T23:18:35.017Z] 31603596830f: Verifying Checksum [2021-01-04T23:18:35.017Z] 31603596830f: Download complete [2021-01-04T23:18:35.284Z] ecc8261a40a4: Verifying Checksum [2021-01-04T23:18:35.284Z] 6ca5941a6612: Verifying Checksum [2021-01-04T23:18:35.284Z] 6ca5941a6612: Download complete [2021-01-04T23:18:35.546Z] 31603596830f: Pull complete [2021-01-04T23:18:35.546Z] 2a8b12db71e7: Pull complete [2021-01-04T23:18:36.493Z] 6ca5941a6612: Pull complete [2021-01-04T23:18:36.753Z] ecc8261a40a4: Pull complete [2021-01-04T23:18:36.753Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-04T23:18:36.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T23:18:36.753Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-04T23:18:36.854Z] prd-centos7-docker-4c-2g-18328 does not seem to be running inside a container [2021-01-04T23:18:36.901Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-04T23:18:39.202Z] $ docker top 39aae9472838077f24fd1036a3645c7c011b5fd53c846268e2edc5e1c65f8c0e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T23:18:39.510Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T23:18:39.510Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T23:18:39.747Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T23:18:39.750Z] $ docker exec 39aae9472838077f24fd1036a3645c7c011b5fd53c846268e2edc5e1c65f8c0e ssh-agent [2021-01-04T23:18:40.033Z] SSH_AUTH_SOCK=/tmp/ssh-w5zxfyrBXzct/agent.12 [2021-01-04T23:18:40.033Z] SSH_AGENT_PID=17 [2021-01-04T23:18:40.043Z] Running ssh-add (command line suppressed) [2021-01-04T23:18:40.162Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_3057945640783764218.key (/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_3057945640783764218.key) [2021-01-04T23:18:40.214Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T23:18:40.574Z] + git tag --points-at HEAD [Pipeline] } [2021-01-04T23:18:40.594Z] $ docker exec --env ******** --env ******** 39aae9472838077f24fd1036a3645c7c011b5fd53c846268e2edc5e1c65f8c0e ssh-agent -k [2021-01-04T23:18:40.715Z] unset SSH_AUTH_SOCK; [2021-01-04T23:18:40.716Z] unset SSH_AGENT_PID; [2021-01-04T23:18:40.716Z] echo Agent pid 17 killed; [2021-01-04T23:18:40.762Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-04T23:18:40.973Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T23:18:40.973Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T23:18:41.154Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T23:18:41.159Z] $ docker exec 39aae9472838077f24fd1036a3645c7c011b5fd53c846268e2edc5e1c65f8c0e ssh-agent [2021-01-04T23:18:41.325Z] SSH_AUTH_SOCK=/tmp/ssh-4zhY6hdSDjMZ/agent.47 [2021-01-04T23:18:41.325Z] SSH_AGENT_PID=52 [2021-01-04T23:18:41.332Z] Running ssh-add (command line suppressed) [2021-01-04T23:18:41.449Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_7231884451926078025.key (/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_7231884451926078025.key) [2021-01-04T23:18:41.506Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T23:18:41.840Z] + git semver init [2021-01-04T23:18:41.840Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T23:18:41.840Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-198/.git [2021-01-04T23:18:41.840Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-198 [2021-01-04T23:18:41.840Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T23:18:41.840Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T23:18:41.840Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T23:18:41.840Z] # $SEMVER_BRANCH = PR-198 [2021-01-04T23:18:41.840Z] # $SEMVER_TEMP = /tmp/semver-184698125 [2021-01-04T23:18:41.840Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-01-04T23:18:42.412Z] # '/tmp/semver-184698125' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-198/.semver' [2021-01-04T23:18:42.412Z] # -> Force: false [2021-01-04T23:18:42.412Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-198/.semver [Pipeline] } [2021-01-04T23:18:42.424Z] $ docker exec --env ******** --env ******** 39aae9472838077f24fd1036a3645c7c011b5fd53c846268e2edc5e1c65f8c0e ssh-agent -k [2021-01-04T23:18:42.544Z] unset SSH_AUTH_SOCK; [2021-01-04T23:18:42.545Z] unset SSH_AGENT_PID; [2021-01-04T23:18:42.545Z] echo Agent pid 52 killed; [2021-01-04T23:18:42.594Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T23:18:43.077Z] + git semver [Pipeline] } [2021-01-04T23:18:43.094Z] $ docker stop --time=1 39aae9472838077f24fd1036a3645c7c011b5fd53c846268e2edc5e1c65f8c0e [2021-01-04T23:18:44.578Z] $ docker rm -f 39aae9472838077f24fd1036a3645c7c011b5fd53c846268e2edc5e1c65f8c0e [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T23:18:45.110Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-04T23:18:45.460Z] Stashed 1 file(s) [Pipeline] echo [2021-01-04T23:18:45.463Z] [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-04T23:19:00.948Z] Still waiting to schedule task [2021-01-04T23:19:00.948Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18321’ is offline; ‘prd-centos7-docker-4c-2g-18322’ is offline; ‘prd-centos7-docker-4c-2g-18330’ is offline; ‘prd-centos7-docker-4c-2g-18332’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18313’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18316’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18326’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-04T23:19:00.950Z] Still waiting to schedule task [2021-01-04T23:19:00.950Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-04T23:19:53.400Z] Running on prd-centos7-docker-4c-2g-18333 in /w/workspace/gexfoundry_device-mqtt-go_PR-198 [Pipeline] { [Pipeline] ws [2021-01-04T23:19:53.464Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2021-01-04T23:19:56.073Z] using credential edgex-jenkins-ssh [2021-01-04T23:19:56.126Z] Cloning the remote Git repository [2021-01-04T23:19:55.911Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:19:55.978Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2021-01-04T23:19:56.041Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:19:56.041Z] > git --version # timeout=10 [2021-01-04T23:19:56.048Z] > git --version # 'git version 2.24.3' [2021-01-04T23:19:56.049Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:19:56.073Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T23:19:57.226Z] Merging remotes/origin/master commit 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit 40b20c8d99b7dbc6d9649d8245369877cd13ba18 [2021-01-04T23:19:57.344Z] Merge succeeded, producing bb616e570414820b02ca253a194c1d8665262328 [2021-01-04T23:19:57.345Z] Checking out Revision bb616e570414820b02ca253a194c1d8665262328 (PR-198) [2021-01-04T23:19:56.650Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T23:19:56.661Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T23:19:56.676Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T23:19:56.692Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:19:56.693Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:19:56.699Z] > 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-04T23:19:57.084Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T23:19:57.093Z] > git checkout -f 40b20c8d99b7dbc6d9649d8245369877cd13ba18 # timeout=10 [2021-01-04T23:19:57.141Z] > git remote # timeout=10 [2021-01-04T23:19:57.150Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T23:19:57.158Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:19:57.163Z] > git merge 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 [2021-01-04T23:19:57.194Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T23:19:57.205Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T23:19:57.210Z] > git checkout -f bb616e570414820b02ca253a194c1d8665262328 # timeout=10 [2021-01-04T23:20:00.953Z] Commit message: "Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD" [2021-01-04T23:20:00.959Z] > git rev-list --no-walk 40b20c8d99b7dbc6d9649d8245369877cd13ba18 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T23:20:02.464Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-04T23:20:02.799Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T23:20:03.112Z] + sudo service docker restart [2021-01-04T23:20:03.112Z] + true [2021-01-04T23:20:03.112Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T23:20:04.137Z] provisioning config files... [2021-01-04T23:20:04.171Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config2391762018346192330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:20:04.600Z] ---> docker-login.sh [2021-01-04T23:20:04.600Z] nexus3.edgexfoundry.org:10001 [2021-01-04T23:20:04.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:20:04.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:20:04.864Z] Configure a credential helper to remove this warning. See [2021-01-04T23:20:04.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:20:04.864Z] [2021-01-04T23:20:04.864Z] Login Succeeded [2021-01-04T23:20:04.864Z] nexus3.edgexfoundry.org:10002 [2021-01-04T23:20:05.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:20:05.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:20:05.132Z] Configure a credential helper to remove this warning. See [2021-01-04T23:20:05.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:20:05.132Z] [2021-01-04T23:20:05.132Z] Login Succeeded [2021-01-04T23:20:05.132Z] nexus3.edgexfoundry.org:10003 [2021-01-04T23:20:05.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:20:05.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:20:05.395Z] Configure a credential helper to remove this warning. See [2021-01-04T23:20:05.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:20:05.395Z] [2021-01-04T23:20:05.395Z] Login Succeeded [2021-01-04T23:20:05.395Z] nexus3.edgexfoundry.org:10004 [2021-01-04T23:20:05.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:20:05.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:20:05.658Z] Configure a credential helper to remove this warning. See [2021-01-04T23:20:05.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:20:05.659Z] [2021-01-04T23:20:05.659Z] Login Succeeded [2021-01-04T23:20:05.659Z] docker.io [2021-01-04T23:20:05.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:20:05.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:20:05.923Z] Configure a credential helper to remove this warning. See [2021-01-04T23:20:05.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:20:05.924Z] [2021-01-04T23:20:05.924Z] Login Succeeded [2021-01-04T23:20:05.924Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T23:20:05.934Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T23:20:06.515Z] ========================================================= [2021-01-04T23:20:06.515Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-04T23:20:06.515Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:20:06.861Z] + 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-04T23:20:06.862Z] Sending build context to Docker daemon 494.6kB [2021-01-04T23:20:06.862Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T23:20:06.862Z] Step 2/8 : FROM ${BASE} [2021-01-04T23:20:07.136Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-04T23:20:07.136Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T23:20:07.136Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T23:20:07.136Z] de9db76c5a1d: Pulling fs layer [2021-01-04T23:20:07.136Z] bca2f99d35d6: Pulling fs layer [2021-01-04T23:20:07.136Z] 93359f2a8cfa: Pulling fs layer [2021-01-04T23:20:07.136Z] 7c6f9722023f: Pulling fs layer [2021-01-04T23:20:07.136Z] a35cf1a2eb13: Pulling fs layer [2021-01-04T23:20:07.136Z] bca2f99d35d6: Waiting [2021-01-04T23:20:07.136Z] 93359f2a8cfa: Waiting [2021-01-04T23:20:07.136Z] 7c6f9722023f: Waiting [2021-01-04T23:20:07.136Z] a35cf1a2eb13: Waiting [2021-01-04T23:20:07.136Z] 0ef7d3d256c8: Verifying Checksum [2021-01-04T23:20:07.136Z] 0ef7d3d256c8: Download complete [2021-01-04T23:20:07.136Z] de9db76c5a1d: Verifying Checksum [2021-01-04T23:20:07.136Z] de9db76c5a1d: Download complete [2021-01-04T23:20:07.136Z] 93359f2a8cfa: Verifying Checksum [2021-01-04T23:20:07.136Z] 93359f2a8cfa: Download complete [2021-01-04T23:20:07.136Z] 7c6f9722023f: Verifying Checksum [2021-01-04T23:20:07.136Z] 7c6f9722023f: Download complete [2021-01-04T23:20:07.136Z] 188c0c94c7c5: Verifying Checksum [2021-01-04T23:20:07.136Z] 188c0c94c7c5: Download complete [2021-01-04T23:20:07.406Z] 188c0c94c7c5: Pull complete [2021-01-04T23:20:07.668Z] 0ef7d3d256c8: Pull complete [2021-01-04T23:20:07.933Z] de9db76c5a1d: Pull complete [2021-01-04T23:20:09.353Z] a35cf1a2eb13: Verifying Checksum [2021-01-04T23:20:09.353Z] a35cf1a2eb13: Download complete [2021-01-04T23:20:09.616Z] bca2f99d35d6: Verifying Checksum [2021-01-04T23:20:09.616Z] bca2f99d35d6: Download complete [2021-01-04T23:20:14.985Z] bca2f99d35d6: Pull complete [2021-01-04T23:20:14.985Z] 93359f2a8cfa: Pull complete [2021-01-04T23:20:14.985Z] 7c6f9722023f: Pull complete [2021-01-04T23:20:23.164Z] a35cf1a2eb13: Pull complete [2021-01-04T23:20:23.164Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-04T23:20:23.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-04T23:20:23.164Z] ---> a62c8e92a672 [2021-01-04T23:20:23.164Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-04T23:20:23.164Z] ---> Running in b467e09d3a10 [2021-01-04T23:20:23.164Z] Removing intermediate container b467e09d3a10 [2021-01-04T23:20:23.164Z] ---> 0a082944d3be [2021-01-04T23:20:23.164Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T23:20:23.164Z] ---> Running in bd7e06b7f4a5 [2021-01-04T23:20:23.431Z] Removing intermediate container bd7e06b7f4a5 [2021-01-04T23:20:23.431Z] ---> abba4bd67e53 [2021-01-04T23:20:23.431Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-04T23:20:23.431Z] ---> Running in 584f242bbe22 [2021-01-04T23:20:24.006Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T23:20:24.582Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T23:20:25.157Z] (1/14) Installing libmagic (5.38-r0) [2021-01-04T23:20:25.157Z] (2/14) Installing file (5.38-r0) [2021-01-04T23:20:25.425Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-04T23:20:25.425Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-04T23:20:29.710Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-04T23:20:29.710Z] (6/14) Installing patch (2.7.6-r6) [2021-01-04T23:20:29.710Z] (7/14) Installing build-base (0.5-r2) [2021-01-04T23:20:29.710Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-04T23:20:29.710Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-04T23:20:29.710Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-04T23:20:30.287Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-04T23:20:30.287Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-04T23:20:30.287Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-04T23:20:30.287Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-04T23:20:30.550Z] Executing busybox-1.31.1-r19.trigger [2021-01-04T23:20:30.550Z] OK: 237 MiB in 53 packages [2021-01-04T23:20:33.890Z] Removing intermediate container 584f242bbe22 [2021-01-04T23:20:33.890Z] ---> 4921635f9350 [2021-01-04T23:20:33.890Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-04T23:20:33.890Z] ---> Running in 680bee6d01b5 [2021-01-04T23:20:34.155Z] Removing intermediate container 680bee6d01b5 [2021-01-04T23:20:34.155Z] ---> c1a1c6458dcf [2021-01-04T23:20:34.155Z] Step 7/8 : COPY . . [2021-01-04T23:20:35.108Z] ---> c148e781ff3d [2021-01-04T23:20:35.108Z] Step 8/8 : RUN go mod download [2021-01-04T23:20:35.108Z] ---> Running in dd4ae768a204 [2021-01-04T23:20:57.134Z] Removing intermediate container dd4ae768a204 [2021-01-04T23:20:57.134Z] ---> 6c123abd897b [2021-01-04T23:20:57.134Z] Successfully built 6c123abd897b [2021-01-04T23:20:57.134Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:20:57.466Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T23:20:57.466Z] . [Pipeline] withDockerContainer [2021-01-04T23:20:57.580Z] prd-centos7-docker-4c-2g-18333 does not seem to be running inside a container [2021-01-04T23:20:57.638Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T23:20:58.444Z] $ docker top 3d26e08baaa87beaba09bed1c3596f7e66dd580e4410b4ece0b1da77f47df6a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:20:58.952Z] + go version [2021-01-04T23:20:58.952Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-04T23:20:58.967Z] $ docker stop --time=1 3d26e08baaa87beaba09bed1c3596f7e66dd580e4410b4ece0b1da77f47df6a6 [2021-01-04T23:21:00.297Z] $ docker rm -f 3d26e08baaa87beaba09bed1c3596f7e66dd580e4410b4ece0b1da77f47df6a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:21:01.716Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T23:21:01.716Z] . [Pipeline] withDockerContainer [2021-01-04T23:21:01.829Z] prd-centos7-docker-4c-2g-18333 does not seem to be running inside a container [2021-01-04T23:21:01.879Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T23:21:02.484Z] $ docker top 383f443b63e662eb8f962b7cd0797fa0479a9d6c840cc58e07181415002c23b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:21:03.003Z] + make test [2021-01-04T23:21:03.003Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T23:21:04.052Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18335 in /w/workspace/gexfoundry_device-mqtt-go_PR-198 [Pipeline] { [Pipeline] ws [2021-01-04T23:21:04.112Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2021-01-04T23:21:04.410Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-04T23:21:09.852Z] using credential edgex-jenkins-ssh [2021-01-04T23:21:09.943Z] Cloning the remote Git repository [2021-01-04T23:21:10.014Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:21:10.139Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2021-01-04T23:21:10.211Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:21:10.211Z] > git --version # timeout=10 [2021-01-04T23:21:10.235Z] > git --version # 'git version 2.17.1' [2021-01-04T23:21:10.237Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:21:10.312Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T23:21:11.738Z] Merging remotes/origin/master commit 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit 40b20c8d99b7dbc6d9649d8245369877cd13ba18 [2021-01-04T23:21:11.172Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T23:21:11.203Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T23:21:11.227Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T23:21:11.258Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:21:11.258Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:21:11.271Z] > 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-04T23:21:11.760Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T23:21:11.778Z] > git checkout -f 40b20c8d99b7dbc6d9649d8245369877cd13ba18 # timeout=10 [2021-01-04T23:21:11.869Z] > git remote # timeout=10 [2021-01-04T23:21:11.886Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T23:21:11.908Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:21:11.918Z] > git merge 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 [2021-01-04T23:21:11.973Z] Merge succeeded, producing cbff6d8730bce2a54691d87d4b418ecbf7f80e0f [2021-01-04T23:21:11.974Z] Checking out Revision cbff6d8730bce2a54691d87d4b418ecbf7f80e0f (PR-198) [2021-01-04T23:21:11.963Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T23:21:11.983Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T23:21:12.000Z] > git checkout -f cbff6d8730bce2a54691d87d4b418ecbf7f80e0f # timeout=10 [2021-01-04T23:21:16.548Z] Commit message: "Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD" [2021-01-04T23:21:16.558Z] > git rev-list --no-walk 40b20c8d99b7dbc6d9649d8245369877cd13ba18 # timeout=10 [2021-01-04T23:21:16.799Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-01-04T23:21:16.799Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 28.3% of statements [2021-01-04T23:21:16.799Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-01-04T23:21:16.799Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T23:21:18.178Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-04T23:21:18.608Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T23:21:18.954Z] + sudo service docker restart [2021-01-04T23:21:18.954Z] + true [2021-01-04T23:21:19.405Z] gofmt -l . [2021-01-04T23:21:19.405Z] ["`gofmt -l .`" = ""] [2021-01-04T23:21:19.669Z] ./bin/test-attribution-txt.sh [2021-01-04T23:21:20.248Z] An attribution for github.com/gorilla/websocket is missing from in Attribution.txt, please add [2021-01-04T23:21:20.248Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-01-04T23:21:20.271Z] $ docker stop --time=1 383f443b63e662eb8f962b7cd0797fa0479a9d6c840cc58e07181415002c23b6 [2021-01-04T23:21:23.396Z] $ docker rm -f 383f443b63e662eb8f962b7cd0797fa0479a9d6c840cc58e07181415002c23b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] wrap [2021-01-04T23:21:23.824Z] provisioning config files... [2021-01-04T23:21:23.870Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config4471597160340744224tmp [Pipeline] // stage [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] libraryResource [Pipeline] sh 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] } [2021-01-04T23:21:24.270Z] ---> docker-login.sh [2021-01-04T23:21:24.270Z] nexus3.edgexfoundry.org:10001 [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 [2021-01-04T23:21:24.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-04T23:21:25.214Z] Failed in branch amd64 [2021-01-04T23:21:25.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:21:25.496Z] Configure a credential helper to remove this warning. See [2021-01-04T23:21:25.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:21:25.496Z] [2021-01-04T23:21:25.496Z] Login Succeeded [2021-01-04T23:21:25.496Z] nexus3.edgexfoundry.org:10002 [2021-01-04T23:21:25.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:21:26.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:21:26.051Z] Configure a credential helper to remove this warning. See [2021-01-04T23:21:26.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:21:26.051Z] [2021-01-04T23:21:26.051Z] Login Succeeded [2021-01-04T23:21:26.051Z] nexus3.edgexfoundry.org:10003 [2021-01-04T23:21:26.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:21:26.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:21:26.599Z] Configure a credential helper to remove this warning. See [2021-01-04T23:21:26.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:21:26.599Z] [2021-01-04T23:21:26.599Z] Login Succeeded [2021-01-04T23:21:26.599Z] nexus3.edgexfoundry.org:10004 [2021-01-04T23:21:26.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:21:26.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:21:26.875Z] Configure a credential helper to remove this warning. See [2021-01-04T23:21:26.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:21:26.875Z] [2021-01-04T23:21:26.875Z] Login Succeeded [2021-01-04T23:21:27.151Z] docker.io [2021-01-04T23:21:27.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:21:27.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:21:27.704Z] Configure a credential helper to remove this warning. See [2021-01-04T23:21:27.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:21:27.704Z] [2021-01-04T23:21:27.704Z] Login Succeeded [2021-01-04T23:21:27.704Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T23:21:27.724Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T23:21:28.188Z] ========================================================= [2021-01-04T23:21:28.188Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-04T23:21:28.188Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:21:28.579Z] + 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-04T23:21:28.861Z] Sending build context to Docker daemon 493.6kB [2021-01-04T23:21:28.861Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T23:21:28.861Z] Step 2/8 : FROM ${BASE} [2021-01-04T23:21:29.143Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-04T23:21:29.143Z] 5f621e34cdf4: Pulling fs layer [2021-01-04T23:21:29.143Z] a4357932f1b6: Pulling fs layer [2021-01-04T23:21:29.143Z] 18c013af1878: Pulling fs layer [2021-01-04T23:21:29.143Z] 00ac8860ef70: Pulling fs layer [2021-01-04T23:21:29.143Z] 63d7cb157983: Pulling fs layer [2021-01-04T23:21:29.143Z] b116817d02f9: Pulling fs layer [2021-01-04T23:21:29.143Z] 745a02a5169b: Pulling fs layer [2021-01-04T23:21:29.143Z] 63d7cb157983: Waiting [2021-01-04T23:21:29.143Z] 00ac8860ef70: Waiting [2021-01-04T23:21:29.143Z] 745a02a5169b: Waiting [2021-01-04T23:21:29.143Z] 18c013af1878: Verifying Checksum [2021-01-04T23:21:29.143Z] 18c013af1878: Download complete [2021-01-04T23:21:29.143Z] a4357932f1b6: Verifying Checksum [2021-01-04T23:21:29.143Z] a4357932f1b6: Download complete [2021-01-04T23:21:29.143Z] 63d7cb157983: Verifying Checksum [2021-01-04T23:21:29.143Z] 63d7cb157983: Download complete [2021-01-04T23:21:29.143Z] b116817d02f9: Verifying Checksum [2021-01-04T23:21:29.143Z] b116817d02f9: Download complete [2021-01-04T23:21:29.419Z] 5f621e34cdf4: Download complete [2021-01-04T23:21:30.023Z] 5f621e34cdf4: Pull complete [2021-01-04T23:21:30.633Z] a4357932f1b6: Pull complete [2021-01-04T23:21:31.237Z] 18c013af1878: Pull complete [2021-01-04T23:21:31.511Z] 745a02a5169b: Verifying Checksum [2021-01-04T23:21:31.511Z] 745a02a5169b: Download complete [2021-01-04T23:21:32.953Z] 00ac8860ef70: Verifying Checksum [2021-01-04T23:21:32.953Z] 00ac8860ef70: Download complete [2021-01-04T23:21:45.412Z] 00ac8860ef70: Pull complete [2021-01-04T23:21:45.412Z] 63d7cb157983: Pull complete [2021-01-04T23:21:45.412Z] b116817d02f9: Pull complete [2021-01-04T23:21:48.038Z] 745a02a5169b: Pull complete [2021-01-04T23:21:48.038Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-04T23:21:48.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-04T23:21:48.038Z] ---> b7e6874047d6 [2021-01-04T23:21:48.038Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-04T23:21:50.669Z] ---> Running in 5d6ec8087a7d [2021-01-04T23:21:51.264Z] Removing intermediate container 5d6ec8087a7d [2021-01-04T23:21:51.264Z] ---> d3b152e565d6 [2021-01-04T23:21:51.264Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T23:21:51.264Z] ---> Running in 44e629600e5f [2021-01-04T23:21:53.888Z] Removing intermediate container 44e629600e5f [2021-01-04T23:21:53.888Z] ---> d2c7e68915eb [2021-01-04T23:21:53.888Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-04T23:21:53.888Z] ---> Running in c52353158689 [2021-01-04T23:21:54.873Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T23:21:55.468Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T23:21:56.446Z] (1/14) Installing libmagic (5.38-r0) [2021-01-04T23:21:56.446Z] (2/14) Installing file (5.38-r0) [2021-01-04T23:21:56.446Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-04T23:21:56.718Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-04T23:22:01.031Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-04T23:22:01.031Z] (6/14) Installing patch (2.7.6-r6) [2021-01-04T23:22:01.031Z] (7/14) Installing build-base (0.5-r2) [2021-01-04T23:22:01.031Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-04T23:22:01.312Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-04T23:22:01.312Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-04T23:22:01.586Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-04T23:22:01.586Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-04T23:22:01.865Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-04T23:22:01.866Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-04T23:22:02.145Z] Executing busybox-1.31.1-r19.trigger [2021-01-04T23:22:02.145Z] OK: 221 MiB in 53 packages [2021-01-04T23:22:06.456Z] Removing intermediate container c52353158689 [2021-01-04T23:22:06.456Z] ---> 45e8212a8915 [2021-01-04T23:22:06.456Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-04T23:22:06.456Z] ---> Running in 7f1b6e5bbce6 [2021-01-04T23:22:07.051Z] Removing intermediate container 7f1b6e5bbce6 [2021-01-04T23:22:07.051Z] ---> 93dc63629347 [2021-01-04T23:22:07.051Z] Step 7/8 : COPY . . [2021-01-04T23:22:07.641Z] ---> 893cc35cd411 [2021-01-04T23:22:07.641Z] Step 8/8 : RUN go mod download [2021-01-04T23:22:07.921Z] ---> Running in a26481abba68 [2021-01-04T23:22:34.802Z] Removing intermediate container a26481abba68 [2021-01-04T23:22:34.802Z] ---> 577ec15194a8 [2021-01-04T23:22:34.802Z] Successfully built 577ec15194a8 [2021-01-04T23:22:34.802Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:22:35.149Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T23:22:35.149Z] . [Pipeline] withDockerContainer [2021-01-04T23:22:35.406Z] prd-ubuntu18.04-docker-arm64-4c-16g-18335 does not seem to be running inside a container [2021-01-04T23:22:35.494Z] $ 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-04T23:22:37.074Z] $ docker top b20206cc490594c0513620541aea14a1b8f58f0d28c1f2640d01cba9611b69fe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:22:38.146Z] + go version [2021-01-04T23:22:38.146Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-04T23:22:38.169Z] $ docker stop --time=1 b20206cc490594c0513620541aea14a1b8f58f0d28c1f2640d01cba9611b69fe [2021-01-04T23:22:40.156Z] $ docker rm -f b20206cc490594c0513620541aea14a1b8f58f0d28c1f2640d01cba9611b69fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:22:41.272Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T23:22:41.272Z] . [Pipeline] withDockerContainer [2021-01-04T23:22:41.554Z] prd-ubuntu18.04-docker-arm64-4c-16g-18335 does not seem to be running inside a container [2021-01-04T23:22:41.668Z] $ 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-04T23:22:43.318Z] $ docker top aa6b80677e2827426795340b809b573f06271990900a02aaa0f1378361f55310 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:22:44.384Z] + make test [2021-01-04T23:22:44.384Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T23:22:45.830Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-04T23:23:24.895Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-01-04T23:23:24.896Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.035s coverage: 28.3% of statements [2021-01-04T23:23:24.896Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-01-04T23:23:24.896Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-04T23:23:33.217Z] gofmt -l . [2021-01-04T23:23:33.217Z] ["`gofmt -l .`" = ""] [2021-01-04T23:23:33.217Z] ./bin/test-attribution-txt.sh [2021-01-04T23:23:33.813Z] An attribution for github.com/gorilla/websocket is missing from in Attribution.txt, please add [2021-01-04T23:23:33.813Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-01-04T23:23:33.838Z] $ docker stop --time=1 aa6b80677e2827426795340b809b573f06271990900a02aaa0f1378361f55310 [2021-01-04T23:23:36.241Z] $ docker rm -f aa6b80677e2827426795340b809b573f06271990900a02aaa0f1378361f55310 [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-04T23:23:37.969Z] 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-04T23:23:40.449Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:23:41.034Z] ---> package-listing.sh [2021-01-04T23:23:41.034Z] ++ facter osfamily [2021-01-04T23:23:41.034Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-04T23:23:41.034Z] + OS_FAMILY=redhat [2021-01-04T23:23:41.034Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-198 [2021-01-04T23:23:41.034Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-04T23:23:41.034Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-04T23:23:41.034Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-04T23:23:41.034Z] + PACKAGES=/tmp/packages_start.txt [2021-01-04T23:23:41.034Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-198 ']' [2021-01-04T23:23:41.034Z] + PACKAGES=/tmp/packages_end.txt [2021-01-04T23:23:41.034Z] + case "${OS_FAMILY}" in [2021-01-04T23:23:41.034Z] + rpm -qa [2021-01-04T23:23:41.034Z] + sort [2021-01-04T23:23:46.350Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-04T23:23:46.350Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-04T23:23:46.350Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-04T23:23:46.350Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-198 ']' [2021-01-04T23:23:46.350Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-198/archives/ [2021-01-04T23:23:46.350Z] + 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-04T23:23:46.367Z] 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-04T23:23:46.658Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:23:46.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T23:23:46.995Z] [2021-01-04T23:23:46.995Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:23:47.355Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T23:23:47.355Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-04T23:23:47.355Z] df20fa9351a1: Pulling fs layer [2021-01-04T23:23:47.355Z] 36b3adc4ff6f: Pulling fs layer [2021-01-04T23:23:47.355Z] 8ad3a11d3b57: Pulling fs layer [2021-01-04T23:23:47.355Z] 46f8f816bc3b: Pulling fs layer [2021-01-04T23:23:47.355Z] 93b61091891f: Pulling fs layer [2021-01-04T23:23:47.355Z] 93b9cdb0e59b: Pulling fs layer [2021-01-04T23:23:47.355Z] 5e14af77c1be: Pulling fs layer [2021-01-04T23:23:47.355Z] 01666e4c0597: Pulling fs layer [2021-01-04T23:23:47.355Z] aa168da1d23b: Pulling fs layer [2021-01-04T23:23:47.355Z] 46f8f816bc3b: Waiting [2021-01-04T23:23:47.355Z] 93b9cdb0e59b: Waiting [2021-01-04T23:23:47.355Z] 01666e4c0597: Waiting [2021-01-04T23:23:47.355Z] 5e14af77c1be: Waiting [2021-01-04T23:23:47.355Z] aa168da1d23b: Waiting [2021-01-04T23:23:47.355Z] 93b61091891f: Waiting [2021-01-04T23:23:47.355Z] 36b3adc4ff6f: Verifying Checksum [2021-01-04T23:23:47.355Z] 36b3adc4ff6f: Download complete [2021-01-04T23:23:47.355Z] 46f8f816bc3b: Verifying Checksum [2021-01-04T23:23:47.355Z] 46f8f816bc3b: Download complete [2021-01-04T23:23:47.355Z] df20fa9351a1: Download complete [2021-01-04T23:23:47.623Z] 93b61091891f: Verifying Checksum [2021-01-04T23:23:47.623Z] 93b61091891f: Download complete [2021-01-04T23:23:47.623Z] 5e14af77c1be: Verifying Checksum [2021-01-04T23:23:47.623Z] 5e14af77c1be: Download complete [2021-01-04T23:23:47.623Z] 01666e4c0597: Verifying Checksum [2021-01-04T23:23:47.623Z] 01666e4c0597: Download complete [2021-01-04T23:23:47.623Z] 8ad3a11d3b57: Verifying Checksum [2021-01-04T23:23:47.623Z] 8ad3a11d3b57: Download complete [2021-01-04T23:23:47.885Z] df20fa9351a1: Pull complete [2021-01-04T23:23:48.156Z] 36b3adc4ff6f: Pull complete [2021-01-04T23:23:48.425Z] 93b9cdb0e59b: Verifying Checksum [2021-01-04T23:23:48.425Z] 93b9cdb0e59b: Download complete [2021-01-04T23:23:49.382Z] aa168da1d23b: Download complete [2021-01-04T23:23:49.959Z] 8ad3a11d3b57: Pull complete [2021-01-04T23:23:49.959Z] 46f8f816bc3b: Pull complete [2021-01-04T23:23:50.537Z] 93b61091891f: Pull complete [2021-01-04T23:23:50.800Z] 93b9cdb0e59b: Pull complete [2021-01-04T23:23:50.800Z] 5e14af77c1be: Pull complete [2021-01-04T23:23:51.067Z] 01666e4c0597: Pull complete [2021-01-04T23:23:57.703Z] aa168da1d23b: Pull complete [2021-01-04T23:23:57.703Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-04T23:23:57.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T23:23:57.703Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-04T23:23:57.884Z] prd-centos7-docker-4c-2g-18328 does not seem to be running inside a container [2021-01-04T23:23:57.930Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-04T23:24:01.336Z] $ docker top 88f3e82f7bd8ddb3b48481dcaf72655b72ec36eea4bfbf027bf3f932ccdbee1a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:24:01.828Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-04T23:24:02.132Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-04T23:24:02.432Z] + ls /var/log/sa-host [2021-01-04T23:24:02.432Z] + sadf -c /var/log/sa-host/sa04 [2021-01-04T23:24:02.432Z] file_magic: OK [2021-01-04T23:24:02.432Z] HZ: Using current value: 100 [2021-01-04T23:24:02.432Z] file_header: OK [2021-01-04T23:24:02.432Z] 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-04T23:24:02.432Z] Statistics: [2021-01-04T23:24:02.432Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-04T23:24:02.432Z] File successfully converted to sysstat format version 12.2.1 [2021-01-04T23:24:02.432Z] + sadf -c /var/log/sa-host/sa23 [2021-01-04T23:24:02.432Z] file_magic: OK [2021-01-04T23:24:02.432Z] HZ: Using current value: 100 [2021-01-04T23:24:02.432Z] file_header: OK [2021-01-04T23:24:02.432Z] 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-04T23:24:02.432Z] Statistics: [2021-01-04T23:24:02.432Z] Hnuu...uuuununununu... [2021-01-04T23:24:02.432Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-04T23:24:02.635Z] provisioning config files... [2021-01-04T23:24:02.649Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/config8491985152539755566tmp [Pipeline] { [Pipeline] echo [2021-01-04T23:24:02.722Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:24:03.022Z] ---> create-netrc.sh [Pipeline] } [2021-01-04T23:24:03.032Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-04T23:24:03.124Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:24:03.443Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-04T23:24:03.455Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:24:03.757Z] ---> sudo-logs.sh [2021-01-04T23:24:03.757Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-04T23:24:03.769Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:24:04.068Z] ---> job-cost.sh [2021-01-04T23:24:04.068Z] lf-activate-venv: SKIPPING [2021-01-04T23:24:04.068Z] INFO: No Stack... [2021-01-04T23:24:05.459Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-04T23:24:05.722Z] INFO: Archiving Costs [Pipeline] echo [2021-01-04T23:24:05.736Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:24:06.042Z] ---> logs-deploy.sh [2021-01-04T23:24:06.042Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-198/2 [2021-01-04T23:24:06.042Z] INFO: archiving workspace using pattern(s): [2021-01-04T23:24:07.971Z] Archives upload complete. [2021-01-04T23:24:07.971Z] INFO: archiving logs to Nexus