Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 07355228612828934d7917b8177258c9093cd58a+7a1b18f551239dfc150e88617034cadc3790dddc (128c751b63634bfb528d08c3b99d727841d92d0e) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-18330 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [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-179 # 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/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit 07355228612828934d7917b8177258c9093cd58a Merge succeeded, producing 5d85dca9b400226a05ffbfd955efd05e21e58a56 Checking out Revision 5d85dca9b400226a05ffbfd955efd05e21e58a56 (PR-179) > git config core.sparsecheckout # timeout=10 > git checkout -f 07355228612828934d7917b8177258c9093cd58a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d85dca9b400226a05ffbfd955efd05e21e58a56 # timeout=10 Commit message: "Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:19:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:19:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk f7ab47e5364e83bc313ef5f4d7b01f84b301d32e # timeout=10 [Pipeline] echo 23:19:13 ========================================================= 23:19:13 EdgeX Global Pipelines Version Info 23:19:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:19:15 ------------------- 23:19:15 stable info: 23:19:15 ------------------- 23:19:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:19:15 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 23:19:15 Message: update stable to v1.0.173 23:19:16 ------------------- 23:19:16 experimental info: 23:19:16 ------------------- 23:19:16 Commited By: **** collab-it+edgex@linuxfoundation.org 23:19:16 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 23:19:16 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:19:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:19:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:19:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:19:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:19:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:19:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:19:17 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:19:17 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:19:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:19:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:19:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:19:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 23:19:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:19:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:19:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:19:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:19:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:19:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:19:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:19:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 23:19:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:19:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:19:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:19:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:19:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:19:19 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 23:19:19 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 23:19:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-179 [Pipeline] echo 23:19:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-179 [Pipeline] echo 23:19:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-179 [Pipeline] echo 23:19:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d85dca9b400226a05ffbfd955efd05e21e58a56 [Pipeline] echo 23:19:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d85dca [Pipeline] echo 23:19:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:19:20 provisioning config files... 23:19:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/config695397450017511790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:19:20 ---> docker-login.sh 23:19:20 nexus3.edgexfoundry.org:10001 23:19:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:20 Configure a credential helper to remove this warning. See 23:19:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:20 23:19:20 Login Succeeded 23:19:20 nexus3.edgexfoundry.org:10002 23:19:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:21 Configure a credential helper to remove this warning. See 23:19:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:21 23:19:21 Login Succeeded 23:19:21 nexus3.edgexfoundry.org:10003 23:19:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:21 Configure a credential helper to remove this warning. See 23:19:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:21 23:19:21 Login Succeeded 23:19:21 nexus3.edgexfoundry.org:10004 23:19:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:21 Configure a credential helper to remove this warning. See 23:19:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:21 23:19:21 Login Succeeded 23:19:21 docker.io 23:19:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:21 Configure a credential helper to remove this warning. See 23:19:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:21 23:19:21 Login Succeeded 23:19:21 ---> docker-login.sh ends [Pipeline] } 23:19:21 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 23:19:22 + git log --format=format:%s -1 5d85dca9b400226a05ffbfd955efd05e21e58a56 [Pipeline] echo 23:19:22 GIT_COMMIT: 5d85dca9b400226a05ffbfd955efd05e21e58a56, Commit Message: Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD [Pipeline] echo 23:19:22 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:19:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:19:23 23:19:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:19:23 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:19:23 latest: Pulling from edgex-devops/git-semver 23:19:23 31603596830f: Pulling fs layer 23:19:23 2a8b12db71e7: Pulling fs layer 23:19:23 6ca5941a6612: Pulling fs layer 23:19:23 ecc8261a40a4: Pulling fs layer 23:19:23 ecc8261a40a4: Waiting 23:19:23 2a8b12db71e7: Verifying Checksum 23:19:23 2a8b12db71e7: Download complete 23:19:23 31603596830f: Download complete 23:19:24 ecc8261a40a4: Verifying Checksum 23:19:24 ecc8261a40a4: Download complete 23:19:24 6ca5941a6612: Verifying Checksum 23:19:24 6ca5941a6612: Download complete 23:19:24 31603596830f: Pull complete 23:19:24 2a8b12db71e7: Pull complete 23:19:25 6ca5941a6612: Pull complete 23:19:25 ecc8261a40a4: Pull complete 23:19:25 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:19:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:19:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:19:25 prd-centos7-docker-4c-2g-18330 does not seem to be running inside a container 23:19:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-179 -v /w/workspace/gexfoundry_device-mqtt-go_PR-179:/w/workspace/gexfoundry_device-mqtt-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:19:27 $ docker top 23feb40d4e24447676d316ea18ed23006f0e3396f667c589e7e659e952a54212 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:19:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:19:27 [ssh-agent] Looking for ssh-agent implementation... 23:19:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:19:27 $ docker exec 23feb40d4e24447676d316ea18ed23006f0e3396f667c589e7e659e952a54212 ssh-agent 23:19:28 SSH_AUTH_SOCK=/tmp/ssh-IMSVNUbG4Thn/agent.12 23:19:28 SSH_AGENT_PID=17 23:19:28 Running ssh-add (command line suppressed) 23:19:28 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_5284933926300677320.key (/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_5284933926300677320.key) 23:19:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:19:28 + git tag --points-at HEAD [Pipeline] } 23:19:28 $ docker exec --env ******** --env ******** 23feb40d4e24447676d316ea18ed23006f0e3396f667c589e7e659e952a54212 ssh-agent -k 23:19:28 unset SSH_AUTH_SOCK; 23:19:28 unset SSH_AGENT_PID; 23:19:28 echo Agent pid 17 killed; 23:19:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:19:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:19:29 [ssh-agent] Looking for ssh-agent implementation... 23:19:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:19:29 $ docker exec 23feb40d4e24447676d316ea18ed23006f0e3396f667c589e7e659e952a54212 ssh-agent 23:19:29 SSH_AUTH_SOCK=/tmp/ssh-Rqq2jJh9u5ZD/agent.46 23:19:29 SSH_AGENT_PID=52 23:19:29 Running ssh-add (command line suppressed) 23:19:29 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_6352726294049219920.key (/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_6352726294049219920.key) 23:19:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:19:29 + git semver init 23:19:29 # -> Open(): unable to determine branch for HEAD 23:19:29 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-179/.git 23:19:29 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-179 23:19:29 # $SEMVER_REMOTE_NAME = origin 23:19:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:19:29 # $SEMVER_USER_NAME = edgex-jenkins 23:19:29 # $SEMVER_BRANCH = PR-179 23:19:30 # $SEMVER_TEMP = /tmp/semver-439106007 23:19:30 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 23:19:30 # '/tmp/semver-439106007' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-179/.semver' 23:19:30 # -> Force: false 23:19:30 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-179/.semver [Pipeline] } 23:19:30 $ docker exec --env ******** --env ******** 23feb40d4e24447676d316ea18ed23006f0e3396f667c589e7e659e952a54212 ssh-agent -k 23:19:30 unset SSH_AUTH_SOCK; 23:19:30 unset SSH_AGENT_PID; 23:19:30 echo Agent pid 52 killed; 23:19:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:19:31 + git semver [Pipeline] } 23:19:31 $ docker stop --time=1 23feb40d4e24447676d316ea18ed23006f0e3396f667c589e7e659e952a54212 23:19:32 $ docker rm -f 23feb40d4e24447676d316ea18ed23006f0e3396f667c589e7e659e952a54212 [Pipeline] // withDockerContainer [Pipeline] sh 23:19:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:19:33 Stashed 1 file(s) [Pipeline] echo 23:19:33 [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 23:19:48 Still waiting to schedule task 23:19:48 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18321’ is offline; ‘prd-centos7-docker-4c-2g-18322’ is offline; ‘prd-centos7-docker-4c-2g-18333’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18313’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18316’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18326’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18331’ doesn’t have label ‘centos7-docker-4c-2g’ 23:19:48 Still waiting to schedule task 23:19:48 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 23:20:52 Running on prd-centos7-docker-4c-2g-18336 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [Pipeline] { [Pipeline] ws 23:20:52 Running in /w/workspace/device-mqtt-go/9 [Pipeline] { [Pipeline] checkout 23:20:55 using credential edgex-jenkins-ssh 23:20:55 Cloning the remote Git repository 23:20:55 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:20:55 > git init /w/workspace/device-mqtt-go/9 # timeout=10 23:20:55 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:20:55 > git --version # timeout=10 23:20:55 > git --version # 'git version 2.24.3' 23:20:55 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:56 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:20:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:56 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:20:56 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:20:56 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:20:56 Merging remotes/origin/master commit 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit 07355228612828934d7917b8177258c9093cd58a 23:20:56 Merge succeeded, producing 875297dd50ab68ad7c7ebf0e5935534a6d067646 23:20:56 Checking out Revision 875297dd50ab68ad7c7ebf0e5935534a6d067646 (PR-179) 23:20:56 > git config core.sparsecheckout # timeout=10 23:20:56 > git checkout -f 07355228612828934d7917b8177258c9093cd58a # timeout=10 23:20:56 > git remote # timeout=10 23:20:56 > git config --get remote.origin.url # timeout=10 23:20:56 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:56 > git merge 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 23:20:56 > git rev-parse HEAD^{commit} # timeout=10 23:20:56 > git config core.sparsecheckout # timeout=10 23:20:56 > git checkout -f 875297dd50ab68ad7c7ebf0e5935534a6d067646 # timeout=10 23:21:00 Commit message: "Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD" 23:21:00 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:21:00 > git rev-list --no-walk f7ab47e5364e83bc313ef5f4d7b01f84b301d32e # timeout=10 23:21:01 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 23:21:01 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:21:02 + sudo service docker restart 23:21:02 + true 23:21:02 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:21:03 provisioning config files... 23:21:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/9@tmp/config6406234644251558134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:03 ---> docker-login.sh 23:21:03 nexus3.edgexfoundry.org:10001 23:21:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:03 Configure a credential helper to remove this warning. See 23:21:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:03 23:21:03 Login Succeeded 23:21:03 nexus3.edgexfoundry.org:10002 23:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:04 Configure a credential helper to remove this warning. See 23:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:04 23:21:04 Login Succeeded 23:21:04 nexus3.edgexfoundry.org:10003 23:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:04 Configure a credential helper to remove this warning. See 23:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:04 23:21:04 Login Succeeded 23:21:04 nexus3.edgexfoundry.org:10004 23:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:04 Configure a credential helper to remove this warning. See 23:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:04 23:21:04 Login Succeeded 23:21:04 docker.io 23:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:05 Configure a credential helper to remove this warning. See 23:21:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:05 23:21:05 Login Succeeded 23:21:05 ---> docker-login.sh ends [Pipeline] } 23:21:05 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:21:05 ========================================================= 23:21:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 23:21:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:21:05 + 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 . 23:21:05 Sending build context to Docker daemon 494.6kB 23:21:06 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:21:06 Step 2/8 : FROM ${BASE} 23:21:06 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 23:21:06 188c0c94c7c5: Pulling fs layer 23:21:06 0ef7d3d256c8: Pulling fs layer 23:21:06 de9db76c5a1d: Pulling fs layer 23:21:06 bca2f99d35d6: Pulling fs layer 23:21:06 93359f2a8cfa: Pulling fs layer 23:21:06 7c6f9722023f: Pulling fs layer 23:21:06 a35cf1a2eb13: Pulling fs layer 23:21:06 7c6f9722023f: Waiting 23:21:06 bca2f99d35d6: Waiting 23:21:06 93359f2a8cfa: Waiting 23:21:06 a35cf1a2eb13: Waiting 23:21:06 de9db76c5a1d: Verifying Checksum 23:21:06 de9db76c5a1d: Download complete 23:21:06 0ef7d3d256c8: Verifying Checksum 23:21:06 0ef7d3d256c8: Download complete 23:21:06 188c0c94c7c5: Verifying Checksum 23:21:06 188c0c94c7c5: Download complete 23:21:06 93359f2a8cfa: Download complete 23:21:06 7c6f9722023f: Verifying Checksum 23:21:06 7c6f9722023f: Download complete 23:21:06 188c0c94c7c5: Pull complete 23:21:06 0ef7d3d256c8: Pull complete 23:21:06 de9db76c5a1d: Pull complete 23:21:08 a35cf1a2eb13: Verifying Checksum 23:21:08 a35cf1a2eb13: Download complete 23:21:08 bca2f99d35d6: Verifying Checksum 23:21:08 bca2f99d35d6: Download complete 23:21:13 bca2f99d35d6: Pull complete 23:21:13 93359f2a8cfa: Pull complete 23:21:14 7c6f9722023f: Pull complete 23:21:19 a35cf1a2eb13: Pull complete 23:21:19 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 23:21:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 23:21:19 ---> a62c8e92a672 23:21:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 23:21:19 ---> Running in a0d4a6e4515b 23:21:19 Removing intermediate container a0d4a6e4515b 23:21:19 ---> 09b6195cc4cb 23:21:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:21:19 ---> Running in 610ebb20a4aa 23:21:20 Removing intermediate container 610ebb20a4aa 23:21:20 ---> f3f0ae5cfae0 23:21:20 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 23:21:20 ---> Running in 6f42c1629108 23:21:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:21:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:21:23 (1/14) Installing libmagic (5.38-r0) 23:21:23 (2/14) Installing file (5.38-r0) 23:21:23 (3/14) Installing libc-dev (0.7.2-r3) 23:21:23 (4/14) Installing g++ (9.3.0-r2) 23:21:29 (5/14) Installing fortify-headers (1.1-r0) 23:21:29 (6/14) Installing patch (2.7.6-r6) 23:21:29 (7/14) Installing build-base (0.5-r2) 23:21:29 (8/14) Installing openssh-keygen (8.3_p1-r1) 23:21:29 (9/14) Installing libedit (20191231.3.1-r0) 23:21:29 (10/14) Installing openssh-client (8.3_p1-r1) 23:21:29 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 23:21:29 (12/14) Installing openssh-server-common (8.3_p1-r1) 23:21:29 (13/14) Installing openssh-server (8.3_p1-r1) 23:21:29 (14/14) Installing openssh (8.3_p1-r1) 23:21:29 Executing busybox-1.31.1-r19.trigger 23:21:29 OK: 237 MiB in 53 packages 23:21:32 Removing intermediate container 6f42c1629108 23:21:32 ---> 38d76e94975a 23:21:32 Step 6/8 : WORKDIR /device-mqtt-go 23:21:32 ---> Running in cf9aac0d4691 23:21:32 Removing intermediate container cf9aac0d4691 23:21:32 ---> 686730ea9877 23:21:32 Step 7/8 : COPY . . 23:21:33 ---> 58b9a310fa2a 23:21:33 Step 8/8 : RUN go mod download 23:21:33 ---> Running in 04b2752e28d8 23:21:55 Removing intermediate container 04b2752e28d8 23:21:55 ---> d159b14d1982 23:21:55 Successfully built d159b14d1982 23:21:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:21:56 + docker inspect -f . ci-base-image-x86_64 23:21:56 . [Pipeline] withDockerContainer 23:21:56 prd-centos7-docker-4c-2g-18336 does not seem to be running inside a container 23:21:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@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 23:21:57 $ docker top 686aafedd7d004630d02bb9e87a1982d1902fc885463e4ff81a8bf83e8ea7910 -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:57 + go version 23:21:57 go version go1.15.5 linux/amd64 [Pipeline] } 23:21:57 $ docker stop --time=1 686aafedd7d004630d02bb9e87a1982d1902fc885463e4ff81a8bf83e8ea7910 23:21:59 $ docker rm -f 686aafedd7d004630d02bb9e87a1982d1902fc885463e4ff81a8bf83e8ea7910 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:21:59 + docker inspect -f . ci-base-image-x86_64 23:21:59 . [Pipeline] withDockerContainer 23:22:00 prd-centos7-docker-4c-2g-18336 does not seem to be running inside a container 23:22:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@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 23:22:00 $ docker top 5d408e583807b3d08e2becd256f3ba3dd28b8aa0e07ea35a020cdd810a86a783 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:01 + make test 23:22:01 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:22:02 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:22:15 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:22:15 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 28.3% of statements 23:22:15 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:22:15 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:22:17 gofmt -l . 23:22:17 ["`gofmt -l .`" = ""] 23:22:17 ./bin/test-attribution-txt.sh 23:22:18 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 23:22:18 make: *** [Makefile:29: test] Error 1 [Pipeline] } 23:22:18 $ docker stop --time=1 5d408e583807b3d08e2becd256f3ba3dd28b8aa0e07ea35a020cdd810a86a783 23:22:20 $ docker rm -f 5d408e583807b3d08e2becd256f3ba3dd28b8aa0e07ea35a020cdd810a86a783 [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] } 23:22:22 Failed in branch amd64 23:22:22 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18339 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [Pipeline] { [Pipeline] ws 23:22:22 Running in /w/workspace/device-mqtt-go/9 [Pipeline] { [Pipeline] checkout 23:22:27 using credential edgex-jenkins-ssh 23:22:27 Cloning the remote Git repository 23:22:27 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:22:28 > git init /w/workspace/device-mqtt-go/9 # timeout=10 23:22:28 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:22:28 > git --version # timeout=10 23:22:28 > git --version # 'git version 2.17.1' 23:22:28 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:22:29 Merging remotes/origin/master commit 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit 07355228612828934d7917b8177258c9093cd58a 23:22:29 Merge succeeded, producing 49fcca916efb9b660bacb747e46ca96f89092872 23:22:29 Checking out Revision 49fcca916efb9b660bacb747e46ca96f89092872 (PR-179) 23:22:29 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:22:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:22:29 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:22:29 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:22:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:22:29 > git config core.sparsecheckout # timeout=10 23:22:29 > git checkout -f 07355228612828934d7917b8177258c9093cd58a # timeout=10 23:22:29 > git remote # timeout=10 23:22:29 > git config --get remote.origin.url # timeout=10 23:22:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:29 > git merge 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 23:22:29 > git rev-parse HEAD^{commit} # timeout=10 23:22:29 > git config core.sparsecheckout # timeout=10 23:22:30 > git checkout -f 49fcca916efb9b660bacb747e46ca96f89092872 # timeout=10 23:22:34 Commit message: "Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD" 23:22:34 First time build. Skipping changelog. 23:22:34 > git rev-list --no-walk f7ab47e5364e83bc313ef5f4d7b01f84b301d32e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:22:35 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 23:22:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:22:36 + sudo service docker restart 23:22:36 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:22:38 provisioning config files... 23:22:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/9@tmp/config1408520264403754243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:22:39 ---> docker-login.sh 23:22:39 nexus3.edgexfoundry.org:10001 23:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:40 Configure a credential helper to remove this warning. See 23:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:40 23:22:40 Login Succeeded 23:22:40 nexus3.edgexfoundry.org:10002 23:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:40 Configure a credential helper to remove this warning. See 23:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:40 23:22:40 Login Succeeded 23:22:40 nexus3.edgexfoundry.org:10003 23:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:41 Configure a credential helper to remove this warning. See 23:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:41 23:22:41 Login Succeeded 23:22:41 nexus3.edgexfoundry.org:10004 23:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:41 Configure a credential helper to remove this warning. See 23:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:41 23:22:41 Login Succeeded 23:22:41 docker.io 23:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:42 Configure a credential helper to remove this warning. See 23:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:42 23:22:42 Login Succeeded 23:22:42 ---> docker-login.sh ends [Pipeline] } 23:22:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:22:43 ========================================================= 23:22:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 23:22:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:22:43 + 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 . 23:22:44 Sending build context to Docker daemon 493.6kB 23:22:44 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:22:44 Step 2/8 : FROM ${BASE} 23:22:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:22:44 5f621e34cdf4: Pulling fs layer 23:22:44 a4357932f1b6: Pulling fs layer 23:22:44 18c013af1878: Pulling fs layer 23:22:44 00ac8860ef70: Pulling fs layer 23:22:44 63d7cb157983: Pulling fs layer 23:22:44 b116817d02f9: Pulling fs layer 23:22:44 745a02a5169b: Pulling fs layer 23:22:44 63d7cb157983: Waiting 23:22:44 b116817d02f9: Waiting 23:22:44 00ac8860ef70: Waiting 23:22:44 745a02a5169b: Waiting 23:22:44 18c013af1878: Verifying Checksum 23:22:44 18c013af1878: Download complete 23:22:44 a4357932f1b6: Verifying Checksum 23:22:44 a4357932f1b6: Download complete 23:22:44 63d7cb157983: Verifying Checksum 23:22:44 63d7cb157983: Download complete 23:22:44 b116817d02f9: Verifying Checksum 23:22:44 b116817d02f9: Download complete 23:22:44 5f621e34cdf4: Verifying Checksum 23:22:44 5f621e34cdf4: Download complete 23:22:45 5f621e34cdf4: Pull complete 23:22:45 a4357932f1b6: Pull complete 23:22:46 18c013af1878: Pull complete 23:22:46 745a02a5169b: Verifying Checksum 23:22:46 745a02a5169b: Download complete 23:22:47 00ac8860ef70: Verifying Checksum 23:22:47 00ac8860ef70: Download complete 23:22:57 00ac8860ef70: Pull complete 23:22:58 63d7cb157983: Pull complete 23:22:58 b116817d02f9: Pull complete 23:23:03 745a02a5169b: Pull complete 23:23:03 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 23:23:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 23:23:03 ---> b7e6874047d6 23:23:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 23:23:05 ---> Running in a738dc668a15 23:23:06 Removing intermediate container a738dc668a15 23:23:06 ---> ef357d7bdcc1 23:23:06 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:23:06 ---> Running in 081ab86fe49c 23:23:08 Removing intermediate container 081ab86fe49c 23:23:08 ---> 0a64e8680c50 23:23:08 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 23:23:08 ---> Running in 70d9ae160500 23:23:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:23:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:23:10 (1/14) Installing libmagic (5.38-r0) 23:23:11 (2/14) Installing file (5.38-r0) 23:23:11 (3/14) Installing libc-dev (0.7.2-r3) 23:23:11 (4/14) Installing g++ (9.3.0-r2) 23:23:15 (5/14) Installing fortify-headers (1.1-r0) 23:23:15 (6/14) Installing patch (2.7.6-r6) 23:23:15 (7/14) Installing build-base (0.5-r2) 23:23:15 (8/14) Installing openssh-keygen (8.3_p1-r1) 23:23:15 (9/14) Installing libedit (20191231.3.1-r0) 23:23:15 (10/14) Installing openssh-client (8.3_p1-r1) 23:23:15 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 23:23:15 (12/14) Installing openssh-server-common (8.3_p1-r1) 23:23:15 (13/14) Installing openssh-server (8.3_p1-r1) 23:23:15 (14/14) Installing openssh (8.3_p1-r1) 23:23:15 Executing busybox-1.31.1-r19.trigger 23:23:15 OK: 221 MiB in 53 packages 23:23:19 Removing intermediate container 70d9ae160500 23:23:19 ---> aa9439018a0e 23:23:19 Step 6/8 : WORKDIR /device-mqtt-go 23:23:19 ---> Running in 879f8bf5a6b0 23:23:20 Removing intermediate container 879f8bf5a6b0 23:23:20 ---> 44351470cfd7 23:23:20 Step 7/8 : COPY . . 23:23:21 ---> 41b516c89abe 23:23:21 Step 8/8 : RUN go mod download 23:23:21 ---> Running in adba228e7fb6 23:23:48 Removing intermediate container adba228e7fb6 23:23:48 ---> e3f4d65075f9 23:23:48 Successfully built e3f4d65075f9 23:23:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:23:48 + docker inspect -f . ci-base-image-arm64 23:23:48 . [Pipeline] withDockerContainer 23:23:48 prd-ubuntu18.04-docker-arm64-4c-16g-18339 does not seem to be running inside a container 23:23:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:23:50 $ docker top 148486cd55eeb60da5f29f6da3762b23e5c488c942343d97388e66fc1d3cb1cc -eo pid,comm [Pipeline] { [Pipeline] sh 23:23:51 + go version 23:23:51 go version go1.15.5 linux/arm64 [Pipeline] } 23:23:51 $ docker stop --time=1 148486cd55eeb60da5f29f6da3762b23e5c488c942343d97388e66fc1d3cb1cc 23:23:53 $ docker rm -f 148486cd55eeb60da5f29f6da3762b23e5c488c942343d97388e66fc1d3cb1cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:23:54 + docker inspect -f . ci-base-image-arm64 23:23:54 . [Pipeline] withDockerContainer 23:23:54 prd-ubuntu18.04-docker-arm64-4c-16g-18339 does not seem to be running inside a container 23:23:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:23:56 $ docker top 210ca6c386433aae0747ecbafde277a3672a4f14a2fa9600f767a40fe83bb615 -eo pid,comm [Pipeline] { [Pipeline] sh 23:23:57 + make test 23:23:57 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:23:58 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:24:37 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:24:37 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.036s coverage: 28.3% of statements 23:24:37 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:24:37 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:24:45 gofmt -l . 23:24:45 ["`gofmt -l .`" = ""] 23:24:45 ./bin/test-attribution-txt.sh 23:24:46 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 23:24:46 make: *** [Makefile:29: test] Error 1 [Pipeline] } 23:24:46 $ docker stop --time=1 210ca6c386433aae0747ecbafde277a3672a4f14a2fa9600f767a40fe83bb615 23:24:48 $ docker rm -f 210ca6c386433aae0747ecbafde277a3672a4f14a2fa9600f767a40fe83bb615 [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] } 23:24:50 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 23:24:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:24:54 ---> package-listing.sh 23:24:54 ++ tr '[:upper:]' '[:lower:]' 23:24:54 ++ facter osfamily 23:24:54 + OS_FAMILY=redhat 23:24:54 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-179 23:24:54 + START_PACKAGES=/tmp/packages_start.txt 23:24:54 + END_PACKAGES=/tmp/packages_end.txt 23:24:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:24:54 + PACKAGES=/tmp/packages_start.txt 23:24:54 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-179 ']' 23:24:54 + PACKAGES=/tmp/packages_end.txt 23:24:54 + case "${OS_FAMILY}" in 23:24:54 + rpm -qa 23:24:54 + sort 23:24:58 + '[' -f /tmp/packages_start.txt ']' 23:24:58 + '[' -f /tmp/packages_end.txt ']' 23:24:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:24:58 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-179 ']' 23:24:58 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-179/archives/ 23:24:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-179/archives/ [Pipeline] echo 23:24:58 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-179/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:24:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:24:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:24:59 23:24:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:24:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:24:59 alpine: Pulling from edgex-lftools-log-publisher 23:24:59 df20fa9351a1: Pulling fs layer 23:24:59 36b3adc4ff6f: Pulling fs layer 23:24:59 8ad3a11d3b57: Pulling fs layer 23:24:59 46f8f816bc3b: Pulling fs layer 23:24:59 93b61091891f: Pulling fs layer 23:24:59 93b9cdb0e59b: Pulling fs layer 23:24:59 5e14af77c1be: Pulling fs layer 23:24:59 01666e4c0597: Pulling fs layer 23:24:59 aa168da1d23b: Pulling fs layer 23:24:59 46f8f816bc3b: Waiting 23:24:59 93b61091891f: Waiting 23:24:59 93b9cdb0e59b: Waiting 23:24:59 5e14af77c1be: Waiting 23:24:59 01666e4c0597: Waiting 23:24:59 aa168da1d23b: Waiting 23:24:59 36b3adc4ff6f: Verifying Checksum 23:24:59 36b3adc4ff6f: Download complete 23:24:59 46f8f816bc3b: Verifying Checksum 23:24:59 46f8f816bc3b: Download complete 23:24:59 df20fa9351a1: Verifying Checksum 23:24:59 df20fa9351a1: Download complete 23:24:59 93b9cdb0e59b: Verifying Checksum 23:24:59 93b9cdb0e59b: Download complete 23:24:59 5e14af77c1be: Verifying Checksum 23:24:59 5e14af77c1be: Download complete 23:24:59 93b61091891f: Verifying Checksum 23:24:59 93b61091891f: Download complete 23:24:59 01666e4c0597: Verifying Checksum 23:24:59 01666e4c0597: Download complete 23:25:00 df20fa9351a1: Pull complete 23:25:00 36b3adc4ff6f: Pull complete 23:25:00 8ad3a11d3b57: Download complete 23:25:00 8ad3a11d3b57: Pull complete 23:25:01 46f8f816bc3b: Pull complete 23:25:01 93b61091891f: Pull complete 23:25:02 aa168da1d23b: Verifying Checksum 23:25:02 aa168da1d23b: Download complete 23:25:02 93b9cdb0e59b: Pull complete 23:25:02 5e14af77c1be: Pull complete 23:25:02 01666e4c0597: Pull complete 23:25:09 aa168da1d23b: Pull complete 23:25:09 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:25:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:25:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:25:09 prd-centos7-docker-4c-2g-18330 does not seem to be running inside a container 23:25:09 $ 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-179/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-179 -v /w/workspace/gexfoundry_device-mqtt-go_PR-179:/w/workspace/gexfoundry_device-mqtt-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:25:13 $ docker top a01c6421dd012e28571b4ec6965abd7abfba3abc243fe95bfa74cbd07c901f00 -eo pid,comm [Pipeline] { [Pipeline] sh 23:25:13 + touch /tmp/pre-build-complete [Pipeline] sh 23:25:14 + mkdir -p /var/log/sa [Pipeline] sh 23:25:14 + ls /var/log/sa-host 23:25:14 + sadf -c /var/log/sa-host/sa04 23:25:14 file_magic: OK 23:25:14 HZ: Using current value: 100 23:25:14 file_header: OK 23:25:14 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 23:25:14 Statistics: 23:25:14 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:25:14 File successfully converted to sysstat format version 12.2.1 23:25:14 + sadf -c /var/log/sa-host/sa23 23:25:14 file_magic: OK 23:25:14 HZ: Using current value: 100 23:25:14 file_header: OK 23:25:14 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 23:25:14 Statistics: 23:25:14 Hnuu...uuuununununu... 23:25:14 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:25:14 provisioning config files... 23:25:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/config2626298946437350595tmp [Pipeline] { [Pipeline] echo 23:25:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:25:15 ---> create-netrc.sh [Pipeline] } 23:25:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:25:15 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:25:15 ---> python-tools-install.sh [Pipeline] echo 23:25:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:25:15 ---> sudo-logs.sh 23:25:15 Archiving 'sudo' log.. [Pipeline] echo 23:25:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:25:16 ---> job-cost.sh 23:25:16 lf-activate-venv: SKIPPING 23:25:16 INFO: No Stack... 23:25:17 INFO: Retrieving Pricing Info for: v1-standard-2 23:25:17 INFO: Archiving Costs [Pipeline] echo 23:25:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:25:17 ---> logs-deploy.sh 23:25:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-179/9 23:25:17 INFO: archiving workspace using pattern(s): 23:25:19 Archives upload complete. 23:25:19 INFO: archiving logs to Nexus 23:25:20 ---> uname -a: 23:25:20 Linux prd-centos7-docker-4c-2g-18330.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 23:25:20 23:25:20 23:25:20 ---> lscpu: 23:25:20 Architecture: x86_64 23:25:20 CPU op-mode(s): 32-bit, 64-bit 23:25:20 Byte Order: Little Endian 23:25:20 Address sizes: 40 bits physical, 48 bits virtual 23:25:20 CPU(s): 4 23:25:20 On-line CPU(s) list: 0-3 23:25:20 Thread(s) per core: 1 23:25:20 Core(s) per socket: 1 23:25:20 Socket(s): 4 23:25:20 NUMA node(s): 1 23:25:20 Vendor ID: GenuineIntel 23:25:20 CPU family: 6 23:25:20 Model: 44 23:25:20 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 23:25:20 Stepping: 1 23:25:20 CPU MHz: 2933.438 23:25:20 BogoMIPS: 5866.87 23:25:20 Virtualization: VT-x 23:25:20 Hypervisor vendor: KVM 23:25:20 Virtualization type: full 23:25:20 L1d cache: 128 KiB 23:25:20 L1i cache: 128 KiB 23:25:20 L2 cache: 16 MiB 23:25:20 L3 cache: 64 MiB 23:25:20 NUMA node0 CPU(s): 0-3 23:25:20 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 23:25:20 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 23:25:20 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 23:25:20 Vulnerability Meltdown: Mitigation; PTI 23:25:20 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:25:20 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 23:25:20 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 23:25:20 Vulnerability Srbds: Not affected 23:25:20 Vulnerability Tsx async abort: Not affected 23:25:20 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 23:25:20 23:25:20 23:25:20 ---> nproc: 23:25:20 4 23:25:20 23:25:20 23:25:20 ---> df -h: 23:25:20 Filesystem Size Used Available Use% Mounted on 23:25:20 overlay 50.0G 7.3G 42.7G 15% / 23:25:20 tmpfs 64.0M 0 64.0M 0% /dev 23:25:20 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 23:25:20 shm 64.0M 0 64.0M 0% /dev/shm 23:25:20 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 23:25:20 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 23:25:20 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 23:25:20 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 23:25:20 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 23:25:20 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 23:25:20 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 23:25:20 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/gexfoundry_device-mqtt-go_PR-179 23:25:20 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp 23:25:20 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 23:25:20 23:25:20 23:25:20 ---> free -m: 23:25:20 total used free shared buff/cache available 23:25:20 Mem: 1837 682 129 0 1025 1050 23:25:20 Swap: 1023 0 1023 23:25:20 23:25:20 23:25:20 ---> ip addr: 23:25:20 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 23:25:20 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:25:20 inet 127.0.0.1/8 scope host lo 23:25:20 valid_lft forever preferred_lft forever 23:25:20 inet6 ::1/128 scope host 23:25:20 valid_lft forever preferred_lft forever 23:25:20 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 23:25:20 link/ether fa:16:3e:43:97:e4 brd ff:ff:ff:ff:ff:ff 23:25:20 inet 10.30.123.183/23 brd 10.30.123.255 scope global dynamic eth0 23:25:20 valid_lft 86001sec preferred_lft 86001sec 23:25:20 inet6 fe80::f816:3eff:fe43:97e4/64 scope link 23:25:20 valid_lft forever preferred_lft forever 23:25:20 3: docker0: mtu 1500 qdisc noqueue state DOWN 23:25:20 link/ether 02:42:21:9f:78:a5 brd ff:ff:ff:ff:ff:ff 23:25:20 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 23:25:20 valid_lft forever preferred_lft forever 23:25:20 inet6 fe80::42:21ff:fe9f:78a5/64 scope link 23:25:20 valid_lft forever preferred_lft forever 23:25:20 23:25:20 23:25:20 ---> sar -b -r -n DEV: 23:25:20 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/04/21 _x86_64_ (4 CPU) 23:25:20 23:25:20 23:18:30 LINUX RESTART (4 CPU) 23:25:20 23:25:20 23:19:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:25:20 23:20:02 56.54 17.96 38.58 0.00 5217.98 3628.06 0.00 23:25:20 23:21:01 1.64 0.00 1.64 0.00 0.00 32.64 0.00 23:25:20 23:22:01 0.27 0.00 0.27 0.00 0.00 3.75 0.00 23:25:20 23:23:01 0.25 0.00 0.25 0.00 0.00 2.70 0.00 23:25:20 23:24:01 0.25 0.00 0.25 0.00 0.00 3.51 0.00 23:25:20 23:25:01 48.01 41.07 6.94 0.00 4165.49 2841.65 0.00 23:25:20 Average: 17.88 9.87 8.01 0.00 1568.86 1088.72 0.00 23:25:20 23:25:20 23:19:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:25:20 23:20:02 163128 0 582760 30.97 2620 1133036 1112980 37.98 401024 1118264 20 23:25:20 23:21:01 170192 0 575688 30.60 2620 1133044 1076364 36.73 403004 1110228 20 23:25:20 23:22:01 168716 0 577160 30.67 2620 1133048 1075316 36.70 401772 1112844 12 23:25:20 23:23:01 169020 0 576856 30.66 2620 1133048 1066172 36.39 414252 1100188 16 23:25:20 23:24:01 168296 0 577572 30.70 2620 1133056 1066112 36.38 412208 1102944 8 23:25:20 23:25:01 69232 0 663916 35.29 2620 1145776 1504740 51.35 498384 1102856 23060 23:25:20 Average: 151431 0 592325 31.48 2620 1135168 1150281 39.26 421774 1107887 3856 23:25:20 23:25:20 23:19:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:25:20 23:20:02 eth0 589.73 346.59 1039.97 103.03 0.00 0.00 0.00 0.00 23:25:20 23:20:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:20 23:20:02 docker0 2.13 1.63 0.42 4.06 0.00 0.00 0.00 0.00 23:25:20 23:21:01 eth0 3.22 0.83 0.98 0.60 0.00 0.00 0.00 0.00 23:25:20 23:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:20 23:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:20 23:22:01 eth0 1.38 0.28 0.35 0.23 0.00 0.00 0.00 0.00 23:25:20 23:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:20 23:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:20 23:23:01 eth0 0.98 0.52 0.54 0.36 0.00 0.00 0.00 0.00 23:25:20 23:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:20 23:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:20 23:24:01 eth0 0.27 0.13 0.07 0.04 0.00 0.00 0.00 0.00 23:25:20 23:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:20 23:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:20 23:25:01 eth0 150.29 123.33 1575.82 11.99 0.00 0.00 0.00 0.00 23:25:20 23:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:20 23:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:20 Average: eth0 124.69 78.86 437.67 19.43 0.00 0.00 0.00 0.00 23:25:20 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:20 Average: docker0 0.36 0.27 0.07 0.68 0.00 0.00 0.00 0.00 23:25:20 23:25:20 23:25:20 ---> sar -P ALL: 23:25:20 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/04/21 _x86_64_ (4 CPU) 23:25:20 23:25:20 23:18:30 LINUX RESTART (4 CPU) 23:25:20 23:25:20 23:19:01 CPU %user %nice %system %iowait %steal %idle 23:25:20 23:20:02 all 10.99 0.00 3.55 1.31 0.03 84.12 23:25:20 23:20:02 0 11.25 0.00 3.89 2.58 0.02 82.26 23:25:20 23:20:02 1 8.72 0.00 3.59 0.62 0.02 87.05 23:25:20 23:20:02 2 12.76 0.00 3.08 0.81 0.03 83.32 23:25:20 23:20:02 3 11.21 0.00 3.66 1.25 0.03 83.84 23:25:20 23:21:01 all 0.17 0.00 0.07 0.00 0.04 99.72 23:25:20 23:21:01 0 0.08 0.00 0.07 0.00 0.00 99.85 23:25:20 23:21:01 1 0.07 0.00 0.05 0.00 0.00 99.88 23:25:20 23:21:01 2 0.41 0.00 0.08 0.00 0.10 99.41 23:25:20 23:21:01 3 0.12 0.00 0.08 0.00 0.07 99.73 23:25:20 23:22:01 all 0.17 0.00 0.04 0.00 0.01 99.79 23:25:20 23:22:01 0 0.03 0.00 0.05 0.00 0.02 99.90 23:25:20 23:22:01 1 0.55 0.00 0.03 0.00 0.00 99.42 23:25:20 23:22:01 2 0.05 0.00 0.03 0.00 0.00 99.92 23:25:20 23:22:01 3 0.03 0.00 0.03 0.00 0.02 99.92 23:25:20 23:23:01 all 0.15 0.00 0.06 0.00 0.01 99.78 23:25:20 23:23:01 0 0.05 0.00 0.03 0.00 0.02 99.90 23:25:20 23:23:01 1 0.50 0.00 0.05 0.00 0.02 99.43 23:25:20 23:23:01 2 0.05 0.00 0.07 0.00 0.00 99.88 23:25:20 23:23:01 3 0.02 0.00 0.08 0.00 0.00 99.90 23:25:20 23:24:01 all 0.16 0.00 0.10 0.00 0.01 99.73 23:25:20 23:24:01 0 0.03 0.00 0.17 0.00 0.00 99.80 23:25:20 23:24:01 1 0.50 0.00 0.03 0.00 0.00 99.47 23:25:20 23:24:01 2 0.07 0.00 0.12 0.00 0.02 99.80 23:25:20 23:24:01 3 0.05 0.00 0.08 0.00 0.02 99.85 23:25:20 23:25:01 all 1.91 0.00 1.14 1.00 0.00 95.95 23:25:20 23:25:01 0 1.42 0.00 1.19 0.17 0.00 97.23 23:25:20 23:25:01 1 2.13 0.00 0.80 0.93 0.00 96.13 23:25:20 23:25:01 2 2.17 0.00 1.32 0.72 0.00 95.79 23:25:20 23:25:01 3 1.91 0.00 1.27 2.17 0.02 94.63 23:25:20 Average: all 2.25 0.00 0.82 0.38 0.02 96.53 23:25:20 Average: 0 2.14 0.00 0.90 0.45 0.01 96.51 23:25:20 Average: 1 2.07 0.00 0.76 0.26 0.01 96.91 23:25:20 Average: 2 2.58 0.00 0.78 0.25 0.03 96.36 23:25:20 Average: 3 2.21 0.00 0.87 0.57 0.03 96.33 23:25:20 23:25:20 23:25:20