Pull request #198 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 57eed509a15d49ff407fabd85d00a31b60dddb51+cdd6c33d41f01dc10b68606080ac8b6263924bf1 (8d3f3f1a307259e760ffbd0f08a39027498c2717) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19467 in /w/workspace/gexfoundry_device-mqtt-go_PR-198 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-198 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/198/head:refs/remotes/origin/PR-198 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 57eed509a15d49ff407fabd85d00a31b60dddb51 Merge succeeded, producing 57eed509a15d49ff407fabd85d00a31b60dddb51 Checking out Revision 57eed509a15d49ff407fabd85d00a31b60dddb51 (PR-198) > git config core.sparsecheckout # timeout=10 > git checkout -f 57eed509a15d49ff407fabd85d00a31b60dddb51 # 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 cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57eed509a15d49ff407fabd85d00a31b60dddb51 # timeout=10 Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" First time build. Skipping changelog. > git rev-list --no-walk dcf687a353acae98e64257f545a4852007fb0ba1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:06:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:06:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:06:36 ========================================================= 08:06:36 EdgeX Global Pipelines Version Info 08:06:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:06:39 ------------------- 08:06:39 stable info: 08:06:39 ------------------- 08:06:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:06:39 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 08:06:39 Message: update stable to v1.0.173 08:06:40 ------------------- 08:06:40 experimental info: 08:06:40 ------------------- 08:06:40 Commited By: **** collab-it+edgex@linuxfoundation.org 08:06:40 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 08:06:40 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:06:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 08:06:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 08:06:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:06:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:06:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:06:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:06:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 08:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:06:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:06:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:06:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:06:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:06:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:06:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 08:06:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:06:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:06:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:06:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:06:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:06:43 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 08:06:43 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 08:06:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-198 [Pipeline] echo 08:06:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-198 [Pipeline] echo 08:06:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-198 [Pipeline] echo 08:06:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57eed509a15d49ff407fabd85d00a31b60dddb51 [Pipeline] echo 08:06:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57eed50 [Pipeline] echo 08:06:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:06:43 provisioning config files... 08:06:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/config7191692384910300599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:06:44 ---> docker-login.sh 08:06:44 nexus3.edgexfoundry.org:10001 08:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:45 Configure a credential helper to remove this warning. See 08:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:45 08:06:45 Login Succeeded 08:06:45 nexus3.edgexfoundry.org:10002 08:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:46 Configure a credential helper to remove this warning. See 08:06:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:46 08:06:46 Login Succeeded 08:06:46 nexus3.edgexfoundry.org:10003 08:06:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:46 Configure a credential helper to remove this warning. See 08:06:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:46 08:06:46 Login Succeeded 08:06:46 nexus3.edgexfoundry.org:10004 08:06:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:47 Configure a credential helper to remove this warning. See 08:06:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:47 08:06:47 Login Succeeded 08:06:47 docker.io 08:06:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:48 Configure a credential helper to remove this warning. See 08:06:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:48 08:06:48 Login Succeeded 08:06:48 ---> docker-login.sh ends [Pipeline] } 08:06:49 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 08:06:50 + git log --format=format:%s -1 57eed509a15d49ff407fabd85d00a31b60dddb51 [Pipeline] echo 08:06:50 GIT_COMMIT: 57eed509a15d49ff407fabd85d00a31b60dddb51, Commit Message: build(deps): bump github.com/eclipse/paho.mqtt.golang [Pipeline] echo 08:06:50 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:06:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:06:52 08:06:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:06:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:06:53 latest: Pulling from edgex-devops/git-semver 08:06:53 31603596830f: Pulling fs layer 08:06:53 2a8b12db71e7: Pulling fs layer 08:06:53 6ca5941a6612: Pulling fs layer 08:06:53 ecc8261a40a4: Pulling fs layer 08:06:53 ecc8261a40a4: Waiting 08:06:53 2a8b12db71e7: Verifying Checksum 08:06:53 2a8b12db71e7: Download complete 08:06:53 31603596830f: Verifying Checksum 08:06:53 31603596830f: Download complete 08:06:53 ecc8261a40a4: Verifying Checksum 08:06:53 ecc8261a40a4: Download complete 08:06:54 6ca5941a6612: Verifying Checksum 08:06:54 6ca5941a6612: Download complete 08:06:54 31603596830f: Pull complete 08:06:54 2a8b12db71e7: Pull complete 08:06:58 6ca5941a6612: Pull complete 08:06:58 ecc8261a40a4: Pull complete 08:06:58 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:06:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:06:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:06:58 prd-centos7-docker-4c-2g-19467 does not seem to be running inside a container 08:06:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-198 -v /w/workspace/gexfoundry_device-mqtt-go_PR-198:/w/workspace/gexfoundry_device-mqtt-go_PR-198:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:07:01 $ docker top 9981db880b429cb3d0938ad3f9a5a3ad7279ea13b721cc28b165bbb395536d39 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:07:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:07:02 [ssh-agent] Looking for ssh-agent implementation... 08:07:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:07:02 $ docker exec 9981db880b429cb3d0938ad3f9a5a3ad7279ea13b721cc28b165bbb395536d39 ssh-agent 08:07:03 SSH_AUTH_SOCK=/tmp/ssh-ButWzySDEQyF/agent.11 08:07:03 SSH_AGENT_PID=17 08:07:03 Running ssh-add (command line suppressed) 08:07:03 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_8477367233570825280.key (/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_8477367233570825280.key) 08:07:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:07:04 + git tag --points-at HEAD [Pipeline] } 08:07:04 $ docker exec --env ******** --env ******** 9981db880b429cb3d0938ad3f9a5a3ad7279ea13b721cc28b165bbb395536d39 ssh-agent -k 08:07:05 unset SSH_AUTH_SOCK; 08:07:05 unset SSH_AGENT_PID; 08:07:05 echo Agent pid 17 killed; 08:07:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:07:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:07:05 [ssh-agent] Looking for ssh-agent implementation... 08:07:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:07:05 $ docker exec 9981db880b429cb3d0938ad3f9a5a3ad7279ea13b721cc28b165bbb395536d39 ssh-agent 08:07:06 SSH_AUTH_SOCK=/tmp/ssh-yEqtcuplXi05/agent.46 08:07:06 SSH_AGENT_PID=51 08:07:06 Running ssh-add (command line suppressed) 08:07:06 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_2226007702699074087.key (/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_2226007702699074087.key) 08:07:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:07:07 + git semver init 08:07:07 # -> Open(): unable to determine branch for HEAD 08:07:07 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-198/.git 08:07:07 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-198 08:07:07 # $SEMVER_REMOTE_NAME = origin 08:07:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:07:07 # $SEMVER_USER_NAME = edgex-jenkins 08:07:07 # $SEMVER_BRANCH = PR-198 08:07:07 # $SEMVER_TEMP = /tmp/semver-332055396 08:07:07 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 08:07:07 # '/tmp/semver-332055396' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-198/.semver' 08:07:07 # -> Force: false 08:07:07 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-198/.semver [Pipeline] } 08:07:07 $ docker exec --env ******** --env ******** 9981db880b429cb3d0938ad3f9a5a3ad7279ea13b721cc28b165bbb395536d39 ssh-agent -k 08:07:08 unset SSH_AUTH_SOCK; 08:07:08 unset SSH_AGENT_PID; 08:07:08 echo Agent pid 51 killed; 08:07:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:07:09 + git semver [Pipeline] } 08:07:09 $ docker stop --time=1 9981db880b429cb3d0938ad3f9a5a3ad7279ea13b721cc28b165bbb395536d39 08:07:10 $ docker rm -f 9981db880b429cb3d0938ad3f9a5a3ad7279ea13b721cc28b165bbb395536d39 [Pipeline] // withDockerContainer [Pipeline] sh 08:07:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:07:12 Stashed 1 file(s) [Pipeline] echo 08:07:12 [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 08:07:27 Still waiting to schedule task 08:07:27 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:07:27 Still waiting to schedule task 08:07:27 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:08:01 Running on prd-centos7-docker-4c-2g-19477 in /w/workspace/gexfoundry_device-mqtt-go_PR-198 [Pipeline] { [Pipeline] ws 08:08:01 Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout 08:08:03 using credential edgex-jenkins-ssh 08:08:03 Cloning the remote Git repository 08:08:03 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 08:08:03 > git init /w/workspace/device-mqtt-go/4 # timeout=10 08:08:03 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:08:03 > git --version # timeout=10 08:08:03 > git --version # 'git version 2.24.3' 08:08:03 using GIT_SSH to set credentials SSH Credentials for GitHub 08:08:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:08:05 Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 57eed509a15d49ff407fabd85d00a31b60dddb51 08:08:05 Merge succeeded, producing 57eed509a15d49ff407fabd85d00a31b60dddb51 08:08:05 Checking out Revision 57eed509a15d49ff407fabd85d00a31b60dddb51 (PR-198) 08:08:04 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:08:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:08:04 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:08:04 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:08:04 using GIT_SSH to set credentials SSH Credentials for GitHub 08:08:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/198/head:refs/remotes/origin/PR-198 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:08:05 > git config core.sparsecheckout # timeout=10 08:08:05 > git checkout -f 57eed509a15d49ff407fabd85d00a31b60dddb51 # timeout=10 08:08:05 > git remote # timeout=10 08:08:05 > git config --get remote.origin.url # timeout=10 08:08:05 using GIT_SSH to set credentials SSH Credentials for GitHub 08:08:05 > git merge cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 08:08:05 > git rev-parse HEAD^{commit} # timeout=10 08:08:05 > git config core.sparsecheckout # timeout=10 08:08:05 > git checkout -f 57eed509a15d49ff407fabd85d00a31b60dddb51 # timeout=10 08:08:09 Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:08:10 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:08:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:08:11 + sudo service docker restart 08:08:11 + true 08:08:11 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:08:12 provisioning config files... 08:08:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config6320223222973102184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:08:12 ---> docker-login.sh 08:08:12 nexus3.edgexfoundry.org:10001 08:08:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:13 Configure a credential helper to remove this warning. See 08:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:13 08:08:13 Login Succeeded 08:08:13 nexus3.edgexfoundry.org:10002 08:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:13 Configure a credential helper to remove this warning. See 08:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:13 08:08:13 Login Succeeded 08:08:13 nexus3.edgexfoundry.org:10003 08:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:13 Configure a credential helper to remove this warning. See 08:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:13 08:08:13 Login Succeeded 08:08:13 nexus3.edgexfoundry.org:10004 08:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:13 Configure a credential helper to remove this warning. See 08:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:13 08:08:13 Login Succeeded 08:08:13 docker.io 08:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:14 Configure a credential helper to remove this warning. See 08:08:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:14 08:08:14 Login Succeeded 08:08:14 ---> docker-login.sh ends [Pipeline] } 08:08:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:08:14 ========================================================= 08:08:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:08:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:08:14 + 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 . 08:08:14 Sending build context to Docker daemon 493.1kB 08:08:14 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:08:14 Step 2/8 : FROM ${BASE} 08:08:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:08:15 188c0c94c7c5: Pulling fs layer 08:08:15 0ef7d3d256c8: Pulling fs layer 08:08:15 de9db76c5a1d: Pulling fs layer 08:08:15 bca2f99d35d6: Pulling fs layer 08:08:15 93359f2a8cfa: Pulling fs layer 08:08:15 7c6f9722023f: Pulling fs layer 08:08:15 a35cf1a2eb13: Pulling fs layer 08:08:15 93359f2a8cfa: Waiting 08:08:15 7c6f9722023f: Waiting 08:08:15 a35cf1a2eb13: Waiting 08:08:15 bca2f99d35d6: Waiting 08:08:15 de9db76c5a1d: Verifying Checksum 08:08:15 de9db76c5a1d: Download complete 08:08:15 0ef7d3d256c8: Download complete 08:08:15 93359f2a8cfa: Verifying Checksum 08:08:15 93359f2a8cfa: Download complete 08:08:15 7c6f9722023f: Verifying Checksum 08:08:15 7c6f9722023f: Download complete 08:08:15 188c0c94c7c5: Verifying Checksum 08:08:15 188c0c94c7c5: Download complete 08:08:15 188c0c94c7c5: Pull complete 08:08:15 0ef7d3d256c8: Pull complete 08:08:15 de9db76c5a1d: Pull complete 08:08:18 a35cf1a2eb13: Verifying Checksum 08:08:18 a35cf1a2eb13: Download complete 08:08:19 bca2f99d35d6: Verifying Checksum 08:08:19 bca2f99d35d6: Download complete 08:08:26 bca2f99d35d6: Pull complete 08:08:26 93359f2a8cfa: Pull complete 08:08:26 7c6f9722023f: Pull complete 08:08:30 a35cf1a2eb13: Pull complete 08:08:30 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:08:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:08:30 ---> a62c8e92a672 08:08:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:08:31 ---> Running in 32c7e6325c67 08:08:31 Removing intermediate container 32c7e6325c67 08:08:31 ---> ebef5d6351ab 08:08:31 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:08:31 ---> Running in 07195075f4e6 08:08:32 Removing intermediate container 07195075f4e6 08:08:32 ---> 75aaff0e8ad2 08:08:32 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:08:32 ---> Running in 139e3c871f43 08:08:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:08:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:08:35 (1/14) Installing libmagic (5.38-r0) 08:08:35 (2/14) Installing file (5.38-r0) 08:08:36 (3/14) Installing libc-dev (0.7.2-r3) 08:08:36 (4/14) Installing g++ (9.3.0-r2) 08:08:41 (5/14) Installing fortify-headers (1.1-r0) 08:08:41 (6/14) Installing patch (2.7.6-r6) 08:08:41 (7/14) Installing build-base (0.5-r2) 08:08:41 (8/14) Installing openssh-keygen (8.3_p1-r1) 08:08:41 (9/14) Installing libedit (20191231.3.1-r0) 08:08:41 (10/14) Installing openssh-client (8.3_p1-r1) 08:08:42 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 08:08:42 (12/14) Installing openssh-server-common (8.3_p1-r1) 08:08:42 (13/14) Installing openssh-server (8.3_p1-r1) 08:08:42 (14/14) Installing openssh (8.3_p1-r1) 08:08:42 Executing busybox-1.31.1-r19.trigger 08:08:42 OK: 237 MiB in 53 packages 08:08:46 Removing intermediate container 139e3c871f43 08:08:46 ---> 6e69b593f909 08:08:46 Step 6/8 : WORKDIR /device-mqtt-go 08:08:46 ---> Running in 0ec6913eb2b0 08:08:46 Removing intermediate container 0ec6913eb2b0 08:08:46 ---> 56353c6767ca 08:08:46 Step 7/8 : COPY . . 08:08:47 ---> 40405f55ee2c 08:08:47 Step 8/8 : RUN go mod download 08:08:47 ---> Running in c743a01f4fc4 08:09:09 Removing intermediate container c743a01f4fc4 08:09:09 ---> cfa4471e3dea 08:09:09 Successfully built cfa4471e3dea 08:09:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:09:09 + docker inspect -f . ci-base-image-x86_64 08:09:09 . [Pipeline] withDockerContainer 08:09:10 prd-centos7-docker-4c-2g-19477 does not seem to be running inside a container 08:09:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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-x86_64 cat 08:09:11 $ docker top 2face246e2b6cc0bb197211b0ef8519b4b3309eaf43dac2095527301b4363488 -eo pid,comm [Pipeline] { [Pipeline] sh 08:09:11 + go version 08:09:11 go version go1.15.5 linux/amd64 [Pipeline] } 08:09:11 $ docker stop --time=1 2face246e2b6cc0bb197211b0ef8519b4b3309eaf43dac2095527301b4363488 08:09:13 $ docker rm -f 2face246e2b6cc0bb197211b0ef8519b4b3309eaf43dac2095527301b4363488 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:09:14 + docker inspect -f . ci-base-image-x86_64 08:09:14 . [Pipeline] withDockerContainer 08:09:14 prd-centos7-docker-4c-2g-19477 does not seem to be running inside a container 08:09:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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-x86_64 cat 08:09:14 $ docker top 68ec3bd60e94182ed65ee905b8cf66827be34eb1b1f1237020edfcb2284424f1 -eo pid,comm [Pipeline] { [Pipeline] sh 08:09:15 + make test 08:09:15 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:09:16 ? github.com/edgexfoundry/device-mqtt-go [no test files] 08:09:31 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 08:09:31 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 28.3% of statements 08:09:31 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 08:09:31 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:09:33 gofmt -l . 08:09:33 ["`gofmt -l .`" = ""] 08:09:33 ./bin/test-attribution-txt.sh 08:09:33 An attribution for github.com/gorilla/websocket is missing from in Attribution.txt, please add 08:09:33 make: *** [Makefile:29: test] Error 1 [Pipeline] } 08:09:33 $ docker stop --time=1 68ec3bd60e94182ed65ee905b8cf66827be34eb1b1f1237020edfcb2284424f1 08:09:36 $ docker rm -f 68ec3bd60e94182ed65ee905b8cf66827be34eb1b1f1237020edfcb2284424f1 [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] } 08:09:37 Failed in branch amd64 08:10:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19484 in /w/workspace/gexfoundry_device-mqtt-go_PR-198 [Pipeline] { [Pipeline] ws 08:10:28 Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout 08:10:35 using credential edgex-jenkins-ssh 08:10:35 Cloning the remote Git repository 08:10:35 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 08:10:35 > git init /w/workspace/device-mqtt-go/4 # timeout=10 08:10:35 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:10:35 > git --version # timeout=10 08:10:35 > git --version # 'git version 2.17.1' 08:10:35 using GIT_SSH to set credentials SSH Credentials for GitHub 08:10:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:10:36 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:10:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:10:36 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:10:36 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:10:36 using GIT_SSH to set credentials SSH Credentials for GitHub 08:10:37 Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 57eed509a15d49ff407fabd85d00a31b60dddb51 08:10:37 Merge succeeded, producing 57eed509a15d49ff407fabd85d00a31b60dddb51 08:10:37 Checking out Revision 57eed509a15d49ff407fabd85d00a31b60dddb51 (PR-198) 08:10:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/198/head:refs/remotes/origin/PR-198 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:10:37 > git config core.sparsecheckout # timeout=10 08:10:37 > git checkout -f 57eed509a15d49ff407fabd85d00a31b60dddb51 # timeout=10 08:10:37 > git remote # timeout=10 08:10:37 > git config --get remote.origin.url # timeout=10 08:10:37 using GIT_SSH to set credentials SSH Credentials for GitHub 08:10:37 > git merge cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 08:10:37 > git rev-parse HEAD^{commit} # timeout=10 08:10:37 > git config core.sparsecheckout # timeout=10 08:10:37 > git checkout -f 57eed509a15d49ff407fabd85d00a31b60dddb51 # timeout=10 08:10:42 Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:10:43 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:10:44 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:10:44 + + sudo servicetrue docker 08:10:44 restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:10:47 provisioning config files... 08:10:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config822497489136508353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:10:47 ---> docker-login.sh 08:10:47 nexus3.edgexfoundry.org:10001 08:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:49 Configure a credential helper to remove this warning. See 08:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:49 08:10:49 Login Succeeded 08:10:49 nexus3.edgexfoundry.org:10002 08:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:49 Configure a credential helper to remove this warning. See 08:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:49 08:10:49 Login Succeeded 08:10:49 nexus3.edgexfoundry.org:10003 08:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:50 Configure a credential helper to remove this warning. See 08:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:50 08:10:50 Login Succeeded 08:10:50 nexus3.edgexfoundry.org:10004 08:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:51 Configure a credential helper to remove this warning. See 08:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:51 08:10:51 Login Succeeded 08:10:51 docker.io 08:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:51 Configure a credential helper to remove this warning. See 08:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:51 08:10:51 Login Succeeded 08:10:51 ---> docker-login.sh ends [Pipeline] } 08:10:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:10:52 ========================================================= 08:10:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:10:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:10:52 + 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 . 08:10:53 Sending build context to Docker daemon 492kB 08:10:53 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:10:53 Step 2/8 : FROM ${BASE} 08:10:53 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:10:53 5f621e34cdf4: Pulling fs layer 08:10:53 a4357932f1b6: Pulling fs layer 08:10:53 18c013af1878: Pulling fs layer 08:10:53 00ac8860ef70: Pulling fs layer 08:10:53 63d7cb157983: Pulling fs layer 08:10:53 b116817d02f9: Pulling fs layer 08:10:53 745a02a5169b: Pulling fs layer 08:10:53 00ac8860ef70: Waiting 08:10:53 b116817d02f9: Waiting 08:10:53 745a02a5169b: Waiting 08:10:53 63d7cb157983: Waiting 08:10:53 18c013af1878: Verifying Checksum 08:10:53 18c013af1878: Download complete 08:10:53 a4357932f1b6: Download complete 08:10:53 63d7cb157983: Verifying Checksum 08:10:53 63d7cb157983: Download complete 08:10:53 b116817d02f9: Verifying Checksum 08:10:53 b116817d02f9: Download complete 08:10:53 5f621e34cdf4: Verifying Checksum 08:10:53 5f621e34cdf4: Download complete 08:10:54 5f621e34cdf4: Pull complete 08:10:54 a4357932f1b6: Pull complete 08:10:55 18c013af1878: Pull complete 08:10:57 745a02a5169b: Verifying Checksum 08:10:57 745a02a5169b: Download complete 08:10:59 00ac8860ef70: Verifying Checksum 08:10:59 00ac8860ef70: Download complete 08:11:09 00ac8860ef70: Pull complete 08:11:09 63d7cb157983: Pull complete 08:11:09 b116817d02f9: Pull complete 08:11:12 745a02a5169b: Pull complete 08:11:12 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:11:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:11:12 ---> b7e6874047d6 08:11:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:11:15 ---> Running in 588140e65ab9 08:11:16 Removing intermediate container 588140e65ab9 08:11:16 ---> 4a6111293599 08:11:16 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:11:16 ---> Running in 4a9cbc231554 08:11:18 Removing intermediate container 4a9cbc231554 08:11:18 ---> b6a419d072ca 08:11:18 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:11:18 ---> Running in 1bcefc62f71b 08:11:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:11:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:11:21 (1/14) Installing libmagic (5.38-r0) 08:11:22 (2/14) Installing file (5.38-r0) 08:11:22 (3/14) Installing libc-dev (0.7.2-r3) 08:11:22 (4/14) Installing g++ (9.3.0-r2) 08:11:25 (5/14) Installing fortify-headers (1.1-r0) 08:11:25 (6/14) Installing patch (2.7.6-r6) 08:11:25 (7/14) Installing build-base (0.5-r2) 08:11:25 (8/14) Installing openssh-keygen (8.3_p1-r1) 08:11:25 (9/14) Installing libedit (20191231.3.1-r0) 08:11:26 (10/14) Installing openssh-client (8.3_p1-r1) 08:11:26 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 08:11:26 (12/14) Installing openssh-server-common (8.3_p1-r1) 08:11:26 (13/14) Installing openssh-server (8.3_p1-r1) 08:11:26 (14/14) Installing openssh (8.3_p1-r1) 08:11:27 Executing busybox-1.31.1-r19.trigger 08:11:27 OK: 221 MiB in 53 packages 08:11:31 Removing intermediate container 1bcefc62f71b 08:11:31 ---> 8c3b17caa9c6 08:11:31 Step 6/8 : WORKDIR /device-mqtt-go 08:11:31 ---> Running in 2b511db4b38d 08:11:32 Removing intermediate container 2b511db4b38d 08:11:32 ---> ae5df2cfd2f2 08:11:32 Step 7/8 : COPY . . 08:11:33 ---> 785a48069fb7 08:11:33 Step 8/8 : RUN go mod download 08:11:33 ---> Running in e440dac2b150 08:12:00 Removing intermediate container e440dac2b150 08:12:00 ---> 88e5ff29b168 08:12:00 Successfully built 88e5ff29b168 08:12:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:12:00 + docker inspect -f . ci-base-image-arm64 08:12:00 . [Pipeline] withDockerContainer 08:12:00 prd-ubuntu18.04-docker-arm64-4c-16g-19484 does not seem to be running inside a container 08:12:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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 08:12:02 $ docker top 99b749fe26061d9a5b165533f5b0173d516ede861aeadc0f9d8672fa0f9ce537 -eo pid,comm [Pipeline] { [Pipeline] sh 08:12:03 + go version 08:12:03 go version go1.15.5 linux/arm64 [Pipeline] } 08:12:03 $ docker stop --time=1 99b749fe26061d9a5b165533f5b0173d516ede861aeadc0f9d8672fa0f9ce537 08:12:06 $ docker rm -f 99b749fe26061d9a5b165533f5b0173d516ede861aeadc0f9d8672fa0f9ce537 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:12:07 + docker inspect -f . ci-base-image-arm64 08:12:07 . [Pipeline] withDockerContainer 08:12:07 prd-ubuntu18.04-docker-arm64-4c-16g-19484 does not seem to be running inside a container 08:12:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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 08:12:09 $ docker top 9fa733fe4171e4f4f58e36655dd0fe42e669d59cdf6d223d095745c924c48541 -eo pid,comm [Pipeline] { [Pipeline] sh 08:12:10 + make test 08:12:10 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:12:11 ? github.com/edgexfoundry/device-mqtt-go [no test files] 08:12:58 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 08:12:58 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.038s coverage: 28.3% of statements 08:12:58 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 08:12:58 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:13:05 gofmt -l . 08:13:05 ["`gofmt -l .`" = ""] 08:13:05 ./bin/test-attribution-txt.sh 08:13:06 An attribution for github.com/gorilla/websocket is missing from in Attribution.txt, please add 08:13:06 make: *** [Makefile:29: test] Error 1 [Pipeline] } 08:13:06 $ docker stop --time=1 9fa733fe4171e4f4f58e36655dd0fe42e669d59cdf6d223d095745c924c48541 08:13:09 $ docker rm -f 9fa733fe4171e4f4f58e36655dd0fe42e669d59cdf6d223d095745c924c48541 [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] } 08:13:11 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 08:13:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:13:14 ---> package-listing.sh 08:13:14 ++ facter osfamily 08:13:14 ++ tr '[:upper:]' '[:lower:]' 08:13:14 + OS_FAMILY=redhat 08:13:14 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-198 08:13:14 + START_PACKAGES=/tmp/packages_start.txt 08:13:14 + END_PACKAGES=/tmp/packages_end.txt 08:13:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:13:14 + PACKAGES=/tmp/packages_start.txt 08:13:14 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-198 ']' 08:13:14 + PACKAGES=/tmp/packages_end.txt 08:13:14 + case "${OS_FAMILY}" in 08:13:14 + rpm -qa 08:13:14 + sort 08:13:20 + '[' -f /tmp/packages_start.txt ']' 08:13:20 + '[' -f /tmp/packages_end.txt ']' 08:13:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:13:20 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-198 ']' 08:13:20 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-198/archives/ 08:13:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-198/archives/ [Pipeline] echo 08:13:20 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-198/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:13:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:13:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:13:21 08:13:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:13:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:13:21 alpine: Pulling from edgex-lftools-log-publisher 08:13:21 df20fa9351a1: Pulling fs layer 08:13:21 36b3adc4ff6f: Pulling fs layer 08:13:21 8ad3a11d3b57: Pulling fs layer 08:13:21 46f8f816bc3b: Pulling fs layer 08:13:21 93b61091891f: Pulling fs layer 08:13:21 93b9cdb0e59b: Pulling fs layer 08:13:21 5e14af77c1be: Pulling fs layer 08:13:21 01666e4c0597: Pulling fs layer 08:13:21 aa168da1d23b: Pulling fs layer 08:13:21 93b61091891f: Waiting 08:13:21 93b9cdb0e59b: Waiting 08:13:21 5e14af77c1be: Waiting 08:13:21 01666e4c0597: Waiting 08:13:21 aa168da1d23b: Waiting 08:13:21 46f8f816bc3b: Waiting 08:13:21 36b3adc4ff6f: Verifying Checksum 08:13:21 36b3adc4ff6f: Download complete 08:13:21 46f8f816bc3b: Verifying Checksum 08:13:21 46f8f816bc3b: Download complete 08:13:21 93b61091891f: Verifying Checksum 08:13:21 93b61091891f: Download complete 08:13:21 df20fa9351a1: Verifying Checksum 08:13:21 df20fa9351a1: Download complete 08:13:22 5e14af77c1be: Verifying Checksum 08:13:22 5e14af77c1be: Download complete 08:13:22 93b9cdb0e59b: Verifying Checksum 08:13:22 93b9cdb0e59b: Download complete 08:13:22 01666e4c0597: Verifying Checksum 08:13:22 01666e4c0597: Download complete 08:13:22 8ad3a11d3b57: Verifying Checksum 08:13:22 8ad3a11d3b57: Download complete 08:13:23 df20fa9351a1: Pull complete 08:13:23 36b3adc4ff6f: Pull complete 08:13:25 8ad3a11d3b57: Pull complete 08:13:26 46f8f816bc3b: Pull complete 08:13:26 93b61091891f: Pull complete 08:13:27 93b9cdb0e59b: Pull complete 08:13:27 5e14af77c1be: Pull complete 08:13:27 01666e4c0597: Pull complete 08:13:27 aa168da1d23b: Verifying Checksum 08:13:27 aa168da1d23b: Download complete 08:13:43 aa168da1d23b: Pull complete 08:13:43 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:13:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:13:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:13:43 prd-centos7-docker-4c-2g-19467 does not seem to be running inside a container 08:13:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-198/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-198 -v /w/workspace/gexfoundry_device-mqtt-go_PR-198:/w/workspace/gexfoundry_device-mqtt-go_PR-198:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:13:45 $ docker top d32a692660455204406cdb6537bfca8f0bb7bce712bc0b64469e922fcca9ee83 -eo pid,comm [Pipeline] { [Pipeline] sh 08:13:46 + touch /tmp/pre-build-complete [Pipeline] sh 08:13:47 + mkdir -p /var/log/sa [Pipeline] sh 08:13:47 + ls /var/log/sa-host 08:13:47 + sadf -c /var/log/sa-host/sa11 08:13:47 file_magic: OK 08:13:47 HZ: Using current value: 100 08:13:47 file_header: OK 08:13:47 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 08:13:47 Statistics: 08:13:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:13:47 File successfully converted to sysstat format version 12.2.1 08:13:47 + sadf -c /var/log/sa-host/sa23 08:13:48 file_magic: OK 08:13:48 HZ: Using current value: 100 08:13:48 file_header: OK 08:13:48 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 08:13:48 Statistics: 08:13:48 Hnuu...uuuununununu... 08:13:48 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:13:48 provisioning config files... 08:13:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/config425260018255997402tmp [Pipeline] { [Pipeline] echo 08:13:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:13:48 ---> create-netrc.sh [Pipeline] } 08:13:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:13:49 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:13:50 ---> python-tools-install.sh [Pipeline] echo 08:13:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:13:50 ---> sudo-logs.sh 08:13:50 Archiving 'sudo' log.. [Pipeline] echo 08:13:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:13:51 ---> job-cost.sh 08:13:51 lf-activate-venv: SKIPPING 08:13:51 INFO: No Stack... 08:13:52 INFO: Retrieving Pricing Info for: v1-standard-2 08:13:53 INFO: Archiving Costs [Pipeline] echo 08:13:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:13:53 ---> logs-deploy.sh 08:13:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-198/4 08:13:53 INFO: archiving workspace using pattern(s): 08:13:55 Archives upload complete. 08:13:56 INFO: archiving logs to Nexus 08:13:58 ---> uname -a: 08:13:58 Linux prd-centos7-docker-4c-2g-19467.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 08:13:58 08:13:58 08:13:58 ---> lscpu: 08:13:58 Architecture: x86_64 08:13:58 CPU op-mode(s): 32-bit, 64-bit 08:13:58 Byte Order: Little Endian 08:13:58 Address sizes: 40 bits physical, 48 bits virtual 08:13:58 CPU(s): 4 08:13:58 On-line CPU(s) list: 0-3 08:13:58 Thread(s) per core: 1 08:13:58 Core(s) per socket: 1 08:13:58 Socket(s): 4 08:13:58 NUMA node(s): 1 08:13:58 Vendor ID: GenuineIntel 08:13:58 CPU family: 6 08:13:58 Model: 44 08:13:58 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:13:58 Stepping: 1 08:13:58 CPU MHz: 2933.438 08:13:58 BogoMIPS: 5866.87 08:13:58 Virtualization: VT-x 08:13:58 Hypervisor vendor: KVM 08:13:58 Virtualization type: full 08:13:58 L1d cache: 128 KiB 08:13:58 L1i cache: 128 KiB 08:13:58 L2 cache: 16 MiB 08:13:58 L3 cache: 64 MiB 08:13:58 NUMA node0 CPU(s): 0-3 08:13:58 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 08:13:58 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 08:13:58 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 08:13:58 Vulnerability Meltdown: Mitigation; PTI 08:13:58 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:13:58 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:13:58 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:13:58 Vulnerability Srbds: Not affected 08:13:58 Vulnerability Tsx async abort: Not affected 08:13:58 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 08:13:58 08:13:58 08:13:58 ---> nproc: 08:13:58 4 08:13:58 08:13:58 08:13:58 ---> df -h: 08:13:58 Filesystem Size Used Available Use% Mounted on 08:13:58 overlay 50.0G 7.3G 42.7G 15% / 08:13:58 tmpfs 64.0M 0 64.0M 0% /dev 08:13:58 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 08:13:58 shm 64.0M 0 64.0M 0% /dev/shm 08:13:58 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 08:13:58 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 08:13:58 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 08:13:58 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 08:13:58 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/gexfoundry_device-mqtt-go_PR-198 08:13:58 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp 08:13:58 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 08:13:58 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 08:13:58 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 08:13:58 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 08:13:58 08:13:58 08:13:58 ---> free -m: 08:13:58 total used free shared buff/cache available 08:13:58 Mem: 1837 704 91 0 1041 1028 08:13:58 Swap: 1023 0 1023 08:13:58 08:13:58 08:13:58 ---> ip addr: 08:13:58 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:13:58 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:13:58 inet 127.0.0.1/8 scope host lo 08:13:58 valid_lft forever preferred_lft forever 08:13:58 inet6 ::1/128 scope host 08:13:58 valid_lft forever preferred_lft forever 08:13:58 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 08:13:58 link/ether fa:16:3e:29:5c:7e brd ff:ff:ff:ff:ff:ff 08:13:58 inet 10.30.123.123/23 brd 10.30.123.255 scope global dynamic eth0 08:13:58 valid_lft 85898sec preferred_lft 85898sec 08:13:58 inet6 fe80::f816:3eff:fe29:5c7e/64 scope link 08:13:58 valid_lft forever preferred_lft forever 08:13:58 3: docker0: mtu 1500 qdisc noqueue state DOWN 08:13:58 link/ether 02:42:5c:cb:7a:dd brd ff:ff:ff:ff:ff:ff 08:13:58 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 08:13:58 valid_lft forever preferred_lft forever 08:13:58 inet6 fe80::42:5cff:fecb:7add/64 scope link 08:13:58 valid_lft forever preferred_lft forever 08:13:58 08:13:58 08:13:58 ---> sar -b -r -n DEV: 08:13:58 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/11/21 _x86_64_ (4 CPU) 08:13:58 08:13:58 08:05:21 LINUX RESTART (4 CPU) 08:13:58 08:13:58 08:06:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:13:58 08:07:01 104.37 44.17 60.20 0.00 7238.10 22400.46 0.00 08:13:58 08:08:01 9.76 3.60 6.16 0.00 693.11 167.90 0.00 08:13:58 08:09:01 0.32 0.00 0.32 0.00 0.00 5.13 0.00 08:13:58 08:10:01 0.28 0.00 0.28 0.00 0.00 3.45 0.00 08:13:58 08:11:02 0.22 0.00 0.22 0.00 0.00 2.88 0.00 08:13:58 08:12:01 0.41 0.00 0.41 0.00 0.00 6.70 0.00 08:13:58 08:13:01 0.25 0.00 0.25 0.00 0.00 2.70 0.00 08:13:58 Average: 16.36 6.76 9.60 0.00 1122.27 3191.98 0.00 08:13:58 08:13:58 08:06:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:13:58 08:07:01 71084 0 708768 37.67 2620 1099072 2125748 72.55 486576 1119580 32 08:13:58 08:08:01 163220 0 601636 31.98 2620 1114068 1162072 39.66 412728 1103684 20 08:13:58 08:09:01 168180 0 596672 31.71 2620 1114072 1145148 39.08 421776 1090292 8 08:13:58 08:10:01 171208 0 593640 31.55 2620 1114076 1108184 37.82 421680 1088084 20 08:13:58 08:11:02 170908 0 593936 31.57 2620 1114080 1108208 37.82 424796 1085000 12 08:13:58 08:12:01 169516 0 595324 31.64 2620 1114084 1108160 37.82 435364 1076388 12 08:13:58 08:13:01 169492 0 595344 31.64 2620 1114088 1108476 37.83 435312 1076388 8 08:13:58 Average: 154801 0 612189 32.54 2620 1111934 1266571 43.23 434033 1091345 16 08:13:58 08:13:58 08:06:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:13:58 08:07:01 veth2763921 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:13:58 08:07:01 eth0 246.01 190.68 1035.58 77.49 0.00 0.00 0.00 0.00 08:13:58 08:07:01 veth241d864 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:13:58 08:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:13:58 08:08:01 eth0 24.53 18.76 27.28 20.83 0.00 0.00 0.00 0.00 08:13:58 08:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:13:58 08:08:01 docker0 2.74 2.14 0.46 4.12 0.00 0.00 0.00 0.00 08:13:58 08:09:01 eth0 3.99 0.93 1.23 0.60 0.00 0.00 0.00 0.00 08:13:58 08:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:13:58 08:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:13:58 08:10:01 eth0 3.65 0.83 0.98 0.60 0.00 0.00 0.00 0.00 08:13:58 08:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:13:58 08:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:13:58 08:11:02 eth0 3.20 0.90 0.95 0.56 0.00 0.00 0.00 0.00 08:13:58 08:11:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:13:58 08:11:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:13:58 08:12:01 eth0 2.06 0.93 1.01 0.70 0.00 0.00 0.00 0.00 08:13:58 08:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:13:58 08:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:13:58 08:13:01 eth0 0.60 0.28 0.28 0.20 0.00 0.00 0.00 0.00 08:13:58 08:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:13:58 08:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:13:58 Average: eth0 40.22 30.19 150.87 14.32 0.00 0.00 0.00 0.00 08:13:58 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:13:58 Average: docker0 0.39 0.31 0.07 0.59 0.00 0.00 0.00 0.00 08:13:58 08:13:58 08:13:58 ---> sar -P ALL: 08:13:58 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/11/21 _x86_64_ (4 CPU) 08:13:58 08:13:58 08:05:21 LINUX RESTART (4 CPU) 08:13:58 08:13:58 08:06:02 CPU %user %nice %system %iowait %steal %idle 08:13:58 08:07:01 all 13.61 0.00 6.21 3.12 23.88 53.18 08:13:58 08:07:01 0 10.17 0.00 6.36 3.55 25.99 53.93 08:13:58 08:07:01 1 16.33 0.00 6.65 2.77 23.04 51.21 08:13:58 08:07:01 2 15.41 0.00 5.60 3.15 22.32 53.52 08:13:58 08:07:01 3 12.65 0.00 6.23 2.98 24.09 54.05 08:13:58 08:08:01 all 1.04 0.00 1.08 0.12 5.50 92.26 08:13:58 08:08:01 0 0.96 0.00 0.85 0.08 5.46 92.65 08:13:58 08:08:01 1 0.86 0.00 1.29 0.24 5.83 91.78 08:13:58 08:08:01 2 1.14 0.00 1.17 0.10 5.32 92.27 08:13:58 08:08:01 3 1.19 0.00 1.01 0.07 5.38 92.35 08:13:58 08:09:01 all 0.07 0.00 0.09 0.00 1.15 98.69 08:13:58 08:09:01 0 0.18 0.00 0.07 0.00 1.12 98.63 08:13:58 08:09:01 1 0.03 0.00 0.12 0.00 1.07 98.78 08:13:58 08:09:01 2 0.05 0.00 0.08 0.00 1.51 98.35 08:13:58 08:09:01 3 0.03 0.00 0.08 0.00 0.89 98.99 08:13:58 08:10:01 all 0.08 0.00 0.14 0.00 1.32 98.47 08:13:58 08:10:01 0 0.15 0.00 0.12 0.00 1.34 98.40 08:13:58 08:10:01 1 0.08 0.00 0.16 0.00 1.60 98.16 08:13:58 08:10:01 2 0.03 0.00 0.13 0.00 0.99 98.84 08:13:58 08:10:01 3 0.05 0.00 0.13 0.00 1.35 98.47 08:13:58 08:11:02 all 0.07 0.00 0.05 0.00 0.70 99.17 08:13:58 08:11:02 0 0.18 0.00 0.03 0.00 0.66 99.12 08:13:58 08:11:02 1 0.02 0.00 0.08 0.00 0.61 99.29 08:13:58 08:11:02 2 0.03 0.00 0.03 0.00 0.56 99.37 08:13:58 08:11:02 3 0.07 0.00 0.05 0.00 0.96 98.92 08:13:58 08:12:01 all 0.10 0.00 0.21 0.00 0.97 98.72 08:13:58 08:12:01 0 0.08 0.00 0.22 0.00 0.73 98.97 08:13:58 08:12:01 1 0.03 0.00 0.30 0.00 1.01 98.65 08:13:58 08:12:01 2 0.25 0.00 0.07 0.00 1.39 98.29 08:13:58 08:12:01 3 0.03 0.00 0.24 0.00 0.76 98.97 08:13:58 08:13:01 all 0.08 0.00 0.04 0.00 0.32 99.56 08:13:58 08:13:01 0 0.02 0.00 0.03 0.00 0.13 99.82 08:13:58 08:13:01 1 0.05 0.00 0.05 0.00 0.50 99.40 08:13:58 08:13:01 2 0.23 0.00 0.03 0.00 0.27 99.47 08:13:58 08:13:01 3 0.02 0.00 0.03 0.00 0.38 99.57 08:13:58 Average: all 2.19 0.00 1.14 0.47 4.91 91.28 08:13:58 Average: 0 1.74 0.00 1.14 0.54 5.22 91.36 08:13:58 Average: 1 2.53 0.00 1.26 0.44 4.88 90.89 08:13:58 Average: 2 2.47 0.00 1.03 0.47 4.67 91.36 08:13:58 Average: 3 2.03 0.00 1.13 0.44 4.89 91.51 08:13:58 08:13:58 08:13:58