Pull request #198 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 40b20c8d99b7dbc6d9649d8245369877cd13ba18+fcf415a52e09a542e74d978699b87b5b4fab4063 (8bde08b8c21ef1d5be7897ebb4231f03396c7b94) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-198/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-198/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18101 in /w/workspace/gexfoundry_device-mqtt-go_PR-198 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-198 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit 40b20c8d99b7dbc6d9649d8245369877cd13ba18 Merge succeeded, producing 40b20c8d99b7dbc6d9649d8245369877cd13ba18 Checking out Revision 40b20c8d99b7dbc6d9649d8245369877cd13ba18 (PR-198) > 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 fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40b20c8d99b7dbc6d9649d8245369877cd13ba18 # timeout=10 Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-04T06:11:34.892Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-04T06:11:35.215Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-04T06:11:35.388Z] ========================================================= [2021-01-04T06:11:35.388Z] EdgeX Global Pipelines Version Info [2021-01-04T06:11:35.388Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:11:36.867Z] ------------------- [2021-01-04T06:11:36.867Z] stable info: [2021-01-04T06:11:36.867Z] ------------------- [2021-01-04T06:11:36.867Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-04T06:11:36.867Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T06:11:36.867Z] Message: update stable to v1.0.173 [2021-01-04T06:11:37.823Z] ------------------- [2021-01-04T06:11:37.823Z] experimental info: [2021-01-04T06:11:37.823Z] ------------------- [2021-01-04T06:11:37.823Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-04T06:11:37.823Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T06:11:37.823Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-04T06:11:38.208Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-01-04T06:11:38.330Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-01-04T06:11:38.457Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-04T06:11:38.576Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-04T06:11:38.699Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-04T06:11:38.833Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-04T06:11:38.954Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-04T06:11:39.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-04T06:11:39.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-04T06:11:39.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-04T06:11:39.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-04T06:11:39.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-01-04T06:11:39.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-04T06:11:39.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-04T06:11:39.939Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T06:11:40.053Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T06:11:40.168Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T06:11:40.313Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T06:11:40.454Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-04T06:11:40.601Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-04T06:11:40.737Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-04T06:11:40.885Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-04T06:11:41.032Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-04T06:11:41.189Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-04T06:11:41.332Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-04T06:11:41.457Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-04T06:11:41.600Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-04T06:11:41.729Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-198 [Pipeline] echo [2021-01-04T06:11:41.858Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-198 [Pipeline] echo [2021-01-04T06:11:41.992Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-198 [Pipeline] echo [2021-01-04T06:11:42.162Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40b20c8d99b7dbc6d9649d8245369877cd13ba18 [Pipeline] echo [2021-01-04T06:11:42.292Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40b20c8 [Pipeline] echo [2021-01-04T06:11:42.416Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T06:11:42.689Z] provisioning config files... [2021-01-04T06:11:42.733Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/config8707439287979079277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:11:43.194Z] ---> docker-login.sh [2021-01-04T06:11:43.194Z] nexus3.edgexfoundry.org:10001 [2021-01-04T06:11:43.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:11:43.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:11:43.723Z] Configure a credential helper to remove this warning. See [2021-01-04T06:11:43.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:11:43.723Z] [2021-01-04T06:11:43.723Z] Login Succeeded [2021-01-04T06:11:43.723Z] nexus3.edgexfoundry.org:10002 [2021-01-04T06:11:43.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:11:43.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:11:43.723Z] Configure a credential helper to remove this warning. See [2021-01-04T06:11:43.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:11:43.723Z] [2021-01-04T06:11:43.723Z] Login Succeeded [2021-01-04T06:11:43.723Z] nexus3.edgexfoundry.org:10003 [2021-01-04T06:11:43.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:11:43.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:11:43.987Z] Configure a credential helper to remove this warning. See [2021-01-04T06:11:43.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:11:43.987Z] [2021-01-04T06:11:43.987Z] Login Succeeded [2021-01-04T06:11:43.987Z] nexus3.edgexfoundry.org:10004 [2021-01-04T06:11:43.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:11:44.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:11:44.252Z] Configure a credential helper to remove this warning. See [2021-01-04T06:11:44.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:11:44.252Z] [2021-01-04T06:11:44.252Z] Login Succeeded [2021-01-04T06:11:44.252Z] docker.io [2021-01-04T06:11:44.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:11:44.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:11:44.517Z] Configure a credential helper to remove this warning. See [2021-01-04T06:11:44.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:11:44.517Z] [2021-01-04T06:11:44.517Z] Login Succeeded [2021-01-04T06:11:44.517Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T06:11:44.554Z] 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-04T06:11:45.690Z] + git log --format=format:%s -1 40b20c8d99b7dbc6d9649d8245369877cd13ba18 [Pipeline] echo [2021-01-04T06:11:45.775Z] GIT_COMMIT: 40b20c8d99b7dbc6d9649d8245369877cd13ba18, Commit Message: build(deps): bump github.com/eclipse/paho.mqtt.golang [Pipeline] echo [2021-01-04T06:11:45.845Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:11:46.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T06:11:46.607Z] [2021-01-04T06:11:46.608Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:11:47.020Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T06:11:47.020Z] latest: Pulling from edgex-devops/git-semver [2021-01-04T06:11:47.020Z] 31603596830f: Pulling fs layer [2021-01-04T06:11:47.020Z] 2a8b12db71e7: Pulling fs layer [2021-01-04T06:11:47.020Z] 6ca5941a6612: Pulling fs layer [2021-01-04T06:11:47.020Z] ecc8261a40a4: Pulling fs layer [2021-01-04T06:11:47.020Z] ecc8261a40a4: Waiting [2021-01-04T06:11:47.020Z] 2a8b12db71e7: Verifying Checksum [2021-01-04T06:11:47.020Z] 2a8b12db71e7: Download complete [2021-01-04T06:11:47.283Z] 31603596830f: Download complete [2021-01-04T06:11:47.283Z] ecc8261a40a4: Verifying Checksum [2021-01-04T06:11:47.283Z] ecc8261a40a4: Download complete [2021-01-04T06:11:47.283Z] 6ca5941a6612: Verifying Checksum [2021-01-04T06:11:47.283Z] 6ca5941a6612: Download complete [2021-01-04T06:11:47.546Z] 31603596830f: Pull complete [2021-01-04T06:11:47.810Z] 2a8b12db71e7: Pull complete [2021-01-04T06:11:48.387Z] 6ca5941a6612: Pull complete [2021-01-04T06:11:48.649Z] ecc8261a40a4: Pull complete [2021-01-04T06:11:48.649Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-04T06:11:48.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T06:11:48.912Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-04T06:11:49.051Z] prd-centos7-docker-4c-2g-18101 does not seem to be running inside a container [2021-01-04T06:11:49.106Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-04T06:11:52.710Z] $ docker top 080f9d4dbc50ef6661049a2ae8db1a4ba6d90f3aaafbf880fbc8f67a356d2f91 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T06:11:53.203Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T06:11:53.203Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T06:11:53.429Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T06:11:53.433Z] $ docker exec 080f9d4dbc50ef6661049a2ae8db1a4ba6d90f3aaafbf880fbc8f67a356d2f91 ssh-agent [2021-01-04T06:11:53.603Z] SSH_AUTH_SOCK=/tmp/ssh-ln6yMvLCZFEk/agent.12 [2021-01-04T06:11:53.603Z] SSH_AGENT_PID=17 [2021-01-04T06:11:53.613Z] Running ssh-add (command line suppressed) [2021-01-04T06:11:53.728Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_5963944362019902002.key (/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_5963944362019902002.key) [2021-01-04T06:11:53.782Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T06:11:54.170Z] + git tag --points-at HEAD [Pipeline] } [2021-01-04T06:11:54.201Z] $ docker exec --env ******** --env ******** 080f9d4dbc50ef6661049a2ae8db1a4ba6d90f3aaafbf880fbc8f67a356d2f91 ssh-agent -k [2021-01-04T06:11:54.306Z] unset SSH_AUTH_SOCK; [2021-01-04T06:11:54.307Z] unset SSH_AGENT_PID; [2021-01-04T06:11:54.307Z] echo Agent pid 17 killed; [2021-01-04T06:11:54.350Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-04T06:11:54.574Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T06:11:54.574Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T06:11:54.739Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T06:11:54.744Z] $ docker exec 080f9d4dbc50ef6661049a2ae8db1a4ba6d90f3aaafbf880fbc8f67a356d2f91 ssh-agent [2021-01-04T06:11:54.900Z] SSH_AUTH_SOCK=/tmp/ssh-zn2TkvR8Yrgr/agent.46 [2021-01-04T06:11:54.900Z] SSH_AGENT_PID=51 [2021-01-04T06:11:54.907Z] Running ssh-add (command line suppressed) [2021-01-04T06:11:55.020Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_1651540561808992962.key (/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_1651540561808992962.key) [2021-01-04T06:11:55.070Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T06:11:55.457Z] + git semver init [2021-01-04T06:11:55.457Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T06:11:55.457Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-198/.git [2021-01-04T06:11:55.457Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-198 [2021-01-04T06:11:55.457Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T06:11:55.457Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T06:11:55.457Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T06:11:55.457Z] # $SEMVER_BRANCH = PR-198 [2021-01-04T06:11:55.457Z] # $SEMVER_TEMP = /tmp/semver-944621797 [2021-01-04T06:11:55.457Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-01-04T06:11:55.730Z] # '/tmp/semver-944621797' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-198/.semver' [2021-01-04T06:11:55.992Z] # -> Force: false [2021-01-04T06:11:55.992Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-198/.semver [Pipeline] } [2021-01-04T06:11:56.019Z] $ docker exec --env ******** --env ******** 080f9d4dbc50ef6661049a2ae8db1a4ba6d90f3aaafbf880fbc8f67a356d2f91 ssh-agent -k [2021-01-04T06:11:56.135Z] unset SSH_AUTH_SOCK; [2021-01-04T06:11:56.136Z] unset SSH_AGENT_PID; [2021-01-04T06:11:56.136Z] echo Agent pid 51 killed; [2021-01-04T06:11:56.179Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T06:11:56.754Z] + git semver [Pipeline] } [2021-01-04T06:11:56.783Z] $ docker stop --time=1 080f9d4dbc50ef6661049a2ae8db1a4ba6d90f3aaafbf880fbc8f67a356d2f91 [2021-01-04T06:11:58.138Z] $ docker rm -f 080f9d4dbc50ef6661049a2ae8db1a4ba6d90f3aaafbf880fbc8f67a356d2f91 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T06:11:58.653Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-04T06:11:59.125Z] Stashed 1 file(s) [Pipeline] echo [2021-01-04T06:11:59.150Z] [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-04T06:12:14.989Z] Still waiting to schedule task [2021-01-04T06:12:14.989Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-04T06:12:15.021Z] Still waiting to schedule task [2021-01-04T06:12:15.021Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18097’ is offline [2021-01-04T06:13:39.465Z] Running on prd-centos7-docker-4c-2g-18104 in /w/workspace/gexfoundry_device-mqtt-go_PR-198 [Pipeline] { [Pipeline] ws [2021-01-04T06:13:39.585Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2021-01-04T06:13:42.806Z] using credential edgex-jenkins-ssh [2021-01-04T06:13:42.869Z] Cloning the remote Git repository [2021-01-04T06:13:42.896Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T06:13:42.970Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-01-04T06:13:43.039Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T06:13:43.040Z] > git --version # timeout=10 [2021-01-04T06:13:43.047Z] > git --version # 'git version 2.24.3' [2021-01-04T06:13:43.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:13:43.084Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:13:44.075Z] Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit 40b20c8d99b7dbc6d9649d8245369877cd13ba18 [2021-01-04T06:13:44.165Z] Merge succeeded, producing 40b20c8d99b7dbc6d9649d8245369877cd13ba18 [2021-01-04T06:13:44.165Z] Checking out Revision 40b20c8d99b7dbc6d9649d8245369877cd13ba18 (PR-198) [2021-01-04T06:13:43.666Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T06:13:43.674Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:13:43.689Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T06:13:43.705Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T06:13:43.705Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:13:43.713Z] > 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-04T06:13:44.082Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:13:44.090Z] > git checkout -f 40b20c8d99b7dbc6d9649d8245369877cd13ba18 # timeout=10 [2021-01-04T06:13:44.129Z] > git remote # timeout=10 [2021-01-04T06:13:44.135Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T06:13:44.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:13:44.143Z] > git merge fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 [2021-01-04T06:13:44.154Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T06:13:44.166Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:13:44.171Z] > git checkout -f 40b20c8d99b7dbc6d9649d8245369877cd13ba18 # timeout=10 [2021-01-04T06:13:48.007Z] Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [2021-01-04T06:13:48.037Z] > git --version # timeout=10 [2021-01-04T06:13:48.043Z] > git --version # 'git version 2.24.3' [2021-01-04T06:13:48.062Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T06:13:49.467Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:13:49.820Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:13:50.144Z] + sudo service docker restart [2021-01-04T06:13:50.144Z] + true [2021-01-04T06:13:50.144Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T06:13:51.692Z] provisioning config files... [2021-01-04T06:13:51.736Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config751363506507347234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:13:52.204Z] ---> docker-login.sh [2021-01-04T06:13:52.204Z] nexus3.edgexfoundry.org:10001 [2021-01-04T06:13:52.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:13:52.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:13:52.738Z] Configure a credential helper to remove this warning. See [2021-01-04T06:13:52.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:13:52.738Z] [2021-01-04T06:13:52.738Z] Login Succeeded [2021-01-04T06:13:52.738Z] nexus3.edgexfoundry.org:10002 [2021-01-04T06:13:52.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:13:52.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:13:52.738Z] Configure a credential helper to remove this warning. See [2021-01-04T06:13:52.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:13:52.738Z] [2021-01-04T06:13:52.738Z] Login Succeeded [2021-01-04T06:13:52.738Z] nexus3.edgexfoundry.org:10003 [2021-01-04T06:13:53.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:13:53.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:13:53.012Z] Configure a credential helper to remove this warning. See [2021-01-04T06:13:53.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:13:53.012Z] [2021-01-04T06:13:53.012Z] Login Succeeded [2021-01-04T06:13:53.012Z] nexus3.edgexfoundry.org:10004 [2021-01-04T06:13:53.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:13:53.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:13:53.282Z] Configure a credential helper to remove this warning. See [2021-01-04T06:13:53.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:13:53.282Z] [2021-01-04T06:13:53.282Z] Login Succeeded [2021-01-04T06:13:53.282Z] docker.io [2021-01-04T06:13:53.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:13:53.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:13:53.545Z] Configure a credential helper to remove this warning. See [2021-01-04T06:13:53.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:13:53.545Z] [2021-01-04T06:13:53.545Z] Login Succeeded [2021-01-04T06:13:53.545Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T06:13:53.568Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T06:13:54.112Z] ========================================================= [2021-01-04T06:13:54.112Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-04T06:13:54.112Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:13:54.521Z] + 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-04T06:13:54.522Z] Sending build context to Docker daemon 485.9kB [2021-01-04T06:13:54.522Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-01-04T06:13:54.522Z] Step 2/8 : FROM ${BASE} [2021-01-04T06:13:54.785Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-04T06:13:54.785Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T06:13:54.785Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T06:13:54.785Z] de9db76c5a1d: Pulling fs layer [2021-01-04T06:13:54.785Z] bca2f99d35d6: Pulling fs layer [2021-01-04T06:13:54.785Z] 93359f2a8cfa: Pulling fs layer [2021-01-04T06:13:54.785Z] 7c6f9722023f: Pulling fs layer [2021-01-04T06:13:54.785Z] a35cf1a2eb13: Pulling fs layer [2021-01-04T06:13:54.785Z] bca2f99d35d6: Waiting [2021-01-04T06:13:54.785Z] 93359f2a8cfa: Waiting [2021-01-04T06:13:54.785Z] 7c6f9722023f: Waiting [2021-01-04T06:13:54.785Z] a35cf1a2eb13: Waiting [2021-01-04T06:13:54.785Z] de9db76c5a1d: Download complete [2021-01-04T06:13:54.785Z] 0ef7d3d256c8: Verifying Checksum [2021-01-04T06:13:54.785Z] 0ef7d3d256c8: Download complete [2021-01-04T06:13:54.785Z] 93359f2a8cfa: Download complete [2021-01-04T06:13:54.785Z] 7c6f9722023f: Verifying Checksum [2021-01-04T06:13:54.785Z] 7c6f9722023f: Download complete [2021-01-04T06:13:54.785Z] 188c0c94c7c5: Verifying Checksum [2021-01-04T06:13:54.785Z] 188c0c94c7c5: Download complete [2021-01-04T06:13:55.059Z] 188c0c94c7c5: Pull complete [2021-01-04T06:13:55.328Z] 0ef7d3d256c8: Pull complete [2021-01-04T06:13:55.328Z] de9db76c5a1d: Pull complete [2021-01-04T06:13:57.283Z] a35cf1a2eb13: Verifying Checksum [2021-01-04T06:13:57.283Z] a35cf1a2eb13: Download complete [2021-01-04T06:13:57.559Z] bca2f99d35d6: Verifying Checksum [2021-01-04T06:13:57.559Z] bca2f99d35d6: Download complete [2021-01-04T06:14:04.273Z] bca2f99d35d6: Pull complete [2021-01-04T06:14:04.273Z] 93359f2a8cfa: Pull complete [2021-01-04T06:14:04.273Z] 7c6f9722023f: Pull complete [2021-01-04T06:14:07.059Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18103 in /w/workspace/gexfoundry_device-mqtt-go_PR-198 [Pipeline] { [Pipeline] ws [2021-01-04T06:14:07.147Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2021-01-04T06:14:08.542Z] a35cf1a2eb13: Pull complete [2021-01-04T06:14:08.543Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-04T06:14:08.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-04T06:14:08.807Z] ---> a62c8e92a672 [2021-01-04T06:14:08.807Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-04T06:14:09.073Z] ---> Running in 52d63f282a01 [2021-01-04T06:14:09.340Z] Removing intermediate container 52d63f282a01 [2021-01-04T06:14:09.340Z] ---> 54f955f8d670 [2021-01-04T06:14:09.340Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T06:14:09.340Z] ---> Running in a6a5d3a54979 [2021-01-04T06:14:10.751Z] Removing intermediate container a6a5d3a54979 [2021-01-04T06:14:10.751Z] ---> c5b6159c1d43 [2021-01-04T06:14:10.751Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-04T06:14:10.751Z] ---> Running in ca7a13c805e1 [2021-01-04T06:14:11.697Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T06:14:12.274Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T06:14:12.310Z] using credential edgex-jenkins-ssh [2021-01-04T06:14:12.366Z] Cloning the remote Git repository [2021-01-04T06:14:12.854Z] (1/14) Installing libmagic (5.38-r0) [2021-01-04T06:14:13.120Z] (2/14) Installing file (5.38-r0) [2021-01-04T06:14:13.384Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-04T06:14:13.384Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-04T06:14:12.431Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T06:14:12.542Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-01-04T06:14:12.622Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T06:14:12.623Z] > git --version # timeout=10 [2021-01-04T06:14:12.651Z] > git --version # 'git version 2.17.1' [2021-01-04T06:14:12.653Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:14:12.752Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:14:13.463Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T06:14:13.482Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:14:14.039Z] Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit 40b20c8d99b7dbc6d9649d8245369877cd13ba18 [2021-01-04T06:14:14.263Z] Merge succeeded, producing 40b20c8d99b7dbc6d9649d8245369877cd13ba18 [2021-01-04T06:14:14.264Z] Checking out Revision 40b20c8d99b7dbc6d9649d8245369877cd13ba18 (PR-198) [2021-01-04T06:14:13.512Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T06:14:13.551Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T06:14:13.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:14:13.566Z] > 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-04T06:14:14.067Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:14:14.082Z] > git checkout -f 40b20c8d99b7dbc6d9649d8245369877cd13ba18 # timeout=10 [2021-01-04T06:14:14.166Z] > git remote # timeout=10 [2021-01-04T06:14:14.198Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T06:14:14.213Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:14:14.227Z] > git merge fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 [2021-01-04T06:14:14.250Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T06:14:14.274Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:14:14.349Z] > git checkout -f 40b20c8d99b7dbc6d9649d8245369877cd13ba18 # timeout=10 [2021-01-04T06:14:18.836Z] Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [2021-01-04T06:14:18.904Z] > git --version # timeout=10 [2021-01-04T06:14:18.916Z] > git --version # 'git version 2.17.1' [2021-01-04T06:14:18.929Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T06:14:20.674Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:14:21.094Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:14:21.532Z] + true [2021-01-04T06:14:21.532Z] + sudo service docker restart [2021-01-04T06:14:23.432Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-04T06:14:23.432Z] (6/14) Installing patch (2.7.6-r6) [2021-01-04T06:14:23.432Z] (7/14) Installing build-base (0.5-r2) [2021-01-04T06:14:23.432Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-04T06:14:23.432Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-04T06:14:23.432Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-04T06:14:23.432Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-04T06:14:23.432Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-04T06:14:23.432Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-04T06:14:23.432Z] (14/14) Installing openssh (8.3_p1-r1) [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T06:14:23.675Z] provisioning config files... [2021-01-04T06:14:23.711Z] Executing busybox-1.31.1-r19.trigger [2021-01-04T06:14:23.711Z] OK: 237 MiB in 53 packages [2021-01-04T06:14:23.718Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7142699772779394050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:14:24.195Z] ---> docker-login.sh [2021-01-04T06:14:24.195Z] nexus3.edgexfoundry.org:10001 [2021-01-04T06:14:24.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:14:25.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:14:25.411Z] Configure a credential helper to remove this warning. See [2021-01-04T06:14:25.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:14:25.411Z] [2021-01-04T06:14:25.411Z] Login Succeeded [2021-01-04T06:14:25.411Z] nexus3.edgexfoundry.org:10002 [2021-01-04T06:14:25.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:14:25.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:14:25.970Z] Configure a credential helper to remove this warning. See [2021-01-04T06:14:25.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:14:25.970Z] [2021-01-04T06:14:25.970Z] Login Succeeded [2021-01-04T06:14:25.971Z] nexus3.edgexfoundry.org:10003 [2021-01-04T06:14:26.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:14:26.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:14:26.521Z] Configure a credential helper to remove this warning. See [2021-01-04T06:14:26.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:14:26.521Z] [2021-01-04T06:14:26.521Z] Login Succeeded [2021-01-04T06:14:26.521Z] nexus3.edgexfoundry.org:10004 [2021-01-04T06:14:26.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:14:27.044Z] Removing intermediate container ca7a13c805e1 [2021-01-04T06:14:27.044Z] ---> 311befa4a964 [2021-01-04T06:14:27.044Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-04T06:14:27.044Z] ---> Running in fed8d03c3ad5 [2021-01-04T06:14:27.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:14:27.082Z] Configure a credential helper to remove this warning. See [2021-01-04T06:14:27.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:14:27.082Z] [2021-01-04T06:14:27.082Z] Login Succeeded [2021-01-04T06:14:27.082Z] docker.io [2021-01-04T06:14:27.314Z] Removing intermediate container fed8d03c3ad5 [2021-01-04T06:14:27.314Z] ---> 97be000a4d5e [2021-01-04T06:14:27.314Z] Step 7/8 : COPY . . [2021-01-04T06:14:27.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:14:27.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:14:27.966Z] Configure a credential helper to remove this warning. See [2021-01-04T06:14:27.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:14:27.966Z] [2021-01-04T06:14:27.966Z] Login Succeeded [2021-01-04T06:14:27.966Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T06:14:28.082Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T06:14:28.656Z] ========================================================= [2021-01-04T06:14:28.656Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-04T06:14:28.656Z] ========================================================= [2021-01-04T06:14:28.721Z] ---> 8e3d5483fef2 [2021-01-04T06:14:28.721Z] Step 8/8 : RUN go mod download [2021-01-04T06:14:28.721Z] ---> Running in 2b3384e704ec [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:14:29.083Z] + 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-04T06:14:29.356Z] Sending build context to Docker daemon 484.9kB [2021-01-04T06:14:29.356Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-01-04T06:14:29.356Z] Step 2/8 : FROM ${BASE} [2021-01-04T06:14:29.632Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-04T06:14:29.632Z] 5f621e34cdf4: Pulling fs layer [2021-01-04T06:14:29.632Z] a4357932f1b6: Pulling fs layer [2021-01-04T06:14:29.632Z] 18c013af1878: Pulling fs layer [2021-01-04T06:14:29.632Z] 00ac8860ef70: Pulling fs layer [2021-01-04T06:14:29.632Z] 63d7cb157983: Pulling fs layer [2021-01-04T06:14:29.632Z] b116817d02f9: Pulling fs layer [2021-01-04T06:14:29.632Z] 745a02a5169b: Pulling fs layer [2021-01-04T06:14:29.632Z] 00ac8860ef70: Waiting [2021-01-04T06:14:29.632Z] 63d7cb157983: Waiting [2021-01-04T06:14:29.632Z] b116817d02f9: Waiting [2021-01-04T06:14:29.632Z] 745a02a5169b: Waiting [2021-01-04T06:14:29.632Z] 18c013af1878: Verifying Checksum [2021-01-04T06:14:29.632Z] 18c013af1878: Download complete [2021-01-04T06:14:29.632Z] a4357932f1b6: Verifying Checksum [2021-01-04T06:14:29.632Z] a4357932f1b6: Download complete [2021-01-04T06:14:29.632Z] 63d7cb157983: Verifying Checksum [2021-01-04T06:14:29.632Z] 63d7cb157983: Download complete [2021-01-04T06:14:29.632Z] 5f621e34cdf4: Verifying Checksum [2021-01-04T06:14:29.632Z] b116817d02f9: Verifying Checksum [2021-01-04T06:14:29.632Z] b116817d02f9: Download complete [2021-01-04T06:14:30.237Z] 5f621e34cdf4: Pull complete [2021-01-04T06:14:30.860Z] a4357932f1b6: Pull complete [2021-01-04T06:14:31.470Z] 18c013af1878: Pull complete [2021-01-04T06:14:31.761Z] 745a02a5169b: Verifying Checksum [2021-01-04T06:14:31.761Z] 745a02a5169b: Download complete [2021-01-04T06:14:33.212Z] 00ac8860ef70: Verifying Checksum [2021-01-04T06:14:33.212Z] 00ac8860ef70: Download complete [2021-01-04T06:14:42.588Z] 00ac8860ef70: Pull complete [2021-01-04T06:14:42.864Z] 63d7cb157983: Pull complete [2021-01-04T06:14:43.141Z] b116817d02f9: Pull complete [2021-01-04T06:14:46.519Z] 745a02a5169b: Pull complete [2021-01-04T06:14:46.519Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-04T06:14:46.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-04T06:14:46.519Z] ---> b7e6874047d6 [2021-01-04T06:14:46.519Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-04T06:14:49.924Z] ---> Running in 49cdd09fb6ac [2021-01-04T06:14:49.924Z] Removing intermediate container 49cdd09fb6ac [2021-01-04T06:14:49.924Z] ---> ebb303415387 [2021-01-04T06:14:49.924Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T06:14:49.924Z] ---> Running in 6f1c937c4465 [2021-01-04T06:14:50.761Z] Removing intermediate container 2b3384e704ec [2021-01-04T06:14:50.761Z] ---> 9e960ed9cb5a [2021-01-04T06:14:50.761Z] Successfully built 9e960ed9cb5a [2021-01-04T06:14:50.761Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:14:51.116Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T06:14:51.116Z] . [Pipeline] withDockerContainer [2021-01-04T06:14:51.262Z] prd-centos7-docker-4c-2g-18104 does not seem to be running inside a container [2021-01-04T06:14:51.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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-04T06:14:52.145Z] $ docker top 08a51ee2ff04fe974809dae7516cfdcb45ce184c89c9981061eb240bdbedf026 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:14:52.563Z] Removing intermediate container 6f1c937c4465 [2021-01-04T06:14:52.563Z] ---> bc9fd0a369ec [2021-01-04T06:14:52.563Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-04T06:14:52.563Z] ---> Running in 53c7d8c3b6da [2021-01-04T06:14:52.755Z] + go version [2021-01-04T06:14:52.756Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-04T06:14:52.785Z] $ docker stop --time=1 08a51ee2ff04fe974809dae7516cfdcb45ce184c89c9981061eb240bdbedf026 [2021-01-04T06:14:53.552Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T06:14:54.133Z] $ docker rm -f 08a51ee2ff04fe974809dae7516cfdcb45ce184c89c9981061eb240bdbedf026 [2021-01-04T06:14:54.147Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:14:55.124Z] (1/14) Installing libmagic (5.38-r0) [2021-01-04T06:14:55.183Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T06:14:55.183Z] . [Pipeline] withDockerContainer [2021-01-04T06:14:55.311Z] prd-centos7-docker-4c-2g-18104 does not seem to be running inside a container [2021-01-04T06:14:55.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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-04T06:14:55.395Z] (2/14) Installing file (5.38-r0) [2021-01-04T06:14:55.667Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-04T06:14:55.667Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-04T06:14:56.072Z] $ docker top e6ef7615b9fc20cd6b2ab5b82de7d549c5b292f0060c95af8919cc4d4e84aa73 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:14:56.639Z] + make test [2021-01-04T06:14:56.639Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T06:14:57.590Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-04T06:15:09.998Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-01-04T06:15:09.998Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 28.3% of statements [2021-01-04T06:15:09.998Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-01-04T06:15:10.266Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-04T06:15:12.865Z] gofmt -l . [2021-01-04T06:15:12.865Z] ["`gofmt -l .`" = ""] [2021-01-04T06:15:12.865Z] ./bin/test-attribution-txt.sh [2021-01-04T06:15:13.441Z] An attribution for github.com/gorilla/websocket is missing from in Attribution.txt, please add [2021-01-04T06:15:13.441Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-01-04T06:15:13.491Z] $ docker stop --time=1 e6ef7615b9fc20cd6b2ab5b82de7d549c5b292f0060c95af8919cc4d4e84aa73 [2021-01-04T06:15:14.000Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-04T06:15:14.000Z] (6/14) Installing patch (2.7.6-r6) [2021-01-04T06:15:14.000Z] (7/14) Installing build-base (0.5-r2) [2021-01-04T06:15:14.000Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-04T06:15:14.000Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-04T06:15:14.000Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-04T06:15:14.276Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-04T06:15:14.276Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-04T06:15:14.276Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-04T06:15:14.907Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-04T06:15:14.907Z] Executing busybox-1.31.1-r19.trigger [2021-01-04T06:15:15.185Z] OK: 221 MiB in 53 packages [2021-01-04T06:15:16.062Z] $ docker rm -f e6ef7615b9fc20cd6b2ab5b82de7d549c5b292f0060c95af8919cc4d4e84aa73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-04T06:15:18.758Z] Failed in branch amd64 [2021-01-04T06:15:19.518Z] Removing intermediate container 53c7d8c3b6da [2021-01-04T06:15:19.518Z] ---> cd091f7b739e [2021-01-04T06:15:19.518Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-04T06:15:19.518Z] ---> Running in 416b17881ac1 [2021-01-04T06:15:20.117Z] Removing intermediate container 416b17881ac1 [2021-01-04T06:15:20.117Z] ---> 30a0e2998683 [2021-01-04T06:15:20.117Z] Step 7/8 : COPY . . [2021-01-04T06:15:21.101Z] ---> 1f62d416ae2a [2021-01-04T06:15:21.101Z] Step 8/8 : RUN go mod download [2021-01-04T06:15:21.101Z] ---> Running in dae000b14062 [2021-01-04T06:15:47.953Z] Removing intermediate container dae000b14062 [2021-01-04T06:15:47.953Z] ---> ddc481a9c739 [2021-01-04T06:15:47.953Z] Successfully built ddc481a9c739 [2021-01-04T06:15:47.953Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:15:48.336Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T06:15:48.336Z] . [Pipeline] withDockerContainer [2021-01-04T06:15:48.656Z] prd-ubuntu18.04-docker-arm64-4c-16g-18103 does not seem to be running inside a container [2021-01-04T06:15:48.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 [2021-01-04T06:15:50.251Z] $ docker top f91a1b5c8614944f060235fad0a978e5cbf631f6f5905996ed545e42e621bd33 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:15:51.353Z] + go version [2021-01-04T06:15:51.353Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-04T06:15:51.392Z] $ docker stop --time=1 f91a1b5c8614944f060235fad0a978e5cbf631f6f5905996ed545e42e621bd33 [2021-01-04T06:15:53.274Z] $ docker rm -f f91a1b5c8614944f060235fad0a978e5cbf631f6f5905996ed545e42e621bd33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:15:54.467Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T06:15:54.467Z] . [Pipeline] withDockerContainer [2021-01-04T06:15:54.727Z] prd-ubuntu18.04-docker-arm64-4c-16g-18103 does not seem to be running inside a container [2021-01-04T06:15:54.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 [2021-01-04T06:15:56.200Z] $ docker top 282397183e19434e8cd90c1676bfe4552c8aadf0836f4fed03824b2bb81e55d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:15:57.295Z] + make test [2021-01-04T06:15:57.295Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T06:15:58.293Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-04T06:16:45.386Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-01-04T06:16:45.386Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.035s coverage: 28.3% of statements [2021-01-04T06:16:45.386Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-01-04T06:16:45.386Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-04T06:16:48.800Z] gofmt -l . [2021-01-04T06:16:48.800Z] ["`gofmt -l .`" = ""] [2021-01-04T06:16:48.800Z] ./bin/test-attribution-txt.sh [2021-01-04T06:16:49.784Z] An attribution for github.com/gorilla/websocket is missing from in Attribution.txt, please add [2021-01-04T06:16:49.784Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-01-04T06:16:49.838Z] $ docker stop --time=1 282397183e19434e8cd90c1676bfe4552c8aadf0836f4fed03824b2bb81e55d6 [2021-01-04T06:16:52.095Z] $ docker rm -f 282397183e19434e8cd90c1676bfe4552c8aadf0836f4fed03824b2bb81e55d6 [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-04T06:16:54.621Z] 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-04T06:16:59.024Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:16:59.635Z] ---> package-listing.sh [2021-01-04T06:16:59.635Z] ++ facter osfamily [2021-01-04T06:16:59.635Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-04T06:16:59.635Z] + OS_FAMILY=redhat [2021-01-04T06:16:59.635Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-198 [2021-01-04T06:16:59.635Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-04T06:16:59.635Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-04T06:16:59.635Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-04T06:16:59.635Z] + PACKAGES=/tmp/packages_start.txt [2021-01-04T06:16:59.635Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-198 ']' [2021-01-04T06:16:59.635Z] + PACKAGES=/tmp/packages_end.txt [2021-01-04T06:16:59.635Z] + case "${OS_FAMILY}" in [2021-01-04T06:16:59.635Z] + rpm -qa [2021-01-04T06:16:59.635Z] + sort [2021-01-04T06:17:04.949Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-04T06:17:04.949Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-04T06:17:04.949Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-04T06:17:04.949Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-198 ']' [2021-01-04T06:17:04.949Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-198/archives/ [2021-01-04T06:17:04.949Z] + 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-04T06:17:04.980Z] 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-04T06:17:05.289Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:17:05.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T06:17:05.633Z] [2021-01-04T06:17:05.633Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:17:06.030Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T06:17:06.030Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-04T06:17:06.030Z] df20fa9351a1: Pulling fs layer [2021-01-04T06:17:06.030Z] 36b3adc4ff6f: Pulling fs layer [2021-01-04T06:17:06.030Z] 8ad3a11d3b57: Pulling fs layer [2021-01-04T06:17:06.030Z] 46f8f816bc3b: Pulling fs layer [2021-01-04T06:17:06.030Z] 93b61091891f: Pulling fs layer [2021-01-04T06:17:06.030Z] 93b9cdb0e59b: Pulling fs layer [2021-01-04T06:17:06.030Z] 5e14af77c1be: Pulling fs layer [2021-01-04T06:17:06.030Z] 01666e4c0597: Pulling fs layer [2021-01-04T06:17:06.030Z] aa168da1d23b: Pulling fs layer [2021-01-04T06:17:06.030Z] 93b9cdb0e59b: Waiting [2021-01-04T06:17:06.030Z] 01666e4c0597: Waiting [2021-01-04T06:17:06.030Z] aa168da1d23b: Waiting [2021-01-04T06:17:06.030Z] 5e14af77c1be: Waiting [2021-01-04T06:17:06.030Z] 93b61091891f: Waiting [2021-01-04T06:17:06.030Z] 46f8f816bc3b: Waiting [2021-01-04T06:17:06.030Z] 36b3adc4ff6f: Verifying Checksum [2021-01-04T06:17:06.030Z] 36b3adc4ff6f: Download complete [2021-01-04T06:17:06.030Z] 46f8f816bc3b: Verifying Checksum [2021-01-04T06:17:06.030Z] 46f8f816bc3b: Download complete [2021-01-04T06:17:06.030Z] df20fa9351a1: Verifying Checksum [2021-01-04T06:17:06.303Z] 93b9cdb0e59b: Verifying Checksum [2021-01-04T06:17:06.303Z] 93b9cdb0e59b: Download complete [2021-01-04T06:17:06.303Z] 5e14af77c1be: Verifying Checksum [2021-01-04T06:17:06.303Z] 5e14af77c1be: Download complete [2021-01-04T06:17:06.303Z] 93b61091891f: Verifying Checksum [2021-01-04T06:17:06.303Z] 93b61091891f: Download complete [2021-01-04T06:17:06.303Z] 01666e4c0597: Verifying Checksum [2021-01-04T06:17:06.303Z] 01666e4c0597: Download complete [2021-01-04T06:17:06.571Z] 8ad3a11d3b57: Verifying Checksum [2021-01-04T06:17:06.571Z] 8ad3a11d3b57: Download complete [2021-01-04T06:17:06.571Z] df20fa9351a1: Pull complete [2021-01-04T06:17:06.838Z] 36b3adc4ff6f: Pull complete [2021-01-04T06:17:08.252Z] 8ad3a11d3b57: Pull complete [2021-01-04T06:17:08.252Z] 46f8f816bc3b: Pull complete [2021-01-04T06:17:08.519Z] aa168da1d23b: Verifying Checksum [2021-01-04T06:17:08.519Z] aa168da1d23b: Download complete [2021-01-04T06:17:08.519Z] 93b61091891f: Pull complete [2021-01-04T06:17:08.783Z] 93b9cdb0e59b: Pull complete [2021-01-04T06:17:08.783Z] 5e14af77c1be: Pull complete [2021-01-04T06:17:09.050Z] 01666e4c0597: Pull complete [2021-01-04T06:17:17.286Z] aa168da1d23b: Pull complete [2021-01-04T06:17:17.286Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-04T06:17:17.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T06:17:17.286Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-04T06:17:17.498Z] prd-centos7-docker-4c-2g-18101 does not seem to be running inside a container [2021-01-04T06:17:17.559Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-04T06:17:20.981Z] $ docker top e7dd86ecb4c535ce528c4883b6825df18ae7aa5c79970505b94e660650c60d92 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:17:21.564Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-04T06:17:22.067Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-04T06:17:22.432Z] + ls /var/log/sa-host [2021-01-04T06:17:22.432Z] + sadf -c /var/log/sa-host/sa04 [2021-01-04T06:17:22.432Z] file_magic: OK [2021-01-04T06:17:22.432Z] HZ: Using current value: 100 [2021-01-04T06:17:22.432Z] file_header: OK [2021-01-04T06:17:22.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-04T06:17:22.432Z] Statistics: [2021-01-04T06:17:22.432Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-04T06:17:22.432Z] File successfully converted to sysstat format version 12.2.1 [2021-01-04T06:17:22.432Z] + sadf -c /var/log/sa-host/sa23 [2021-01-04T06:17:22.432Z] file_magic: OK [2021-01-04T06:17:22.432Z] HZ: Using current value: 100 [2021-01-04T06:17:22.432Z] file_header: OK [2021-01-04T06:17:22.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-04T06:17:22.432Z] Statistics: [2021-01-04T06:17:22.432Z] Hnuu...uuuununununu... [2021-01-04T06:17:22.432Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-04T06:17:22.736Z] provisioning config files... [2021-01-04T06:17:22.758Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/config8600038085945901957tmp [Pipeline] { [Pipeline] echo [2021-01-04T06:17:22.899Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:17:23.235Z] ---> create-netrc.sh [Pipeline] } [2021-01-04T06:17:23.259Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-04T06:17:23.409Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:17:23.736Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-04T06:17:23.775Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:17:24.119Z] ---> sudo-logs.sh [2021-01-04T06:17:24.119Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-04T06:17:24.148Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:17:24.482Z] ---> job-cost.sh [2021-01-04T06:17:24.482Z] lf-activate-venv: SKIPPING [2021-01-04T06:17:24.482Z] INFO: No Stack... [2021-01-04T06:17:25.437Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-04T06:17:26.011Z] INFO: Archiving Costs [Pipeline] echo [2021-01-04T06:17:26.056Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:17:26.387Z] ---> logs-deploy.sh [2021-01-04T06:17:26.387Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-198/1 [2021-01-04T06:17:26.387Z] INFO: archiving workspace using pattern(s): [2021-01-04T06:17:28.311Z] Archives upload complete. [2021-01-04T06:17:28.311Z] INFO: archiving logs to Nexus