Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 07355228612828934d7917b8177258c9093cd58a+fcf415a52e09a542e74d978699b87b5b4fab4063 (6bfe5805f7626b7f65499d6609eb9362657bd7ae) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 48b313303ce5ba460cd13c4c603c4b280f104d53 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 48b313303ce5ba460cd13c4c603c4b280f104d53 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 48b313303ce5ba460cd13c4c603c4b280f104d53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 48b313303ce5ba460cd13c4c603c4b280f104d53 # timeout=10 Commit message: "Merge pull request #305 from ernestojeda/revert-go-mod-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-14989 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 Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit 07355228612828934d7917b8177258c9093cd58a > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 07355228612828934d7917b8177258c9093cd58a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing f7ab47e5364e83bc313ef5f4d7b01f84b301d32e Checking out Revision f7ab47e5364e83bc313ef5f4d7b01f84b301d32e (PR-179) 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 f7ab47e5364e83bc313ef5f4d7b01f84b301d32e # timeout=10 Commit message: "Merge commit 'fcf415a52e09a542e74d978699b87b5b4fab4063' into HEAD" > git rev-list --no-walk 07355228612828934d7917b8177258c9093cd58a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:21:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:21:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:21:03 ========================================================= 23:21:03 EdgeX Global Pipelines Version Info 23:21:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:21:05 ------------------- 23:21:05 stable info: 23:21:05 ------------------- 23:21:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:21:05 Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 23:21:05 Message: update stable to v1.0.171 23:21:06 ------------------- 23:21:06 experimental info: 23:21:06 ------------------- 23:21:06 Commited By: **** collab-it+edgex@linuxfoundation.org 23:21:06 Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 23:21:06 Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:21:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:21:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:21:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:21:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:21:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:21:08 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:21:08 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:21:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:21:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:21:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:21:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 23:21:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:21:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:21:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:21:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:21:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:21:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:21:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:21:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 23:21:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:21:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:21:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:21:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:21:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:21:10 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 23:21:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-179 [Pipeline] echo 23:21:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-179 [Pipeline] echo 23:21:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-179 [Pipeline] echo 23:21:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7ab47e5364e83bc313ef5f4d7b01f84b301d32e [Pipeline] echo 23:21:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7ab47e [Pipeline] echo 23:21:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:21:11 provisioning config files... 23:21:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/config7091257526017852459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:11 ---> docker-login.sh 23:21:11 nexus3.edgexfoundry.org:10001 23:21:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:12 Configure a credential helper to remove this warning. See 23:21:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:12 23:21:12 Login Succeeded 23:21:12 nexus3.edgexfoundry.org:10002 23:21:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:12 Configure a credential helper to remove this warning. See 23:21:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:12 23:21:12 Login Succeeded 23:21:12 nexus3.edgexfoundry.org:10003 23:21:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:12 Configure a credential helper to remove this warning. See 23:21:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:12 23:21:12 Login Succeeded 23:21:12 nexus3.edgexfoundry.org:10004 23:21:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:12 Configure a credential helper to remove this warning. See 23:21:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:12 23:21:12 Login Succeeded 23:21:12 docker.io 23:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:13 Configure a credential helper to remove this warning. See 23:21:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:13 23:21:13 Login Succeeded 23:21:13 ---> docker-login.sh ends [Pipeline] } 23:21:13 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:21:14 + git log --format=format:%s -1 f7ab47e5364e83bc313ef5f4d7b01f84b301d32e [Pipeline] echo 23:21:14 GIT_COMMIT: f7ab47e5364e83bc313ef5f4d7b01f84b301d32e, Commit Message: Merge commit 'fcf415a52e09a542e74d978699b87b5b4fab4063' into HEAD [Pipeline] echo 23:21:14 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:21:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:21:15 23:21:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:21:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:21:15 latest: Pulling from edgex-devops/git-semver 23:21:15 31603596830f: Pulling fs layer 23:21:15 2a8b12db71e7: Pulling fs layer 23:21:15 6ca5941a6612: Pulling fs layer 23:21:15 ecc8261a40a4: Pulling fs layer 23:21:15 ecc8261a40a4: Waiting 23:21:15 2a8b12db71e7: Verifying Checksum 23:21:15 2a8b12db71e7: Download complete 23:21:16 31603596830f: Verifying Checksum 23:21:16 31603596830f: Download complete 23:21:16 ecc8261a40a4: Verifying Checksum 23:21:16 ecc8261a40a4: Download complete 23:21:16 6ca5941a6612: Verifying Checksum 23:21:16 6ca5941a6612: Download complete 23:21:16 31603596830f: Pull complete 23:21:16 2a8b12db71e7: Pull complete 23:21:17 6ca5941a6612: Pull complete 23:21:17 ecc8261a40a4: Pull complete 23:21:17 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:21:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:21:17 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:21:17 prd-centos7-docker-4c-2g-14989 does not seem to be running inside a container 23:21:17 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:21:20 $ docker top 1732b7d5413789b37ab4c946a838f69c21615d667ba25ba696bf8296539d7e80 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:21:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:21:20 [ssh-agent] Looking for ssh-agent implementation... 23:21:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:21:21 $ docker exec 1732b7d5413789b37ab4c946a838f69c21615d667ba25ba696bf8296539d7e80 ssh-agent 23:21:21 SSH_AUTH_SOCK=/tmp/ssh-VS7CNBWNB31l/agent.12 23:21:21 SSH_AGENT_PID=18 23:21:21 Running ssh-add (command line suppressed) 23:21:21 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_8081655425760111796.key (/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_8081655425760111796.key) 23:21:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:21:21 + git tag --points-at HEAD [Pipeline] } 23:21:21 $ docker exec --env ******** --env ******** 1732b7d5413789b37ab4c946a838f69c21615d667ba25ba696bf8296539d7e80 ssh-agent -k 23:21:21 unset SSH_AUTH_SOCK; 23:21:21 unset SSH_AGENT_PID; 23:21:21 echo Agent pid 18 killed; 23:21:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:21:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:21:22 [ssh-agent] Looking for ssh-agent implementation... 23:21:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:21:22 $ docker exec 1732b7d5413789b37ab4c946a838f69c21615d667ba25ba696bf8296539d7e80 ssh-agent 23:21:22 SSH_AUTH_SOCK=/tmp/ssh-ha5j3Hqcyh2H/agent.47 23:21:22 SSH_AGENT_PID=53 23:21:22 Running ssh-add (command line suppressed) 23:21:22 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_2416842235168678779.key (/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_2416842235168678779.key) 23:21:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:21:23 + git semver init 23:21:23 # -> Open(): unable to determine branch for HEAD 23:21:23 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-179/.git 23:21:23 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-179 23:21:23 # $SEMVER_REMOTE_NAME = origin 23:21:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:21:23 # $SEMVER_USER_NAME = edgex-jenkins 23:21:23 # $SEMVER_BRANCH = PR-179 23:21:23 # $SEMVER_TEMP = /tmp/semver-132290648 23:21:23 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 23:21:23 # '/tmp/semver-132290648' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-179/.semver' 23:21:23 # -> Force: false 23:21:23 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-179/.semver [Pipeline] } 23:21:23 $ docker exec --env ******** --env ******** 1732b7d5413789b37ab4c946a838f69c21615d667ba25ba696bf8296539d7e80 ssh-agent -k 23:21:23 unset SSH_AUTH_SOCK; 23:21:23 unset SSH_AGENT_PID; 23:21:23 echo Agent pid 53 killed; 23:21:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:21:24 + git semver [Pipeline] } 23:21:24 $ docker stop --time=1 1732b7d5413789b37ab4c946a838f69c21615d667ba25ba696bf8296539d7e80 23:21:25 $ docker rm -f 1732b7d5413789b37ab4c946a838f69c21615d667ba25ba696bf8296539d7e80 [Pipeline] // withDockerContainer [Pipeline] sh 23:21:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:21:26 Stashed 1 file(s) [Pipeline] echo 23:21:26 [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:21:42 Still waiting to schedule task 23:21:42 ‘prd-centos7-builder-2c-1g-14365’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-14968’ is offline; ‘prd-centos7-docker-4c-2g-14969’ is offline; ‘prd-centos7-docker-4c-2g-14970’ is offline; ‘prd-centos7-docker-4c-2g-14973’ is offline; ‘prd-centos7-docker-4c-2g-14974’ is offline; ‘prd-centos7-docker-4c-2g-14991’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-14962’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-14964’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-14978’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-14981’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-14984’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-14985’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-14986’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-14987’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-14988’ doesn’t have label ‘centos7-docker-4c-2g’ 23:21:42 Still waiting to schedule task 23:21:42 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:21:43 Running on prd-centos7-docker-4c-2g-14991 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [Pipeline] { [Pipeline] ws 23:21:43 Running in /w/workspace/device-mqtt-go/8 [Pipeline] { [Pipeline] checkout 23:21:46 using credential edgex-jenkins-ssh 23:21:46 Cloning the remote Git repository 23:21:46 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:21:46 > git init /w/workspace/device-mqtt-go/8 # timeout=10 23:21:46 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:21:46 > git --version # timeout=10 23:21:46 > git --version # 'git version 2.24.3' 23:21:46 using GIT_SSH to set credentials SSH Credentials for GitHub 23:21:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:21:46 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:21:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:21:46 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:21:47 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:21:47 using GIT_SSH to set credentials SSH Credentials for GitHub 23:21:47 > 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:21:47 Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit 07355228612828934d7917b8177258c9093cd58a 23:21:47 Merge succeeded, producing e5f424cdfc7f00fbd4b9cb5d4b19df466ca4ee2c 23:21:47 Checking out Revision e5f424cdfc7f00fbd4b9cb5d4b19df466ca4ee2c (PR-179) 23:21:47 > git config core.sparsecheckout # timeout=10 23:21:47 > git checkout -f 07355228612828934d7917b8177258c9093cd58a # timeout=10 23:21:47 > git remote # timeout=10 23:21:47 > git config --get remote.origin.url # timeout=10 23:21:47 using GIT_SSH to set credentials SSH Credentials for GitHub 23:21:47 > git merge fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 23:21:47 > git rev-parse HEAD^{commit} # timeout=10 23:21:47 > git config core.sparsecheckout # timeout=10 23:21:47 > git checkout -f e5f424cdfc7f00fbd4b9cb5d4b19df466ca4ee2c # timeout=10 23:21:51 Commit message: "Merge commit 'fcf415a52e09a542e74d978699b87b5b4fab4063' into HEAD" 23:21:51 > git rev-list --no-walk 07355228612828934d7917b8177258c9093cd58a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:21:52 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 23:21:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:21:53 + sudo service docker restart 23:21:53 + true 23:21:53 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:21:54 provisioning config files... 23:21:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/8@tmp/config6268306271148260657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:54 ---> docker-login.sh 23:21:54 nexus3.edgexfoundry.org:10001 23:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:54 Configure a credential helper to remove this warning. See 23:21:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:54 23:21:54 Login Succeeded 23:21:54 nexus3.edgexfoundry.org:10002 23:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:54 Configure a credential helper to remove this warning. See 23:21:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:54 23:21:54 Login Succeeded 23:21:54 nexus3.edgexfoundry.org:10003 23:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:55 Configure a credential helper to remove this warning. See 23:21:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:55 23:21:55 Login Succeeded 23:21:55 nexus3.edgexfoundry.org:10004 23:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:55 Configure a credential helper to remove this warning. See 23:21:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:55 23:21:55 Login Succeeded 23:21:55 docker.io 23:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:55 Configure a credential helper to remove this warning. See 23:21:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:55 23:21:55 Login Succeeded 23:21:55 ---> docker-login.sh ends [Pipeline] } 23:21:55 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:21:56 ========================================================= 23:21:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 23:21:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:21:56 + 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:56 Sending build context to Docker daemon 484.4kB 23:21:56 Step 1/8 : ARG BASE=golang:1.15-alpine 23:21:56 Step 2/8 : FROM ${BASE} 23:21:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 23:21:56 188c0c94c7c5: Pulling fs layer 23:21:56 0ef7d3d256c8: Pulling fs layer 23:21:56 de9db76c5a1d: Pulling fs layer 23:21:56 bca2f99d35d6: Pulling fs layer 23:21:56 93359f2a8cfa: Pulling fs layer 23:21:56 7c6f9722023f: Pulling fs layer 23:21:56 a35cf1a2eb13: Pulling fs layer 23:21:56 bca2f99d35d6: Waiting 23:21:56 93359f2a8cfa: Waiting 23:21:56 7c6f9722023f: Waiting 23:21:56 a35cf1a2eb13: Waiting 23:21:56 de9db76c5a1d: Verifying Checksum 23:21:56 de9db76c5a1d: Download complete 23:21:56 0ef7d3d256c8: Verifying Checksum 23:21:56 0ef7d3d256c8: Download complete 23:21:56 93359f2a8cfa: Verifying Checksum 23:21:56 93359f2a8cfa: Download complete 23:21:56 188c0c94c7c5: Verifying Checksum 23:21:56 188c0c94c7c5: Download complete 23:21:57 188c0c94c7c5: Pull complete 23:21:57 0ef7d3d256c8: Pull complete 23:21:57 de9db76c5a1d: Pull complete 23:21:59 a35cf1a2eb13: Verifying Checksum 23:21:59 a35cf1a2eb13: Download complete 23:21:59 bca2f99d35d6: Verifying Checksum 23:21:59 bca2f99d35d6: Download complete 23:22:05 bca2f99d35d6: Pull complete 23:22:05 93359f2a8cfa: Pull complete 23:22:05 7c6f9722023f: Pull complete 23:22:11 a35cf1a2eb13: Pull complete 23:22:11 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 23:22:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 23:22:11 ---> a62c8e92a672 23:22:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 23:22:11 ---> Running in 2fc5e6378a81 23:22:12 Removing intermediate container 2fc5e6378a81 23:22:12 ---> 86af721244dc 23:22:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:22:12 ---> Running in cb61d019cecc 23:22:13 Removing intermediate container cb61d019cecc 23:22:13 ---> 31381bc46bce 23:22:13 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 23:22:13 ---> Running in da622115ffe3 23:22:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:22:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:22:14 (1/14) Installing libmagic (5.38-r0) 23:22:15 (2/14) Installing file (5.38-r0) 23:22:15 (3/14) Installing libc-dev (0.7.2-r3) 23:22:15 (4/14) Installing g++ (9.3.0-r2) 23:22:20 (5/14) Installing fortify-headers (1.1-r0) 23:22:20 (6/14) Installing patch (2.7.6-r6) 23:22:20 (7/14) Installing build-base (0.5-r2) 23:22:20 (8/14) Installing openssh-keygen (8.3_p1-r0) 23:22:20 (9/14) Installing libedit (20191231.3.1-r0) 23:22:20 (10/14) Installing openssh-client (8.3_p1-r0) 23:22:21 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 23:22:21 (12/14) Installing openssh-server-common (8.3_p1-r0) 23:22:21 (13/14) Installing openssh-server (8.3_p1-r0) 23:22:21 (14/14) Installing openssh (8.3_p1-r0) 23:22:21 Executing busybox-1.31.1-r19.trigger 23:22:21 OK: 237 MiB in 53 packages 23:22:25 Removing intermediate container da622115ffe3 23:22:25 ---> e32ed70ba6a2 23:22:25 Step 6/8 : WORKDIR /device-mqtt-go 23:22:25 ---> Running in f2df66f8440d 23:22:25 Removing intermediate container f2df66f8440d 23:22:25 ---> f482d702c5cd 23:22:25 Step 7/8 : COPY . . 23:22:25 ---> 52cbea98177d 23:22:25 Step 8/8 : RUN go mod download 23:22:25 ---> Running in 139d724f1c41 23:22:47 Removing intermediate container 139d724f1c41 23:22:47 ---> 9ed60875c410 23:22:47 Successfully built 9ed60875c410 23:22:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:22:48 + docker inspect -f . ci-base-image-x86_64 23:22:48 . [Pipeline] withDockerContainer 23:22:48 prd-centos7-docker-4c-2g-14991 does not seem to be running inside a container 23:22:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@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:49 $ docker top a1f751f0b8dc5b8d89c48b23f502411777ef3378eb04a55b3d4346f624cc1020 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:49 + go version 23:22:49 go version go1.15.5 linux/amd64 [Pipeline] } 23:22:49 $ docker stop --time=1 a1f751f0b8dc5b8d89c48b23f502411777ef3378eb04a55b3d4346f624cc1020 23:22:50 $ docker rm -f a1f751f0b8dc5b8d89c48b23f502411777ef3378eb04a55b3d4346f624cc1020 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:22:51 + docker inspect -f . ci-base-image-x86_64 23:22:51 . [Pipeline] withDockerContainer 23:22:51 prd-centos7-docker-4c-2g-14991 does not seem to be running inside a container 23:22:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@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:52 $ docker top 80d119140af8ce0435155e38b735de575a8900d6862d7540ff107b18ead76aad -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:53 + make test 23:22:53 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:22:54 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:23:07 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:23:07 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 28.3% of statements 23:23:07 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:23:07 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:23:10 gofmt -l . 23:23:10 ["`gofmt -l .`" = ""] 23:23:10 ./bin/test-attribution-txt.sh 23:23:10 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 23:23:10 make: *** [Makefile:29: test] Error 1 [Pipeline] } 23:23:10 $ docker stop --time=1 80d119140af8ce0435155e38b735de575a8900d6862d7540ff107b18ead76aad 23:23:13 $ docker rm -f 80d119140af8ce0435155e38b735de575a8900d6862d7540ff107b18ead76aad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 23:23:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14992 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [Pipeline] // stage [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] ws 23:23:14 Running in /w/workspace/device-mqtt-go/8 [Pipeline] { Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] checkout [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:23:15 Failed in branch amd64 23:23:19 using credential edgex-jenkins-ssh 23:23:19 Cloning the remote Git repository 23:23:19 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:23:19 > git init /w/workspace/device-mqtt-go/8 # timeout=10 23:23:20 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:23:20 > git --version # timeout=10 23:23:20 > git --version # 'git version 2.17.1' 23:23:20 using GIT_SSH to set credentials SSH Credentials for GitHub 23:23:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:23:21 Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit 07355228612828934d7917b8177258c9093cd58a 23:23:20 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:23:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:23:20 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:23:21 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:23:21 using GIT_SSH to set credentials SSH Credentials for GitHub 23:23:21 > 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:23:21 > git config core.sparsecheckout # timeout=10 23:23:21 > git checkout -f 07355228612828934d7917b8177258c9093cd58a # timeout=10 23:23:21 > git remote # timeout=10 23:23:21 > git config --get remote.origin.url # timeout=10 23:23:21 using GIT_SSH to set credentials SSH Credentials for GitHub 23:23:21 > git merge fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 23:23:21 > git rev-parse HEAD^{commit} # timeout=10 23:23:21 Merge succeeded, producing 276f0e5721e2710b5e9c96bd575c8b1fb281e2b8 23:23:21 Checking out Revision 276f0e5721e2710b5e9c96bd575c8b1fb281e2b8 (PR-179) 23:23:21 > git config core.sparsecheckout # timeout=10 23:23:21 > git checkout -f 276f0e5721e2710b5e9c96bd575c8b1fb281e2b8 # timeout=10 23:23:26 Commit message: "Merge commit 'fcf415a52e09a542e74d978699b87b5b4fab4063' into HEAD" 23:23:26 > git rev-list --no-walk 07355228612828934d7917b8177258c9093cd58a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:23:27 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 23:23:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:23:28 + sudo service docker restart 23:23:28 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:23:31 provisioning config files... 23:23:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/8@tmp/config3130906690638049855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:23:31 ---> docker-login.sh 23:23:31 nexus3.edgexfoundry.org:10001 23:23:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:33 Configure a credential helper to remove this warning. See 23:23:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:33 23:23:33 Login Succeeded 23:23:33 nexus3.edgexfoundry.org:10002 23:23:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:33 Configure a credential helper to remove this warning. See 23:23:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:33 23:23:33 Login Succeeded 23:23:33 nexus3.edgexfoundry.org:10003 23:23:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:34 Configure a credential helper to remove this warning. See 23:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:34 23:23:34 Login Succeeded 23:23:34 nexus3.edgexfoundry.org:10004 23:23:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:34 Configure a credential helper to remove this warning. See 23:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:34 23:23:34 Login Succeeded 23:23:34 docker.io 23:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:35 Configure a credential helper to remove this warning. See 23:23:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:35 23:23:35 Login Succeeded 23:23:35 ---> docker-login.sh ends [Pipeline] } 23:23:35 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:23:35 ========================================================= 23:23:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 23:23:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:23:36 + 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:23:36 Sending build context to Docker daemon 483.3kB 23:23:36 Step 1/8 : ARG BASE=golang:1.15-alpine 23:23:36 Step 2/8 : FROM ${BASE} 23:23:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:23:36 5f621e34cdf4: Pulling fs layer 23:23:36 a4357932f1b6: Pulling fs layer 23:23:36 18c013af1878: Pulling fs layer 23:23:36 00ac8860ef70: Pulling fs layer 23:23:36 63d7cb157983: Pulling fs layer 23:23:36 b116817d02f9: Pulling fs layer 23:23:36 745a02a5169b: Pulling fs layer 23:23:36 00ac8860ef70: Waiting 23:23:36 63d7cb157983: Waiting 23:23:36 b116817d02f9: Waiting 23:23:36 745a02a5169b: Waiting 23:23:36 18c013af1878: Verifying Checksum 23:23:36 18c013af1878: Download complete 23:23:36 a4357932f1b6: Verifying Checksum 23:23:36 a4357932f1b6: Download complete 23:23:37 63d7cb157983: Verifying Checksum 23:23:37 63d7cb157983: Download complete 23:23:37 5f621e34cdf4: Verifying Checksum 23:23:37 5f621e34cdf4: Download complete 23:23:37 b116817d02f9: Verifying Checksum 23:23:37 b116817d02f9: Download complete 23:23:37 5f621e34cdf4: Pull complete 23:23:38 a4357932f1b6: Pull complete 23:23:39 18c013af1878: Pull complete 23:23:39 745a02a5169b: Verifying Checksum 23:23:39 745a02a5169b: Download complete 23:23:40 00ac8860ef70: Verifying Checksum 23:23:40 00ac8860ef70: Download complete 23:23:50 00ac8860ef70: Pull complete 23:23:50 63d7cb157983: Pull complete 23:23:50 b116817d02f9: Pull complete 23:23:55 745a02a5169b: Pull complete 23:23:55 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 23:23:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 23:23:55 ---> b7e6874047d6 23:23:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 23:23:58 ---> Running in 7c22b82c6869 23:23:58 Removing intermediate container 7c22b82c6869 23:23:58 ---> b81842111db9 23:23:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:23:58 ---> Running in a2c194a439f3 23:24:00 Removing intermediate container a2c194a439f3 23:24:00 ---> ecd44c90f42c 23:24:00 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 23:24:00 ---> Running in b53a5c5002d4 23:24:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:24:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:24:03 (1/14) Installing libmagic (5.38-r0) 23:24:03 (2/14) Installing file (5.38-r0) 23:24:03 (3/14) Installing libc-dev (0.7.2-r3) 23:24:03 (4/14) Installing g++ (9.3.0-r2) 23:24:10 (5/14) Installing fortify-headers (1.1-r0) 23:24:10 (6/14) Installing patch (2.7.6-r6) 23:24:10 (7/14) Installing build-base (0.5-r2) 23:24:10 (8/14) Installing openssh-keygen (8.3_p1-r0) 23:24:10 (9/14) Installing libedit (20191231.3.1-r0) 23:24:10 (10/14) Installing openssh-client (8.3_p1-r0) 23:24:10 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 23:24:10 (12/14) Installing openssh-server-common (8.3_p1-r0) 23:24:10 (13/14) Installing openssh-server (8.3_p1-r0) 23:24:10 (14/14) Installing openssh (8.3_p1-r0) 23:24:11 Executing busybox-1.31.1-r19.trigger 23:24:11 OK: 221 MiB in 53 packages 23:24:15 Removing intermediate container b53a5c5002d4 23:24:15 ---> 9a4ba45a8db4 23:24:15 Step 6/8 : WORKDIR /device-mqtt-go 23:24:15 ---> Running in 37957e09103a 23:24:15 Removing intermediate container 37957e09103a 23:24:15 ---> 2fff61bb14e2 23:24:15 Step 7/8 : COPY . . 23:24:16 ---> e727c198597a 23:24:16 Step 8/8 : RUN go mod download 23:24:16 ---> Running in 4becdac869e9 23:24:38 Removing intermediate container 4becdac869e9 23:24:38 ---> a915ed1f7829 23:24:38 Successfully built a915ed1f7829 23:24:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:24:39 + docker inspect -f . ci-base-image-arm64 23:24:39 . [Pipeline] withDockerContainer 23:24:39 prd-ubuntu18.04-docker-arm64-4c-16g-14992 does not seem to be running inside a container 23:24:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@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-arm64 cat 23:24:41 $ docker top b2054aeaf7acbac173dcfc5bfb045828048ddd3034e682e522f73748e6ee6edc -eo pid,comm [Pipeline] { [Pipeline] sh 23:24:42 + go version 23:24:42 go version go1.15.5 linux/arm64 [Pipeline] } 23:24:42 $ docker stop --time=1 b2054aeaf7acbac173dcfc5bfb045828048ddd3034e682e522f73748e6ee6edc 23:24:44 $ docker rm -f b2054aeaf7acbac173dcfc5bfb045828048ddd3034e682e522f73748e6ee6edc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:24:45 + docker inspect -f . ci-base-image-arm64 23:24:45 . [Pipeline] withDockerContainer 23:24:45 prd-ubuntu18.04-docker-arm64-4c-16g-14992 does not seem to be running inside a container 23:24:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@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-arm64 cat 23:24:46 $ docker top 14b6c8496d16edb15955a79c2eff30f678e4c196ac61fba30d8be22e19bbc524 -eo pid,comm [Pipeline] { [Pipeline] sh 23:24:48 + make test 23:24:48 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:24:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:25:28 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:25:28 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.039s coverage: 28.3% of statements 23:25:28 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:25:28 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:25:36 gofmt -l . 23:25:36 ["`gofmt -l .`" = ""] 23:25:36 ./bin/test-attribution-txt.sh 23:25:36 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 23:25:36 make: *** [Makefile:29: test] Error 1 [Pipeline] } 23:25:36 $ docker stop --time=1 14b6c8496d16edb15955a79c2eff30f678e4c196ac61fba30d8be22e19bbc524 23:25:38 $ docker rm -f 14b6c8496d16edb15955a79c2eff30f678e4c196ac61fba30d8be22e19bbc524 [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:25:40 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:25:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:25:44 ---> package-listing.sh 23:25:44 ++ tr '[:upper:]' '[:lower:]' 23:25:44 ++ facter osfamily 23:25:44 + OS_FAMILY=redhat 23:25:44 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-179 23:25:44 + START_PACKAGES=/tmp/packages_start.txt 23:25:44 + END_PACKAGES=/tmp/packages_end.txt 23:25:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:25:44 + PACKAGES=/tmp/packages_start.txt 23:25:44 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-179 ']' 23:25:44 + PACKAGES=/tmp/packages_end.txt 23:25:44 + case "${OS_FAMILY}" in 23:25:44 + rpm -qa 23:25:44 + sort 23:25:49 + '[' -f /tmp/packages_start.txt ']' 23:25:49 + '[' -f /tmp/packages_end.txt ']' 23:25:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:25:49 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-179 ']' 23:25:49 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-179/archives/ 23:25:49 + 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:25:49 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:25:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:25:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:25:50 23:25:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:25:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:25:50 alpine: Pulling from edgex-lftools-log-publisher 23:25:50 df20fa9351a1: Pulling fs layer 23:25:50 36b3adc4ff6f: Pulling fs layer 23:25:50 8ad3a11d3b57: Pulling fs layer 23:25:50 46f8f816bc3b: Pulling fs layer 23:25:50 93b61091891f: Pulling fs layer 23:25:50 93b9cdb0e59b: Pulling fs layer 23:25:50 5e14af77c1be: Pulling fs layer 23:25:50 01666e4c0597: Pulling fs layer 23:25:50 aa168da1d23b: Pulling fs layer 23:25:50 46f8f816bc3b: Waiting 23:25:50 93b9cdb0e59b: Waiting 23:25:50 5e14af77c1be: Waiting 23:25:50 01666e4c0597: Waiting 23:25:50 aa168da1d23b: Waiting 23:25:50 93b61091891f: Waiting 23:25:50 36b3adc4ff6f: Verifying Checksum 23:25:50 36b3adc4ff6f: Download complete 23:25:50 46f8f816bc3b: Verifying Checksum 23:25:50 46f8f816bc3b: Download complete 23:25:50 df20fa9351a1: Download complete 23:25:50 93b9cdb0e59b: Verifying Checksum 23:25:50 93b9cdb0e59b: Download complete 23:25:50 5e14af77c1be: Verifying Checksum 23:25:50 5e14af77c1be: Download complete 23:25:50 01666e4c0597: Verifying Checksum 23:25:50 01666e4c0597: Download complete 23:25:50 93b61091891f: Verifying Checksum 23:25:50 93b61091891f: Download complete 23:25:51 df20fa9351a1: Pull complete 23:25:51 36b3adc4ff6f: Pull complete 23:25:51 8ad3a11d3b57: Verifying Checksum 23:25:51 8ad3a11d3b57: Download complete 23:25:52 8ad3a11d3b57: Pull complete 23:25:52 46f8f816bc3b: Pull complete 23:25:53 aa168da1d23b: Verifying Checksum 23:25:53 aa168da1d23b: Download complete 23:25:53 93b61091891f: Pull complete 23:25:53 93b9cdb0e59b: Pull complete 23:25:54 5e14af77c1be: Pull complete 23:25:54 01666e4c0597: Pull complete 23:26:00 aa168da1d23b: Pull complete 23:26:00 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:26:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:26:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:26:01 prd-centos7-docker-4c-2g-14989 does not seem to be running inside a container 23:26:01 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:26:06 $ docker top 5c31adc1459bd23b168aaa14609fa8ac04a33446606d17c4dda3800c5243accd -eo pid,comm [Pipeline] { [Pipeline] sh 23:26:06 + touch /tmp/pre-build-complete [Pipeline] sh 23:26:07 + mkdir -p /var/log/sa [Pipeline] sh 23:26:07 + ls /var/log/sa-host 23:26:07 + sadf -c /var/log/sa-host/sa07 23:26:07 file_magic: OK 23:26:07 HZ: Using current value: 100 23:26:07 file_header: OK 23:26:07 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:26:07 Statistics: 23:26:07 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:26:07 File successfully converted to sysstat format version 12.2.1 23:26:07 + sadf -c /var/log/sa-host/sa23 23:26:07 file_magic: OK 23:26:07 HZ: Using current value: 100 23:26:07 file_header: OK 23:26:07 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:26:07 Statistics: 23:26:07 Hnuu...uuuununununu... 23:26:07 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:26:07 provisioning config files... 23:26:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/config8154361000418303411tmp [Pipeline] { [Pipeline] echo 23:26:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:26:08 ---> create-netrc.sh [Pipeline] } 23:26:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:26:08 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:26:08 ---> python-tools-install.sh [Pipeline] echo 23:26:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:26:09 ---> sudo-logs.sh 23:26:09 Archiving 'sudo' log.. [Pipeline] echo 23:26:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:26:09 ---> job-cost.sh 23:26:09 lf-activate-venv: SKIPPING 23:26:09 INFO: No Stack... 23:26:10 INFO: Retrieving Pricing Info for: v1-standard-2 23:26:10 INFO: Archiving Costs [Pipeline] echo 23:26:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:26:10 ---> logs-deploy.sh 23:26:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-179/8 23:26:10 INFO: archiving workspace using pattern(s): 23:26:12 Archives upload complete. 23:26:12 INFO: archiving logs to Nexus 23:26:13 ---> uname -a: 23:26:13 Linux prd-centos7-docker-4c-2g-14989.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:26:13 23:26:13 23:26:13 ---> lscpu: 23:26:13 Architecture: x86_64 23:26:13 CPU op-mode(s): 32-bit, 64-bit 23:26:13 Byte Order: Little Endian 23:26:13 Address sizes: 40 bits physical, 48 bits virtual 23:26:13 CPU(s): 4 23:26:13 On-line CPU(s) list: 0-3 23:26:13 Thread(s) per core: 1 23:26:13 Core(s) per socket: 1 23:26:13 Socket(s): 4 23:26:13 NUMA node(s): 1 23:26:13 Vendor ID: GenuineIntel 23:26:13 CPU family: 6 23:26:13 Model: 44 23:26:13 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 23:26:13 Stepping: 1 23:26:13 CPU MHz: 2933.442 23:26:13 BogoMIPS: 5866.88 23:26:13 Virtualization: VT-x 23:26:13 Hypervisor vendor: KVM 23:26:13 Virtualization type: full 23:26:13 L1d cache: 128 KiB 23:26:13 L1i cache: 128 KiB 23:26:13 L2 cache: 16 MiB 23:26:13 L3 cache: 64 MiB 23:26:13 NUMA node0 CPU(s): 0-3 23:26:13 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 23:26:13 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 23:26:13 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 23:26:13 Vulnerability Meltdown: Mitigation; PTI 23:26:13 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:26:13 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 23:26:13 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 23:26:13 Vulnerability Srbds: Not affected 23:26:13 Vulnerability Tsx async abort: Not affected 23:26:13 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:26:13 23:26:13 23:26:13 ---> nproc: 23:26:13 4 23:26:13 23:26:13 23:26:13 ---> df -h: 23:26:13 Filesystem Size Used Available Use% Mounted on 23:26:13 overlay 50.0G 7.3G 42.7G 15% / 23:26:13 tmpfs 64.0M 0 64.0M 0% /dev 23:26:13 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 23:26:13 shm 64.0M 0 64.0M 0% /dev/shm 23:26:13 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 23:26:13 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 23:26:13 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 23:26:13 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 23:26:13 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 23:26:13 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 23:26:13 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 23:26:13 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/gexfoundry_device-mqtt-go_PR-179 23:26:13 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp 23:26:13 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 23:26:13 23:26:13 23:26:13 ---> free -m: 23:26:13 total used free shared buff/cache available 23:26:13 Mem: 1837 687 99 0 1050 1045 23:26:13 Swap: 1023 0 1023 23:26:13 23:26:13 23:26:13 ---> ip addr: 23:26:13 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 23:26:13 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:26:13 inet 127.0.0.1/8 scope host lo 23:26:13 valid_lft forever preferred_lft forever 23:26:13 inet6 ::1/128 scope host 23:26:13 valid_lft forever preferred_lft forever 23:26:13 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 23:26:13 link/ether fa:16:3e:ff:35:af brd ff:ff:ff:ff:ff:ff 23:26:13 inet 10.30.122.42/23 brd 10.30.123.255 scope global dynamic eth0 23:26:13 valid_lft 86059sec preferred_lft 86059sec 23:26:13 inet6 fe80::f816:3eff:feff:35af/64 scope link 23:26:13 valid_lft forever preferred_lft forever 23:26:13 3: docker0: mtu 1500 qdisc noqueue state DOWN 23:26:13 link/ether 02:42:78:4f:a8:59 brd ff:ff:ff:ff:ff:ff 23:26:13 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 23:26:13 valid_lft forever preferred_lft forever 23:26:13 inet6 fe80::42:78ff:fe4f:a859/64 scope link 23:26:13 valid_lft forever preferred_lft forever 23:26:13 23:26:13 23:26:13 ---> sar -b -r -n DEV: 23:26:13 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/07/20 _x86_64_ (4 CPU) 23:26:13 23:26:13 23:20:19 LINUX RESTART (4 CPU) 23:26:13 23:26:13 23:21:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:26:13 23:22:01 30.68 12.24 18.44 0.00 4530.31 2907.62 0.00 23:26:13 23:23:01 1.88 0.00 1.88 0.00 0.00 36.33 0.00 23:26:13 23:24:01 0.23 0.00 0.23 0.00 0.00 3.00 0.00 23:26:13 23:25:01 0.28 0.00 0.28 0.00 0.00 3.20 0.00 23:26:13 23:26:02 116.02 69.79 46.22 0.00 5907.12 15861.64 0.00 23:26:13 Average: 29.87 16.46 13.42 0.00 2082.03 3773.39 0.00 23:26:13 23:26:13 23:21:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:26:13 23:22:01 169656 0 584024 31.04 2620 1125244 1109024 37.85 427216 1085652 8 23:26:13 23:23:01 177324 0 576348 30.63 2620 1125252 1074440 36.67 424588 1082136 8 23:26:13 23:24:01 175468 0 578200 30.73 2620 1125256 1074548 36.67 426440 1082528 8 23:26:13 23:25:01 175216 0 578452 30.74 2620 1125256 1074536 36.67 439608 1069300 8 23:26:13 23:26:02 165680 0 680732 36.18 2620 1032512 1269228 43.32 446712 1009260 54144 23:26:13 Average: 172669 0 599551 31.86 2620 1106704 1120355 38.24 432913 1065775 10835 23:26:13 23:26:13 23:21:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:26:13 23:22:01 eth0 166.71 123.20 463.38 41.47 0.00 0.00 0.00 0.00 23:26:13 23:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:26:13 23:22:01 docker0 2.29 2.01 0.42 4.08 0.00 0.00 0.00 0.00 23:26:13 23:23:01 eth0 0.62 0.00 0.05 0.00 0.00 0.00 0.00 0.00 23:26:13 23:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:26:13 23:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:26:13 23:24:01 eth0 0.57 0.38 0.27 0.20 0.00 0.00 0.00 0.00 23:26:13 23:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:26:13 23:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:26:13 23:25:01 eth0 0.28 0.22 0.13 0.07 0.00 0.00 0.00 0.00 23:26:13 23:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:26:13 23:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:26:13 23:26:02 eth0 213.83 174.84 2164.61 17.99 0.00 0.00 0.00 0.00 23:26:13 23:26:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:26:13 23:26:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:26:13 Average: eth0 76.20 59.60 527.01 11.85 0.00 0.00 0.00 0.00 23:26:13 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:26:13 Average: docker0 0.45 0.40 0.08 0.81 0.00 0.00 0.00 0.00 23:26:13 23:26:13 23:26:13 ---> sar -P ALL: 23:26:13 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/07/20 _x86_64_ (4 CPU) 23:26:13 23:26:13 23:20:19 LINUX RESTART (4 CPU) 23:26:13 23:26:13 23:21:02 CPU %user %nice %system %iowait %steal %idle 23:26:13 23:22:01 all 3.31 0.00 2.23 0.55 0.01 93.90 23:26:13 23:22:01 0 3.48 0.00 2.24 1.30 0.02 92.96 23:26:13 23:22:01 1 3.17 0.00 2.39 0.07 0.02 94.35 23:26:13 23:22:01 2 3.80 0.00 1.82 0.26 0.00 94.12 23:26:13 23:22:01 3 2.78 0.00 2.45 0.60 0.02 94.15 23:26:13 23:23:01 all 0.15 0.00 0.05 0.00 0.00 99.80 23:26:13 23:23:01 0 0.03 0.00 0.05 0.00 0.00 99.92 23:26:13 23:23:01 1 0.05 0.00 0.05 0.00 0.00 99.90 23:26:13 23:23:01 2 0.50 0.00 0.05 0.00 0.00 99.45 23:26:13 23:23:01 3 0.03 0.00 0.03 0.00 0.00 99.93 23:26:13 23:24:01 all 0.18 0.00 0.04 0.00 0.00 99.78 23:26:13 23:24:01 0 0.08 0.00 0.02 0.00 0.00 99.90 23:26:13 23:24:01 1 0.05 0.00 0.05 0.00 0.00 99.90 23:26:13 23:24:01 2 0.05 0.00 0.03 0.00 0.02 99.90 23:26:13 23:24:01 3 0.55 0.00 0.05 0.00 0.00 99.40 23:26:13 23:25:01 all 0.16 0.00 0.04 0.00 0.00 99.80 23:26:13 23:25:01 0 0.02 0.00 0.05 0.00 0.00 99.93 23:26:13 23:25:01 1 0.05 0.00 0.05 0.00 0.00 99.90 23:26:13 23:25:01 2 0.05 0.00 0.03 0.00 0.00 99.92 23:26:13 23:25:01 3 0.53 0.00 0.03 0.00 0.00 99.43 23:26:13 23:26:02 all 5.40 0.00 3.61 1.62 0.02 89.35 23:26:13 23:26:02 0 5.31 0.00 3.54 1.34 0.02 89.79 23:26:13 23:26:02 1 5.04 0.00 3.61 0.99 0.02 90.34 23:26:13 23:26:02 2 5.28 0.00 3.78 2.42 0.02 88.51 23:26:13 23:26:02 3 5.99 0.00 3.49 1.75 0.02 88.75 23:26:13 Average: all 1.83 0.00 1.18 0.43 0.01 96.55 23:26:13 Average: 0 1.77 0.00 1.17 0.52 0.01 96.53 23:26:13 Average: 1 1.66 0.00 1.22 0.21 0.01 96.90 23:26:13 Average: 2 1.92 0.00 1.14 0.53 0.01 96.40 23:26:13 Average: 3 1.97 0.00 1.20 0.47 0.01 96.36 23:26:13 23:26:13 23:26:13