Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6845dc53671c9040b867967a9a77166da238528c+fcf415a52e09a542e74d978699b87b5b4fab4063 (2f2661beeb1b9353d37a469d85b50af8a6781a88) 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 48b313303ce5ba460cd13c4c603c4b280f104d53 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 48b313303ce5ba460cd13c4c603c4b280f104d53 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 48b313303ce5ba460cd13c4c603c4b280f104d53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 48b313303ce5ba460cd13c4c603c4b280f104d53 # timeout=10 Commit message: "Merge pull request #305 from ernestojeda/revert-go-mod-change" > 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 [Pipeline] node Running on prd-centos7-docker-4c-2g-14983 in /w/workspace/gexfoundry_device-mqtt-go_PR-190 [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-190 # 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/190/head:refs/remotes/origin/PR-190 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit 6845dc53671c9040b867967a9a77166da238528c Merge succeeded, producing 08b92bab82b18e2ffa46dc4d51e4dbf28384941b Checking out Revision 08b92bab82b18e2ffa46dc4d51e4dbf28384941b (PR-190) > git config core.sparsecheckout # timeout=10 > git checkout -f 6845dc53671c9040b867967a9a77166da238528c # 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 fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08b92bab82b18e2ffa46dc4d51e4dbf28384941b # timeout=10 Commit message: "Merge commit 'fcf415a52e09a542e74d978699b87b5b4fab4063' into HEAD" > git rev-list --no-walk 6845dc53671c9040b867967a9a77166da238528c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-07T23:16:21.540Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-07T23:16:21.862Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-07T23:16:21.995Z] ========================================================= [2020-12-07T23:16:21.995Z] EdgeX Global Pipelines Version Info [2020-12-07T23:16:21.995Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:16:23.462Z] ------------------- [2020-12-07T23:16:23.462Z] stable info: [2020-12-07T23:16:23.462Z] ------------------- [2020-12-07T23:16:23.462Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-07T23:16:23.462Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-07T23:16:23.462Z] Message: update stable to v1.0.171 [2020-12-07T23:16:24.411Z] ------------------- [2020-12-07T23:16:24.411Z] experimental info: [2020-12-07T23:16:24.411Z] ------------------- [2020-12-07T23:16:24.411Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-07T23:16:24.411Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-07T23:16:24.411Z] Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-07T23:16:24.649Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2020-12-07T23:16:24.737Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2020-12-07T23:16:24.823Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-07T23:16:24.980Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-07T23:16:25.071Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-07T23:16:25.171Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-07T23:16:25.289Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-07T23:16:25.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-07T23:16:25.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-07T23:16:25.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-07T23:16:25.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-07T23:16:25.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2020-12-07T23:16:25.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-07T23:16:26.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-07T23:16:26.260Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-07T23:16:26.361Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-07T23:16:26.476Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T23:16:26.624Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T23:16:26.719Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-07T23:16:26.825Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-07T23:16:26.911Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-07T23:16:27.127Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-07T23:16:27.218Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-07T23:16:27.305Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-07T23:16:27.392Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-07T23:16:27.479Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-07T23:16:27.565Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-190 [Pipeline] echo [2020-12-07T23:16:27.662Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-190 [Pipeline] echo [2020-12-07T23:16:27.751Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-190 [Pipeline] echo [2020-12-07T23:16:27.840Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08b92bab82b18e2ffa46dc4d51e4dbf28384941b [Pipeline] echo [2020-12-07T23:16:27.936Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08b92ba [Pipeline] echo [2020-12-07T23:16:28.019Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T23:16:28.190Z] provisioning config files... [2020-12-07T23:16:28.221Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-190@tmp/config9137828178872292843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:16:28.612Z] ---> docker-login.sh [2020-12-07T23:16:28.612Z] nexus3.edgexfoundry.org:10001 [2020-12-07T23:16:28.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:16:29.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:16:29.148Z] Configure a credential helper to remove this warning. See [2020-12-07T23:16:29.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:16:29.148Z] [2020-12-07T23:16:29.148Z] Login Succeeded [2020-12-07T23:16:29.148Z] nexus3.edgexfoundry.org:10002 [2020-12-07T23:16:29.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:16:29.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:16:29.413Z] Configure a credential helper to remove this warning. See [2020-12-07T23:16:29.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:16:29.413Z] [2020-12-07T23:16:29.413Z] Login Succeeded [2020-12-07T23:16:29.413Z] nexus3.edgexfoundry.org:10003 [2020-12-07T23:16:29.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:16:29.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:16:29.413Z] Configure a credential helper to remove this warning. See [2020-12-07T23:16:29.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:16:29.413Z] [2020-12-07T23:16:29.413Z] Login Succeeded [2020-12-07T23:16:29.413Z] nexus3.edgexfoundry.org:10004 [2020-12-07T23:16:29.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:16:29.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:16:29.677Z] Configure a credential helper to remove this warning. See [2020-12-07T23:16:29.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:16:29.677Z] [2020-12-07T23:16:29.677Z] Login Succeeded [2020-12-07T23:16:29.677Z] docker.io [2020-12-07T23:16:29.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:16:30.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:16:30.258Z] Configure a credential helper to remove this warning. See [2020-12-07T23:16:30.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:16:30.258Z] [2020-12-07T23:16:30.258Z] Login Succeeded [2020-12-07T23:16:30.258Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T23:16:30.271Z] 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 [2020-12-07T23:16:31.314Z] + git log --format=format:%s -1 08b92bab82b18e2ffa46dc4d51e4dbf28384941b [Pipeline] echo [2020-12-07T23:16:31.388Z] GIT_COMMIT: 08b92bab82b18e2ffa46dc4d51e4dbf28384941b, Commit Message: Merge commit 'fcf415a52e09a542e74d978699b87b5b4fab4063' into HEAD [Pipeline] echo [2020-12-07T23:16:31.437Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:16:32.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T23:16:32.026Z] [2020-12-07T23:16:32.026Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:16:32.395Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T23:16:32.395Z] latest: Pulling from edgex-devops/git-semver [2020-12-07T23:16:32.395Z] 31603596830f: Pulling fs layer [2020-12-07T23:16:32.395Z] 2a8b12db71e7: Pulling fs layer [2020-12-07T23:16:32.395Z] 6ca5941a6612: Pulling fs layer [2020-12-07T23:16:32.395Z] ecc8261a40a4: Pulling fs layer [2020-12-07T23:16:32.395Z] ecc8261a40a4: Waiting [2020-12-07T23:16:32.395Z] 2a8b12db71e7: Verifying Checksum [2020-12-07T23:16:32.395Z] 2a8b12db71e7: Download complete [2020-12-07T23:16:32.660Z] 31603596830f: Download complete [2020-12-07T23:16:32.660Z] ecc8261a40a4: Verifying Checksum [2020-12-07T23:16:32.660Z] ecc8261a40a4: Download complete [2020-12-07T23:16:32.660Z] 6ca5941a6612: Verifying Checksum [2020-12-07T23:16:32.660Z] 6ca5941a6612: Download complete [2020-12-07T23:16:32.923Z] 31603596830f: Pull complete [2020-12-07T23:16:32.923Z] 2a8b12db71e7: Pull complete [2020-12-07T23:16:33.873Z] 6ca5941a6612: Pull complete [2020-12-07T23:16:34.136Z] ecc8261a40a4: Pull complete [2020-12-07T23:16:34.136Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-07T23:16:34.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T23:16:34.136Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-07T23:16:34.248Z] prd-centos7-docker-4c-2g-14983 does not seem to be running inside a container [2020-12-07T23:16:34.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-190 -v /w/workspace/gexfoundry_device-mqtt-go_PR-190:/w/workspace/gexfoundry_device-mqtt-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-190@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-190@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-07T23:16:36.655Z] $ docker top ce809b5d9309ed298f748e9777e3a34f19434cb2cbb712db7b3214a9781c05f3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T23:16:36.920Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T23:16:36.920Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T23:16:37.146Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T23:16:37.152Z] $ docker exec ce809b5d9309ed298f748e9777e3a34f19434cb2cbb712db7b3214a9781c05f3 ssh-agent [2020-12-07T23:16:37.313Z] SSH_AUTH_SOCK=/tmp/ssh-RgjeAhkxZHTl/agent.12 [2020-12-07T23:16:37.313Z] SSH_AGENT_PID=17 [2020-12-07T23:16:37.325Z] Running ssh-add (command line suppressed) [2020-12-07T23:16:37.448Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-190@tmp/private_key_4246665524300240592.key (/w/workspace/gexfoundry_device-mqtt-go_PR-190@tmp/private_key_4246665524300240592.key) [2020-12-07T23:16:37.496Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T23:16:37.834Z] + git tag --points-at HEAD [Pipeline] } [2020-12-07T23:16:37.857Z] $ docker exec --env ******** --env ******** ce809b5d9309ed298f748e9777e3a34f19434cb2cbb712db7b3214a9781c05f3 ssh-agent -k [2020-12-07T23:16:37.970Z] unset SSH_AUTH_SOCK; [2020-12-07T23:16:37.970Z] unset SSH_AGENT_PID; [2020-12-07T23:16:37.970Z] echo Agent pid 17 killed; [2020-12-07T23:16:38.015Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-07T23:16:38.152Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T23:16:38.152Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T23:16:38.317Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T23:16:38.323Z] $ docker exec ce809b5d9309ed298f748e9777e3a34f19434cb2cbb712db7b3214a9781c05f3 ssh-agent [2020-12-07T23:16:38.505Z] SSH_AUTH_SOCK=/tmp/ssh-U2SGB3QqIGzY/agent.46 [2020-12-07T23:16:38.505Z] SSH_AGENT_PID=51 [2020-12-07T23:16:38.513Z] Running ssh-add (command line suppressed) [2020-12-07T23:16:38.636Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-190@tmp/private_key_454292869501683860.key (/w/workspace/gexfoundry_device-mqtt-go_PR-190@tmp/private_key_454292869501683860.key) [2020-12-07T23:16:38.689Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T23:16:39.023Z] + git semver init [2020-12-07T23:16:39.023Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T23:16:39.023Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-190/.git [2020-12-07T23:16:39.023Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-190 [2020-12-07T23:16:39.023Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T23:16:39.023Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T23:16:39.023Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T23:16:39.023Z] # $SEMVER_BRANCH = PR-190 [2020-12-07T23:16:39.023Z] # $SEMVER_TEMP = /tmp/semver-836332167 [2020-12-07T23:16:39.023Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-12-07T23:16:39.599Z] # '/tmp/semver-836332167' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-190/.semver' [2020-12-07T23:16:39.599Z] # -> Force: false [2020-12-07T23:16:39.599Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-190/.semver [Pipeline] } [2020-12-07T23:16:39.617Z] $ docker exec --env ******** --env ******** ce809b5d9309ed298f748e9777e3a34f19434cb2cbb712db7b3214a9781c05f3 ssh-agent -k [2020-12-07T23:16:39.732Z] unset SSH_AUTH_SOCK; [2020-12-07T23:16:39.732Z] unset SSH_AGENT_PID; [2020-12-07T23:16:39.732Z] echo Agent pid 51 killed; [2020-12-07T23:16:39.784Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T23:16:40.251Z] + git semver [Pipeline] } [2020-12-07T23:16:40.272Z] $ docker stop --time=1 ce809b5d9309ed298f748e9777e3a34f19434cb2cbb712db7b3214a9781c05f3 [2020-12-07T23:16:41.632Z] $ docker rm -f ce809b5d9309ed298f748e9777e3a34f19434cb2cbb712db7b3214a9781c05f3 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-07T23:16:42.087Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-07T23:16:42.467Z] Stashed 1 file(s) [Pipeline] echo [2020-12-07T23:16:42.470Z] [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 [2020-12-07T23:16:43.259Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14988 in /w/workspace/gexfoundry_device-mqtt-go_PR-190 [Pipeline] { [Pipeline] ws [2020-12-07T23:16:43.374Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2020-12-07T23:16:48.219Z] using credential edgex-jenkins-ssh [2020-12-07T23:16:48.294Z] Cloning the remote Git repository [2020-12-07T23:16:48.357Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T23:16:48.470Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2020-12-07T23:16:48.547Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T23:16:48.548Z] > git --version # timeout=10 [2020-12-07T23:16:48.572Z] > git --version # 'git version 2.17.1' [2020-12-07T23:16:48.574Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:16:48.659Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T23:16:49.329Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-07T23:16:49.351Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T23:16:49.388Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-07T23:16:49.424Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T23:16:49.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:16:49.435Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/190/head:refs/remotes/origin/PR-190 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T23:16:49.901Z] Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit 6845dc53671c9040b867967a9a77166da238528c [2020-12-07T23:16:50.105Z] Merge succeeded, producing 8f83cf66455a7b13946f037e86d545ef242bd971 [2020-12-07T23:16:50.105Z] Checking out Revision 8f83cf66455a7b13946f037e86d545ef242bd971 (PR-190) [2020-12-07T23:16:49.922Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T23:16:49.933Z] > git checkout -f 6845dc53671c9040b867967a9a77166da238528c # timeout=10 [2020-12-07T23:16:50.005Z] > git remote # timeout=10 [2020-12-07T23:16:50.026Z] > git config --get remote.origin.url # timeout=10 [2020-12-07T23:16:50.046Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:16:50.056Z] > git merge fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 [2020-12-07T23:16:50.097Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-07T23:16:50.117Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T23:16:50.126Z] > git checkout -f 8f83cf66455a7b13946f037e86d545ef242bd971 # timeout=10 [2020-12-07T23:16:54.437Z] Commit message: "Merge commit 'fcf415a52e09a542e74d978699b87b5b4fab4063' into HEAD" [2020-12-07T23:16:54.449Z] > git rev-list --no-walk 6845dc53671c9040b867967a9a77166da238528c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T23:16:56.107Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-07T23:16:56.542Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-07T23:16:56.880Z] + sudo service docker restart [2020-12-07T23:16:56.880Z] + true [2020-12-07T23:16:57.980Z] Still waiting to schedule task [2020-12-07T23:16:57.980Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T23:16:58.949Z] provisioning config files... [2020-12-07T23:16:58.990Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config9177346048397835084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:16:59.392Z] ---> docker-login.sh [2020-12-07T23:16:59.393Z] nexus3.edgexfoundry.org:10001 [2020-12-07T23:16:59.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:17:00.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:17:00.588Z] Configure a credential helper to remove this warning. See [2020-12-07T23:17:00.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:17:00.588Z] [2020-12-07T23:17:00.588Z] Login Succeeded [2020-12-07T23:17:00.588Z] nexus3.edgexfoundry.org:10002 [2020-12-07T23:17:00.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:17:01.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:17:01.139Z] Configure a credential helper to remove this warning. See [2020-12-07T23:17:01.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:17:01.139Z] [2020-12-07T23:17:01.139Z] Login Succeeded [2020-12-07T23:17:01.139Z] nexus3.edgexfoundry.org:10003 [2020-12-07T23:17:01.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:17:01.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:17:01.687Z] Configure a credential helper to remove this warning. See [2020-12-07T23:17:01.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:17:01.687Z] [2020-12-07T23:17:01.687Z] Login Succeeded [2020-12-07T23:17:01.687Z] nexus3.edgexfoundry.org:10004 [2020-12-07T23:17:01.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:17:02.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:17:02.233Z] Configure a credential helper to remove this warning. See [2020-12-07T23:17:02.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:17:02.233Z] [2020-12-07T23:17:02.233Z] Login Succeeded [2020-12-07T23:17:02.233Z] docker.io [2020-12-07T23:17:02.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:17:03.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:17:03.099Z] Configure a credential helper to remove this warning. See [2020-12-07T23:17:03.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:17:03.099Z] [2020-12-07T23:17:03.099Z] Login Succeeded [2020-12-07T23:17:03.099Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T23:17:03.116Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-07T23:17:03.727Z] ========================================================= [2020-12-07T23:17:03.727Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-07T23:17:03.727Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:17:04.112Z] + 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 . [2020-12-07T23:17:04.394Z] Sending build context to Docker daemon 483.3kB [2020-12-07T23:17:04.394Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-07T23:17:04.394Z] Step 2/8 : FROM ${BASE} [2020-12-07T23:17:04.672Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-07T23:17:04.672Z] 5f621e34cdf4: Pulling fs layer [2020-12-07T23:17:04.672Z] a4357932f1b6: Pulling fs layer [2020-12-07T23:17:04.672Z] 18c013af1878: Pulling fs layer [2020-12-07T23:17:04.672Z] 00ac8860ef70: Pulling fs layer [2020-12-07T23:17:04.672Z] 63d7cb157983: Pulling fs layer [2020-12-07T23:17:04.672Z] b116817d02f9: Pulling fs layer [2020-12-07T23:17:04.672Z] 745a02a5169b: Pulling fs layer [2020-12-07T23:17:04.672Z] 00ac8860ef70: Waiting [2020-12-07T23:17:04.672Z] b116817d02f9: Waiting [2020-12-07T23:17:04.672Z] 745a02a5169b: Waiting [2020-12-07T23:17:04.672Z] 63d7cb157983: Waiting [2020-12-07T23:17:04.672Z] 18c013af1878: Verifying Checksum [2020-12-07T23:17:04.672Z] 18c013af1878: Download complete [2020-12-07T23:17:04.672Z] a4357932f1b6: Download complete [2020-12-07T23:17:04.672Z] 63d7cb157983: Download complete [2020-12-07T23:17:04.672Z] b116817d02f9: Download complete [2020-12-07T23:17:04.672Z] 5f621e34cdf4: Verifying Checksum [2020-12-07T23:17:04.672Z] 5f621e34cdf4: Download complete [2020-12-07T23:17:05.276Z] 5f621e34cdf4: Pull complete [2020-12-07T23:17:05.875Z] a4357932f1b6: Pull complete [2020-12-07T23:17:06.149Z] 18c013af1878: Pull complete [2020-12-07T23:17:07.136Z] 745a02a5169b: Verifying Checksum [2020-12-07T23:17:08.119Z] 00ac8860ef70: Download complete [2020-12-07T23:17:18.283Z] 00ac8860ef70: Pull complete [2020-12-07T23:17:18.284Z] 63d7cb157983: Pull complete [2020-12-07T23:17:18.559Z] b116817d02f9: Pull complete [2020-12-07T23:17:22.875Z] 745a02a5169b: Pull complete [2020-12-07T23:17:22.875Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-07T23:17:22.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-07T23:17:22.875Z] ---> b7e6874047d6 [2020-12-07T23:17:22.875Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-07T23:17:24.855Z] ---> Running in a3d434868512 [2020-12-07T23:17:25.456Z] Removing intermediate container a3d434868512 [2020-12-07T23:17:25.456Z] ---> 1ff07a25824f [2020-12-07T23:17:25.456Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T23:17:25.456Z] ---> Running in 34877c72ef5d [2020-12-07T23:17:28.082Z] Removing intermediate container 34877c72ef5d [2020-12-07T23:17:28.082Z] ---> 05ce88ee586e [2020-12-07T23:17:28.082Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-07T23:17:28.082Z] ---> Running in 174330bf7c25 [2020-12-07T23:17:29.063Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-07T23:17:30.038Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-07T23:17:30.631Z] (1/14) Installing libmagic (5.38-r0) [2020-12-07T23:17:30.902Z] (2/14) Installing file (5.38-r0) [2020-12-07T23:17:30.902Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-07T23:17:30.902Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-07T23:17:35.196Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-07T23:17:35.196Z] (6/14) Installing patch (2.7.6-r6) [2020-12-07T23:17:35.196Z] (7/14) Installing build-base (0.5-r2) [2020-12-07T23:17:35.196Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-07T23:17:35.196Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-07T23:17:35.196Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-07T23:17:35.467Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-07T23:17:35.467Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-07T23:17:35.738Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-07T23:17:35.739Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-07T23:17:36.017Z] Executing busybox-1.31.1-r19.trigger [2020-12-07T23:17:36.017Z] OK: 221 MiB in 53 packages [2020-12-07T23:17:40.341Z] Removing intermediate container 174330bf7c25 [2020-12-07T23:17:40.341Z] ---> 8b65c94b3a7c [2020-12-07T23:17:40.341Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-12-07T23:17:40.341Z] ---> Running in beed0eb80984 [2020-12-07T23:17:40.612Z] Removing intermediate container beed0eb80984 [2020-12-07T23:17:40.612Z] ---> cdba1f93e6db [2020-12-07T23:17:40.612Z] Step 7/8 : COPY . . [2020-12-07T23:17:41.592Z] ---> d6b2f87e4494 [2020-12-07T23:17:41.592Z] Step 8/8 : RUN go mod download [2020-12-07T23:17:41.592Z] ---> Running in 3f43c80aab77 [2020-12-07T23:18:03.900Z] Removing intermediate container 3f43c80aab77 [2020-12-07T23:18:03.900Z] ---> cff011757e31 [2020-12-07T23:18:03.900Z] Successfully built cff011757e31 [2020-12-07T23:18:03.900Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:18:04.240Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T23:18:04.240Z] . [Pipeline] withDockerContainer [2020-12-07T23:18:04.470Z] prd-ubuntu18.04-docker-arm64-4c-16g-14988 does not seem to be running inside a container [2020-12-07T23:18:04.564Z] $ 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 ******** ci-base-image-arm64 cat [2020-12-07T23:18:06.033Z] $ docker top f921be8ad542059451a244071ed018d7cda39394fc04111bb9af67ca81eda8e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T23:18:07.028Z] + go version [2020-12-07T23:18:07.028Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-07T23:18:07.057Z] $ docker stop --time=1 f921be8ad542059451a244071ed018d7cda39394fc04111bb9af67ca81eda8e2 [2020-12-07T23:18:08.980Z] $ docker rm -f f921be8ad542059451a244071ed018d7cda39394fc04111bb9af67ca81eda8e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:18:10.015Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T23:18:10.015Z] . [Pipeline] withDockerContainer [2020-12-07T23:18:10.275Z] prd-ubuntu18.04-docker-arm64-4c-16g-14988 does not seem to be running inside a container [2020-12-07T23:18:10.355Z] $ 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 ******** ci-base-image-arm64 cat [2020-12-07T23:18:11.896Z] $ docker top 7f5f892430e1366efc1d7160f5c3cee9bc971e4c4fdc642071a65ca693063257 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T23:18:12.955Z] + make test [2020-12-07T23:18:12.955Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-07T23:18:13.943Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-12-07T23:18:40.772Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-07T23:18:40.772Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-07T23:18:40.772Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-07T23:18:47.521Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2020-12-07T23:18:47.793Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2020-12-07T23:18:47.831Z] $ docker stop --time=1 7f5f892430e1366efc1d7160f5c3cee9bc971e4c4fdc642071a65ca693063257 [2020-12-07T23:18:50.069Z] $ docker rm -f 7f5f892430e1366efc1d7160f5c3cee9bc971e4c4fdc642071a65ca693063257 [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] } [2020-12-07T23:18:52.027Z] Failed in branch arm64 [2020-12-07T23:21:13.641Z] Running on prd-centos7-docker-4c-2g-14990 in /w/workspace/gexfoundry_device-mqtt-go_PR-190 [Pipeline] { [Pipeline] ws [2020-12-07T23:21:13.693Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2020-12-07T23:21:16.096Z] using credential edgex-jenkins-ssh [2020-12-07T23:21:16.154Z] Cloning the remote Git repository [2020-12-07T23:21:15.972Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T23:21:16.044Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2020-12-07T23:21:16.106Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T23:21:16.106Z] > git --version # timeout=10 [2020-12-07T23:21:16.114Z] > git --version # 'git version 2.24.3' [2020-12-07T23:21:16.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:21:16.143Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T23:21:16.756Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-07T23:21:16.766Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T23:21:16.777Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-07T23:21:16.793Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T23:21:16.793Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:21:16.800Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/190/head:refs/remotes/origin/PR-190 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T23:21:17.397Z] Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit 6845dc53671c9040b867967a9a77166da238528c [2020-12-07T23:21:17.486Z] Merge succeeded, producing 14343449185148fea9fd9462ee10b3abeb4c46f7 [2020-12-07T23:21:17.486Z] Checking out Revision 14343449185148fea9fd9462ee10b3abeb4c46f7 (PR-190) [2020-12-07T23:21:17.299Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T23:21:17.306Z] > git checkout -f 6845dc53671c9040b867967a9a77166da238528c # timeout=10 [2020-12-07T23:21:17.340Z] > git remote # timeout=10 [2020-12-07T23:21:17.347Z] > git config --get remote.origin.url # timeout=10 [2020-12-07T23:21:17.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:21:17.358Z] > git merge fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 [2020-12-07T23:21:17.378Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-07T23:21:17.389Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T23:21:17.401Z] > git checkout -f 14343449185148fea9fd9462ee10b3abeb4c46f7 # timeout=10 [2020-12-07T23:21:21.107Z] Commit message: "Merge commit 'fcf415a52e09a542e74d978699b87b5b4fab4063' into HEAD" [2020-12-07T23:21:21.114Z] > git rev-list --no-walk 6845dc53671c9040b867967a9a77166da238528c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T23:21:22.405Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-07T23:21:22.741Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-07T23:21:23.045Z] + sudo service docker restart [2020-12-07T23:21:23.045Z] + true [2020-12-07T23:21:23.045Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T23:21:24.057Z] provisioning config files... [2020-12-07T23:21:24.094Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config5935147728441693305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:21:24.464Z] ---> docker-login.sh [2020-12-07T23:21:24.464Z] nexus3.edgexfoundry.org:10001 [2020-12-07T23:21:24.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:21:24.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:21:24.747Z] Configure a credential helper to remove this warning. See [2020-12-07T23:21:24.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:21:24.747Z] [2020-12-07T23:21:24.747Z] Login Succeeded [2020-12-07T23:21:24.747Z] nexus3.edgexfoundry.org:10002 [2020-12-07T23:21:25.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:21:25.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:21:25.013Z] Configure a credential helper to remove this warning. See [2020-12-07T23:21:25.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:21:25.013Z] [2020-12-07T23:21:25.013Z] Login Succeeded [2020-12-07T23:21:25.013Z] nexus3.edgexfoundry.org:10003 [2020-12-07T23:21:25.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:21:25.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:21:25.279Z] Configure a credential helper to remove this warning. See [2020-12-07T23:21:25.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:21:25.279Z] [2020-12-07T23:21:25.279Z] Login Succeeded [2020-12-07T23:21:25.279Z] nexus3.edgexfoundry.org:10004 [2020-12-07T23:21:25.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:21:25.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:21:25.279Z] Configure a credential helper to remove this warning. See [2020-12-07T23:21:25.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:21:25.279Z] [2020-12-07T23:21:25.279Z] Login Succeeded [2020-12-07T23:21:25.279Z] docker.io [2020-12-07T23:21:25.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:21:25.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:21:25.809Z] Configure a credential helper to remove this warning. See [2020-12-07T23:21:25.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:21:25.809Z] [2020-12-07T23:21:25.809Z] Login Succeeded [2020-12-07T23:21:25.809Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T23:21:25.823Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-07T23:21:26.303Z] ========================================================= [2020-12-07T23:21:26.303Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-07T23:21:26.303Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:21:26.699Z] + 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 . [2020-12-07T23:21:26.699Z] Sending build context to Docker daemon 484.4kB [2020-12-07T23:21:26.699Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-07T23:21:26.699Z] Step 2/8 : FROM ${BASE} [2020-12-07T23:21:26.962Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-07T23:21:26.962Z] 188c0c94c7c5: Pulling fs layer [2020-12-07T23:21:26.962Z] 0ef7d3d256c8: Pulling fs layer [2020-12-07T23:21:26.962Z] de9db76c5a1d: Pulling fs layer [2020-12-07T23:21:26.962Z] bca2f99d35d6: Pulling fs layer [2020-12-07T23:21:26.962Z] 93359f2a8cfa: Pulling fs layer [2020-12-07T23:21:26.962Z] 7c6f9722023f: Pulling fs layer [2020-12-07T23:21:26.962Z] a35cf1a2eb13: Pulling fs layer [2020-12-07T23:21:26.962Z] bca2f99d35d6: Waiting [2020-12-07T23:21:26.962Z] 93359f2a8cfa: Waiting [2020-12-07T23:21:26.962Z] 7c6f9722023f: Waiting [2020-12-07T23:21:26.962Z] a35cf1a2eb13: Waiting [2020-12-07T23:21:26.962Z] de9db76c5a1d: Verifying Checksum [2020-12-07T23:21:26.962Z] de9db76c5a1d: Download complete [2020-12-07T23:21:26.962Z] 0ef7d3d256c8: Verifying Checksum [2020-12-07T23:21:26.962Z] 0ef7d3d256c8: Download complete [2020-12-07T23:21:26.962Z] 93359f2a8cfa: Verifying Checksum [2020-12-07T23:21:26.962Z] 93359f2a8cfa: Download complete [2020-12-07T23:21:26.962Z] 7c6f9722023f: Download complete [2020-12-07T23:21:26.962Z] 188c0c94c7c5: Verifying Checksum [2020-12-07T23:21:26.962Z] 188c0c94c7c5: Download complete [2020-12-07T23:21:27.230Z] 188c0c94c7c5: Pull complete [2020-12-07T23:21:27.497Z] 0ef7d3d256c8: Pull complete [2020-12-07T23:21:27.497Z] de9db76c5a1d: Pull complete [2020-12-07T23:21:29.437Z] a35cf1a2eb13: Verifying Checksum [2020-12-07T23:21:29.437Z] a35cf1a2eb13: Download complete [2020-12-07T23:21:29.437Z] bca2f99d35d6: Verifying Checksum [2020-12-07T23:21:29.437Z] bca2f99d35d6: Download complete [2020-12-07T23:21:34.805Z] bca2f99d35d6: Pull complete [2020-12-07T23:21:35.070Z] 93359f2a8cfa: Pull complete [2020-12-07T23:21:35.333Z] 7c6f9722023f: Pull complete [2020-12-07T23:21:40.678Z] a35cf1a2eb13: Pull complete [2020-12-07T23:21:40.678Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-07T23:21:40.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-07T23:21:40.678Z] ---> a62c8e92a672 [2020-12-07T23:21:40.678Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-07T23:21:40.678Z] ---> Running in 2dd43b19ba2e [2020-12-07T23:21:40.678Z] Removing intermediate container 2dd43b19ba2e [2020-12-07T23:21:40.678Z] ---> 6fedaf14fbf3 [2020-12-07T23:21:40.678Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T23:21:40.678Z] ---> Running in 0e1ee5bd697f [2020-12-07T23:21:41.632Z] Removing intermediate container 0e1ee5bd697f [2020-12-07T23:21:41.632Z] ---> aeb3b8741eb7 [2020-12-07T23:21:41.632Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-07T23:21:41.632Z] ---> Running in 7e377dccddbe [2020-12-07T23:21:42.229Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-07T23:21:42.808Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-07T23:21:43.071Z] (1/14) Installing libmagic (5.38-r0) [2020-12-07T23:21:43.647Z] (2/14) Installing file (5.38-r0) [2020-12-07T23:21:43.647Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-07T23:21:43.912Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-07T23:21:49.230Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-07T23:21:49.230Z] (6/14) Installing patch (2.7.6-r6) [2020-12-07T23:21:49.230Z] (7/14) Installing build-base (0.5-r2) [2020-12-07T23:21:49.230Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-07T23:21:49.230Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-07T23:21:49.230Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-07T23:21:49.230Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-07T23:21:49.230Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-07T23:21:49.495Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-07T23:21:49.495Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-07T23:21:49.495Z] Executing busybox-1.31.1-r19.trigger [2020-12-07T23:21:49.495Z] OK: 237 MiB in 53 packages [2020-12-07T23:21:52.831Z] Removing intermediate container 7e377dccddbe [2020-12-07T23:21:52.831Z] ---> 76da5a589ca9 [2020-12-07T23:21:52.831Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-12-07T23:21:53.098Z] ---> Running in e5b2fb833a32 [2020-12-07T23:21:53.098Z] Removing intermediate container e5b2fb833a32 [2020-12-07T23:21:53.098Z] ---> 7509916b5099 [2020-12-07T23:21:53.098Z] Step 7/8 : COPY . . [2020-12-07T23:21:53.677Z] ---> 6f8efed31280 [2020-12-07T23:21:53.677Z] Step 8/8 : RUN go mod download [2020-12-07T23:21:53.940Z] ---> Running in 7730de4800a1 [2020-12-07T23:22:15.987Z] Removing intermediate container 7730de4800a1 [2020-12-07T23:22:15.987Z] ---> 0ad13dba77ae [2020-12-07T23:22:15.987Z] Successfully built 0ad13dba77ae [2020-12-07T23:22:15.987Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:22:16.307Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T23:22:16.307Z] . [Pipeline] withDockerContainer [2020-12-07T23:22:16.423Z] prd-centos7-docker-4c-2g-14990 does not seem to be running inside a container [2020-12-07T23:22:16.477Z] $ 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 [2020-12-07T23:22:17.266Z] $ docker top debe9a799db58739ae579008de9c2ab703b2524abf1333ba50c458f848913a23 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T23:22:17.756Z] + go version [2020-12-07T23:22:17.756Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-07T23:22:17.774Z] $ docker stop --time=1 debe9a799db58739ae579008de9c2ab703b2524abf1333ba50c458f848913a23 [2020-12-07T23:22:19.143Z] $ docker rm -f debe9a799db58739ae579008de9c2ab703b2524abf1333ba50c458f848913a23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:22:19.995Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T23:22:19.995Z] . [Pipeline] withDockerContainer [2020-12-07T23:22:20.095Z] prd-centos7-docker-4c-2g-14990 does not seem to be running inside a container [2020-12-07T23:22:20.150Z] $ 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 [2020-12-07T23:22:20.710Z] $ docker top fef07df6b2b251265f2332fba62e7d70c54c059160b5bac0a86c8b113e0ae66b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T23:22:21.184Z] + make test [2020-12-07T23:22:21.184Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-07T23:22:22.151Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-12-07T23:22:30.416Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-07T23:22:30.416Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-07T23:22:30.416Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-07T23:22:33.786Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2020-12-07T23:22:33.786Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2020-12-07T23:22:33.806Z] $ docker stop --time=1 fef07df6b2b251265f2332fba62e7d70c54c059160b5bac0a86c8b113e0ae66b [2020-12-07T23:22:36.245Z] $ docker rm -f fef07df6b2b251265f2332fba62e7d70c54c059160b5bac0a86c8b113e0ae66b [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] } [2020-12-07T23:22:37.879Z] Failed in branch amd64 [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 [2020-12-07T23:22:40.456Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:22:41.027Z] ---> package-listing.sh [2020-12-07T23:22:41.027Z] ++ facter osfamily [2020-12-07T23:22:41.027Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-07T23:22:41.027Z] + OS_FAMILY=redhat [2020-12-07T23:22:41.027Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-190 [2020-12-07T23:22:41.027Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-07T23:22:41.027Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-07T23:22:41.027Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-07T23:22:41.027Z] + PACKAGES=/tmp/packages_start.txt [2020-12-07T23:22:41.027Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-190 ']' [2020-12-07T23:22:41.027Z] + PACKAGES=/tmp/packages_end.txt [2020-12-07T23:22:41.027Z] + case "${OS_FAMILY}" in [2020-12-07T23:22:41.027Z] + rpm -qa [2020-12-07T23:22:41.027Z] + sort [2020-12-07T23:22:46.367Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-07T23:22:46.367Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-07T23:22:46.367Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-07T23:22:46.367Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-190 ']' [2020-12-07T23:22:46.367Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-190/archives/ [2020-12-07T23:22:46.367Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-190/archives/ [Pipeline] echo [2020-12-07T23:22:46.382Z] 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-190/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-07T23:22:46.685Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:22:47.000Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T23:22:47.000Z] [2020-12-07T23:22:47.000Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:22:47.388Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T23:22:47.388Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-07T23:22:47.388Z] df20fa9351a1: Pulling fs layer [2020-12-07T23:22:47.388Z] 36b3adc4ff6f: Pulling fs layer [2020-12-07T23:22:47.388Z] 8ad3a11d3b57: Pulling fs layer [2020-12-07T23:22:47.388Z] 46f8f816bc3b: Pulling fs layer [2020-12-07T23:22:47.388Z] 93b61091891f: Pulling fs layer [2020-12-07T23:22:47.388Z] 93b9cdb0e59b: Pulling fs layer [2020-12-07T23:22:47.388Z] 5e14af77c1be: Pulling fs layer [2020-12-07T23:22:47.388Z] 01666e4c0597: Pulling fs layer [2020-12-07T23:22:47.388Z] aa168da1d23b: Pulling fs layer [2020-12-07T23:22:47.388Z] 46f8f816bc3b: Waiting [2020-12-07T23:22:47.388Z] 93b61091891f: Waiting [2020-12-07T23:22:47.388Z] 01666e4c0597: Waiting [2020-12-07T23:22:47.388Z] aa168da1d23b: Waiting [2020-12-07T23:22:47.388Z] 5e14af77c1be: Waiting [2020-12-07T23:22:47.388Z] 36b3adc4ff6f: Verifying Checksum [2020-12-07T23:22:47.388Z] 36b3adc4ff6f: Download complete [2020-12-07T23:22:47.388Z] 46f8f816bc3b: Verifying Checksum [2020-12-07T23:22:47.388Z] 46f8f816bc3b: Download complete [2020-12-07T23:22:47.388Z] df20fa9351a1: Download complete [2020-12-07T23:22:47.388Z] 93b9cdb0e59b: Download complete [2020-12-07T23:22:47.652Z] 5e14af77c1be: Verifying Checksum [2020-12-07T23:22:47.652Z] 5e14af77c1be: Download complete [2020-12-07T23:22:47.652Z] 01666e4c0597: Verifying Checksum [2020-12-07T23:22:47.652Z] 01666e4c0597: Download complete [2020-12-07T23:22:47.652Z] 93b61091891f: Verifying Checksum [2020-12-07T23:22:47.652Z] 93b61091891f: Download complete [2020-12-07T23:22:47.916Z] df20fa9351a1: Pull complete [2020-12-07T23:22:47.916Z] 8ad3a11d3b57: Verifying Checksum [2020-12-07T23:22:47.916Z] 8ad3a11d3b57: Download complete [2020-12-07T23:22:48.183Z] 36b3adc4ff6f: Pull complete [2020-12-07T23:22:48.768Z] 8ad3a11d3b57: Pull complete [2020-12-07T23:22:48.768Z] 46f8f816bc3b: Pull complete [2020-12-07T23:22:49.731Z] 93b61091891f: Pull complete [2020-12-07T23:22:49.731Z] 93b9cdb0e59b: Pull complete [2020-12-07T23:22:49.995Z] aa168da1d23b: Verifying Checksum [2020-12-07T23:22:49.995Z] aa168da1d23b: Download complete [2020-12-07T23:22:50.258Z] 5e14af77c1be: Pull complete [2020-12-07T23:22:50.527Z] 01666e4c0597: Pull complete [2020-12-07T23:22:57.174Z] aa168da1d23b: Pull complete [2020-12-07T23:22:57.439Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-07T23:22:57.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T23:22:57.439Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-07T23:22:57.674Z] prd-centos7-docker-4c-2g-14983 does not seem to be running inside a container [2020-12-07T23:22:57.724Z] $ 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-190/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-190 -v /w/workspace/gexfoundry_device-mqtt-go_PR-190:/w/workspace/gexfoundry_device-mqtt-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-190@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-190@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:10003/edgex-lftools-log-publisher:alpine cat [2020-12-07T23:23:00.990Z] $ docker top 90c8c2013aa316280beedea2861de5ddaddd077749f39f19dd697f6730989788 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T23:23:01.577Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-07T23:23:01.926Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-07T23:23:02.232Z] + ls /var/log/sa-host [2020-12-07T23:23:02.232Z] + sadf -c /var/log/sa-host/sa07 [2020-12-07T23:23:02.232Z] file_magic: OK [2020-12-07T23:23:02.232Z] HZ: Using current value: 100 [2020-12-07T23:23:02.232Z] file_header: OK [2020-12-07T23:23:02.232Z] 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 [2020-12-07T23:23:02.232Z] Statistics: [2020-12-07T23:23:02.232Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-07T23:23:02.232Z] File successfully converted to sysstat format version 12.2.1 [2020-12-07T23:23:02.232Z] + sadf -c /var/log/sa-host/sa23 [2020-12-07T23:23:02.232Z] file_magic: OK [2020-12-07T23:23:02.232Z] HZ: Using current value: 100 [2020-12-07T23:23:02.232Z] file_header: OK [2020-12-07T23:23:02.232Z] 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 [2020-12-07T23:23:02.232Z] Statistics: [2020-12-07T23:23:02.232Z] Hnuu...uuuununununu... [2020-12-07T23:23:02.232Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-07T23:23:02.464Z] provisioning config files... [2020-12-07T23:23:02.484Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-190@tmp/config7019340422889790937tmp [Pipeline] { [Pipeline] echo [2020-12-07T23:23:02.571Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:23:02.874Z] ---> create-netrc.sh [Pipeline] } [2020-12-07T23:23:02.887Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-07T23:23:03.006Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:23:03.313Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-07T23:23:03.324Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:23:03.623Z] ---> sudo-logs.sh [2020-12-07T23:23:03.623Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-07T23:23:03.899Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:23:04.196Z] ---> job-cost.sh [2020-12-07T23:23:04.196Z] lf-activate-venv: SKIPPING [2020-12-07T23:23:04.196Z] INFO: No Stack... [2020-12-07T23:23:05.597Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-07T23:23:06.175Z] INFO: Archiving Costs [Pipeline] echo [2020-12-07T23:23:06.190Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:23:06.488Z] ---> logs-deploy.sh [2020-12-07T23:23:06.488Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-190/2 [2020-12-07T23:23:06.488Z] INFO: archiving workspace using pattern(s): [2020-12-07T23:23:08.417Z] Archives upload complete. [2020-12-07T23:23:08.417Z] INFO: archiving logs to Nexus