Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b247510d13ba8e9fad57040faa04d23d7bfdafc2 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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-21435 in /w/workspace/gexfoundry_device-mqtt-go_master [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_master # 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/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision b247510d13ba8e9fad57040faa04d23d7bfdafc2 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b247510d13ba8e9fad57040faa04d23d7bfdafc2 # timeout=10 Commit message: "Merge pull request #209 from iain-anderson/commit-lint" > git rev-list --no-walk cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:34:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:34:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:34:56 ========================================================= 00:34:56 EdgeX Global Pipelines Version Info 00:34:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:34:58 ------------------- 00:34:58 stable info: 00:34:58 ------------------- 00:34:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:34:58 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:34:58 Message: update stable to v1.0.179 00:34:59 ------------------- 00:34:59 experimental info: 00:34:59 ------------------- 00:34:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:34:59 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:34:59 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:34:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 00:34:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 00:34:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:34:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:35:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:35:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:35:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:35:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:35:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:35:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:35:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:35:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 00:35:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:35:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:35:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:35:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:35:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:35:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:35:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:35:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:35:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:35:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:35:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:35:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:35:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:35:02 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:35:02 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:35:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 00:35:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 00:35:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 00:35:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b247510d13ba8e9fad57040faa04d23d7bfdafc2 [Pipeline] echo 00:35:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b247510 [Pipeline] echo 00:35:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:35:03 provisioning config files... 00:35:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6433024270776475677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:35:03 ---> docker-login.sh 00:35:03 nexus3.edgexfoundry.org:10001 00:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:03 Configure a credential helper to remove this warning. See 00:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:03 00:35:03 Login Succeeded 00:35:03 nexus3.edgexfoundry.org:10002 00:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:04 Configure a credential helper to remove this warning. See 00:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:04 00:35:04 Login Succeeded 00:35:04 nexus3.edgexfoundry.org:10003 00:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:04 Configure a credential helper to remove this warning. See 00:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:04 00:35:04 Login Succeeded 00:35:04 nexus3.edgexfoundry.org:10004 00:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:04 Configure a credential helper to remove this warning. See 00:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:04 00:35:04 Login Succeeded 00:35:04 docker.io 00:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:04 Configure a credential helper to remove this warning. See 00:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:04 00:35:04 Login Succeeded 00:35:04 ---> docker-login.sh ends [Pipeline] } 00:35:04 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 00:35:05 + git log --format=format:%s -1 b247510d13ba8e9fad57040faa04d23d7bfdafc2 [Pipeline] echo 00:35:05 GIT_COMMIT: b247510d13ba8e9fad57040faa04d23d7bfdafc2, Commit Message: Merge pull request #209 from iain-anderson/commit-lint [Pipeline] echo 00:35:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:35:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:35:07 00:35:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:35:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:35:08 latest: Pulling from edgex-devops/git-semver 00:35:08 31603596830f: Pulling fs layer 00:35:08 2a8b12db71e7: Pulling fs layer 00:35:08 6ca5941a6612: Pulling fs layer 00:35:08 ecc8261a40a4: Pulling fs layer 00:35:08 ecc8261a40a4: Waiting 00:35:08 2a8b12db71e7: Download complete 00:35:08 31603596830f: Verifying Checksum 00:35:08 31603596830f: Download complete 00:35:08 ecc8261a40a4: Verifying Checksum 00:35:08 ecc8261a40a4: Download complete 00:35:08 6ca5941a6612: Verifying Checksum 00:35:08 6ca5941a6612: Download complete 00:35:08 31603596830f: Pull complete 00:35:08 2a8b12db71e7: Pull complete 00:35:09 6ca5941a6612: Pull complete 00:35:10 ecc8261a40a4: Pull complete 00:35:10 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:35:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:35:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:35:10 prd-centos7-docker-4c-2g-21435 does not seem to be running inside a container 00:35:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:35:12 $ docker top c57a9af8f699ae344f282cb9b5c0b69615ca517618eec04521392f97372ba5f1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:35:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:35:12 [ssh-agent] Looking for ssh-agent implementation... 00:35:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:35:12 $ docker exec c57a9af8f699ae344f282cb9b5c0b69615ca517618eec04521392f97372ba5f1 ssh-agent 00:35:12 SSH_AUTH_SOCK=/tmp/ssh-bTGF7B8O0AnC/agent.11 00:35:12 SSH_AGENT_PID=16 00:35:12 Running ssh-add (command line suppressed) 00:35:13 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3071264109803549103.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3071264109803549103.key) 00:35:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:35:13 + git tag --points-at HEAD [Pipeline] } 00:35:13 $ docker exec --env ******** --env ******** c57a9af8f699ae344f282cb9b5c0b69615ca517618eec04521392f97372ba5f1 ssh-agent -k 00:35:13 unset SSH_AUTH_SOCK; 00:35:13 unset SSH_AGENT_PID; 00:35:13 echo Agent pid 16 killed; 00:35:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:35:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:35:13 [ssh-agent] Looking for ssh-agent implementation... 00:35:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:35:14 $ docker exec c57a9af8f699ae344f282cb9b5c0b69615ca517618eec04521392f97372ba5f1 ssh-agent 00:35:14 SSH_AUTH_SOCK=/tmp/ssh-M0o6t8Ft6a6g/agent.45 00:35:14 SSH_AGENT_PID=50 00:35:14 Running ssh-add (command line suppressed) 00:35:14 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4885991443538453824.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4885991443538453824.key) 00:35:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:35:14 + git semver init 00:35:14 # -> Open(): unable to determine branch for HEAD 00:35:14 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 00:35:14 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 00:35:14 # $SEMVER_REMOTE_NAME = origin 00:35:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:35:14 # $SEMVER_USER_NAME = edgex-jenkins 00:35:14 # $SEMVER_BRANCH = master 00:35:14 # $SEMVER_TEMP = /tmp/semver-870850774 00:35:14 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 00:35:15 # '/tmp/semver-870850774' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' 00:35:15 # -> Force: false 00:35:15 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 00:35:15 $ docker exec --env ******** --env ******** c57a9af8f699ae344f282cb9b5c0b69615ca517618eec04521392f97372ba5f1 ssh-agent -k 00:35:15 unset SSH_AUTH_SOCK; 00:35:15 unset SSH_AGENT_PID; 00:35:15 echo Agent pid 50 killed; 00:35:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:35:15 + git semver [Pipeline] } 00:35:15 $ docker stop --time=1 c57a9af8f699ae344f282cb9b5c0b69615ca517618eec04521392f97372ba5f1 00:35:17 $ docker rm -f c57a9af8f699ae344f282cb9b5c0b69615ca517618eec04521392f97372ba5f1 [Pipeline] // withDockerContainer [Pipeline] sh 00:35:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:35:18 Stashed 1 file(s) [Pipeline] echo 00:35:18 [edgeXSemver]: initialized semver on version 1.3.1-dev.4 [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 00:35:33 Still waiting to schedule task 00:35:33 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:35:33 Still waiting to schedule task 00:35:33 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:37:16 Running on prd-centos7-docker-4c-2g-21438 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 00:37:17 Running in /w/workspace/device-mqtt-go/29 [Pipeline] { [Pipeline] checkout 00:37:19 using credential edgex-jenkins-ssh 00:37:19 Cloning the remote Git repository 00:37:19 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 00:37:19 > git init /w/workspace/device-mqtt-go/29 # timeout=10 00:37:19 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:37:19 > git --version # timeout=10 00:37:19 > git --version # 'git version 2.24.3' 00:37:19 using GIT_SSH to set credentials SSH Credentials for GitHub 00:37:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:37:20 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:37:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:37:20 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:37:20 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:37:20 using GIT_SSH to set credentials SSH Credentials for GitHub 00:37:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 00:37:20 Checking out Revision b247510d13ba8e9fad57040faa04d23d7bfdafc2 (master) 00:37:20 > git config core.sparsecheckout # timeout=10 00:37:20 > git checkout -f b247510d13ba8e9fad57040faa04d23d7bfdafc2 # timeout=10 00:37:24 Commit message: "Merge pull request #209 from iain-anderson/commit-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:37:25 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:37:26 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:37:26 + sudo service docker restart 00:37:26 + true 00:37:26 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:37:27 provisioning config files... 00:37:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/29@tmp/config8701340502620527864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:37:27 ---> docker-login.sh 00:37:27 nexus3.edgexfoundry.org:10001 00:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:28 Configure a credential helper to remove this warning. See 00:37:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:28 00:37:28 Login Succeeded 00:37:28 nexus3.edgexfoundry.org:10002 00:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:28 Configure a credential helper to remove this warning. See 00:37:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:28 00:37:28 Login Succeeded 00:37:28 nexus3.edgexfoundry.org:10003 00:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:28 Configure a credential helper to remove this warning. See 00:37:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:28 00:37:28 Login Succeeded 00:37:28 nexus3.edgexfoundry.org:10004 00:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:28 Configure a credential helper to remove this warning. See 00:37:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:28 00:37:28 Login Succeeded 00:37:28 docker.io 00:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:29 Configure a credential helper to remove this warning. See 00:37:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:29 00:37:29 Login Succeeded 00:37:29 ---> docker-login.sh ends [Pipeline] } 00:37:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:37:29 ========================================================= 00:37:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:37:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:37:29 + 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 . 00:37:29 Sending build context to Docker daemon 499.7kB 00:37:29 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:37:29 Step 2/8 : FROM ${BASE} 00:37:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:37:29 188c0c94c7c5: Pulling fs layer 00:37:29 0ef7d3d256c8: Pulling fs layer 00:37:29 de9db76c5a1d: Pulling fs layer 00:37:29 bca2f99d35d6: Pulling fs layer 00:37:29 93359f2a8cfa: Pulling fs layer 00:37:29 7c6f9722023f: Pulling fs layer 00:37:29 a35cf1a2eb13: Pulling fs layer 00:37:29 bca2f99d35d6: Waiting 00:37:29 93359f2a8cfa: Waiting 00:37:29 7c6f9722023f: Waiting 00:37:29 a35cf1a2eb13: Waiting 00:37:30 de9db76c5a1d: Download complete 00:37:30 0ef7d3d256c8: Verifying Checksum 00:37:30 0ef7d3d256c8: Download complete 00:37:30 93359f2a8cfa: Verifying Checksum 00:37:30 93359f2a8cfa: Download complete 00:37:30 7c6f9722023f: Verifying Checksum 00:37:30 7c6f9722023f: Download complete 00:37:30 188c0c94c7c5: Verifying Checksum 00:37:30 188c0c94c7c5: Download complete 00:37:30 188c0c94c7c5: Pull complete 00:37:30 0ef7d3d256c8: Pull complete 00:37:30 de9db76c5a1d: Pull complete 00:37:32 a35cf1a2eb13: Verifying Checksum 00:37:32 a35cf1a2eb13: Download complete 00:37:33 bca2f99d35d6: Verifying Checksum 00:37:33 bca2f99d35d6: Download complete 00:37:38 bca2f99d35d6: Pull complete 00:37:38 93359f2a8cfa: Pull complete 00:37:38 7c6f9722023f: Pull complete 00:37:41 a35cf1a2eb13: Pull complete 00:37:41 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:37:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:37:41 ---> a62c8e92a672 00:37:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:37:41 ---> Running in 0c20a7985cb6 00:37:42 Removing intermediate container 0c20a7985cb6 00:37:42 ---> 42d6c4cf66af 00:37:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:37:42 ---> Running in 44b109579251 00:37:43 Removing intermediate container 44b109579251 00:37:43 ---> 9779eeca5392 00:37:43 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:37:43 ---> Running in 6b8f19eb5e56 00:37:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:37:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:37:46 (1/14) Installing libmagic (5.38-r0) 00:37:46 (2/14) Installing file (5.38-r0) 00:37:46 (3/14) Installing libc-dev (0.7.2-r3) 00:37:46 (4/14) Installing g++ (9.3.0-r2) 00:37:51 (5/14) Installing fortify-headers (1.1-r0) 00:37:51 (6/14) Installing patch (2.7.6-r6) 00:37:51 (7/14) Installing build-base (0.5-r2) 00:37:51 (8/14) Installing openssh-keygen (8.3_p1-r1) 00:37:51 (9/14) Installing libedit (20191231.3.1-r0) 00:37:51 (10/14) Installing openssh-client (8.3_p1-r1) 00:37:51 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 00:37:51 (12/14) Installing openssh-server-common (8.3_p1-r1) 00:37:52 (13/14) Installing openssh-server (8.3_p1-r1) 00:37:52 (14/14) Installing openssh (8.3_p1-r1) 00:37:52 Executing busybox-1.31.1-r19.trigger 00:37:52 OK: 237 MiB in 53 packages 00:37:55 Removing intermediate container 6b8f19eb5e56 00:37:55 ---> 1da8b510fb98 00:37:55 Step 6/8 : WORKDIR /device-mqtt-go 00:37:55 ---> Running in 1c660311fd5b 00:37:55 Removing intermediate container 1c660311fd5b 00:37:55 ---> 9e3173892f0d 00:37:55 Step 7/8 : COPY . . 00:37:56 ---> a3c4cc55d955 00:37:56 Step 8/8 : RUN go mod download 00:37:56 ---> Running in 9d3decd4351a 00:38:18 Removing intermediate container 9d3decd4351a 00:38:18 ---> d7a1b79ef8f6 00:38:18 Successfully built d7a1b79ef8f6 00:38:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:38:18 + docker inspect -f . ci-base-image-x86_64 00:38:18 . [Pipeline] withDockerContainer 00:38:19 prd-centos7-docker-4c-2g-21438 does not seem to be running inside a container 00:38:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/29 -v /w/workspace/device-mqtt-go/29:/w/workspace/device-mqtt-go/29:rw,z -v /w/workspace/device-mqtt-go/29@tmp:/w/workspace/device-mqtt-go/29@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 ******** ci-base-image-x86_64 cat 00:38:19 $ docker top 5117be65ec5063240cb2e34691e4513bf1a5c5bc1b40a829ea98a603ade05f08 -eo pid,comm [Pipeline] { [Pipeline] sh 00:38:20 + go version 00:38:20 go version go1.15.5 linux/amd64 [Pipeline] } 00:38:20 $ docker stop --time=1 5117be65ec5063240cb2e34691e4513bf1a5c5bc1b40a829ea98a603ade05f08 00:38:21 $ docker rm -f 5117be65ec5063240cb2e34691e4513bf1a5c5bc1b40a829ea98a603ade05f08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:38:22 + docker inspect -f . ci-base-image-x86_64 00:38:22 . [Pipeline] withDockerContainer 00:38:22 prd-centos7-docker-4c-2g-21438 does not seem to be running inside a container 00:38:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/29 -v /w/workspace/device-mqtt-go/29:/w/workspace/device-mqtt-go/29:rw,z -v /w/workspace/device-mqtt-go/29@tmp:/w/workspace/device-mqtt-go/29@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 ******** ci-base-image-x86_64 cat 00:38:23 $ docker top 45e23c3b184893a5e2a257b82ef314f50c1dc0a4d4ab44b8cec3d4bd4f5f1e83 -eo pid,comm [Pipeline] { [Pipeline] sh 00:38:23 + make test 00:38:23 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:38:24 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:38:37 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:38:37 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 28.3% of statements 00:38:37 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:38:37 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:38:39 gofmt -l . 00:38:39 ["`gofmt -l .`" = ""] 00:38:40 ./bin/test-attribution-txt.sh 00:38:40 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:38:41 $ docker stop --time=1 45e23c3b184893a5e2a257b82ef314f50c1dc0a4d4ab44b8cec3d4bd4f5f1e83 00:38:43 $ docker rm -f 45e23c3b184893a5e2a257b82ef314f50c1dc0a4d4ab44b8cec3d4bd4f5f1e83 [Pipeline] // withDockerContainer [Pipeline] sh 00:38:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:38:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:38:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:38:46 + ls -al . 00:38:46 total 100 00:38:46 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 00:38 . 00:38:46 drwxrwxr-x. 4 jenkins jenkins 30 Jan 20 00:37 .. 00:38:46 -rw-rw-r--. 1 jenkins jenkins 5932 Jan 20 00:37 Attribution.txt 00:38:46 drwxrwxr-x. 2 jenkins jenkins 87 Jan 20 00:37 bin 00:38:46 drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 00:37 cmd 00:38:46 -rw-r--r--. 1 jenkins jenkins 18940 Jan 20 00:38 coverage.out 00:38:46 -rw-rw-r--. 1 jenkins jenkins 1802 Jan 20 00:37 Dockerfile 00:38:46 -rw-rw-r--. 1 jenkins jenkins 957 Jan 20 00:37 Dockerfile.build 00:38:46 -rw-rw-r--. 1 jenkins jenkins 140 Jan 20 00:37 .dockerignore 00:38:46 drwxrwxr-x. 8 jenkins jenkins 162 Jan 20 00:37 .git 00:38:46 drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 00:37 .github 00:38:46 -rw-rw-r--. 1 jenkins jenkins 336 Jan 20 00:37 .gitignore 00:38:46 -rw-r--r--. 1 jenkins jenkins 504 Jan 20 00:38 go.mod 00:38:46 -rw-r--r--. 1 jenkins jenkins 14988 Jan 20 00:38 go.sum 00:38:46 drwxrwxr-x. 3 jenkins jenkins 20 Jan 20 00:37 internal 00:38:46 -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 00:37 Jenkinsfile 00:38:46 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 00:37 LICENSE 00:38:46 -rw-rw-r--. 1 jenkins jenkins 902 Jan 20 00:37 Makefile 00:38:46 drwxrwxr-x. 2 jenkins jenkins 23 Jan 20 00:37 mock 00:38:46 -rw-rw-r--. 1 jenkins jenkins 444 Jan 20 00:37 README.md 00:38:46 drwxrwxr-x. 4 jenkins jenkins 71 Jan 20 00:37 snap 00:38:46 -rw-rw-r--. 1 jenkins jenkins 11 Jan 20 00:35 VERSION 00:38:46 -rw-rw-r--. 1 jenkins jenkins 227 Jan 20 00:37 version.go [Pipeline] isUnix [Pipeline] sh 00:38:46 + docker build -t docker-device-mqtt-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=b247510d13ba8e9fad57040faa04d23d7bfdafc2 --label arch=amd64 --label version=1.3.1-dev.4 . 00:38:46 Sending build context to Docker daemon 519.2kB 00:38:46 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 00:38:46 Step 2/22 : FROM ${BASE} AS builder 00:38:46 ---> d7a1b79ef8f6 00:38:46 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 00:38:46 ---> Running in 7fdcb6f34652 00:38:47 Removing intermediate container 7fdcb6f34652 00:38:47 ---> 937e0c6e3d0f 00:38:47 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 00:38:47 ---> Running in 334f77259b00 00:38:47 Removing intermediate container 334f77259b00 00:38:47 ---> 9cf455d7c84d 00:38:47 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:38:47 ---> Running in 24347134cb73 00:38:48 Removing intermediate container 24347134cb73 00:38:48 ---> cb59ff78438c 00:38:48 Step 6/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:38:48 ---> Running in ca1b3ab6e1da 00:38:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:38:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:38:52 OK: 237 MiB in 53 packages 00:38:52 Removing intermediate container ca1b3ab6e1da 00:38:52 ---> d422bcf295a4 00:38:52 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 00:38:52 ---> Running in ba44f12a851d 00:38:52 Removing intermediate container ba44f12a851d 00:38:52 ---> bec64cc34e12 00:38:52 Step 8/22 : COPY . . 00:38:53 ---> 1827bc1f605b 00:38:53 Step 9/22 : ARG MAKE='make build' 00:38:53 ---> Running in 99abe7ae6837 00:38:53 Removing intermediate container 99abe7ae6837 00:38:53 ---> 598d87859ad7 00:38:53 Step 10/22 : RUN $MAKE 00:38:53 ---> Running in 2c5f52432b90 00:38:54 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.1-dev.4" -o cmd/device-mqtt ./cmd 00:39:04 CGO_ENABLED=0 GO111MODULE=on go build ./... 00:39:06 Removing intermediate container 2c5f52432b90 00:39:06 ---> c66bc878f794 00:39:06 Step 11/22 : FROM alpine:3.12 00:39:07 3.12: Pulling from library/alpine 00:39:07 801bfaa63ef2: Pulling fs layer 00:39:07 801bfaa63ef2: Verifying Checksum 00:39:07 801bfaa63ef2: Download complete 00:39:07 801bfaa63ef2: Pull complete 00:39:07 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 00:39:07 Status: Downloaded newer image for alpine:3.12 00:39:07 ---> 389fef711851 00:39:07 Step 12/22 : ENV APP_PORT=49982 00:39:08 ---> Running in f4d747e28f2b 00:39:08 Removing intermediate container f4d747e28f2b 00:39:08 ---> b33b145d96d8 00:39:08 Step 13/22 : EXPOSE $APP_PORT 00:39:08 ---> Running in 55478fa42bb7 00:39:08 Removing intermediate container 55478fa42bb7 00:39:08 ---> 50b47d6584a8 00:39:08 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 00:39:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21439 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 00:39:09 Running in /w/workspace/device-mqtt-go/29 [Pipeline] { 00:39:09 ---> 31e3a9a6d866 00:39:09 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [Pipeline] checkout 00:39:09 ---> 8015ca614949 00:39:09 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 00:39:09 ---> c5954b3ddfd7 00:39:09 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 00:39:10 ---> Running in 8b458a257af2 00:39:10 Removing intermediate container 8b458a257af2 00:39:10 ---> bd3d69508808 00:39:10 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 00:39:10 ---> Running in 1ba58d91abdf 00:39:10 Removing intermediate container 1ba58d91abdf 00:39:10 ---> c3c8d5076989 00:39:10 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:39:10 ---> Running in c9d0b79fdb95 00:39:10 Removing intermediate container c9d0b79fdb95 00:39:10 ---> 8d0561c1771a 00:39:10 Step 20/22 : LABEL arch=amd64 00:39:10 ---> Running in 0419329ec6a3 00:39:10 Removing intermediate container 0419329ec6a3 00:39:10 ---> 4d840999aff9 00:39:10 Step 21/22 : LABEL git_sha=b247510d13ba8e9fad57040faa04d23d7bfdafc2 00:39:10 ---> Running in ca35e19da059 00:39:10 Removing intermediate container ca35e19da059 00:39:10 ---> 592c98a46b63 00:39:10 Step 22/22 : LABEL version=1.3.1-dev.4 00:39:11 ---> Running in ae07dce55344 00:39:11 Removing intermediate container ae07dce55344 00:39:11 ---> 98ffd893fd51 00:39:11 [Warning] One or more build-args [ARCH] were not consumed 00:39:11 Successfully built 98ffd893fd51 00:39:11 Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:39:11 provisioning config files... 00:39:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/29@tmp/config5638511388865091273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:39:12 ---> docker-login.sh 00:39:12 nexus3.edgexfoundry.org:10001 00:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:12 Configure a credential helper to remove this warning. See 00:39:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:12 00:39:12 Login Succeeded 00:39:12 nexus3.edgexfoundry.org:10002 00:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:12 Configure a credential helper to remove this warning. See 00:39:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:12 00:39:12 Login Succeeded 00:39:12 nexus3.edgexfoundry.org:10003 00:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:12 Configure a credential helper to remove this warning. See 00:39:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:12 00:39:12 Login Succeeded 00:39:12 nexus3.edgexfoundry.org:10004 00:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:12 Configure a credential helper to remove this warning. See 00:39:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:12 00:39:12 Login Succeeded 00:39:12 docker.io 00:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:13 Configure a credential helper to remove this warning. See 00:39:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:13 00:39:13 Login Succeeded 00:39:13 ---> docker-login.sh ends [Pipeline] } 00:39:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:39:13 [edgeXDocker.push] Tagging docker image docker-device-mqtt-go with the following tags: 00:39:13 b247510d13ba8e9fad57040faa04d23d7bfdafc2 00:39:13 latest 00:39:13 1.3.1-dev.4 00:39:13 b247510d13ba8e9fad57040faa04d23d7bfdafc2-1.3.1-dev.4 00:39:13 master 00:39:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:39:13 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:b247510d13ba8e9fad57040faa04d23d7bfdafc2 [Pipeline] isUnix [Pipeline] sh 00:39:14 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:b247510d13ba8e9fad57040faa04d23d7bfdafc2 00:39:14 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 00:39:14 1cc7a06a6be5: Preparing 00:39:14 2d515e0bddf5: Preparing 00:39:14 e9a4ce58e24a: Preparing 00:39:14 777b2c648970: Preparing 00:39:14 777b2c648970: Layer already exists 00:39:14 1cc7a06a6be5: Pushed 00:39:14 2d515e0bddf5: Pushed 00:39:15 using credential edgex-jenkins-ssh 00:39:15 Cloning the remote Git repository 00:39:15 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 00:39:15 > git init /w/workspace/device-mqtt-go/29 # timeout=10 00:39:15 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:39:15 > git --version # timeout=10 00:39:15 > git --version # 'git version 2.17.1' 00:39:15 using GIT_SSH to set credentials SSH Credentials for GitHub 00:39:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:39:15 e9a4ce58e24a: Pushed 00:39:15 b247510d13ba8e9fad57040faa04d23d7bfdafc2: digest: sha256:dd5c92c5809ce34e1a21d6f2325eaa543e2e9efabe155bf40ab70eb2672b2860 size: 1155 [Pipeline] isUnix [Pipeline] sh 00:39:16 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [Pipeline] isUnix [Pipeline] sh 00:39:16 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest 00:39:16 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 00:39:16 1cc7a06a6be5: Preparing 00:39:16 2d515e0bddf5: Preparing 00:39:16 e9a4ce58e24a: Preparing 00:39:16 777b2c648970: Preparing 00:39:16 777b2c648970: Layer already exists 00:39:16 e9a4ce58e24a: Layer already exists 00:39:16 1cc7a06a6be5: Layer already exists 00:39:16 2d515e0bddf5: Layer already exists 00:39:16 latest: digest: sha256:dd5c92c5809ce34e1a21d6f2325eaa543e2e9efabe155bf40ab70eb2672b2860 size: 1155 [Pipeline] isUnix [Pipeline] sh 00:39:16 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.1-dev.4 [Pipeline] isUnix [Pipeline] sh 00:39:16 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:39:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:39:16 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:39:16 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:39:16 using GIT_SSH to set credentials SSH Credentials for GitHub 00:39:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 00:39:16 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.1-dev.4 00:39:16 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 00:39:16 1cc7a06a6be5: Preparing 00:39:16 2d515e0bddf5: Preparing 00:39:16 e9a4ce58e24a: Preparing 00:39:16 777b2c648970: Preparing 00:39:16 1cc7a06a6be5: Layer already exists 00:39:16 777b2c648970: Layer already exists 00:39:16 2d515e0bddf5: Layer already exists 00:39:16 e9a4ce58e24a: Layer already exists 00:39:16 1.3.1-dev.4: digest: sha256:dd5c92c5809ce34e1a21d6f2325eaa543e2e9efabe155bf40ab70eb2672b2860 size: 1155 [Pipeline] isUnix [Pipeline] sh 00:39:17 Checking out Revision b247510d13ba8e9fad57040faa04d23d7bfdafc2 (master) 00:39:17 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:b247510d13ba8e9fad57040faa04d23d7bfdafc2-1.3.1-dev.4 [Pipeline] isUnix [Pipeline] sh 00:39:17 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:b247510d13ba8e9fad57040faa04d23d7bfdafc2-1.3.1-dev.4 00:39:17 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 00:39:17 1cc7a06a6be5: Preparing 00:39:17 2d515e0bddf5: Preparing 00:39:17 e9a4ce58e24a: Preparing 00:39:17 777b2c648970: Preparing 00:39:17 1cc7a06a6be5: Layer already exists 00:39:17 777b2c648970: Layer already exists 00:39:17 e9a4ce58e24a: Layer already exists 00:39:17 2d515e0bddf5: Layer already exists 00:39:17 b247510d13ba8e9fad57040faa04d23d7bfdafc2-1.3.1-dev.4: digest: sha256:dd5c92c5809ce34e1a21d6f2325eaa543e2e9efabe155bf40ab70eb2672b2860 size: 1155 [Pipeline] isUnix [Pipeline] sh 00:39:17 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] isUnix [Pipeline] sh 00:39:18 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master 00:39:18 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 00:39:18 1cc7a06a6be5: Preparing 00:39:18 2d515e0bddf5: Preparing 00:39:18 e9a4ce58e24a: Preparing 00:39:18 777b2c648970: Preparing 00:39:18 2d515e0bddf5: Layer already exists 00:39:18 1cc7a06a6be5: Layer already exists 00:39:18 777b2c648970: Layer already exists 00:39:18 e9a4ce58e24a: Layer already exists 00:39:18 master: digest: sha256:dd5c92c5809ce34e1a21d6f2325eaa543e2e9efabe155bf40ab70eb2672b2860 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry 00:39:17 > git config core.sparsecheckout # timeout=10 00:39:17 > git checkout -f b247510d13ba8e9fad57040faa04d23d7bfdafc2 # timeout=10 [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:39:18 ===================================================== [Pipeline] echo 00:39:18 taggedImages: 00:39:18 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:b247510d13ba8e9fad57040faa04d23d7bfdafc2 00:39:18 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest 00:39:18 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.1-dev.4 00:39:18 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:b247510d13ba8e9fad57040faa04d23d7bfdafc2-1.3.1-dev.4 00:39:18 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:39:21 Commit message: "Merge pull request #209 from iain-anderson/commit-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:39:23 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:39:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:39:23 + sudo service docker restart 00:39:23 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:39:26 provisioning config files... 00:39:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/29@tmp/config5772384509626980311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:39:27 ---> docker-login.sh 00:39:27 nexus3.edgexfoundry.org:10001 00:39:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:28 Configure a credential helper to remove this warning. See 00:39:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:28 00:39:28 Login Succeeded 00:39:28 nexus3.edgexfoundry.org:10002 00:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:29 Configure a credential helper to remove this warning. See 00:39:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:29 00:39:29 Login Succeeded 00:39:29 nexus3.edgexfoundry.org:10003 00:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:29 Configure a credential helper to remove this warning. See 00:39:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:29 00:39:29 Login Succeeded 00:39:29 nexus3.edgexfoundry.org:10004 00:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:30 Configure a credential helper to remove this warning. See 00:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:30 00:39:30 Login Succeeded 00:39:30 docker.io 00:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:31 Configure a credential helper to remove this warning. See 00:39:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:31 00:39:31 Login Succeeded 00:39:31 ---> docker-login.sh ends [Pipeline] } 00:39:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:39:31 ========================================================= 00:39:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:39:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:39:32 + 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 . 00:39:32 Sending build context to Docker daemon 498.7kB 00:39:32 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:39:32 Step 2/8 : FROM ${BASE} 00:39:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:39:32 5f621e34cdf4: Pulling fs layer 00:39:32 a4357932f1b6: Pulling fs layer 00:39:32 18c013af1878: Pulling fs layer 00:39:32 00ac8860ef70: Pulling fs layer 00:39:32 63d7cb157983: Pulling fs layer 00:39:32 b116817d02f9: Pulling fs layer 00:39:32 745a02a5169b: Pulling fs layer 00:39:32 b116817d02f9: Waiting 00:39:32 00ac8860ef70: Waiting 00:39:32 63d7cb157983: Waiting 00:39:32 745a02a5169b: Waiting 00:39:32 18c013af1878: Verifying Checksum 00:39:32 18c013af1878: Download complete 00:39:32 a4357932f1b6: Verifying Checksum 00:39:32 a4357932f1b6: Download complete 00:39:32 63d7cb157983: Verifying Checksum 00:39:32 63d7cb157983: Download complete 00:39:32 b116817d02f9: Verifying Checksum 00:39:32 b116817d02f9: Download complete 00:39:33 5f621e34cdf4: Verifying Checksum 00:39:33 5f621e34cdf4: Download complete 00:39:33 5f621e34cdf4: Pull complete 00:39:34 a4357932f1b6: Pull complete 00:39:34 18c013af1878: Pull complete 00:39:35 745a02a5169b: Verifying Checksum 00:39:35 745a02a5169b: Download complete 00:39:36 00ac8860ef70: Verifying Checksum 00:39:36 00ac8860ef70: Download complete 00:39:46 00ac8860ef70: Pull complete 00:39:46 63d7cb157983: Pull complete 00:39:46 b116817d02f9: Pull complete 00:39:49 745a02a5169b: Pull complete 00:39:49 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:39:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:39:49 ---> b7e6874047d6 00:39:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:39:52 ---> Running in 08e14d08755e 00:39:53 Removing intermediate container 08e14d08755e 00:39:53 ---> e7b6dd4af0c0 00:39:53 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:39:53 ---> Running in b7f7d376f131 00:39:55 Removing intermediate container b7f7d376f131 00:39:55 ---> 769d0cb87ebb 00:39:55 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:39:55 ---> Running in 9c70dbc49299 00:39:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:39:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:40:02 (1/14) Installing libmagic (5.38-r0) 00:40:03 (2/14) Installing file (5.38-r0) 00:40:03 (3/14) Installing libc-dev (0.7.2-r3) 00:40:03 (4/14) Installing g++ (9.3.0-r2) 00:40:25 (5/14) Installing fortify-headers (1.1-r0) 00:40:25 (6/14) Installing patch (2.7.6-r6) 00:40:25 (7/14) Installing build-base (0.5-r2) 00:40:25 (8/14) Installing openssh-keygen (8.3_p1-r1) 00:40:25 (9/14) Installing libedit (20191231.3.1-r0) 00:40:25 (10/14) Installing openssh-client (8.3_p1-r1) 00:40:25 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 00:40:25 (12/14) Installing openssh-server-common (8.3_p1-r1) 00:40:25 (13/14) Installing openssh-server (8.3_p1-r1) 00:40:25 (14/14) Installing openssh (8.3_p1-r1) 00:40:25 Executing busybox-1.31.1-r19.trigger 00:40:25 OK: 221 MiB in 53 packages 00:40:29 Removing intermediate container 9c70dbc49299 00:40:29 ---> c1cd88677361 00:40:29 Step 6/8 : WORKDIR /device-mqtt-go 00:40:29 ---> Running in f7f0db376bab 00:40:29 Removing intermediate container f7f0db376bab 00:40:29 ---> b8b28c318479 00:40:29 Step 7/8 : COPY . . 00:40:30 ---> 98153817a151 00:40:30 Step 8/8 : RUN go mod download 00:40:30 ---> Running in fa8e0547ccc3 00:40:57 Removing intermediate container fa8e0547ccc3 00:40:57 ---> 974549066e56 00:40:57 Successfully built 974549066e56 00:40:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:40:58 + docker inspect -f . ci-base-image-arm64 00:40:58 . [Pipeline] withDockerContainer 00:40:58 prd-ubuntu18.04-docker-arm64-4c-16g-21439 does not seem to be running inside a container 00:40:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/29 -v /w/workspace/device-mqtt-go/29:/w/workspace/device-mqtt-go/29:rw,z -v /w/workspace/device-mqtt-go/29@tmp:/w/workspace/device-mqtt-go/29@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 ******** ci-base-image-arm64 cat 00:40:59 $ docker top e643d98dd6698c9cf5d69340b2fa14201b7da345cf516cb1045b3716e7fa9a85 -eo pid,comm [Pipeline] { [Pipeline] sh 00:41:01 + go version 00:41:01 go version go1.15.5 linux/arm64 [Pipeline] } 00:41:01 $ docker stop --time=1 e643d98dd6698c9cf5d69340b2fa14201b7da345cf516cb1045b3716e7fa9a85 00:41:03 $ docker rm -f e643d98dd6698c9cf5d69340b2fa14201b7da345cf516cb1045b3716e7fa9a85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:41:04 + docker inspect -f . ci-base-image-arm64 00:41:04 . [Pipeline] withDockerContainer 00:41:04 prd-ubuntu18.04-docker-arm64-4c-16g-21439 does not seem to be running inside a container 00:41:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/29 -v /w/workspace/device-mqtt-go/29:/w/workspace/device-mqtt-go/29:rw,z -v /w/workspace/device-mqtt-go/29@tmp:/w/workspace/device-mqtt-go/29@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 ******** ci-base-image-arm64 cat 00:41:06 $ docker top da7571aad2751acdc197ed1f639874172e9230478e156b0f34f7c1e65cf133c4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:41:07 + make test 00:41:07 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:41:08 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:41:47 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:41:48 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.035s coverage: 28.3% of statements 00:41:48 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:41:48 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:41:57 gofmt -l . 00:41:57 ["`gofmt -l .`" = ""] 00:41:57 ./bin/test-attribution-txt.sh 00:41:57 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:41:57 $ docker stop --time=1 da7571aad2751acdc197ed1f639874172e9230478e156b0f34f7c1e65cf133c4 00:41:59 $ docker rm -f da7571aad2751acdc197ed1f639874172e9230478e156b0f34f7c1e65cf133c4 [Pipeline] // withDockerContainer [Pipeline] sh 00:42:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:42:00 Warning: overwriting stash ‘coverage-report’ 00:42:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:42:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:42:03 + ls -al . 00:42:03 total 132 00:42:03 drwxrwxr-x 9 jenkins jenkins 4096 Jan 20 00:41 . 00:42:03 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 00:39 .. 00:42:03 -rw-rw-r-- 1 jenkins jenkins 140 Jan 20 00:39 .dockerignore 00:42:03 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 00:39 .git 00:42:03 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 00:39 .github 00:42:03 -rw-rw-r-- 1 jenkins jenkins 336 Jan 20 00:39 .gitignore 00:42:03 -rw-rw-r-- 1 jenkins jenkins 5932 Jan 20 00:39 Attribution.txt 00:42:03 -rw-rw-r-- 1 jenkins jenkins 1802 Jan 20 00:39 Dockerfile 00:42:03 -rw-rw-r-- 1 jenkins jenkins 957 Jan 20 00:39 Dockerfile.build 00:42:03 -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 00:39 Jenkinsfile 00:42:03 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 00:39 LICENSE 00:42:03 -rw-rw-r-- 1 jenkins jenkins 902 Jan 20 00:39 Makefile 00:42:03 -rw-rw-r-- 1 jenkins jenkins 444 Jan 20 00:39 README.md 00:42:03 -rw-rw-r-- 1 jenkins jenkins 11 Jan 20 00:35 VERSION 00:42:03 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 00:39 bin 00:42:03 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 00:39 cmd 00:42:03 -rw-r--r-- 1 jenkins jenkins 18940 Jan 20 00:41 coverage.out 00:42:03 -rw-r--r-- 1 jenkins jenkins 504 Jan 20 00:41 go.mod 00:42:03 -rw-r--r-- 1 jenkins jenkins 14988 Jan 20 00:41 go.sum 00:42:03 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 00:39 internal 00:42:03 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 00:39 mock 00:42:03 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 00:39 snap 00:42:03 -rw-rw-r-- 1 jenkins jenkins 227 Jan 20 00:39 version.go [Pipeline] isUnix [Pipeline] sh 00:42:03 + docker build -t docker-device-mqtt-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b247510d13ba8e9fad57040faa04d23d7bfdafc2 --label arch=arm64 --label version=1.3.1-dev.4 . 00:42:03 Sending build context to Docker daemon 518.1kB 00:42:04 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 00:42:04 Step 2/22 : FROM ${BASE} AS builder 00:42:04 ---> 974549066e56 00:42:04 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 00:42:04 ---> Running in 0d059078a91e 00:42:04 Removing intermediate container 0d059078a91e 00:42:04 ---> 433af611fad8 00:42:04 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 00:42:04 ---> Running in 4333b7ec90e3 00:42:05 Removing intermediate container 4333b7ec90e3 00:42:05 ---> dd07ee4bc47a 00:42:05 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:42:05 ---> Running in 28ee07f05c78 00:42:08 Removing intermediate container 28ee07f05c78 00:42:08 ---> f251b75b7894 00:42:08 Step 6/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:42:08 ---> Running in e7682f3c8b54 00:42:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:42:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:42:12 OK: 221 MiB in 53 packages 00:42:13 Removing intermediate container e7682f3c8b54 00:42:13 ---> 00a2df6416e0 00:42:13 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 00:42:13 ---> Running in 8736b90930ec 00:42:13 Removing intermediate container 8736b90930ec 00:42:13 ---> 63234792dad6 00:42:13 Step 8/22 : COPY . . 00:42:14 ---> e104c4254be4 00:42:14 Step 9/22 : ARG MAKE='make build' 00:42:14 ---> Running in 113eba6cacca 00:42:15 Removing intermediate container 113eba6cacca 00:42:15 ---> 2a2f2976be60 00:42:15 Step 10/22 : RUN $MAKE 00:42:15 ---> Running in cc9fea241262 00:42:16 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.1-dev.4" -o cmd/device-mqtt ./cmd 00:42:56 CGO_ENABLED=0 GO111MODULE=on go build ./... 00:42:57 Removing intermediate container cc9fea241262 00:42:57 ---> 62f7c81b23cc 00:42:57 Step 11/22 : FROM alpine:3.12 00:42:58 3.12: Pulling from library/alpine 00:42:58 159e5727ea61: Pulling fs layer 00:42:58 159e5727ea61: Verifying Checksum 00:42:58 159e5727ea61: Download complete 00:42:58 159e5727ea61: Pull complete 00:42:58 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 00:42:59 Status: Downloaded newer image for alpine:3.12 00:42:59 ---> afeebe901d6b 00:42:59 Step 12/22 : ENV APP_PORT=49982 00:42:59 ---> Running in 8788e48b1f84 00:42:59 Removing intermediate container 8788e48b1f84 00:42:59 ---> 27a46dd22f66 00:42:59 Step 13/22 : EXPOSE $APP_PORT 00:42:59 ---> Running in 1c7588f0c7ed 00:43:00 Removing intermediate container 1c7588f0c7ed 00:43:00 ---> cfdbf9893948 00:43:00 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 00:43:01 ---> a4a2e536fad5 00:43:01 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 00:43:02 ---> ff6e1b1ef4e3 00:43:02 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 00:43:03 ---> d3f76fb93b95 00:43:03 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 00:43:03 ---> Running in e65be7d09cce 00:43:03 Removing intermediate container e65be7d09cce 00:43:03 ---> ebea0ad44b6e 00:43:03 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 00:43:04 ---> Running in 413bdad95b98 00:43:04 Removing intermediate container 413bdad95b98 00:43:04 ---> 4588842dd84d 00:43:04 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:43:04 ---> Running in 121b68e17310 00:43:05 Removing intermediate container 121b68e17310 00:43:05 ---> 98449d3e8d5c 00:43:05 Step 20/22 : LABEL arch=arm64 00:43:05 ---> Running in 7e274881e7a0 00:43:05 Removing intermediate container 7e274881e7a0 00:43:05 ---> a4e364adee3b 00:43:05 Step 21/22 : LABEL git_sha=b247510d13ba8e9fad57040faa04d23d7bfdafc2 00:43:05 ---> Running in 9066fac5e598 00:43:06 Removing intermediate container 9066fac5e598 00:43:06 ---> b343864abb13 00:43:06 Step 22/22 : LABEL version=1.3.1-dev.4 00:43:06 ---> Running in 32caa3a7af78 00:43:07 Removing intermediate container 32caa3a7af78 00:43:07 ---> d28393d4d928 00:43:07 [Warning] One or more build-args [ARCH] were not consumed 00:43:07 Successfully built d28393d4d928 00:43:07 Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:43:07 provisioning config files... 00:43:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/29@tmp/config5621288230368865922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:08 ---> docker-login.sh 00:43:08 nexus3.edgexfoundry.org:10001 00:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:08 Configure a credential helper to remove this warning. See 00:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:08 00:43:08 Login Succeeded 00:43:08 nexus3.edgexfoundry.org:10002 00:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:09 Configure a credential helper to remove this warning. See 00:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:09 00:43:09 Login Succeeded 00:43:09 nexus3.edgexfoundry.org:10003 00:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:09 Configure a credential helper to remove this warning. See 00:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:09 00:43:09 Login Succeeded 00:43:09 nexus3.edgexfoundry.org:10004 00:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:10 Configure a credential helper to remove this warning. See 00:43:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:10 00:43:10 Login Succeeded 00:43:10 docker.io 00:43:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:11 Configure a credential helper to remove this warning. See 00:43:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:11 00:43:11 Login Succeeded 00:43:11 ---> docker-login.sh ends [Pipeline] } 00:43:11 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:43:11 [edgeXDocker.push] Tagging docker image docker-device-mqtt-go-arm64 with the following tags: 00:43:11 b247510d13ba8e9fad57040faa04d23d7bfdafc2 00:43:11 latest 00:43:11 1.3.1-dev.4 00:43:11 b247510d13ba8e9fad57040faa04d23d7bfdafc2-1.3.1-dev.4 00:43:11 master 00:43:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:43:12 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:b247510d13ba8e9fad57040faa04d23d7bfdafc2 [Pipeline] isUnix [Pipeline] sh 00:43:12 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:b247510d13ba8e9fad57040faa04d23d7bfdafc2 00:43:12 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 00:43:12 269b32ec5f4e: Preparing 00:43:12 a6065299b97b: Preparing 00:43:12 37b8e990245e: Preparing 00:43:12 379067d0cb53: Preparing 00:43:12 379067d0cb53: Layer already exists 00:43:12 a6065299b97b: Pushed 00:43:12 269b32ec5f4e: Pushed 00:43:16 37b8e990245e: Pushed 00:43:16 b247510d13ba8e9fad57040faa04d23d7bfdafc2: digest: sha256:59fe6468886e51d1e7c37194963ba958591ddb209adcffdd363cdeda059df9f6 size: 1155 [Pipeline] isUnix [Pipeline] sh 00:43:16 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:43:16 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest 00:43:16 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 00:43:16 269b32ec5f4e: Preparing 00:43:16 a6065299b97b: Preparing 00:43:16 37b8e990245e: Preparing 00:43:16 379067d0cb53: Preparing 00:43:16 a6065299b97b: Layer already exists 00:43:16 269b32ec5f4e: Layer already exists 00:43:16 37b8e990245e: Layer already exists 00:43:16 379067d0cb53: Layer already exists 00:43:17 latest: digest: sha256:59fe6468886e51d1e7c37194963ba958591ddb209adcffdd363cdeda059df9f6 size: 1155 [Pipeline] isUnix [Pipeline] sh 00:43:17 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.1-dev.4 [Pipeline] isUnix [Pipeline] sh 00:43:17 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.1-dev.4 00:43:17 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 00:43:17 269b32ec5f4e: Preparing 00:43:17 a6065299b97b: Preparing 00:43:17 37b8e990245e: Preparing 00:43:17 379067d0cb53: Preparing 00:43:17 a6065299b97b: Layer already exists 00:43:17 37b8e990245e: Layer already exists 00:43:17 379067d0cb53: Layer already exists 00:43:17 269b32ec5f4e: Layer already exists 00:43:18 1.3.1-dev.4: digest: sha256:59fe6468886e51d1e7c37194963ba958591ddb209adcffdd363cdeda059df9f6 size: 1155 [Pipeline] isUnix [Pipeline] sh 00:43:18 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:b247510d13ba8e9fad57040faa04d23d7bfdafc2-1.3.1-dev.4 [Pipeline] isUnix [Pipeline] sh 00:43:18 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:b247510d13ba8e9fad57040faa04d23d7bfdafc2-1.3.1-dev.4 00:43:18 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 00:43:18 269b32ec5f4e: Preparing 00:43:18 a6065299b97b: Preparing 00:43:18 37b8e990245e: Preparing 00:43:18 379067d0cb53: Preparing 00:43:18 379067d0cb53: Layer already exists 00:43:18 37b8e990245e: Layer already exists 00:43:18 a6065299b97b: Layer already exists 00:43:18 269b32ec5f4e: Layer already exists 00:43:19 b247510d13ba8e9fad57040faa04d23d7bfdafc2-1.3.1-dev.4: digest: sha256:59fe6468886e51d1e7c37194963ba958591ddb209adcffdd363cdeda059df9f6 size: 1155 [Pipeline] isUnix [Pipeline] sh 00:43:19 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] isUnix [Pipeline] sh 00:43:19 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master 00:43:19 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 00:43:19 269b32ec5f4e: Preparing 00:43:19 a6065299b97b: Preparing 00:43:19 37b8e990245e: Preparing 00:43:19 379067d0cb53: Preparing 00:43:19 a6065299b97b: Layer already exists 00:43:19 379067d0cb53: Layer already exists 00:43:19 269b32ec5f4e: Layer already exists 00:43:19 37b8e990245e: Layer already exists 00:43:20 master: digest: sha256:59fe6468886e51d1e7c37194963ba958591ddb209adcffdd363cdeda059df9f6 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:43:20 ===================================================== [Pipeline] echo 00:43:20 taggedImages: 00:43:20 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:b247510d13ba8e9fad57040faa04d23d7bfdafc2 00:43:20 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest 00:43:20 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.1-dev.4 00:43:20 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:b247510d13ba8e9fad57040faa04d23d7bfdafc2-1.3.1-dev.4 00:43:20 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 00:43:21 provisioning config files... 00:43:21 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4590557190068385211tmp [Pipeline] { [Pipeline] sh 00:43:22 + set +x 00:43:22 + curl -s https://codecov.io/bash 00:43:22 + bash -s -- 00:43:22 00:43:22 _____ _ 00:43:22 / ____| | | 00:43:22 | | ___ __| | ___ ___ _____ __ 00:43:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:43:22 | |___| (_) | (_| | __/ (_| (_) \ V / 00:43:22 \_____\___/ \__,_|\___|\___\___/ \_/ 00:43:22 Bash-20210115-cec3c92 00:43:22 00:43:22 00:43:22 ==> git version 2.24.3 found 00:43:22 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 00:43:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:43:22 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:43:22 ==> Jenkins CI detected. 00:43:22 project root: . 00:43:22 --> token set from env 00:43:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:43:22 ==> Running gcov in . (disable via -X gcov) 00:43:22 ==> Python coveragepy not found 00:43:22 ==> Searching for coverage reports in: 00:43:22 + . 00:43:22 -> Found 1 reports 00:43:22 ==> Detecting git/mercurial file structure 00:43:22 ==> Reading reports 00:43:22 + ./coverage.out bytes=18940 00:43:22 ==> Appending adjustments 00:43:22 https://docs.codecov.io/docs/fixing-reports 00:43:22 + Found adjustments 00:43:22 ==> Gzipping contents 00:43:22 4.0K /tmp/codecov.qVE4Pv.gz 00:43:22 ==> Uploading reports 00:43:22 url: https://codecov.io 00:43:22 query: branch=master&commit=b247510d13ba8e9fad57040faa04d23d7bfdafc2&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:43:22 -> Pinging Codecov 00:43:22 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=master&commit=b247510d13ba8e9fad57040faa04d23d7bfdafc2&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:43:22 -> Uploading to 00:43:22 https://storage.googleapis.com/codecov/v4/raw/2021-01-20/7D719EC7BBE17E464838252E33014C33/b247510d13ba8e9fad57040faa04d23d7bfdafc2/0154738e-b7ac-4a72-8332-040b0f5e0500.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210120T004322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2e18cf78b80df8c9f02087abd72c579bc66f6e7dc4efe3b134d8c3b022106bf1 00:43:22 % Total % Received % Xferd Average Speed Time Time Time Current 00:43:22 Dload Upload Total Spent Left Speed 00:43:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3288 0 0 100 3288 0 8019 --:--:-- --:--:-- --:--:-- 8039 00:43:23 -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/b247510d13ba8e9fad57040faa04d23d7bfdafc2 [Pipeline] } 00:43:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:43:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:43:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:43:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:43:24 00:43:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 00:43:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:43:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:43:24 188c0c94c7c5: Pulling fs layer 00:43:24 0ef7d3d256c8: Pulling fs layer 00:43:24 de9db76c5a1d: Pulling fs layer 00:43:24 0eba1c9be4d2: Pulling fs layer 00:43:24 0d57e429df01: Pulling fs layer 00:43:24 4e4be7b47b0d: Pulling fs layer 00:43:24 e1f770b5df2f: Pulling fs layer 00:43:24 85a0685a4137: Pulling fs layer 00:43:24 0d57e429df01: Waiting 00:43:24 4e4be7b47b0d: Waiting 00:43:24 e1f770b5df2f: Waiting 00:43:24 85a0685a4137: Waiting 00:43:24 0eba1c9be4d2: Waiting 00:43:24 de9db76c5a1d: Verifying Checksum 00:43:24 de9db76c5a1d: Download complete 00:43:24 0ef7d3d256c8: Verifying Checksum 00:43:24 0ef7d3d256c8: Download complete 00:43:24 0d57e429df01: Verifying Checksum 00:43:24 0d57e429df01: Download complete 00:43:25 4e4be7b47b0d: Verifying Checksum 00:43:25 4e4be7b47b0d: Download complete 00:43:25 188c0c94c7c5: Download complete 00:43:25 188c0c94c7c5: Pull complete 00:43:25 0ef7d3d256c8: Pull complete 00:43:25 de9db76c5a1d: Pull complete 00:43:26 e1f770b5df2f: Verifying Checksum 00:43:26 e1f770b5df2f: Download complete 00:43:28 0eba1c9be4d2: Verifying Checksum 00:43:28 0eba1c9be4d2: Download complete 00:43:29 85a0685a4137: Verifying Checksum 00:43:29 85a0685a4137: Download complete 00:43:34 0eba1c9be4d2: Pull complete 00:43:34 0d57e429df01: Pull complete 00:43:34 4e4be7b47b0d: Pull complete 00:43:36 e1f770b5df2f: Pull complete 00:43:44 85a0685a4137: Pull complete 00:43:44 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 00:43:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:43:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 00:43:44 prd-centos7-docker-4c-2g-21435 does not seem to be running inside a container 00:43:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:43:45 $ docker top 0dafec4140003e8068b5a311ff12d4ceb8f3f21ec19c3b3acdba2ad4501e556f -eo pid,comm [Pipeline] { [Pipeline] echo 00:43:45 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 00:43:46 + set -o pipefail 00:43:46 + snyk monitor '--org=edgex-jenkins' 00:43:54 00:43:54 Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... 00:43:54 00:43:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/4d1d9850-1d1d-401a-9332-3fb943a3a278 00:43:54 00:43:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:43:54 00:43:54 [Pipeline] } 00:43:54 $ docker stop --time=1 0dafec4140003e8068b5a311ff12d4ceb8f3f21ec19c3b3acdba2ad4501e556f 00:43:57 $ docker rm -f 0dafec4140003e8068b5a311ff12d4ceb8f3f21ec19c3b3acdba2ad4501e556f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:43:59 + git log --format=format:%s -1 b247510d13ba8e9fad57040faa04d23d7bfdafc2 [Pipeline] isUnix [Pipeline] sh 00:43:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:43:59 . [Pipeline] withDockerContainer 00:43:59 prd-centos7-docker-4c-2g-21435 does not seem to be running inside a container 00:43:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:44:00 $ docker top 2c56be4fec8ec1831f2e3be79e5d9ba40dd5ab7db2694a77e27fc44cba6ca8c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:44:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:44:00 [ssh-agent] Looking for ssh-agent implementation... 00:44:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:44:01 $ docker exec 2c56be4fec8ec1831f2e3be79e5d9ba40dd5ab7db2694a77e27fc44cba6ca8c4 ssh-agent 00:44:01 SSH_AUTH_SOCK=/tmp/ssh-d1WR7RMqV9s3/agent.11 00:44:01 SSH_AGENT_PID=16 00:44:01 Running ssh-add (command line suppressed) 00:44:01 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6110630640980348038.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6110630640980348038.key) 00:44:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:44:01 + git semver tag 00:44:01 # -> Open(): unable to determine branch for HEAD 00:44:01 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 00:44:01 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 00:44:01 # $SEMVER_REMOTE_NAME = origin 00:44:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:44:01 # $SEMVER_USER_NAME = edgex-jenkins 00:44:01 # $SEMVER_BRANCH = master 00:44:01 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 00:44:01 # b247510d13ba8e9fad57040faa04d23d7bfdafc2 HEAD 00:44:01 # -> Force: false 00:44:01 # e8ca2b43d6f3dc83f048ad010b462564458bc6a0 refs/tags/v1.3.1-dev.4 [Pipeline] } 00:44:01 $ docker exec --env ******** --env ******** 2c56be4fec8ec1831f2e3be79e5d9ba40dd5ab7db2694a77e27fc44cba6ca8c4 ssh-agent -k 00:44:02 unset SSH_AUTH_SOCK; 00:44:02 unset SSH_AGENT_PID; 00:44:02 echo Agent pid 16 killed; 00:44:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:44:02 + git semver [Pipeline] } 00:44:02 $ docker stop --time=1 2c56be4fec8ec1831f2e3be79e5d9ba40dd5ab7db2694a77e27fc44cba6ca8c4 00:44:03 $ docker rm -f 2c56be4fec8ec1831f2e3be79e5d9ba40dd5ab7db2694a77e27fc44cba6ca8c4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 00:44:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:44:04 00:44:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 00:44:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:44:04 0.23.1-centos7: Pulling from edgex-lftools 00:44:04 ab5ef0e58194: Pulling fs layer 00:44:04 9712f1f96733: Pulling fs layer 00:44:04 63f879dbbcfc: Pulling fs layer 00:44:04 0d9ebad4ef96: Pulling fs layer 00:44:04 e9a5061849ea: Pulling fs layer 00:44:04 d747dcd14b5f: Pulling fs layer 00:44:04 2de7ff778b66: Pulling fs layer 00:44:04 e9a5061849ea: Waiting 00:44:04 d747dcd14b5f: Waiting 00:44:04 0d9ebad4ef96: Waiting 00:44:04 2de7ff778b66: Waiting 00:44:04 9712f1f96733: Verifying Checksum 00:44:04 9712f1f96733: Download complete 00:44:06 63f879dbbcfc: Verifying Checksum 00:44:06 63f879dbbcfc: Download complete 00:44:06 e9a5061849ea: Verifying Checksum 00:44:06 e9a5061849ea: Download complete 00:44:06 d747dcd14b5f: Verifying Checksum 00:44:06 d747dcd14b5f: Download complete 00:44:07 2de7ff778b66: Verifying Checksum 00:44:07 2de7ff778b66: Download complete 00:44:07 0d9ebad4ef96: Verifying Checksum 00:44:07 0d9ebad4ef96: Download complete 00:44:08 ab5ef0e58194: Verifying Checksum 00:44:08 ab5ef0e58194: Download complete 00:44:12 ab5ef0e58194: Pull complete 00:44:12 9712f1f96733: Pull complete 00:44:14 63f879dbbcfc: Pull complete 00:44:20 0d9ebad4ef96: Pull complete 00:44:22 e9a5061849ea: Pull complete 00:44:22 d747dcd14b5f: Pull complete 00:44:24 2de7ff778b66: Pull complete 00:44:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:44:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:44:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 00:44:25 prd-centos7-docker-4c-2g-21435 does not seem to be running inside a container 00:44:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:44:28 $ docker top b1d30791738c48accf75e9f0bcb614aa6ed7da4d4a6a58b6bc209600fe7caacb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:44:28 provisioning config files... 00:44:28 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5801395200627190934tmp 00:44:28 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7711465725711764588tmp 00:44:28 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1985332441897556141tmp [Pipeline] { [Pipeline] echo 00:44:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:44:29 ---> sigul-configuration.sh 00:44:29 gpg: directory `/root/.gnupg' created 00:44:29 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:44:29 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:44:29 gpg: keyring `/root/.gnupg/secring.gpg' created 00:44:29 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:44:29 gpg: CAST5 encrypted data 00:44:29 gpg: encrypted with 1 passphrase 00:44:29 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:44:29 + mkdir /home/jenkins 00:44:29 + mkdir /home/jenkins/sigul [Pipeline] sh 00:44:30 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:44:30 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:44:30 ---> sigul-install.sh 00:44:37 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 00:44:37 + git tag --list 00:44:37 0.7.1 00:44:37 v1.0.0 00:44:37 v1.1.0 00:44:37 v1.1.1 00:44:37 v1.2.1 00:44:37 v1.2.2 00:44:37 v1.2.2-dev.1 00:44:37 v1.2.2-dev.2 00:44:37 v1.2.3-dev.1 00:44:37 v1.2.3-dev.10 00:44:37 v1.2.3-dev.2 00:44:37 v1.2.3-dev.3 00:44:37 v1.2.3-dev.4 00:44:37 v1.2.3-dev.5 00:44:37 v1.2.3-dev.6 00:44:37 v1.2.3-dev.7 00:44:37 v1.2.3-dev.8 00:44:37 v1.2.3-dev.9 00:44:37 v1.3.0 00:44:37 v1.3.1-dev.1 00:44:37 v1.3.1-dev.2 00:44:37 v1.3.1-dev.3 00:44:37 v1.3.1-dev.4 [Pipeline] sh 00:44:37 + lftools sign git-tag v1.3.1-dev.4 00:44:39 Signing Git tag with Sigul... 00:44:39 Signing v1.3.1-dev.4 [Pipeline] echo 00:44:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:44:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:44:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:44:40 $ docker stop --time=1 b1d30791738c48accf75e9f0bcb614aa6ed7da4d4a6a58b6bc209600fe7caacb 00:44:42 $ docker rm -f b1d30791738c48accf75e9f0bcb614aa6ed7da4d4a6a58b6bc209600fe7caacb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 00:44:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:44:43 . [Pipeline] withDockerContainer 00:44:43 prd-centos7-docker-4c-2g-21435 does not seem to be running inside a container 00:44:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:44:44 $ docker top 35918bb1a700901bacccb7ca30206b94eb36b849e8ec877c5713d56e272caa1b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:44:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:44:44 [ssh-agent] Looking for ssh-agent implementation... 00:44:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:44:44 $ docker exec 35918bb1a700901bacccb7ca30206b94eb36b849e8ec877c5713d56e272caa1b ssh-agent 00:44:45 SSH_AUTH_SOCK=/tmp/ssh-3pyVe6ZhgxbZ/agent.11 00:44:45 SSH_AGENT_PID=17 00:44:45 Running ssh-add (command line suppressed) 00:44:45 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7373541585185205625.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7373541585185205625.key) 00:44:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:44:45 + git semver bump pre 00:44:45 # -> Open(): unable to determine branch for HEAD 00:44:45 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 00:44:45 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 00:44:45 # $SEMVER_REMOTE_NAME = origin 00:44:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:44:45 # $SEMVER_USER_NAME = edgex-jenkins 00:44:45 # $SEMVER_BRANCH = master 00:44:45 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 00:44:45 1.3.1-dev.5 [Pipeline] } 00:44:45 $ docker exec --env ******** --env ******** 35918bb1a700901bacccb7ca30206b94eb36b849e8ec877c5713d56e272caa1b ssh-agent -k 00:44:45 unset SSH_AUTH_SOCK; 00:44:45 unset SSH_AGENT_PID; 00:44:45 echo Agent pid 17 killed; 00:44:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:44:46 + git semver [Pipeline] } 00:44:46 $ docker stop --time=1 35918bb1a700901bacccb7ca30206b94eb36b849e8ec877c5713d56e272caa1b 00:44:47 $ docker rm -f 35918bb1a700901bacccb7ca30206b94eb36b849e8ec877c5713d56e272caa1b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 00:44:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:44:48 . [Pipeline] withDockerContainer 00:44:48 prd-centos7-docker-4c-2g-21435 does not seem to be running inside a container 00:44:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:44:49 $ docker top 54d6777b1d2ba7d9d38ee383be0c353b5d31522b62014b3833a25051a4c732ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:44:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:44:49 [ssh-agent] Looking for ssh-agent implementation... 00:44:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:44:49 $ docker exec 54d6777b1d2ba7d9d38ee383be0c353b5d31522b62014b3833a25051a4c732ee ssh-agent 00:44:49 SSH_AUTH_SOCK=/tmp/ssh-mVmLLEsaMp3Y/agent.12 00:44:49 SSH_AGENT_PID=17 00:44:49 Running ssh-add (command line suppressed) 00:44:49 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2197595589871061489.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2197595589871061489.key) 00:44:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:44:50 + git semver push 00:44:50 # -> Open(): unable to determine branch for HEAD 00:44:50 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 00:44:50 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 00:44:50 # $SEMVER_REMOTE_NAME = origin 00:44:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:44:50 # $SEMVER_USER_NAME = edgex-jenkins 00:44:50 # $SEMVER_BRANCH = master 00:44:50 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 00:44:56 $ docker exec --env ******** --env ******** 54d6777b1d2ba7d9d38ee383be0c353b5d31522b62014b3833a25051a4c732ee ssh-agent -k 00:44:57 unset SSH_AUTH_SOCK; 00:44:57 unset SSH_AGENT_PID; 00:44:57 echo Agent pid 17 killed; 00:44:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:44:57 + git semver [Pipeline] } 00:44:57 $ docker stop --time=1 54d6777b1d2ba7d9d38ee383be0c353b5d31522b62014b3833a25051a4c732ee 00:44:58 $ docker rm -f 54d6777b1d2ba7d9d38ee383be0c353b5d31522b62014b3833a25051a4c732ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 00:45:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:45:01 ---> package-listing.sh 00:45:01 ++ facter osfamily 00:45:01 ++ tr '[:upper:]' '[:lower:]' 00:45:01 + OS_FAMILY=redhat 00:45:01 + workspace=/w/workspace/gexfoundry_device-mqtt-go_master 00:45:01 + START_PACKAGES=/tmp/packages_start.txt 00:45:01 + END_PACKAGES=/tmp/packages_end.txt 00:45:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:45:01 + PACKAGES=/tmp/packages_start.txt 00:45:01 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 00:45:01 + PACKAGES=/tmp/packages_end.txt 00:45:01 + case "${OS_FAMILY}" in 00:45:01 + rpm -qa 00:45:01 + sort 00:45:06 + '[' -f /tmp/packages_start.txt ']' 00:45:06 + '[' -f /tmp/packages_end.txt ']' 00:45:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:45:06 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 00:45:06 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ 00:45:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo 00:45:06 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:45:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:45:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:45:07 00:45:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:45:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:45:07 alpine: Pulling from edgex-lftools-log-publisher 00:45:07 df20fa9351a1: Pulling fs layer 00:45:07 36b3adc4ff6f: Pulling fs layer 00:45:07 8ad3a11d3b57: Pulling fs layer 00:45:07 46f8f816bc3b: Pulling fs layer 00:45:07 93b61091891f: Pulling fs layer 00:45:07 93b9cdb0e59b: Pulling fs layer 00:45:07 5e14af77c1be: Pulling fs layer 00:45:07 46f8f816bc3b: Waiting 00:45:07 01666e4c0597: Pulling fs layer 00:45:07 aa168da1d23b: Pulling fs layer 00:45:07 93b61091891f: Waiting 00:45:07 93b9cdb0e59b: Waiting 00:45:07 5e14af77c1be: Waiting 00:45:07 01666e4c0597: Waiting 00:45:07 aa168da1d23b: Waiting 00:45:07 36b3adc4ff6f: Verifying Checksum 00:45:07 36b3adc4ff6f: Download complete 00:45:07 46f8f816bc3b: Verifying Checksum 00:45:07 46f8f816bc3b: Download complete 00:45:07 df20fa9351a1: Verifying Checksum 00:45:07 df20fa9351a1: Download complete 00:45:07 93b9cdb0e59b: Verifying Checksum 00:45:07 93b9cdb0e59b: Download complete 00:45:07 5e14af77c1be: Verifying Checksum 00:45:07 5e14af77c1be: Download complete 00:45:07 93b61091891f: Verifying Checksum 00:45:07 93b61091891f: Download complete 00:45:07 01666e4c0597: Verifying Checksum 00:45:07 01666e4c0597: Download complete 00:45:07 8ad3a11d3b57: Verifying Checksum 00:45:07 8ad3a11d3b57: Download complete 00:45:08 df20fa9351a1: Pull complete 00:45:08 36b3adc4ff6f: Pull complete 00:45:09 aa168da1d23b: Verifying Checksum 00:45:09 aa168da1d23b: Download complete 00:45:10 8ad3a11d3b57: Pull complete 00:45:10 46f8f816bc3b: Pull complete 00:45:10 93b61091891f: Pull complete 00:45:10 93b9cdb0e59b: Pull complete 00:45:10 5e14af77c1be: Pull complete 00:45:11 01666e4c0597: Pull complete 00:45:17 aa168da1d23b: Pull complete 00:45:17 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:45:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:45:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:45:18 prd-centos7-docker-4c-2g-21435 does not seem to be running inside a container 00:45:18 $ 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_master/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_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:45:20 $ docker top 1914aaf824acf72e203e3fd5afda7d74ec8af9a192885a5047f92fcc6e68eb25 -eo pid,comm [Pipeline] { [Pipeline] sh 00:45:21 + touch /tmp/pre-build-complete [Pipeline] sh 00:45:21 + mkdir -p /var/log/sa [Pipeline] sh 00:45:22 + ls /var/log/sa-host 00:45:22 + sadf -c /var/log/sa-host/sa20 00:45:22 file_magic: OK 00:45:22 HZ: Using current value: 100 00:45:22 file_header: OK 00:45:22 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 00:45:22 Statistics: 00:45:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:45:22 File successfully converted to sysstat format version 12.2.1 00:45:22 + sadf -c /var/log/sa-host/sa23 00:45:22 file_magic: OK 00:45:22 HZ: Using current value: 100 00:45:22 file_header: OK 00:45:22 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 00:45:22 Statistics: 00:45:22 Hnuu...uuuununununu... 00:45:22 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:45:22 provisioning config files... 00:45:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6535751752915207180tmp [Pipeline] { [Pipeline] echo 00:45:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:45:23 ---> create-netrc.sh [Pipeline] } 00:45:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:45:23 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:45:23 ---> python-tools-install.sh [Pipeline] echo 00:45:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:45:23 ---> sudo-logs.sh 00:45:23 Archiving 'sudo' log.. [Pipeline] echo 00:45:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:45:24 ---> job-cost.sh 00:45:24 lf-activate-venv: SKIPPING 00:45:24 INFO: No Stack... 00:45:25 INFO: Retrieving Pricing Info for: v1-standard-2 00:45:26 INFO: Archiving Costs [Pipeline] echo 00:45:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:45:26 ---> logs-deploy.sh 00:45:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/29 00:45:26 INFO: archiving workspace using pattern(s): 00:45:28 Archives upload complete. 00:45:28 INFO: archiving logs to Nexus 00:45:29 ---> uname -a: 00:45:29 Linux prd-centos7-docker-4c-2g-21435.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 00:45:29 00:45:29 00:45:29 ---> lscpu: 00:45:29 Architecture: x86_64 00:45:29 CPU op-mode(s): 32-bit, 64-bit 00:45:29 Byte Order: Little Endian 00:45:29 Address sizes: 40 bits physical, 48 bits virtual 00:45:29 CPU(s): 4 00:45:29 On-line CPU(s) list: 0-3 00:45:29 Thread(s) per core: 1 00:45:29 Core(s) per socket: 1 00:45:29 Socket(s): 4 00:45:29 NUMA node(s): 1 00:45:29 Vendor ID: GenuineIntel 00:45:29 CPU family: 6 00:45:29 Model: 44 00:45:29 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 00:45:29 Stepping: 1 00:45:29 CPU MHz: 2933.438 00:45:29 BogoMIPS: 5866.87 00:45:29 Virtualization: VT-x 00:45:29 Hypervisor vendor: KVM 00:45:29 Virtualization type: full 00:45:29 L1d cache: 128 KiB 00:45:29 L1i cache: 128 KiB 00:45:29 L2 cache: 16 MiB 00:45:29 L3 cache: 64 MiB 00:45:29 NUMA node0 CPU(s): 0-3 00:45:29 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 00:45:29 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 00:45:29 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 00:45:29 Vulnerability Meltdown: Mitigation; PTI 00:45:29 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:45:29 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 00:45:29 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 00:45:29 Vulnerability Srbds: Not affected 00:45:29 Vulnerability Tsx async abort: Not affected 00:45:29 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 00:45:29 00:45:29 00:45:29 ---> nproc: 00:45:29 4 00:45:29 00:45:29 00:45:29 ---> df -h: 00:45:29 Filesystem Size Used Available Use% Mounted on 00:45:29 overlay 50.0G 8.5G 41.4G 17% / 00:45:29 tmpfs 64.0M 0 64.0M 0% /dev 00:45:29 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 00:45:29 shm 64.0M 0 64.0M 0% /dev/shm 00:45:29 /dev/vda1 50.0G 8.5G 41.4G 17% /facter-os 00:45:29 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/resolv.conf 00:45:29 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hostname 00:45:29 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hosts 00:45:29 /dev/vda1 50.0G 8.5G 41.4G 17% /run/cloud-init/result.json 00:45:29 /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/gexfoundry_device-mqtt-go_master 00:45:29 /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/gexfoundry_device-mqtt-go_master@tmp 00:45:29 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/sa-host 00:45:29 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/secure 00:45:29 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/auth.log 00:45:29 00:45:29 00:45:29 ---> free -m: 00:45:29 total used free shared buff/cache available 00:45:29 Mem: 1837 823 136 0 877 950 00:45:29 Swap: 1023 4 1019 00:45:29 00:45:29 00:45:29 ---> ip addr: 00:45:29 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 00:45:29 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:45:29 inet 127.0.0.1/8 scope host lo 00:45:29 valid_lft forever preferred_lft forever 00:45:29 inet6 ::1/128 scope host 00:45:29 valid_lft forever preferred_lft forever 00:45:29 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 00:45:29 link/ether fa:16:3e:67:f7:eb brd ff:ff:ff:ff:ff:ff 00:45:29 inet 10.30.123.27/23 brd 10.30.123.255 scope global dynamic eth0 00:45:29 valid_lft 85733sec preferred_lft 85733sec 00:45:29 inet6 fe80::f816:3eff:fe67:f7eb/64 scope link 00:45:29 valid_lft forever preferred_lft forever 00:45:29 3: docker0: mtu 1500 qdisc noqueue state DOWN 00:45:29 link/ether 02:42:47:8e:6d:8b brd ff:ff:ff:ff:ff:ff 00:45:29 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 00:45:29 valid_lft forever preferred_lft forever 00:45:29 inet6 fe80::42:47ff:fe8e:6d8b/64 scope link 00:45:29 valid_lft forever preferred_lft forever 00:45:29 00:45:29 00:45:29 ---> sar -b -r -n DEV: 00:45:29 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/20/21 _x86_64_ (4 CPU) 00:45:29 00:45:29 00:34:10 LINUX RESTART (4 CPU) 00:45:29 00:45:29 00:35:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:45:29 00:36:01 29.27 11.45 17.81 0.00 4422.07 2948.64 0.00 00:45:29 00:37:01 1.70 0.00 1.70 0.00 0.00 28.00 0.00 00:45:29 00:38:01 0.25 0.00 0.25 0.00 0.00 2.58 0.00 00:45:29 00:39:01 0.18 0.00 0.18 0.00 0.00 1.88 0.00 00:45:29 00:40:01 0.23 0.00 0.23 0.00 0.00 3.65 0.00 00:45:29 00:41:01 0.37 0.00 0.37 0.00 0.00 5.58 0.00 00:45:29 00:42:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 00:45:29 00:43:01 0.20 0.00 0.20 0.00 0.00 2.83 0.00 00:45:29 00:44:01 297.84 186.29 111.55 0.00 9047.63 36147.43 0.00 00:45:29 00:45:01 193.87 64.03 129.84 0.00 4220.24 32931.52 0.00 00:45:29 Average: 52.44 26.19 26.25 0.00 1769.84 7211.23 0.00 00:45:29 00:45:29 00:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:45:29 00:36:01 152540 0 624940 33.21 2620 1101444 1104400 37.69 464100 1065148 16 00:45:29 00:37:01 157648 0 619824 32.94 2620 1101452 1079228 36.83 461256 1063108 8 00:45:29 00:38:01 155808 0 621660 33.04 2620 1101456 1079264 36.83 464840 1061504 8 00:45:29 00:39:01 155616 0 621852 33.05 2620 1101456 1079216 36.83 477860 1049204 8 00:45:29 00:40:01 154164 0 623296 33.13 2620 1101464 1079300 36.83 471172 1057408 8 00:45:29 00:41:01 153648 0 623808 33.15 2620 1101468 1079504 36.84 471692 1057408 20 00:45:29 00:42:01 154936 0 622516 33.09 2620 1101472 1079276 36.83 470524 1057456 12 00:45:29 00:43:01 154172 0 623276 33.13 2620 1101476 1079536 36.84 471372 1057456 8 00:45:29 00:44:01 210748 0 696984 37.04 2620 971192 1207192 41.20 532940 879524 44 00:45:29 00:45:01 208216 0 781036 41.51 1752 890540 1133908 38.70 595200 744688 96 00:45:29 Average: 165750 0 645919 34.33 2533 1067342 1100082 37.54 488096 1009290 23 00:45:29 00:45:29 00:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:45:29 00:36:01 eth0 92.76 76.44 346.37 31.65 0.00 0.00 0.00 0.00 00:45:29 00:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:36:01 docker0 2.23 1.75 0.44 4.11 0.00 0.00 0.00 0.00 00:45:29 00:37:01 eth0 1.22 0.33 0.33 0.20 0.00 0.00 0.00 0.00 00:45:29 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:38:01 eth0 1.03 0.30 0.31 0.20 0.00 0.00 0.00 0.00 00:45:29 00:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:39:01 eth0 0.93 0.22 0.23 0.08 0.00 0.00 0.00 0.00 00:45:29 00:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:40:01 eth0 2.55 0.67 0.81 0.46 0.00 0.00 0.00 0.00 00:45:29 00:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:41:01 eth0 1.95 0.93 0.86 0.57 0.00 0.00 0.00 0.00 00:45:29 00:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:42:01 eth0 0.73 0.08 0.07 0.04 0.00 0.00 0.00 0.00 00:45:29 00:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:43:01 eth0 3.43 1.05 1.26 0.76 0.00 0.00 0.00 0.00 00:45:29 00:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:44:01 veth302041c 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:44:01 eth0 510.95 444.65 4289.85 78.77 0.00 0.00 0.00 0.00 00:45:29 00:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:44:01 docker0 36.01 34.78 3.15 189.07 0.00 0.00 0.00 0.00 00:45:29 00:45:01 eth0 489.50 411.24 3458.91 94.58 0.00 0.00 0.00 0.00 00:45:29 00:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 00:45:01 docker0 25.42 35.92 1.61 202.39 0.00 0.00 0.00 0.00 00:45:29 Average: eth0 110.56 93.64 810.31 20.74 0.00 0.00 0.00 0.00 00:45:29 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:45:29 Average: docker0 6.37 7.25 0.52 39.58 0.00 0.00 0.00 0.00 00:45:29 00:45:29 00:45:29 ---> sar -P ALL: 00:45:29 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/20/21 _x86_64_ (4 CPU) 00:45:29 00:45:29 00:34:10 LINUX RESTART (4 CPU) 00:45:29 00:45:29 00:35:01 CPU %user %nice %system %iowait %steal %idle 00:45:29 00:36:01 all 2.62 0.00 1.89 0.34 0.02 95.14 00:45:29 00:36:01 0 2.46 0.00 2.08 0.10 0.02 95.34 00:45:29 00:36:01 1 3.43 0.00 1.96 0.80 0.00 93.81 00:45:29 00:36:01 2 2.28 0.00 1.73 0.18 0.03 95.78 00:45:29 00:36:01 3 2.30 0.00 1.80 0.25 0.02 95.64 00:45:29 00:37:01 all 0.13 0.00 0.05 0.00 0.01 99.80 00:45:29 00:37:01 0 0.03 0.00 0.03 0.00 0.00 99.93 00:45:29 00:37:01 1 0.42 0.00 0.08 0.00 0.02 99.48 00:45:29 00:37:01 2 0.07 0.00 0.07 0.00 0.00 99.87 00:45:29 00:37:01 3 0.02 0.00 0.03 0.00 0.02 99.93 00:45:29 00:38:01 all 0.17 0.00 0.07 0.00 0.00 99.76 00:45:29 00:38:01 0 0.07 0.00 0.05 0.00 0.00 99.88 00:45:29 00:38:01 1 0.52 0.00 0.03 0.00 0.00 99.45 00:45:29 00:38:01 2 0.03 0.00 0.08 0.00 0.00 99.88 00:45:29 00:38:01 3 0.07 0.00 0.10 0.00 0.00 99.83 00:45:29 00:39:01 all 0.16 0.00 0.05 0.00 0.01 99.78 00:45:29 00:39:01 0 0.07 0.00 0.05 0.00 0.00 99.88 00:45:29 00:39:01 1 0.15 0.00 0.02 0.00 0.02 99.82 00:45:29 00:39:01 2 0.05 0.00 0.08 0.00 0.00 99.87 00:45:29 00:39:01 3 0.37 0.00 0.03 0.00 0.03 99.57 00:45:29 00:40:01 all 0.20 0.00 0.05 0.00 0.01 99.74 00:45:29 00:40:01 0 0.05 0.00 0.07 0.00 0.00 99.88 00:45:29 00:40:01 1 0.08 0.00 0.03 0.00 0.02 99.87 00:45:29 00:40:01 2 0.12 0.00 0.07 0.00 0.02 99.80 00:45:29 00:40:01 3 0.55 0.00 0.05 0.00 0.00 99.40 00:45:29 00:41:01 all 0.18 0.00 0.03 0.00 0.01 99.78 00:45:29 00:41:01 0 0.05 0.00 0.03 0.00 0.02 99.90 00:45:29 00:41:01 1 0.07 0.00 0.03 0.00 0.02 99.88 00:45:29 00:41:01 2 0.07 0.00 0.03 0.00 0.00 99.90 00:45:29 00:41:01 3 0.52 0.00 0.03 0.00 0.00 99.45 00:45:29 00:42:01 all 0.16 0.00 0.03 0.00 0.00 99.80 00:45:29 00:42:01 0 0.03 0.00 0.02 0.00 0.00 99.95 00:45:29 00:42:01 1 0.03 0.00 0.03 0.00 0.00 99.93 00:45:29 00:42:01 2 0.07 0.00 0.05 0.00 0.00 99.88 00:45:29 00:42:01 3 0.52 0.00 0.03 0.00 0.00 99.45 00:45:29 00:43:01 all 0.10 0.00 0.05 0.00 0.00 99.85 00:45:29 00:43:01 0 0.07 0.00 0.05 0.00 0.00 99.88 00:45:29 00:43:01 1 0.07 0.00 0.05 0.00 0.00 99.88 00:45:29 00:43:01 2 0.07 0.00 0.05 0.00 0.00 99.88 00:45:29 00:43:01 3 0.18 0.00 0.07 0.00 0.02 99.73 00:45:29 00:44:01 all 10.28 0.00 7.37 2.65 0.06 79.64 00:45:29 00:44:01 0 9.54 0.00 7.94 3.00 0.07 79.45 00:45:29 00:44:01 1 9.80 0.00 6.99 1.51 0.03 81.67 00:45:29 00:44:01 2 11.70 0.00 7.15 3.58 0.05 77.52 00:45:29 00:44:01 3 10.09 0.00 7.40 2.53 0.07 79.91 00:45:29 00:45:01 all 11.39 0.00 8.69 2.51 0.06 77.34 00:45:29 00:45:01 0 9.64 0.00 8.54 2.09 0.05 79.68 00:45:29 00:45:01 1 10.29 0.00 8.01 2.57 0.05 79.07 00:45:29 00:45:01 2 10.51 0.00 8.68 2.19 0.10 78.51 00:45:29 00:45:01 3 15.13 0.00 9.53 3.20 0.05 72.09 00:45:29 Average: all 2.50 0.00 1.80 0.54 0.02 95.14 00:45:29 Average: 0 2.16 0.00 1.85 0.51 0.02 95.47 00:45:29 Average: 1 2.45 0.00 1.70 0.48 0.02 95.35 00:45:29 Average: 2 2.46 0.00 1.78 0.59 0.02 95.16 00:45:29 Average: 3 2.93 0.00 1.88 0.59 0.02 94.59 00:45:29 00:45:29 00:45:29