Pull request #208 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2+cdd6c33d41f01dc10b68606080ac8b6263924bf1 (798e770c2c745844bbd7e3b900f871e211c9c731) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-208/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-208/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d 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-20900 in /w/workspace/gexfoundry_device-mqtt-go_PR-208 [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-208 # 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 Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 Merge succeeded, producing 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 Checking out Revision 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 (PR-208) > 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/208/head:refs/remotes/origin/PR-208 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 # 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 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.7.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:09:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:09:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:09:16 ========================================================= 06:09:16 EdgeX Global Pipelines Version Info 06:09:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:09:18 ------------------- 06:09:18 stable info: 06:09:18 ------------------- 06:09:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:09:18 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 06:09:18 Message: update stable to v1.0.177 06:09:19 ------------------- 06:09:19 experimental info: 06:09:19 ------------------- 06:09:19 Commited By: **** collab-it+edgex@linuxfoundation.org 06:09:19 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 06:09:19 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:09:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 06:09:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 06:09:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:09:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:09:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:09:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:09:20 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 06:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:09:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:09:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:09:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:09:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:09:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:09:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 06:09:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:09:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:09:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:09:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:09:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:09:23 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:09:23 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:09:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-208 [Pipeline] echo 06:09:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-208 [Pipeline] echo 06:09:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-208 [Pipeline] echo 06:09:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 [Pipeline] echo 06:09:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5dc0bc9 [Pipeline] echo 06:09:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:09:24 provisioning config files... 06:09:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp/config8283947718604574208tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:09:24 ---> docker-login.sh 06:09:24 nexus3.edgexfoundry.org:10001 06:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:25 Configure a credential helper to remove this warning. See 06:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:25 06:09:25 Login Succeeded 06:09:25 nexus3.edgexfoundry.org:10002 06:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:25 Configure a credential helper to remove this warning. See 06:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:25 06:09:25 Login Succeeded 06:09:25 nexus3.edgexfoundry.org:10003 06:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:25 Configure a credential helper to remove this warning. See 06:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:25 06:09:25 Login Succeeded 06:09:25 nexus3.edgexfoundry.org:10004 06:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:25 Configure a credential helper to remove this warning. See 06:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:25 06:09:25 Login Succeeded 06:09:25 docker.io 06:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:25 Configure a credential helper to remove this warning. See 06:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:25 06:09:25 Login Succeeded 06:09:25 ---> docker-login.sh ends [Pipeline] } 06:09:25 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 06:09:27 + git log --format=format:%s -1 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 [Pipeline] echo 06:09:27 GIT_COMMIT: 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2, Commit Message: build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.7.0 [Pipeline] echo 06:09:27 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:09:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:09:28 06:09:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:09:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:09:28 latest: Pulling from edgex-devops/git-semver 06:09:28 31603596830f: Pulling fs layer 06:09:28 2a8b12db71e7: Pulling fs layer 06:09:28 6ca5941a6612: Pulling fs layer 06:09:28 ecc8261a40a4: Pulling fs layer 06:09:28 ecc8261a40a4: Waiting 06:09:28 2a8b12db71e7: Verifying Checksum 06:09:28 2a8b12db71e7: Download complete 06:09:28 31603596830f: Verifying Checksum 06:09:28 31603596830f: Download complete 06:09:28 ecc8261a40a4: Verifying Checksum 06:09:28 ecc8261a40a4: Download complete 06:09:29 6ca5941a6612: Verifying Checksum 06:09:29 6ca5941a6612: Download complete 06:09:29 31603596830f: Pull complete 06:09:29 2a8b12db71e7: Pull complete 06:09:29 6ca5941a6612: Pull complete 06:09:30 ecc8261a40a4: Pull complete 06:09:30 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:09:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:09:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:09:30 prd-centos7-docker-4c-2g-20900 does not seem to be running inside a container 06:09:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-208 -v /w/workspace/gexfoundry_device-mqtt-go_PR-208:/w/workspace/gexfoundry_device-mqtt-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:09:32 $ docker top 0a1e1db8c33c17141f3695353b98e6ce9b627c0a35bd2d7e494ed39a9d085a03 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:09:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:09:32 [ssh-agent] Looking for ssh-agent implementation... 06:09:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:09:33 $ docker exec 0a1e1db8c33c17141f3695353b98e6ce9b627c0a35bd2d7e494ed39a9d085a03 ssh-agent 06:09:33 SSH_AUTH_SOCK=/tmp/ssh-xJ6fhEHnRX7o/agent.11 06:09:33 SSH_AGENT_PID=16 06:09:33 Running ssh-add (command line suppressed) 06:09:33 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp/private_key_987293435798923793.key (/w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp/private_key_987293435798923793.key) 06:09:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:09:33 + git tag --points-at HEAD [Pipeline] } 06:09:33 $ docker exec --env ******** --env ******** 0a1e1db8c33c17141f3695353b98e6ce9b627c0a35bd2d7e494ed39a9d085a03 ssh-agent -k 06:09:33 unset SSH_AUTH_SOCK; 06:09:33 unset SSH_AGENT_PID; 06:09:33 echo Agent pid 16 killed; 06:09:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:09:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:09:34 [ssh-agent] Looking for ssh-agent implementation... 06:09:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:09:34 $ docker exec 0a1e1db8c33c17141f3695353b98e6ce9b627c0a35bd2d7e494ed39a9d085a03 ssh-agent 06:09:34 SSH_AUTH_SOCK=/tmp/ssh-ZcobfqJGu3sd/agent.46 06:09:34 SSH_AGENT_PID=51 06:09:34 Running ssh-add (command line suppressed) 06:09:34 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp/private_key_6977910084735236782.key (/w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp/private_key_6977910084735236782.key) 06:09:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:09:34 + git semver init 06:09:34 # -> Open(): unable to determine branch for HEAD 06:09:34 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-208/.git 06:09:34 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-208 06:09:34 # $SEMVER_REMOTE_NAME = origin 06:09:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:09:34 # $SEMVER_USER_NAME = edgex-jenkins 06:09:34 # $SEMVER_BRANCH = PR-208 06:09:34 # $SEMVER_TEMP = /tmp/semver-689890260 06:09:34 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 06:09:35 # '/tmp/semver-689890260' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-208/.semver' 06:09:35 # -> Force: false 06:09:35 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-208/.semver [Pipeline] } 06:09:35 $ docker exec --env ******** --env ******** 0a1e1db8c33c17141f3695353b98e6ce9b627c0a35bd2d7e494ed39a9d085a03 ssh-agent -k 06:09:35 unset SSH_AUTH_SOCK; 06:09:35 unset SSH_AGENT_PID; 06:09:35 echo Agent pid 51 killed; 06:09:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:09:36 + git semver [Pipeline] } 06:09:36 $ docker stop --time=1 0a1e1db8c33c17141f3695353b98e6ce9b627c0a35bd2d7e494ed39a9d085a03 06:09:37 $ docker rm -f 0a1e1db8c33c17141f3695353b98e6ce9b627c0a35bd2d7e494ed39a9d085a03 [Pipeline] // withDockerContainer [Pipeline] sh 06:09:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:09:38 Stashed 1 file(s) [Pipeline] echo 06:09:38 [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 06:09:54 Still waiting to schedule task 06:09:54 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:09:54 Still waiting to schedule task 06:09:54 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 06:11:41 Running on prd-centos7-docker-4c-2g-20903 in /w/workspace/gexfoundry_device-mqtt-go_PR-208 [Pipeline] { [Pipeline] ws 06:11:42 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 06:11:44 using credential edgex-jenkins-ssh 06:11:44 Cloning the remote Git repository 06:11:44 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 06:11:45 > git init /w/workspace/device-mqtt-go/1 # timeout=10 06:11:45 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:11:45 > git --version # timeout=10 06:11:45 > git --version # 'git version 2.24.3' 06:11:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:11:45 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:11:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:11:45 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:11:45 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:11:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/208/head:refs/remotes/origin/PR-208 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:11:46 Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 06:11:46 Merge succeeded, producing 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 06:11:46 Checking out Revision 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 (PR-208) 06:11:46 > git config core.sparsecheckout # timeout=10 06:11:46 > git checkout -f 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 # timeout=10 06:11:46 > git remote # timeout=10 06:11:46 > git config --get remote.origin.url # timeout=10 06:11:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:46 > git merge cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 06:11:46 > git rev-parse HEAD^{commit} # timeout=10 06:11:46 > git config core.sparsecheckout # timeout=10 06:11:46 > git checkout -f 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 # timeout=10 06:11:50 Commit message: "build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.7.0" 06:11:50 > git --version # timeout=10 06:11:50 > git --version # 'git version 2.24.3' 06:11:50 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:11:52 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:11:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:11:52 + sudo service docker restart 06:11:52 + true 06:11:52 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:11:54 provisioning config files... 06:11:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config4188585038011831837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:55 ---> docker-login.sh 06:11:55 nexus3.edgexfoundry.org:10001 06:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:55 Configure a credential helper to remove this warning. See 06:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:55 06:11:55 Login Succeeded 06:11:55 nexus3.edgexfoundry.org:10002 06:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:55 Configure a credential helper to remove this warning. See 06:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:55 06:11:55 Login Succeeded 06:11:55 nexus3.edgexfoundry.org:10003 06:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:56 Configure a credential helper to remove this warning. See 06:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:56 06:11:56 Login Succeeded 06:11:56 nexus3.edgexfoundry.org:10004 06:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:56 Configure a credential helper to remove this warning. See 06:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:56 06:11:56 Login Succeeded 06:11:56 docker.io 06:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:56 Configure a credential helper to remove this warning. See 06:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:56 06:11:56 Login Succeeded 06:11:56 ---> docker-login.sh ends [Pipeline] } 06:11:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:11:57 ========================================================= 06:11:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:11:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:11:58 + 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 . 06:11:58 Sending build context to Docker daemon 493.1kB 06:11:58 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:11:58 Step 2/8 : FROM ${BASE} 06:11:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:11:58 188c0c94c7c5: Pulling fs layer 06:11:58 0ef7d3d256c8: Pulling fs layer 06:11:58 de9db76c5a1d: Pulling fs layer 06:11:58 bca2f99d35d6: Pulling fs layer 06:11:58 93359f2a8cfa: Pulling fs layer 06:11:58 7c6f9722023f: Pulling fs layer 06:11:58 a35cf1a2eb13: Pulling fs layer 06:11:58 93359f2a8cfa: Waiting 06:11:58 7c6f9722023f: Waiting 06:11:58 a35cf1a2eb13: Waiting 06:11:58 de9db76c5a1d: Verifying Checksum 06:11:58 de9db76c5a1d: Download complete 06:11:58 0ef7d3d256c8: Download complete 06:11:58 93359f2a8cfa: Verifying Checksum 06:11:58 93359f2a8cfa: Download complete 06:11:58 7c6f9722023f: Verifying Checksum 06:11:58 7c6f9722023f: Download complete 06:11:58 188c0c94c7c5: Verifying Checksum 06:11:58 188c0c94c7c5: Download complete 06:11:58 188c0c94c7c5: Pull complete 06:11:59 0ef7d3d256c8: Pull complete 06:11:59 de9db76c5a1d: Pull complete 06:12:01 a35cf1a2eb13: Verifying Checksum 06:12:01 a35cf1a2eb13: Download complete 06:12:01 bca2f99d35d6: Verifying Checksum 06:12:01 bca2f99d35d6: Download complete 06:12:06 bca2f99d35d6: Pull complete 06:12:06 93359f2a8cfa: Pull complete 06:12:07 7c6f9722023f: Pull complete 06:12:13 a35cf1a2eb13: Pull complete 06:12:13 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:12:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:12:13 ---> a62c8e92a672 06:12:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:12:14 ---> Running in 6d7f200c26a4 06:12:14 Removing intermediate container 6d7f200c26a4 06:12:14 ---> ef4d5a8650e5 06:12:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:12:14 ---> Running in 9ebbfe83a8d3 06:12:16 Removing intermediate container 9ebbfe83a8d3 06:12:16 ---> d128e7839a80 06:12:16 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:12:16 ---> Running in c73c20cb29e6 06:12:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:12:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:12:18 (1/14) Installing libmagic (5.38-r0) 06:12:18 (2/14) Installing file (5.38-r0) 06:12:18 (3/14) Installing libc-dev (0.7.2-r3) 06:12:18 (4/14) Installing g++ (9.3.0-r2) 06:12:22 (5/14) Installing fortify-headers (1.1-r0) 06:12:22 (6/14) Installing patch (2.7.6-r6) 06:12:22 (7/14) Installing build-base (0.5-r2) 06:12:22 (8/14) Installing openssh-keygen (8.3_p1-r1) 06:12:22 (9/14) Installing libedit (20191231.3.1-r0) 06:12:22 (10/14) Installing openssh-client (8.3_p1-r1) 06:12:23 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 06:12:23 (12/14) Installing openssh-server-common (8.3_p1-r1) 06:12:23 (13/14) Installing openssh-server (8.3_p1-r1) 06:12:23 (14/14) Installing openssh (8.3_p1-r1) 06:12:23 Executing busybox-1.31.1-r19.trigger 06:12:23 OK: 237 MiB in 53 packages 06:12:27 Removing intermediate container c73c20cb29e6 06:12:27 ---> a516c8864798 06:12:27 Step 6/8 : WORKDIR /device-mqtt-go 06:12:27 ---> Running in a6c0e5c54eb2 06:12:27 Removing intermediate container a6c0e5c54eb2 06:12:27 ---> 4541cc76f46a 06:12:27 Step 7/8 : COPY . . 06:12:28 ---> 42e28229e7bd 06:12:28 Step 8/8 : RUN go mod download 06:12:28 ---> Running in d6566bdd6950 06:12:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20904 in /w/workspace/gexfoundry_device-mqtt-go_PR-208 [Pipeline] { [Pipeline] ws 06:12:42 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 06:12:47 using credential edgex-jenkins-ssh 06:12:47 Cloning the remote Git repository 06:12:47 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 06:12:47 > git init /w/workspace/device-mqtt-go/1 # timeout=10 06:12:47 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:12:47 > git --version # timeout=10 06:12:47 > git --version # 'git version 2.17.1' 06:12:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:12:49 Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 06:12:49 Merge succeeded, producing 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 06:12:49 Checking out Revision 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 (PR-208) 06:12:48 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:12:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:12:48 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:12:48 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:12:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/208/head:refs/remotes/origin/PR-208 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:12:49 > git config core.sparsecheckout # timeout=10 06:12:49 > git checkout -f 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 # timeout=10 06:12:49 > git remote # timeout=10 06:12:49 > git config --get remote.origin.url # timeout=10 06:12:49 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:49 > git merge cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 06:12:49 > git rev-parse HEAD^{commit} # timeout=10 06:12:49 > git config core.sparsecheckout # timeout=10 06:12:49 > git checkout -f 5dc0bc9dc7457280f68ca27c7023fed29ea34cb2 # timeout=10 06:12:50 Removing intermediate container d6566bdd6950 06:12:50 ---> 904aa5ac7987 06:12:50 Successfully built 904aa5ac7987 06:12:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:12:50 + docker inspect -f . ci-base-image-x86_64 06:12:50 . [Pipeline] withDockerContainer 06:12:51 prd-centos7-docker-4c-2g-20903 does not seem to be running inside a container 06:12:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:12:51 $ docker top 93d1116193b27167395cd34afb267d1bba4ef7095fe55ac885796d399ac501c6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:52 + go version 06:12:52 go version go1.15.5 linux/amd64 [Pipeline] } 06:12:52 $ docker stop --time=1 93d1116193b27167395cd34afb267d1bba4ef7095fe55ac885796d399ac501c6 06:12:53 Commit message: "build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.7.0" 06:12:53 > git --version # timeout=10 06:12:53 > git --version # 'git version 2.17.1' 06:12:53 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d 06:12:54 $ docker rm -f 93d1116193b27167395cd34afb267d1bba4ef7095fe55ac885796d399ac501c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 06:12:55 + docker inspect -f . ci-base-image-x86_64 06:12:55 . [Pipeline] withDockerContainer 06:12:56 prd-centos7-docker-4c-2g-20903 does not seem to be running inside a container 06:12:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:12:56 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 06:12:56 $ docker top 10c5a5f14eb6e320888130654f247556040e444431a67f837586bc3a9c3931d4 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 06:12:57 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:12:57 + make test 06:12:57 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:12:58 + sudo service docker restart 06:12:58 + true 06:12:59 ? github.com/edgexfoundry/device-mqtt-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:13:00 provisioning config files... 06:13:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8959825436680363212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:01 ---> docker-login.sh 06:13:01 nexus3.edgexfoundry.org:10001 06:13:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:02 Configure a credential helper to remove this warning. See 06:13:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:02 06:13:02 Login Succeeded 06:13:02 nexus3.edgexfoundry.org:10002 06:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:03 Configure a credential helper to remove this warning. See 06:13:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:03 06:13:03 Login Succeeded 06:13:03 nexus3.edgexfoundry.org:10003 06:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:03 Configure a credential helper to remove this warning. See 06:13:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:03 06:13:03 Login Succeeded 06:13:03 nexus3.edgexfoundry.org:10004 06:13:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:04 Configure a credential helper to remove this warning. See 06:13:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:04 06:13:04 Login Succeeded 06:13:04 docker.io 06:13:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:04 Configure a credential helper to remove this warning. See 06:13:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:04 06:13:04 Login Succeeded 06:13:04 ---> docker-login.sh ends [Pipeline] } 06:13:05 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:13:05 ========================================================= 06:13:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:13:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:13:06 + 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 . 06:13:06 Sending build context to Docker daemon 492kB 06:13:06 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:13:06 Step 2/8 : FROM ${BASE} 06:13:06 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:13:06 5f621e34cdf4: Pulling fs layer 06:13:06 a4357932f1b6: Pulling fs layer 06:13:06 18c013af1878: Pulling fs layer 06:13:06 00ac8860ef70: Pulling fs layer 06:13:06 63d7cb157983: Pulling fs layer 06:13:06 b116817d02f9: Pulling fs layer 06:13:06 745a02a5169b: Pulling fs layer 06:13:06 00ac8860ef70: Waiting 06:13:06 63d7cb157983: Waiting 06:13:06 b116817d02f9: Waiting 06:13:06 745a02a5169b: Waiting 06:13:06 18c013af1878: Download complete 06:13:06 a4357932f1b6: Verifying Checksum 06:13:06 a4357932f1b6: Download complete 06:13:06 63d7cb157983: Verifying Checksum 06:13:06 63d7cb157983: Download complete 06:13:06 b116817d02f9: Verifying Checksum 06:13:06 b116817d02f9: Download complete 06:13:06 5f621e34cdf4: Verifying Checksum 06:13:06 5f621e34cdf4: Download complete 06:13:07 5f621e34cdf4: Pull complete 06:13:07 a4357932f1b6: Pull complete 06:13:08 18c013af1878: Pull complete 06:13:09 745a02a5169b: Verifying Checksum 06:13:09 745a02a5169b: Download complete 06:13:11 00ac8860ef70: Verifying Checksum 06:13:11 00ac8860ef70: Download complete 06:13:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:13:13 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 28.3% of statements 06:13:13 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:13:13 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:13:16 gofmt -l . 06:13:16 ["`gofmt -l .`" = ""] 06:13:16 ./bin/test-attribution-txt.sh 06:13:16 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 06:13:16 make: *** [Makefile:29: test] Error 1 [Pipeline] } 06:13:16 $ docker stop --time=1 10c5a5f14eb6e320888130654f247556040e444431a67f837586bc3a9c3931d4 06:13:19 $ docker rm -f 10c5a5f14eb6e320888130654f247556040e444431a67f837586bc3a9c3931d4 [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] } 06:13:21 00ac8860ef70: Pull complete 06:13:21 63d7cb157983: Pull complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 06:13:21 b116817d02f9: Pull complete [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:13:22 Failed in branch amd64 06:13:25 745a02a5169b: Pull complete 06:13:25 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:13:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:13:25 ---> b7e6874047d6 06:13:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:13:28 ---> Running in 442825b86dcc 06:13:28 Removing intermediate container 442825b86dcc 06:13:28 ---> 5b655d1d021d 06:13:28 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:13:28 ---> Running in b55e567995ad 06:13:31 Removing intermediate container b55e567995ad 06:13:31 ---> cc4e139edd5b 06:13:31 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:13:31 ---> Running in 61d5d10e3a89 06:13:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:13:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:13:33 (1/14) Installing libmagic (5.38-r0) 06:13:33 (2/14) Installing file (5.38-r0) 06:13:33 (3/14) Installing libc-dev (0.7.2-r3) 06:13:34 (4/14) Installing g++ (9.3.0-r2) 06:13:38 (5/14) Installing fortify-headers (1.1-r0) 06:13:38 (6/14) Installing patch (2.7.6-r6) 06:13:38 (7/14) Installing build-base (0.5-r2) 06:13:38 (8/14) Installing openssh-keygen (8.3_p1-r1) 06:13:38 (9/14) Installing libedit (20191231.3.1-r0) 06:13:38 (10/14) Installing openssh-client (8.3_p1-r1) 06:13:38 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 06:13:38 (12/14) Installing openssh-server-common (8.3_p1-r1) 06:13:39 (13/14) Installing openssh-server (8.3_p1-r1) 06:13:39 (14/14) Installing openssh (8.3_p1-r1) 06:13:39 Executing busybox-1.31.1-r19.trigger 06:13:39 OK: 221 MiB in 53 packages 06:13:43 Removing intermediate container 61d5d10e3a89 06:13:43 ---> 018dc08479fc 06:13:43 Step 6/8 : WORKDIR /device-mqtt-go 06:13:43 ---> Running in 4062ebac67d5 06:13:44 Removing intermediate container 4062ebac67d5 06:13:44 ---> afe5c9e8b0c7 06:13:44 Step 7/8 : COPY . . 06:13:45 ---> 37eafdb8c4e9 06:13:45 Step 8/8 : RUN go mod download 06:13:45 ---> Running in ae3e905e6cf6 06:14:12 Removing intermediate container ae3e905e6cf6 06:14:12 ---> 87848e799315 06:14:12 Successfully built 87848e799315 06:14:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:14:12 + docker inspect -f . ci-base-image-arm64 06:14:12 . [Pipeline] withDockerContainer 06:14:12 prd-ubuntu18.04-docker-arm64-4c-16g-20904 does not seem to be running inside a container 06:14:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:14:14 $ docker top 27f91cfd256a5dfed2d40e7d3e0568bcd46b81fb63562e6c743287a59b2d3f26 -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:15 + go version 06:14:15 go version go1.15.5 linux/arm64 [Pipeline] } 06:14:15 $ docker stop --time=1 27f91cfd256a5dfed2d40e7d3e0568bcd46b81fb63562e6c743287a59b2d3f26 06:14:17 $ docker rm -f 27f91cfd256a5dfed2d40e7d3e0568bcd46b81fb63562e6c743287a59b2d3f26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:14:19 + docker inspect -f . ci-base-image-arm64 06:14:19 . [Pipeline] withDockerContainer 06:14:19 prd-ubuntu18.04-docker-arm64-4c-16g-20904 does not seem to be running inside a container 06:14:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:14:21 $ docker top d7c8f1fb75eca9cea424c8f8ef41093a00ed90575e97f0bda1aeecc751531d4a -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:22 + make test 06:14:22 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:14:23 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:15:02 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:15:02 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.038s coverage: 28.3% of statements 06:15:02 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:15:02 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:15:10 gofmt -l . 06:15:10 ["`gofmt -l .`" = ""] 06:15:10 ./bin/test-attribution-txt.sh 06:15:11 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 06:15:11 make: *** [Makefile:29: test] Error 1 [Pipeline] } 06:15:11 $ docker stop --time=1 d7c8f1fb75eca9cea424c8f8ef41093a00ed90575e97f0bda1aeecc751531d4a 06:15:13 $ docker rm -f d7c8f1fb75eca9cea424c8f8ef41093a00ed90575e97f0bda1aeecc751531d4a [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] } 06:15:16 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 06:15:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:15:21 ---> package-listing.sh 06:15:21 ++ facter osfamily 06:15:21 ++ tr '[:upper:]' '[:lower:]' 06:15:21 + OS_FAMILY=redhat 06:15:21 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-208 06:15:21 + START_PACKAGES=/tmp/packages_start.txt 06:15:21 + END_PACKAGES=/tmp/packages_end.txt 06:15:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:15:21 + PACKAGES=/tmp/packages_start.txt 06:15:21 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-208 ']' 06:15:21 + PACKAGES=/tmp/packages_end.txt 06:15:21 + case "${OS_FAMILY}" in 06:15:21 + rpm -qa 06:15:21 + sort 06:15:25 + '[' -f /tmp/packages_start.txt ']' 06:15:25 + '[' -f /tmp/packages_end.txt ']' 06:15:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:15:25 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-208 ']' 06:15:25 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-208/archives/ 06:15:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-208/archives/ [Pipeline] echo 06:15:25 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-208/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:15:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:15:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:15:26 06:15:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:15:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:15:26 alpine: Pulling from edgex-lftools-log-publisher 06:15:26 df20fa9351a1: Pulling fs layer 06:15:26 36b3adc4ff6f: Pulling fs layer 06:15:26 8ad3a11d3b57: Pulling fs layer 06:15:26 46f8f816bc3b: Pulling fs layer 06:15:26 93b61091891f: Pulling fs layer 06:15:26 93b9cdb0e59b: Pulling fs layer 06:15:26 5e14af77c1be: Pulling fs layer 06:15:26 01666e4c0597: Pulling fs layer 06:15:26 aa168da1d23b: Pulling fs layer 06:15:26 46f8f816bc3b: Waiting 06:15:26 93b61091891f: Waiting 06:15:26 93b9cdb0e59b: Waiting 06:15:26 5e14af77c1be: Waiting 06:15:26 01666e4c0597: Waiting 06:15:26 aa168da1d23b: Waiting 06:15:26 36b3adc4ff6f: Verifying Checksum 06:15:26 36b3adc4ff6f: Download complete 06:15:26 46f8f816bc3b: Verifying Checksum 06:15:26 46f8f816bc3b: Download complete 06:15:26 df20fa9351a1: Verifying Checksum 06:15:26 df20fa9351a1: Download complete 06:15:26 93b9cdb0e59b: Verifying Checksum 06:15:26 93b9cdb0e59b: Download complete 06:15:26 5e14af77c1be: Verifying Checksum 06:15:26 5e14af77c1be: Download complete 06:15:26 01666e4c0597: Verifying Checksum 06:15:26 01666e4c0597: Download complete 06:15:26 8ad3a11d3b57: Verifying Checksum 06:15:26 8ad3a11d3b57: Download complete 06:15:27 93b61091891f: Verifying Checksum 06:15:27 93b61091891f: Download complete 06:15:27 df20fa9351a1: Pull complete 06:15:27 36b3adc4ff6f: Pull complete 06:15:28 8ad3a11d3b57: Pull complete 06:15:28 46f8f816bc3b: Pull complete 06:15:29 aa168da1d23b: Verifying Checksum 06:15:29 aa168da1d23b: Download complete 06:15:29 93b61091891f: Pull complete 06:15:30 93b9cdb0e59b: Pull complete 06:15:30 5e14af77c1be: Pull complete 06:15:30 01666e4c0597: Pull complete 06:15:38 aa168da1d23b: Pull complete 06:15:38 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:15:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:15:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:15:38 prd-centos7-docker-4c-2g-20900 does not seem to be running inside a container 06:15:38 $ 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-208/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-208 -v /w/workspace/gexfoundry_device-mqtt-go_PR-208:/w/workspace/gexfoundry_device-mqtt-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:15:42 $ docker top 100ba7c978d32ad4bccc40aead9d69524126a9d8831e49ddcc36eb43887c06c9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:43 + touch /tmp/pre-build-complete [Pipeline] sh 06:15:43 + mkdir -p /var/log/sa [Pipeline] sh 06:15:44 + ls /var/log/sa-host 06:15:44 + sadf -c /var/log/sa-host/sa18 06:15:44 file_magic: OK 06:15:44 HZ: Using current value: 100 06:15:44 file_header: OK 06:15:44 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 06:15:44 Statistics: 06:15:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:15:44 File successfully converted to sysstat format version 12.2.1 06:15:44 + sadf -c /var/log/sa-host/sa23 06:15:44 file_magic: OK 06:15:44 HZ: Using current value: 100 06:15:44 file_header: OK 06:15:44 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 06:15:44 Statistics: 06:15:44 Hnuu...uuuununununu... 06:15:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:44 provisioning config files... 06:15:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp/config8666106083976430031tmp [Pipeline] { [Pipeline] echo 06:15:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:15:45 ---> create-netrc.sh [Pipeline] } 06:15:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:15:45 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:15:45 ---> python-tools-install.sh [Pipeline] echo 06:15:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:15:46 ---> sudo-logs.sh 06:15:46 Archiving 'sudo' log.. [Pipeline] echo 06:15:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:15:46 ---> job-cost.sh 06:15:46 lf-activate-venv: SKIPPING 06:15:46 INFO: No Stack... 06:15:47 INFO: Retrieving Pricing Info for: v1-standard-2 06:15:48 INFO: Archiving Costs [Pipeline] echo 06:15:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:15:48 ---> logs-deploy.sh 06:15:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-208/1 06:15:48 INFO: archiving workspace using pattern(s): 06:15:50 Archives upload complete. 06:15:50 INFO: archiving logs to Nexus 06:15:51 ---> uname -a: 06:15:51 Linux prd-centos7-docker-4c-2g-20900.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:15:51 06:15:51 06:15:51 ---> lscpu: 06:15:51 Architecture: x86_64 06:15:51 CPU op-mode(s): 32-bit, 64-bit 06:15:51 Byte Order: Little Endian 06:15:51 Address sizes: 40 bits physical, 48 bits virtual 06:15:51 CPU(s): 4 06:15:51 On-line CPU(s) list: 0-3 06:15:51 Thread(s) per core: 1 06:15:51 Core(s) per socket: 1 06:15:51 Socket(s): 4 06:15:51 NUMA node(s): 1 06:15:51 Vendor ID: GenuineIntel 06:15:51 CPU family: 6 06:15:51 Model: 44 06:15:51 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:15:51 Stepping: 1 06:15:51 CPU MHz: 2933.438 06:15:51 BogoMIPS: 5866.87 06:15:51 Virtualization: VT-x 06:15:51 Hypervisor vendor: KVM 06:15:51 Virtualization type: full 06:15:51 L1d cache: 128 KiB 06:15:51 L1i cache: 128 KiB 06:15:51 L2 cache: 16 MiB 06:15:51 L3 cache: 64 MiB 06:15:51 NUMA node0 CPU(s): 0-3 06:15:51 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:15:51 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:15:51 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:15:51 Vulnerability Meltdown: Mitigation; PTI 06:15:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:15:51 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:15:51 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:15:51 Vulnerability Srbds: Not affected 06:15:51 Vulnerability Tsx async abort: Not affected 06:15:51 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 06:15:51 06:15:51 06:15:51 ---> nproc: 06:15:51 4 06:15:51 06:15:51 06:15:51 ---> df -h: 06:15:51 Filesystem Size Used Available Use% Mounted on 06:15:51 overlay 50.0G 7.3G 42.7G 15% / 06:15:51 tmpfs 64.0M 0 64.0M 0% /dev 06:15:51 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:15:51 shm 64.0M 0 64.0M 0% /dev/shm 06:15:51 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:15:51 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:15:51 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:15:51 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:15:51 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:15:51 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/gexfoundry_device-mqtt-go_PR-208 06:15:51 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:15:51 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/gexfoundry_device-mqtt-go_PR-208@tmp 06:15:51 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:15:51 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:15:51 06:15:51 06:15:51 ---> free -m: 06:15:51 total used free shared buff/cache available 06:15:51 Mem: 1837 700 77 0 1058 1032 06:15:51 Swap: 1023 0 1023 06:15:51 06:15:51 06:15:51 ---> ip addr: 06:15:51 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:15:51 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:15:51 inet 127.0.0.1/8 scope host lo 06:15:51 valid_lft forever preferred_lft forever 06:15:51 inet6 ::1/128 scope host 06:15:51 valid_lft forever preferred_lft forever 06:15:51 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:15:51 link/ether fa:16:3e:5b:d8:9c brd ff:ff:ff:ff:ff:ff 06:15:51 inet 10.30.123.219/23 brd 10.30.123.255 scope global dynamic eth0 06:15:51 valid_lft 85968sec preferred_lft 85968sec 06:15:51 inet6 fe80::f816:3eff:fe5b:d89c/64 scope link 06:15:51 valid_lft forever preferred_lft forever 06:15:51 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:15:51 link/ether 02:42:a8:0d:5b:5f brd ff:ff:ff:ff:ff:ff 06:15:51 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:15:51 valid_lft forever preferred_lft forever 06:15:51 inet6 fe80::42:a8ff:fe0d:5b5f/64 scope link 06:15:51 valid_lft forever preferred_lft forever 06:15:51 06:15:51 06:15:51 ---> sar -b -r -n DEV: 06:15:51 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/18/21 _x86_64_ (4 CPU) 06:15:51 06:15:51 06:08:28 LINUX RESTART (4 CPU) 06:15:51 06:15:51 06:09:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:15:51 06:10:02 50.37 16.83 33.54 0.00 4947.06 3090.26 0.00 06:15:51 06:11:01 1.79 0.00 1.79 0.00 0.00 36.12 0.00 06:15:51 06:12:01 0.22 0.00 0.22 0.00 0.00 3.11 0.00 06:15:51 06:13:01 0.20 0.00 0.20 0.00 0.00 1.88 0.00 06:15:51 06:14:01 0.25 0.00 0.25 0.00 0.00 3.68 0.00 06:15:51 06:15:01 0.30 0.00 0.30 0.00 0.00 4.60 0.00 06:15:51 Average: 8.88 2.81 6.06 0.00 827.01 524.76 0.00 06:15:51 06:15:51 06:09:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:15:51 06:10:02 154144 0 582244 30.95 2620 1142536 1099928 37.54 383836 1143740 128 06:15:51 06:11:01 159516 0 576864 30.66 2620 1142544 1084864 37.02 384156 1139048 20 06:15:51 06:12:01 157516 0 578860 30.77 2620 1142548 1084912 37.03 385876 1139420 16 06:15:51 06:13:01 157164 0 579208 30.78 2620 1142552 1084936 37.03 401184 1124388 20 06:15:51 06:14:01 157984 0 578384 30.74 2620 1142556 1082808 36.95 392108 1132640 12 06:15:51 06:15:01 156652 0 579708 30.81 2620 1142564 1082936 36.96 400412 1125976 8 06:15:51 Average: 157163 0 579211 30.78 2620 1142550 1086731 37.09 391262 1134202 34 06:15:51 06:15:51 06:09:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:15:51 06:10:02 eth0 548.19 338.06 1036.60 95.03 0.00 0.00 0.00 0.00 06:15:51 06:10:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:15:51 06:10:02 docker0 2.20 1.65 0.44 4.14 0.00 0.00 0.00 0.00 06:15:51 06:11:01 eth0 1.51 0.52 0.68 0.22 0.00 0.00 0.00 0.00 06:15:51 06:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:15:51 06:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:15:51 06:12:01 eth0 2.25 0.67 0.71 0.37 0.00 0.00 0.00 0.00 06:15:51 06:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:15:51 06:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:15:51 06:13:01 eth0 2.86 0.55 0.73 0.39 0.00 0.00 0.00 0.00 06:15:51 06:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:15:51 06:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:15:51 06:14:01 eth0 3.56 0.30 0.57 0.20 0.00 0.00 0.00 0.00 06:15:51 06:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:15:51 06:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:15:51 06:15:01 eth0 3.36 1.03 1.29 0.84 0.00 0.00 0.00 0.00 06:15:51 06:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:15:51 06:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:15:51 Average: eth0 93.90 57.03 173.95 16.22 0.00 0.00 0.00 0.00 06:15:51 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:15:51 Average: docker0 0.37 0.28 0.07 0.69 0.00 0.00 0.00 0.00 06:15:51 06:15:51 06:15:51 ---> sar -P ALL: 06:15:51 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/18/21 _x86_64_ (4 CPU) 06:15:51 06:15:51 06:08:28 LINUX RESTART (4 CPU) 06:15:51 06:15:51 06:09:01 CPU %user %nice %system %iowait %steal %idle 06:15:51 06:10:02 all 9.35 0.00 3.28 1.04 0.03 86.30 06:15:51 06:10:02 0 10.73 0.00 3.35 0.57 0.02 85.33 06:15:51 06:10:02 1 9.35 0.00 3.25 1.28 0.03 86.09 06:15:51 06:10:02 2 10.59 0.00 2.85 0.62 0.03 85.90 06:15:51 06:10:02 3 6.73 0.00 3.68 1.67 0.05 87.87 06:15:51 06:11:01 all 0.10 0.00 0.06 0.00 0.00 99.84 06:15:51 06:11:01 0 0.05 0.00 0.05 0.00 0.02 99.88 06:15:51 06:11:01 1 0.22 0.00 0.07 0.00 0.00 99.71 06:15:51 06:11:01 2 0.07 0.00 0.05 0.00 0.00 99.88 06:15:51 06:11:01 3 0.07 0.00 0.05 0.00 0.00 99.88 06:15:51 06:12:01 all 0.16 0.00 0.03 0.00 0.00 99.80 06:15:51 06:12:01 0 0.05 0.00 0.02 0.00 0.00 99.93 06:15:51 06:12:01 1 0.48 0.00 0.03 0.00 0.02 99.47 06:15:51 06:12:01 2 0.07 0.00 0.07 0.00 0.00 99.87 06:15:51 06:12:01 3 0.03 0.00 0.02 0.00 0.00 99.95 06:15:51 06:13:01 all 0.18 0.00 0.05 0.00 0.00 99.76 06:15:51 06:13:01 0 0.03 0.00 0.05 0.00 0.00 99.92 06:15:51 06:13:01 1 0.32 0.00 0.08 0.00 0.00 99.60 06:15:51 06:13:01 2 0.27 0.00 0.05 0.00 0.00 99.68 06:15:51 06:13:01 3 0.10 0.00 0.03 0.00 0.02 99.85 06:15:51 06:14:01 all 0.17 0.00 0.03 0.00 0.03 99.76 06:15:51 06:14:01 0 0.37 0.00 0.02 0.00 0.02 99.60 06:15:51 06:14:01 1 0.18 0.00 0.03 0.00 0.03 99.75 06:15:51 06:14:01 2 0.08 0.00 0.03 0.00 0.05 99.83 06:15:51 06:14:01 3 0.05 0.00 0.05 0.00 0.03 99.87 06:15:51 06:15:01 all 0.18 0.00 0.05 0.00 0.00 99.77 06:15:51 06:15:01 0 0.03 0.00 0.05 0.00 0.02 99.90 06:15:51 06:15:01 1 0.53 0.00 0.07 0.00 0.00 99.40 06:15:51 06:15:01 2 0.07 0.00 0.05 0.00 0.00 99.88 06:15:51 06:15:01 3 0.07 0.00 0.03 0.00 0.00 99.90 06:15:51 Average: all 1.68 0.00 0.58 0.17 0.01 97.55 06:15:51 Average: 0 1.87 0.00 0.59 0.09 0.01 97.44 06:15:51 Average: 1 1.84 0.00 0.59 0.21 0.01 97.35 06:15:51 Average: 2 1.84 0.00 0.51 0.10 0.01 97.53 06:15:51 Average: 3 1.17 0.00 0.64 0.28 0.02 97.90 06:15:51 06:15:51 06:15:51