Pull request #303 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jenmwms for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 rather than 342045105871e229d92504ccf88c313acedc69e7 Obtained Jenkinsfile from 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4872706457449593285.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5016820282403696346.key > 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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-303/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-303/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5635920876986387030.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7505035470232798069.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-303/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-303/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7752149731808856811.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-427 in /w/workspace/gexfoundry_device-mqtt-go_PR-303 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-303 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/jenkins-gitclient-ssh6739105434600117353.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 into PR head commit 342045105871e229d92504ccf88c313acedc69e7 Merge succeeded, producing 342045105871e229d92504ccf88c313acedc69e7 Checking out Revision 342045105871e229d92504ccf88c313acedc69e7 (PR-303) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/jenkins-gitclient-ssh2294598397314053916.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/303/head:refs/remotes/origin/PR-303 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 342045105871e229d92504ccf88c313acedc69e7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/jenkins-gitclient-ssh2912967484301096362.key > git merge 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 342045105871e229d92504ccf88c313acedc69e7 # timeout=10 Commit message: "fix: add check if length is 0 before trying to use metaData for uuid" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:42:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:42:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:42:49 ========================================================= 22:42:49 EdgeX Global Pipelines Version Info 22:42:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d70fadd9ef77c87ffd056311d71fb7199f4cae40 # timeout=10 22:42:50 ------------------- 22:42:50 stable info: 22:42:50 ------------------- 22:42:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:42:50 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 22:42:50 Message: update stable to v1.0.205 22:42:51 ------------------- 22:42:51 experimental info: 22:42:51 ------------------- 22:42:51 Commited By: **** collab-it+edgex@linuxfoundation.org 22:42:51 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 22:42:51 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-303 [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-303 [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-303 [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 342045105871e229d92504ccf88c313acedc69e7 [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3420451 [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:42:52 provisioning config files... 22:42:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/config5488215975974971958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:53 ---> docker-login.sh 22:42:53 nexus3.edgexfoundry.org:10001 22:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:53 Configure a credential helper to remove this warning. See 22:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:53 22:42:53 Login Succeeded 22:42:53 nexus3.edgexfoundry.org:10002 22:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:53 Configure a credential helper to remove this warning. See 22:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:53 22:42:53 Login Succeeded 22:42:53 nexus3.edgexfoundry.org:10003 22:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:53 Configure a credential helper to remove this warning. See 22:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:53 22:42:53 Login Succeeded 22:42:53 nexus3.edgexfoundry.org:10004 22:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:53 Configure a credential helper to remove this warning. See 22:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:53 22:42:53 Login Succeeded 22:42:53 docker.io 22:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:54 Configure a credential helper to remove this warning. See 22:42:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:54 22:42:54 Login Succeeded 22:42:54 ---> docker-login.sh ends [Pipeline] } 22:42:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:42:54 + git log --format=format:%s -1 342045105871e229d92504ccf88c313acedc69e7 [Pipeline] echo 22:42:54 GIT_COMMIT: 342045105871e229d92504ccf88c313acedc69e7, Commit Message: fix: add check if length is 0 before trying to use metaData for uuid [Pipeline] echo 22:42:54 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:42:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:55 22:42:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:42:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:55 latest: Pulling from edgex-devops/git-semver 22:42:55 31603596830f: Pulling fs layer 22:42:55 04fac38145f0: Pulling fs layer 22:42:55 701f6daf10bf: Pulling fs layer 22:42:55 24f72da36158: Pulling fs layer 22:42:55 24f72da36158: Waiting 22:42:55 04fac38145f0: Verifying Checksum 22:42:55 04fac38145f0: Download complete 22:42:56 31603596830f: Verifying Checksum 22:42:56 31603596830f: Download complete 22:42:56 24f72da36158: Verifying Checksum 22:42:56 24f72da36158: Download complete 22:42:56 31603596830f: Pull complete 22:42:56 701f6daf10bf: Verifying Checksum 22:42:56 701f6daf10bf: Download complete 22:42:56 04fac38145f0: Pull complete 22:42:57 701f6daf10bf: Pull complete 22:42:57 24f72da36158: Pull complete 22:42:57 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 22:42:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:42:57 prd-centos7-docker-4c-2g-427 does not seem to be running inside a container 22:42:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-303 -v /w/workspace/gexfoundry_device-mqtt-go_PR-303:/w/workspace/gexfoundry_device-mqtt-go_PR-303:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:42:58 $ docker top 712a1c627a2a9de1080a36799f35a96c9fb3ff3edcc54e08ee6d259bed671cc0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:42:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:58 [ssh-agent] Looking for ssh-agent implementation... 22:42:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:58 $ docker exec 712a1c627a2a9de1080a36799f35a96c9fb3ff3edcc54e08ee6d259bed671cc0 ssh-agent 22:42:58 SSH_AUTH_SOCK=/tmp/ssh-G63ixgGVaxKQ/agent.14 22:42:58 SSH_AGENT_PID=21 22:42:58 Running ssh-add (command line suppressed) 22:42:58 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/private_key_8568304934946673965.key (/w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/private_key_8568304934946673965.key) 22:42:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:59 + git tag --points-at HEAD [Pipeline] } 22:42:59 $ docker exec --env ******** --env ******** 712a1c627a2a9de1080a36799f35a96c9fb3ff3edcc54e08ee6d259bed671cc0 ssh-agent -k 22:42:59 unset SSH_AUTH_SOCK; 22:42:59 unset SSH_AGENT_PID; 22:42:59 echo Agent pid 21 killed; 22:42:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:42:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:59 [ssh-agent] Looking for ssh-agent implementation... 22:42:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:59 $ docker exec 712a1c627a2a9de1080a36799f35a96c9fb3ff3edcc54e08ee6d259bed671cc0 ssh-agent 22:42:59 SSH_AUTH_SOCK=/tmp/ssh-D0w0YSFYQakE/agent.55 22:42:59 SSH_AGENT_PID=61 22:42:59 Running ssh-add (command line suppressed) 22:42:59 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/private_key_8730979554943553960.key (/w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/private_key_8730979554943553960.key) 22:42:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:43:00 + git semver init 22:43:00 # -> Open(): unable to determine branch for HEAD 22:43:00 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-303/.git 22:43:00 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-303 22:43:00 # $SEMVER_REMOTE_NAME = origin 22:43:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:43:00 # $SEMVER_USER_NAME = edgex-jenkins 22:43:00 # $SEMVER_BRANCH = PR-303 22:43:00 # $SEMVER_TEMP = /tmp/semver-351565860 22:43:00 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 22:43:00 # '/tmp/semver-351565860' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-303/.semver' 22:43:00 # -> Force: false 22:43:00 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-303/.semver [Pipeline] } 22:43:00 $ docker exec --env ******** --env ******** 712a1c627a2a9de1080a36799f35a96c9fb3ff3edcc54e08ee6d259bed671cc0 ssh-agent -k 22:43:00 unset SSH_AUTH_SOCK; 22:43:00 unset SSH_AGENT_PID; 22:43:00 echo Agent pid 61 killed; 22:43:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:43:01 + git semver [Pipeline] } 22:43:01 $ docker stop --time=1 712a1c627a2a9de1080a36799f35a96c9fb3ff3edcc54e08ee6d259bed671cc0 22:43:02 $ docker rm -f 712a1c627a2a9de1080a36799f35a96c9fb3ff3edcc54e08ee6d259bed671cc0 [Pipeline] // withDockerContainer [Pipeline] sh 22:43:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:43:03 Stashed 1 file(s) [Pipeline] echo 22:43:03 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 22:43:18 Still waiting to schedule task 22:43:18 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-427’ 22:43:18 Still waiting to schedule task 22:43:18 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:45:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-428 in /w/workspace/gexfoundry_device-mqtt-go_PR-303 [Pipeline] { [Pipeline] ws 22:45:41 Running in /w/workspace/device-mqtt-go/8 [Pipeline] { [Pipeline] checkout 22:45:41 Selected Git installation does not exist. Using Default 22:45:41 The recommended git tool is: NONE 22:45:47 using credential edgex-jenkins-ssh 22:45:47 Cloning the remote Git repository 22:45:47 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 22:45:47 > git init /w/workspace/device-mqtt-go/8 # timeout=10 22:45:48 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:45:48 > git --version # timeout=10 22:45:48 > git --version # 'git version 2.17.1' 22:45:48 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:49 Running on prd-centos7-docker-4c-2g-429 in /w/workspace/gexfoundry_device-mqtt-go_PR-303 [Pipeline] { [Pipeline] ws 22:45:49 Running in /w/workspace/device-mqtt-go/8 [Pipeline] { [Pipeline] checkout 22:45:49 Selected Git installation does not exist. Using Default 22:45:49 The recommended git tool is: NONE 22:45:49 Merging remotes/origin/main commit 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 into PR head commit 342045105871e229d92504ccf88c313acedc69e7 22:45:50 Merge succeeded, producing 342045105871e229d92504ccf88c313acedc69e7 22:45:50 Checking out Revision 342045105871e229d92504ccf88c313acedc69e7 (PR-303) 22:45:49 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:45:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:49 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:45:49 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:45:49 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/303/head:refs/remotes/origin/PR-303 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:45:49 > git config core.sparsecheckout # timeout=10 22:45:49 > git checkout -f 342045105871e229d92504ccf88c313acedc69e7 # timeout=10 22:45:50 > git remote # timeout=10 22:45:50 > git config --get remote.origin.url # timeout=10 22:45:50 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:50 > git merge 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 # timeout=10 22:45:50 > git rev-parse HEAD^{commit} # timeout=10 22:45:50 > git config core.sparsecheckout # timeout=10 22:45:50 > git checkout -f 342045105871e229d92504ccf88c313acedc69e7 # timeout=10 22:45:52 using credential edgex-jenkins-ssh 22:45:52 Cloning the remote Git repository 22:45:51 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 22:45:51 > git init /w/workspace/device-mqtt-go/8 # timeout=10 22:45:52 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:45:52 > git --version # timeout=10 22:45:52 > git --version # 'git version 2.24.4' 22:45:52 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:52 [INFO] Currently running in a labeled security context 22:45:52 [INFO] Currently SELinux is 'enforcing' on the host 22:45:52 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/8@tmp/jenkins-gitclient-ssh7558612641049920673.key 22:45:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:53 Merging remotes/origin/main commit 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 into PR head commit 342045105871e229d92504ccf88c313acedc69e7 22:45:52 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:45:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:52 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:45:52 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:45:52 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:52 [INFO] Currently running in a labeled security context 22:45:52 [INFO] Currently SELinux is 'enforcing' on the host 22:45:52 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/8@tmp/jenkins-gitclient-ssh1699941385147718877.key 22:45:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/303/head:refs/remotes/origin/PR-303 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:45:53 > git config core.sparsecheckout # timeout=10 22:45:53 Merge succeeded, producing 342045105871e229d92504ccf88c313acedc69e7 22:45:53 Checking out Revision 342045105871e229d92504ccf88c313acedc69e7 (PR-303) 22:45:54 Commit message: "fix: add check if length is 0 before trying to use metaData for uuid" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:45:54 provisioning config files... 22:45:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/8@tmp/config4914916365765373576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:53 > git checkout -f 342045105871e229d92504ccf88c313acedc69e7 # timeout=10 22:45:53 > git remote # timeout=10 22:45:53 > git config --get remote.origin.url # timeout=10 22:45:53 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:53 [INFO] Currently running in a labeled security context 22:45:53 [INFO] Currently SELinux is 'enforcing' on the host 22:45:53 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/8@tmp/jenkins-gitclient-ssh4760074127150804792.key 22:45:53 > git merge 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 # timeout=10 22:45:53 > git rev-parse HEAD^{commit} # timeout=10 22:45:53 > git config core.sparsecheckout # timeout=10 22:45:53 > git checkout -f 342045105871e229d92504ccf88c313acedc69e7 # timeout=10 22:45:55 ---> docker-login.sh 22:45:55 nexus3.edgexfoundry.org:10001 22:45:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:57 Configure a credential helper to remove this warning. See 22:45:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:57 22:45:57 Login Succeeded 22:45:57 nexus3.edgexfoundry.org:10002 22:45:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:57 Commit message: "fix: add check if length is 0 before trying to use metaData for uuid" 22:45:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:57 Configure a credential helper to remove this warning. See 22:45:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:57 22:45:57 Login Succeeded 22:45:57 nexus3.edgexfoundry.org:10003 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:45:57 provisioning config files... 22:45:57 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/8@tmp/config798050294224805424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:58 Configure a credential helper to remove this warning. See 22:45:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:58 22:45:58 Login Succeeded 22:45:58 nexus3.edgexfoundry.org:10004 22:45:58 ---> docker-login.sh 22:45:58 nexus3.edgexfoundry.org:10001 22:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:58 Configure a credential helper to remove this warning. See 22:45:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:58 22:45:58 Login Succeeded 22:45:58 nexus3.edgexfoundry.org:10002 22:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:58 Configure a credential helper to remove this warning. See 22:45:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:58 22:45:58 Login Succeeded 22:45:58 nexus3.edgexfoundry.org:10003 22:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:58 Configure a credential helper to remove this warning. See 22:45:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:58 22:45:58 Login Succeeded 22:45:58 docker.io 22:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:58 Configure a credential helper to remove this warning. See 22:45:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:58 22:45:58 Login Succeeded 22:45:58 nexus3.edgexfoundry.org:10004 22:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:58 Configure a credential helper to remove this warning. See 22:45:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:58 22:45:58 Login Succeeded 22:45:58 docker.io 22:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:59 Configure a credential helper to remove this warning. See 22:45:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:59 22:45:59 Login Succeeded 22:45:59 ---> docker-login.sh ends 22:45:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } 22:45:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:45:59 ========================================================= 22:45:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:45:59 ========================================================= [Pipeline] fileExists 22:45:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:59 Configure a credential helper to remove this warning. See 22:45:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:59 22:45:59 Login Succeeded 22:45:59 ---> docker-login.sh ends [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [Pipeline] } 22:45:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 22:46:00 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 22:46:00 Sending build context to Docker daemon 693.8kB 22:46:00 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 22:46:00 Step 2/12 : FROM ${BASE} AS builder 22:46:00 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:46:00 540db60ca938: Pulling fs layer 22:46:00 adcc1eea9eea: Pulling fs layer 22:46:00 4c4ab2625f07: Pulling fs layer 22:46:00 db62176df00c: Pulling fs layer 22:46:00 3b30891b0d05: Pulling fs layer 22:46:00 06b49ca38bd5: Pulling fs layer 22:46:00 c788192a36de: Pulling fs layer 22:46:00 a77e37c0d609: Pulling fs layer 22:46:00 c3185cebc471: Pulling fs layer 22:46:00 06b49ca38bd5: Waiting 22:46:00 c788192a36de: Waiting 22:46:00 a77e37c0d609: Waiting 22:46:00 c3185cebc471: Waiting 22:46:00 db62176df00c: Waiting 22:46:00 3b30891b0d05: Waiting 22:46:00 4c4ab2625f07: Verifying Checksum 22:46:00 4c4ab2625f07: Download complete 22:46:00 adcc1eea9eea: Verifying Checksum 22:46:00 adcc1eea9eea: Download complete 22:46:00 3b30891b0d05: Download complete 22:46:00 06b49ca38bd5: Verifying Checksum 22:46:00 06b49ca38bd5: Download complete 22:46:00 540db60ca938: Verifying Checksum 22:46:00 540db60ca938: Download complete 22:46:00 c788192a36de: Verifying Checksum 22:46:00 c788192a36de: Download complete [Pipeline] echo 22:46:00 ========================================================= 22:46:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:46:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:46:00 540db60ca938: Pull complete 22:46:00 adcc1eea9eea: Pull complete 22:46:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 22:46:00 4c4ab2625f07: Pull complete 22:46:01 Sending build context to Docker daemon 692.7kB 22:46:01 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 22:46:01 Step 2/12 : FROM ${BASE} AS builder 22:46:01 a77e37c0d609: Verifying Checksum 22:46:01 a77e37c0d609: Download complete 22:46:01 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:46:01 595b0fe564bb: Pulling fs layer 22:46:01 24495759ef45: Pulling fs layer 22:46:01 d148012ef14d: Pulling fs layer 22:46:01 e90a11edd702: Pulling fs layer 22:46:01 d77568369979: Pulling fs layer 22:46:01 fc1c9f9a7f3b: Pulling fs layer 22:46:01 170f2ba95c9a: Pulling fs layer 22:46:01 97ac5df62f85: Pulling fs layer 22:46:01 e90a11edd702: Waiting 22:46:01 fc1c9f9a7f3b: Waiting 22:46:01 170f2ba95c9a: Waiting 22:46:01 d77568369979: Waiting 22:46:01 97ac5df62f85: Waiting 22:46:01 d148012ef14d: Verifying Checksum 22:46:01 d148012ef14d: Download complete 22:46:01 24495759ef45: Verifying Checksum 22:46:01 24495759ef45: Download complete 22:46:01 d77568369979: Verifying Checksum 22:46:01 d77568369979: Download complete 22:46:01 595b0fe564bb: Verifying Checksum 22:46:01 595b0fe564bb: Download complete 22:46:01 fc1c9f9a7f3b: Verifying Checksum 22:46:01 fc1c9f9a7f3b: Download complete 22:46:01 170f2ba95c9a: Download complete 22:46:02 595b0fe564bb: Pull complete 22:46:03 24495759ef45: Pull complete 22:46:03 d148012ef14d: Pull complete 22:46:06 97ac5df62f85: Verifying Checksum 22:46:06 97ac5df62f85: Download complete 22:46:06 e90a11edd702: Verifying Checksum 22:46:06 e90a11edd702: Download complete 22:46:06 c3185cebc471: Verifying Checksum 22:46:06 c3185cebc471: Download complete 22:46:07 db62176df00c: Verifying Checksum 22:46:07 db62176df00c: Download complete 22:46:10 db62176df00c: Pull complete 22:46:10 3b30891b0d05: Pull complete 22:46:10 06b49ca38bd5: Pull complete 22:46:10 c788192a36de: Pull complete 22:46:10 a77e37c0d609: Pull complete 22:46:12 c3185cebc471: Pull complete 22:46:12 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 22:46:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:46:12 ---> 031687cdd783 22:46:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:46:14 ---> Running in 7c1586287c50 22:46:14 Removing intermediate container 7c1586287c50 22:46:14 ---> 863c9c863026 22:46:14 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:46:14 ---> Running in 0133485dcc9c 22:46:14 Removing intermediate container 0133485dcc9c 22:46:14 ---> 39b7f0378dab 22:46:14 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:14 ---> Running in 234691fb3f43 22:46:14 Removing intermediate container 234691fb3f43 22:46:14 ---> 162b2171bb1a 22:46:14 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:46:15 ---> Running in dd0d961172c7 22:46:15 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:46:16 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:46:16 (1/3) Installing openssh-keygen (8.4_p1-r3) 22:46:16 (2/3) Installing libedit (20191231.3.1-r1) 22:46:16 (3/3) Installing openssh-client (8.4_p1-r3) 22:46:16 Executing busybox-1.32.1-r6.trigger 22:46:16 OK: 223 MiB in 55 packages 22:46:17 Removing intermediate container dd0d961172c7 22:46:17 ---> 42670b82768a 22:46:17 Step 7/12 : WORKDIR /device-mqtt-go 22:46:17 ---> Running in d2facd4639f4 22:46:17 Removing intermediate container d2facd4639f4 22:46:17 ---> 7f39e67b7b45 22:46:17 Step 8/12 : COPY . . 22:46:17 ---> 4aa187935419 22:46:17 Step 9/12 : RUN go mod tidy 22:46:17 ---> Running in 681fa9ab28d7 22:46:18 e90a11edd702: Pull complete 22:46:18 d77568369979: Pull complete 22:46:18 fc1c9f9a7f3b: Pull complete 22:46:18 170f2ba95c9a: Pull complete 22:46:19 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 22:46:19 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 22:46:19 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 22:46:19 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 22:46:19 go: downloading github.com/google/uuid v1.3.0 22:46:19 go: downloading github.com/spf13/cast v1.4.1 22:46:19 go: downloading github.com/stretchr/testify v1.7.0 22:46:19 go: downloading github.com/gorilla/mux v1.8.0 22:46:19 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 22:46:19 go: downloading github.com/gorilla/websocket v1.4.2 22:46:19 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 22:46:19 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 22:46:19 go: downloading github.com/go-kit/kit v0.9.0 22:46:20 go: downloading github.com/go-playground/validator/v10 v10.6.1 22:46:20 go: downloading github.com/davecgh/go-spew v1.1.1 22:46:20 go: downloading github.com/pmezard/go-difflib v1.0.0 22:46:20 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 22:46:20 go: downloading github.com/OneOfOne/xxhash v1.2.8 22:46:20 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 22:46:20 go: downloading github.com/pelletier/go-toml v1.9.2 22:46:20 go: downloading gopkg.in/yaml.v2 v2.4.0 22:46:20 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 22:46:20 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 22:46:20 go: downloading github.com/go-logfmt/logfmt v0.4.0 22:46:20 go: downloading github.com/go-stack/stack v1.8.0 22:46:20 go: downloading github.com/go-playground/universal-translator v0.17.0 22:46:20 go: downloading github.com/leodido/go-urn v1.2.0 22:46:20 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 22:46:20 go: downloading golang.org/x/text v0.3.2 22:46:20 go: downloading github.com/go-playground/assert/v2 v2.0.1 22:46:21 go: downloading github.com/go-playground/locales v0.13.0 22:46:21 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 22:46:21 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 22:46:21 go: downloading github.com/hashicorp/consul/api v1.8.1 22:46:21 go: downloading github.com/stretchr/objx v0.1.0 22:46:21 go: downloading github.com/x448/float16 v0.8.4 22:46:21 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:46:21 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 22:46:21 go: downloading github.com/go-redis/redis/v7 v7.3.0 22:46:21 go: downloading github.com/pebbe/zmq4 v1.2.7 22:46:21 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:46:21 go: downloading github.com/kr/pretty v0.2.0 22:46:22 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:46:22 go: downloading github.com/hashicorp/go-hclog v0.12.0 22:46:22 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 22:46:22 go: downloading github.com/hashicorp/serf v0.9.5 22:46:22 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:46:22 go: downloading github.com/hashicorp/consul/sdk v0.7.0 22:46:22 go: downloading github.com/hashicorp/go-uuid v1.0.1 22:46:22 go: downloading github.com/onsi/ginkgo v1.10.1 22:46:22 go: downloading github.com/onsi/gomega v1.7.0 22:46:22 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 22:46:22 go: downloading github.com/mitchellh/copystructure v1.0.0 22:46:22 go: downloading github.com/kr/text v0.1.0 22:46:22 go: downloading github.com/fatih/color v1.9.0 22:46:22 go: downloading github.com/mattn/go-colorable v0.1.6 22:46:22 go: downloading github.com/mattn/go-isatty v0.0.12 22:46:22 go: downloading github.com/mitchellh/go-homedir v1.1.0 22:46:22 go: downloading github.com/pkg/errors v0.8.1 22:46:22 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:46:22 go: downloading github.com/hashicorp/go-msgpack v0.5.3 22:46:22 go: downloading github.com/hashicorp/memberlist v0.2.2 22:46:22 go: downloading github.com/mitchellh/reflectwalk v1.0.0 22:46:22 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 22:46:22 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:46:22 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:46:22 go: downloading github.com/hpcloud/tail v1.0.0 22:46:22 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:46:22 go: downloading github.com/hashicorp/go-multierror v1.1.0 22:46:22 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 22:46:22 go: downloading github.com/miekg/dns v1.1.26 22:46:22 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:46:22 go: downloading github.com/hashicorp/golang-lru v0.5.0 22:46:22 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 22:46:22 go: downloading github.com/hashicorp/errwrap v1.0.0 22:46:22 go: downloading gopkg.in/fsnotify.v1 v1.4.7 22:46:23 97ac5df62f85: Pull complete 22:46:23 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 22:46:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:46:23 ---> 04bc70af865f 22:46:23 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:46:26 Removing intermediate container 681fa9ab28d7 22:46:26 ---> 2ee5401f2253 22:46:26 Step 10/12 : RUN go mod download 22:46:26 ---> Running in 06d1bde1cb40 22:46:28 ---> Running in dab56bee7126 22:46:28 Removing intermediate container dab56bee7126 22:46:28 ---> ac4ae3553407 22:46:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:46:28 ---> Running in 3073f307d7bb 22:46:29 Removing intermediate container 3073f307d7bb 22:46:29 ---> 2fd9898eaae2 22:46:29 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:29 ---> Running in 5b22dc7ea7b1 22:46:31 Removing intermediate container 06d1bde1cb40 22:46:31 ---> b9324a073fd2 22:46:31 Step 11/12 : ARG MAKE='make build' 22:46:31 ---> Running in fe9abc2bfe73 22:46:31 Removing intermediate container fe9abc2bfe73 22:46:31 ---> de89ee625777 22:46:31 Step 12/12 : RUN $MAKE 22:46:31 ---> Running in ea25c5f13603 22:46:31 noop 22:46:31 Removing intermediate container ea25c5f13603 22:46:31 ---> 16703940a6a7 22:46:31 Successfully built 16703940a6a7 22:46:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:46:32 + docker inspect -f . ci-base-image-x86_64 22:46:32 . [Pipeline] withDockerContainer 22:46:32 prd-centos7-docker-4c-2g-429 does not seem to be running inside a container 22:46:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:46:32 Removing intermediate container 5b22dc7ea7b1 22:46:32 ---> 3c4fd211315b 22:46:32 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:46:32 ---> Running in 9ccbdde58a24 22:46:32 $ docker top aff7c10926ea3f0e73c88f78bf0002400b2bcd026d28ac3a490d126654158b3e -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:33 + go version 22:46:33 go version go1.16.6 linux/amd64 [Pipeline] } 22:46:33 $ docker stop --time=1 aff7c10926ea3f0e73c88f78bf0002400b2bcd026d28ac3a490d126654158b3e 22:46:33 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:46:34 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:46:34 $ docker rm -f aff7c10926ea3f0e73c88f78bf0002400b2bcd026d28ac3a490d126654158b3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:46:34 + docker inspect -f . ci-base-image-x86_64 22:46:34 . [Pipeline] withDockerContainer 22:46:34 prd-centos7-docker-4c-2g-429 does not seem to be running inside a container 22:46:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:46:35 (1/3) Installing openssh-keygen (8.4_p1-r3) 22:46:35 (2/3) Installing libedit (20191231.3.1-r1) 22:46:35 (3/3) Installing openssh-client (8.4_p1-r3) 22:46:35 Executing busybox-1.32.1-r6.trigger 22:46:35 OK: 222 MiB in 55 packages 22:46:35 $ docker top c28fc1fc5b8b6eaaf33c33abc2b376d4920e6b05a4adaa77f3fd78e465ae880c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:46:35 + go mod tidy [Pipeline] sh 22:46:36 + make test 22:46:36 go mod tidy 22:46:36 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:46:36 Removing intermediate container 9ccbdde58a24 22:46:36 ---> 0bde48e3ac29 22:46:36 Step 7/12 : WORKDIR /device-mqtt-go 22:46:36 ? github.com/edgexfoundry/device-mqtt-go [no test files] 22:46:37 ---> Running in d47525caf1ca 22:46:37 Removing intermediate container d47525caf1ca 22:46:37 ---> b49ff66b2f40 22:46:37 Step 8/12 : COPY . . 22:46:38 ---> 1a26c81ef58e 22:46:38 Step 9/12 : RUN go mod tidy 22:46:38 ---> Running in 9360541754e1 22:46:42 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 22:46:42 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 22:46:42 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 22:46:42 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 22:46:42 go: downloading github.com/google/uuid v1.3.0 22:46:42 go: downloading github.com/spf13/cast v1.4.1 22:46:42 go: downloading github.com/stretchr/testify v1.7.0 22:46:42 go: downloading github.com/gorilla/websocket v1.4.2 22:46:42 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 22:46:42 go: downloading github.com/gorilla/mux v1.8.0 22:46:42 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 22:46:42 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 22:46:42 go: downloading github.com/go-kit/kit v0.9.0 22:46:42 go: downloading github.com/go-playground/validator/v10 v10.6.1 22:46:42 go: downloading github.com/davecgh/go-spew v1.1.1 22:46:42 go: downloading github.com/pmezard/go-difflib v1.0.0 22:46:42 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 22:46:42 go: downloading github.com/OneOfOne/xxhash v1.2.8 22:46:42 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 22:46:42 go: downloading github.com/pelletier/go-toml v1.9.2 22:46:42 go: downloading gopkg.in/yaml.v2 v2.4.0 22:46:42 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 22:46:42 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 22:46:43 go: downloading github.com/go-playground/universal-translator v0.17.0 22:46:43 go: downloading github.com/leodido/go-urn v1.2.0 22:46:43 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 22:46:43 go: downloading golang.org/x/text v0.3.2 22:46:43 go: downloading github.com/go-playground/assert/v2 v2.0.1 22:46:43 go: downloading github.com/go-playground/locales v0.13.0 22:46:46 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 22:46:46 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 22:46:46 go: downloading github.com/go-logfmt/logfmt v0.4.0 22:46:46 go: downloading github.com/go-stack/stack v1.8.0 22:46:46 go: downloading github.com/hashicorp/consul/api v1.8.1 22:46:46 go: downloading github.com/stretchr/objx v0.1.0 22:46:46 go: downloading github.com/x448/float16 v0.8.4 22:46:46 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 22:46:46 go: downloading github.com/pebbe/zmq4 v1.2.7 22:46:46 go: downloading github.com/go-redis/redis/v7 v7.3.0 22:46:46 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:46:46 go: downloading github.com/kr/pretty v0.2.0 22:46:46 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:46:46 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:46:46 go: downloading github.com/hashicorp/go-hclog v0.12.0 22:46:46 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 22:46:46 go: downloading github.com/hashicorp/serf v0.9.5 22:46:46 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:46:46 go: downloading github.com/hashicorp/consul/sdk v0.7.0 22:46:46 go: downloading github.com/hashicorp/go-uuid v1.0.1 22:46:46 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 22:46:46 go: downloading github.com/mitchellh/copystructure v1.0.0 22:46:46 go: downloading github.com/kr/text v0.1.0 22:46:46 go: downloading github.com/onsi/ginkgo v1.10.1 22:46:46 go: downloading github.com/onsi/gomega v1.7.0 22:46:46 go: downloading github.com/fatih/color v1.9.0 22:46:46 go: downloading github.com/mattn/go-colorable v0.1.6 22:46:46 go: downloading github.com/mattn/go-isatty v0.0.12 22:46:47 go: downloading github.com/mitchellh/go-homedir v1.1.0 22:46:47 go: downloading github.com/pkg/errors v0.8.1 22:46:47 go: downloading github.com/mitchellh/reflectwalk v1.0.0 22:46:47 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:46:47 go: downloading github.com/hashicorp/go-msgpack v0.5.3 22:46:47 go: downloading github.com/hashicorp/memberlist v0.2.2 22:46:47 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 22:46:47 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:46:47 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:46:47 go: downloading github.com/hpcloud/tail v1.0.0 22:46:47 go: downloading github.com/hashicorp/golang-lru v0.5.0 22:46:47 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:46:47 go: downloading github.com/hashicorp/go-multierror v1.1.0 22:46:47 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 22:46:47 go: downloading github.com/miekg/dns v1.1.26 22:46:47 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:46:47 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 22:46:47 go: downloading github.com/hashicorp/errwrap v1.0.0 22:46:47 go: downloading gopkg.in/fsnotify.v1 v1.4.7 22:46:52 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 22:46:52 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 22.4% of statements 22:46:52 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 22:46:52 GCO_ENABLED=1 GO111MODULE=on go vet ./... 22:46:59 gofmt -l . 22:46:59 ["`gofmt -l .`" = ""] 22:46:59 ./bin/test-attribution-txt.sh [Pipeline] } 22:46:59 $ docker stop --time=1 c28fc1fc5b8b6eaaf33c33abc2b376d4920e6b05a4adaa77f3fd78e465ae880c 22:47:00 $ docker rm -f c28fc1fc5b8b6eaaf33c33abc2b376d4920e6b05a4adaa77f3fd78e465ae880c [Pipeline] // withDockerContainer [Pipeline] sh 22:47:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:47:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 22:47:02 Removing intermediate container 9360541754e1 22:47:02 ---> 4a95fe649daa 22:47:02 Step 10/12 : RUN go mod download 22:47:02 ---> Running in ddfa29960e38 [Pipeline] sh 22:47:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:47:04 + ls -al . 22:47:04 total 120 22:47:04 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 16 22:46 . 22:47:04 drwxrwxr-x. 4 jenkins jenkins 28 Sep 16 22:45 .. 22:47:04 -rw-rw-r--. 1 jenkins jenkins 6985 Sep 16 22:45 Attribution.txt 22:47:04 drwxrwxr-x. 2 jenkins jenkins 60 Sep 16 22:45 bin 22:47:04 -rw-rw-r--. 1 jenkins jenkins 7447 Sep 16 22:45 CHANGELOG.md 22:47:04 drwxrwxr-x. 3 jenkins jenkins 32 Sep 16 22:45 cmd 22:47:04 -rw-r--r--. 1 jenkins jenkins 17284 Sep 16 22:46 coverage.out 22:47:04 -rw-rw-r--. 1 jenkins jenkins 1877 Sep 16 22:45 Dockerfile 22:47:04 -rw-rw-r--. 1 jenkins jenkins 140 Sep 16 22:45 .dockerignore 22:47:04 drwxrwxr-x. 8 jenkins jenkins 179 Sep 16 22:45 .git 22:47:04 drwxrwxr-x. 2 jenkins jenkins 103 Sep 16 22:45 .github 22:47:04 -rw-rw-r--. 1 jenkins jenkins 336 Sep 16 22:45 .gitignore 22:47:04 -rw-rw-r--. 1 jenkins jenkins 367 Sep 16 22:45 go.mod 22:47:04 -rw-r--r--. 1 jenkins jenkins 20655 Sep 16 22:46 go.sum 22:47:04 -rw-rw-r--. 1 jenkins jenkins 677 Sep 16 22:45 GOVERNANCE.md 22:47:04 drwxrwxr-x. 3 jenkins jenkins 20 Sep 16 22:45 internal 22:47:04 -rw-rw-r--. 1 jenkins jenkins 677 Sep 16 22:45 Jenkinsfile 22:47:04 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 16 22:45 LICENSE 22:47:04 -rw-rw-r--. 1 jenkins jenkins 907 Sep 16 22:45 Makefile 22:47:04 drwxrwxr-x. 2 jenkins jenkins 23 Sep 16 22:45 mock 22:47:04 -rw-rw-r--. 1 jenkins jenkins 620 Sep 16 22:45 OWNERS.md 22:47:04 -rw-rw-r--. 1 jenkins jenkins 2211 Sep 16 22:45 README.md 22:47:04 drwxrwxr-x. 4 jenkins jenkins 71 Sep 16 22:45 snap 22:47:04 -rw-rw-r--. 1 jenkins jenkins 5 Sep 16 22:43 VERSION 22:47:04 -rw-rw-r--. 1 jenkins jenkins 227 Sep 16 22:45 version.go [Pipeline] isUnix [Pipeline] sh 22:47:04 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=342045105871e229d92504ccf88c313acedc69e7 --label arch=amd64 --label version=0.0.0 . 22:47:04 Sending build context to Docker daemon 711.7kB 22:47:04 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 22:47:04 Step 2/24 : FROM ${BASE} AS builder 22:47:04 ---> 16703940a6a7 22:47:04 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:47:04 ---> Running in 9554771b0c9f 22:47:04 Removing intermediate container 9554771b0c9f 22:47:04 ---> 11e449f44b0e 22:47:04 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 22:47:04 ---> Running in c2e7880adf1f 22:47:04 Removing intermediate container c2e7880adf1f 22:47:04 ---> be7a468e1bf9 22:47:04 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:04 ---> Running in 8e240cb9bcd5 22:47:05 Removing intermediate container 8e240cb9bcd5 22:47:05 ---> 64cd06a8db5a 22:47:05 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:47:05 ---> Running in 62658508bc0a 22:47:05 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:47:06 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:47:07 OK: 223 MiB in 55 packages 22:47:07 Removing intermediate container 62658508bc0a 22:47:07 ---> fdb9cdcf2424 22:47:07 Step 7/24 : WORKDIR /device-mqtt-go 22:47:07 ---> Running in 948ab2fe1235 22:47:07 Removing intermediate container 948ab2fe1235 22:47:07 ---> ee03bbb5c600 22:47:07 Step 8/24 : COPY . . 22:47:07 ---> 6eaefe74cee8 22:47:07 Step 9/24 : RUN go mod tidy 22:47:07 ---> Running in 92c52a059dd0 22:47:08 Removing intermediate container 92c52a059dd0 22:47:08 ---> 5767b64794f6 22:47:08 Step 10/24 : RUN go mod download 22:47:08 ---> Running in eeedc9d32062 22:47:08 Removing intermediate container eeedc9d32062 22:47:08 ---> dbe43496d624 22:47:08 Step 11/24 : ARG MAKE='make build' 22:47:08 ---> Running in dc06602b966c 22:47:08 Removing intermediate container dc06602b966c 22:47:08 ---> e34fb1a59a70 22:47:08 Step 12/24 : RUN $MAKE 22:47:08 ---> Running in c27635b780b3 22:47:09 go mod tidy 22:47:09 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 22:47:10 Removing intermediate container ddfa29960e38 22:47:10 ---> 04545cf71340 22:47:10 Step 11/12 : ARG MAKE='make build' 22:47:10 ---> Running in 57bb3f4d694a 22:47:10 Removing intermediate container 57bb3f4d694a 22:47:10 ---> b78bcc0fc907 22:47:10 Step 12/12 : RUN $MAKE 22:47:10 ---> Running in 130726deaeb1 22:47:11 noop 22:47:12 Removing intermediate container 130726deaeb1 22:47:12 ---> dbfa45c708fb 22:47:12 Successfully built dbfa45c708fb 22:47:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:47:13 + docker inspect -f . ci-base-image-arm64 22:47:13 . [Pipeline] withDockerContainer 22:47:13 prd-ubuntu18.04-docker-arm64-4c-16g-428 does not seem to be running inside a container 22:47:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:47:15 $ docker top f51a0ba6f55a0a014835ec84248b6a18d396dd36ae17aa20f221f045bc29281a -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:16 + go version 22:47:16 go version go1.16.6 linux/arm64 [Pipeline] } 22:47:16 $ docker stop --time=1 f51a0ba6f55a0a014835ec84248b6a18d396dd36ae17aa20f221f045bc29281a 22:47:18 $ docker rm -f f51a0ba6f55a0a014835ec84248b6a18d396dd36ae17aa20f221f045bc29281a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:47:19 + docker inspect -f . ci-base-image-arm64 22:47:19 . [Pipeline] withDockerContainer 22:47:19 prd-ubuntu18.04-docker-arm64-4c-16g-428 does not seem to be running inside a container 22:47:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:47:21 $ docker top df78bfab33e9c8ab00749d6fcc066fa4296f11579cdf745e3e2d1b092c1b8aaa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:47:21 Removing intermediate container c27635b780b3 22:47:21 ---> bbda2c5fcfbc 22:47:21 Step 13/24 : FROM alpine:3.12 22:47:21 3.12: Pulling from library/alpine 22:47:21 e519532ddf75: Pulling fs layer 22:47:21 e519532ddf75: Verifying Checksum 22:47:21 e519532ddf75: Download complete 22:47:21 e519532ddf75: Pull complete 22:47:21 Digest: sha256:a296b4c6f6ee2b88f095b61e95c7ef4f51ba25598835b4978c9256d8c8ace48a 22:47:21 Status: Downloaded newer image for alpine:3.12 22:47:21 ---> 48b8ec4ed9eb 22:47:21 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 22:47:21 ---> Running in 3093819f0193 22:47:21 Removing intermediate container 3093819f0193 22:47:21 ---> cd0ba9df6307 22:47:21 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 22:47:21 ---> Running in 749874c7f3c4 22:47:21 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:47:21 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:47:22 (1/6) Installing dumb-init (1.2.2-r1) 22:47:22 (2/6) Installing libgcc (9.3.0-r2) 22:47:22 (3/6) Installing libsodium (1.0.18-r0) 22:47:22 (4/6) Installing libstdc++ (9.3.0-r2) 22:47:22 (5/6) Installing libzmq (4.3.3-r0) 22:47:22 (6/6) Installing zeromq (4.3.3-r0) 22:47:22 Executing busybox-1.31.1-r20.trigger 22:47:22 OK: 8 MiB in 20 packages 22:47:22 + go mod tidy 22:47:22 Removing intermediate container 749874c7f3c4 22:47:22 ---> b452659f7e0a 22:47:22 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 22:47:22 ---> 0f91404e58ce 22:47:22 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [Pipeline] sh 22:47:23 ---> 8f7333a9942f 22:47:23 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 22:47:23 ---> a27c2ec4c9a1 22:47:23 Step 19/24 : EXPOSE 59982 22:47:23 ---> Running in 76a33cd740a6 22:47:23 Removing intermediate container 76a33cd740a6 22:47:23 ---> 65a7ed72fe7e 22:47:23 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 22:47:23 ---> Running in 40d459789b7f 22:47:23 Removing intermediate container 40d459789b7f 22:47:23 ---> 653163d4b8a2 22:47:23 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:47:23 ---> Running in d6247cb0397f 22:47:23 Removing intermediate container d6247cb0397f 22:47:23 ---> e0504e3d03c5 22:47:23 Step 22/24 : LABEL arch=amd64 22:47:23 + make test 22:47:23 go mod tidy 22:47:23 ---> Running in ec249a329cb3 22:47:23 Removing intermediate container ec249a329cb3 22:47:23 ---> 4f7f13f15703 22:47:23 Step 23/24 : LABEL git_sha=342045105871e229d92504ccf88c313acedc69e7 22:47:23 ---> Running in 6553d177e3ad 22:47:23 Removing intermediate container 6553d177e3ad 22:47:23 ---> a307e1055ee4 22:47:23 Step 24/24 : LABEL version=0.0.0 22:47:23 ---> Running in 9f0dd49c9615 22:47:23 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:47:23 Removing intermediate container 9f0dd49c9615 22:47:23 ---> 554b48647267 22:47:23 [Warning] One or more build-args [ARCH] were not consumed 22:47:23 Successfully built 554b48647267 22:47:23 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node 22:47:25 ? github.com/edgexfoundry/device-mqtt-go [no test files] 22:47:39 Still waiting to schedule task 22:47:39 All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline 22:48:21 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 22:48:21 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.051s coverage: 22.4% of statements 22:48:21 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 22:48:21 GCO_ENABLED=1 GO111MODULE=on go vet ./... 22:48:44 gofmt -l . 22:48:44 ["`gofmt -l .`" = ""] 22:48:44 ./bin/test-attribution-txt.sh [Pipeline] } 22:48:44 $ docker stop --time=1 df78bfab33e9c8ab00749d6fcc066fa4296f11579cdf745e3e2d1b092c1b8aaa 22:48:46 $ docker rm -f df78bfab33e9c8ab00749d6fcc066fa4296f11579cdf745e3e2d1b092c1b8aaa [Pipeline] // withDockerContainer [Pipeline] sh 22:48:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:48:46 Warning: overwriting stash ‘coverage-report’ 22:48:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:48:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:48:48 + ls -al . 22:48:48 total 152 22:48:48 drwxrwxr-x 9 jenkins jenkins 4096 Sep 16 22:48 . 22:48:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 22:45 .. 22:48:48 -rw-rw-r-- 1 jenkins jenkins 140 Sep 16 22:45 .dockerignore 22:48:48 drwxrwxr-x 8 jenkins jenkins 4096 Sep 16 22:45 .git 22:48:48 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 22:45 .github 22:48:48 -rw-rw-r-- 1 jenkins jenkins 336 Sep 16 22:45 .gitignore 22:48:48 -rw-rw-r-- 1 jenkins jenkins 6985 Sep 16 22:45 Attribution.txt 22:48:48 -rw-rw-r-- 1 jenkins jenkins 7447 Sep 16 22:45 CHANGELOG.md 22:48:48 -rw-rw-r-- 1 jenkins jenkins 1877 Sep 16 22:45 Dockerfile 22:48:48 -rw-rw-r-- 1 jenkins jenkins 677 Sep 16 22:45 GOVERNANCE.md 22:48:48 -rw-rw-r-- 1 jenkins jenkins 677 Sep 16 22:45 Jenkinsfile 22:48:48 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 16 22:45 LICENSE 22:48:48 -rw-rw-r-- 1 jenkins jenkins 907 Sep 16 22:45 Makefile 22:48:48 -rw-rw-r-- 1 jenkins jenkins 620 Sep 16 22:45 OWNERS.md 22:48:48 -rw-rw-r-- 1 jenkins jenkins 2211 Sep 16 22:45 README.md 22:48:48 -rw-rw-r-- 1 jenkins jenkins 5 Sep 16 22:43 VERSION 22:48:48 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 22:45 bin 22:48:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 16 22:45 cmd 22:48:48 -rw-r--r-- 1 jenkins jenkins 17284 Sep 16 22:48 coverage.out 22:48:48 -rw-rw-r-- 1 jenkins jenkins 367 Sep 16 22:45 go.mod 22:48:48 -rw-r--r-- 1 jenkins jenkins 20655 Sep 16 22:47 go.sum 22:48:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 16 22:45 internal 22:48:48 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 22:45 mock 22:48:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 22:45 snap 22:48:48 -rw-rw-r-- 1 jenkins jenkins 227 Sep 16 22:45 version.go [Pipeline] isUnix [Pipeline] sh 22:48:48 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=342045105871e229d92504ccf88c313acedc69e7 --label arch=arm64 --label version=0.0.0 . 22:48:49 Sending build context to Docker daemon 710.7kB 22:48:49 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 22:48:49 Step 2/24 : FROM ${BASE} AS builder 22:48:49 ---> dbfa45c708fb 22:48:49 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:48:49 ---> Running in 60b07cebd4ef 22:48:49 Removing intermediate container 60b07cebd4ef 22:48:49 ---> f134aecf3a31 22:48:49 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 22:48:50 ---> Running in 5047b6db71bc 22:48:50 Removing intermediate container 5047b6db71bc 22:48:50 ---> 9996a92ad447 22:48:50 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:48:50 ---> Running in 5a722c9f8e18 22:48:52 Running on prd-ubuntu18.04-docker-8c-8g-431 in /w/workspace/gexfoundry_device-mqtt-go_PR-303 [Pipeline] { [Pipeline] ws 22:48:52 Running in /w/workspace/device-mqtt-go/8 [Pipeline] { [Pipeline] checkout 22:48:52 Removing intermediate container 5a722c9f8e18 22:48:52 ---> 594da020c485 22:48:52 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:48:52 Selected Git installation does not exist. Using Default 22:48:52 The recommended git tool is: NONE 22:48:53 ---> Running in 587c7170f906 22:48:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:48:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:48:55 using credential edgex-jenkins-ssh 22:48:55 Cloning the remote Git repository 22:48:55 OK: 222 MiB in 55 packages 22:48:55 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 22:48:55 > git init /w/workspace/device-mqtt-go/8 # timeout=10 22:48:55 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:48:55 > git --version # timeout=10 22:48:55 > git --version # 'git version 2.17.1' 22:48:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:48:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:48:56 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:48:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:48:56 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:48:56 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:48:56 using GIT_SSH to set credentials SSH Credentials for GitHub 22:48:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/303/head:refs/remotes/origin/PR-303 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:48:56 Merging remotes/origin/main commit 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 into PR head commit 342045105871e229d92504ccf88c313acedc69e7 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:48:56 Removing intermediate container 587c7170f906 22:48:56 ---> 61d512f2e446 22:48:56 Step 7/24 : WORKDIR /device-mqtt-go 22:48:57 ---> Running in 3ae3550f8a9c 22:48:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:48:57 22:48:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:48:56 > git config core.sparsecheckout # timeout=10 22:48:56 > git checkout -f 342045105871e229d92504ccf88c313acedc69e7 # timeout=10 22:48:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:48:57 latest: Pulling from edgex-lftools-log-publisher 22:48:57 b4d181a07f80: Pulling fs layer 22:48:57 a1111a8f2ec3: Pulling fs layer 22:48:57 ed53099fbce6: Pulling fs layer 22:48:57 dc539afda2c1: Pulling fs layer 22:48:57 77bc0d833cb6: Pulling fs layer 22:48:57 9065ff56babe: Pulling fs layer 22:48:57 d287ab97295c: Pulling fs layer 22:48:57 dc539afda2c1: Waiting 22:48:57 77bc0d833cb6: Waiting 22:48:57 9065ff56babe: Waiting 22:48:57 d287ab97295c: Waiting 22:48:57 Removing intermediate container 3ae3550f8a9c 22:48:57 ---> 966dfebf15eb 22:48:57 Step 8/24 : COPY . . 22:48:57 a1111a8f2ec3: Verifying Checksum 22:48:57 a1111a8f2ec3: Download complete 22:48:57 dc539afda2c1: Verifying Checksum 22:48:57 dc539afda2c1: Download complete 22:48:58 77bc0d833cb6: Verifying Checksum 22:48:58 77bc0d833cb6: Download complete 22:48:58 9065ff56babe: Verifying Checksum 22:48:58 9065ff56babe: Download complete 22:48:58 ed53099fbce6: Verifying Checksum 22:48:58 ed53099fbce6: Download complete 22:48:58 ---> 54df639ec987 22:48:58 Step 9/24 : RUN go mod tidy 22:48:59 ---> Running in 0777322b52e8 22:48:59 b4d181a07f80: Verifying Checksum 22:48:59 b4d181a07f80: Download complete 22:49:00 b4d181a07f80: Pull complete 22:49:00 a1111a8f2ec3: Pull complete 22:49:00 ed53099fbce6: Pull complete 22:49:00 dc539afda2c1: Pull complete 22:49:01 77bc0d833cb6: Pull complete 22:49:01 9065ff56babe: Pull complete 22:49:01 Removing intermediate container 0777322b52e8 22:49:01 ---> 505655be8e38 22:49:01 Step 10/24 : RUN go mod download 22:49:01 ---> Running in 3d9911b186d1 22:49:02 d287ab97295c: Verifying Checksum 22:49:02 d287ab97295c: Download complete 22:49:04 Removing intermediate container 3d9911b186d1 22:49:04 ---> 72036d025b69 22:49:04 Step 11/24 : ARG MAKE='make build' 22:49:04 ---> Running in 8a2a4bcd9407 22:49:04 Removing intermediate container 8a2a4bcd9407 22:49:04 ---> aea342995f39 22:49:04 Step 12/24 : RUN $MAKE 22:49:04 ---> Running in c77641a5ae30 22:49:06 go mod tidy 22:49:06 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 22:49:08 d287ab97295c: Pull complete 22:49:08 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:49:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:49:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:49:08 prd-centos7-docker-4c-2g-429 does not seem to be running inside a container 22:49:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:49:10 $ docker top 24e3792834e7b61187dbcd6be24783f169eda933c419392a31471a3d94e4a6e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:49:11 ---> job-cost.sh 22:49:11 lf-activate-venv: SKIPPING 22:49:11 INFO: No Stack... 22:49:12 INFO: Retrieving Pricing Info for: v3-standard-2 22:49:12 INFO: Archiving Costs [Pipeline] sh 22:49:13 + cat /w/workspace/device-mqtt-go/8/archives/cost.csv 22:49:13 + cut -d, -f6 [Pipeline] lock 22:49:13 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-303-8-stack-cost] 22:49:13 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-303-8-stack-cost] did not exist. Created. 22:49:13 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-303-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:49:13 + echo total: 0.05999999865889549 [Pipeline] stash 22:49:13 Stashed 1 file(s) [Pipeline] } 22:49:13 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-303-8-stack-cost] [Pipeline] // lock [Pipeline] } 22:49:13 $ docker stop --time=1 24e3792834e7b61187dbcd6be24783f169eda933c419392a31471a3d94e4a6e5 22:49:14 $ docker rm -f 24e3792834e7b61187dbcd6be24783f169eda933c419392a31471a3d94e4a6e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:49:15 Failed in branch amd64 22:49:45 Removing intermediate container c77641a5ae30 22:49:45 ---> 44c5dbb6f23f 22:49:45 Step 13/24 : FROM alpine:3.12 22:49:45 3.12: Pulling from library/alpine 22:49:45 ccdebe76d529: Pulling fs layer 22:49:45 ccdebe76d529: Verifying Checksum 22:49:45 ccdebe76d529: Download complete 22:49:45 ccdebe76d529: Pull complete 22:49:45 Digest: sha256:a296b4c6f6ee2b88f095b61e95c7ef4f51ba25598835b4978c9256d8c8ace48a 22:49:45 Status: Downloaded newer image for alpine:3.12 22:49:45 ---> afc2cc120ca2 22:49:45 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 22:49:45 ---> Running in 45cfe237322f 22:49:45 Removing intermediate container 45cfe237322f 22:49:45 ---> be1121aa6716 22:49:45 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 22:49:45 ---> Running in ff7dc2eaf501 22:49:45 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:49:45 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:49:46 (1/6) Installing dumb-init (1.2.2-r1) 22:49:46 (2/6) Installing libgcc (9.3.0-r2) 22:49:46 (3/6) Installing libsodium (1.0.18-r0) 22:49:46 (4/6) Installing libstdc++ (9.3.0-r2) 22:49:46 (5/6) Installing libzmq (4.3.3-r0) 22:49:46 (6/6) Installing zeromq (4.3.3-r0) 22:49:46 Executing busybox-1.31.1-r20.trigger 22:49:46 OK: 8 MiB in 20 packages 22:49:47 Removing intermediate container ff7dc2eaf501 22:49:47 ---> 8b00b819bfaf 22:49:47 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 22:49:48 ---> 051b4178cf6a 22:49:48 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 22:49:49 ---> dd9708145b76 22:49:49 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 22:49:50 ---> 8777b09b8774 22:49:50 Step 19/24 : EXPOSE 59982 22:49:50 ---> Running in 07bf562ab9ba 22:49:50 Removing intermediate container 07bf562ab9ba 22:49:50 ---> 22a199365c37 22:49:50 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 22:49:50 ---> Running in 04e75df12d11 22:49:51 Removing intermediate container 04e75df12d11 22:49:51 ---> 36fb80474afc 22:49:51 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:49:51 ---> Running in f7ee7feb5e51 22:49:51 Removing intermediate container f7ee7feb5e51 22:49:51 ---> ab5bfe402342 22:49:51 Step 22/24 : LABEL arch=arm64 22:49:51 ---> Running in 8eee7813769a 22:49:52 Removing intermediate container 8eee7813769a 22:49:52 ---> c8b81af0a6c2 22:49:52 Step 23/24 : LABEL git_sha=342045105871e229d92504ccf88c313acedc69e7 22:49:52 ---> Running in 83b5fdb0f15e 22:49:53 Removing intermediate container 83b5fdb0f15e 22:49:53 ---> 61eee364832f 22:49:53 Step 24/24 : LABEL version=0.0.0 22:49:53 ---> Running in 016770b31fa6 22:49:53 Removing intermediate container 016770b31fa6 22:49:53 ---> 56150f290bd6 22:49:53 [Warning] One or more build-args [ARCH] were not consumed 22:49:53 Successfully built 56150f290bd6 22:49:53 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:49:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:49:54 22:49:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:49:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:49:54 arm64: Pulling from edgex-lftools-log-publisher 22:49:54 448f6bf000e3: Pulling fs layer 22:49:54 f757da607395: Pulling fs layer 22:49:54 05883995daec: Pulling fs layer 22:49:54 8603b9c90790: Pulling fs layer 22:49:54 1560dd03e051: Pulling fs layer 22:49:54 27f5ce0e4adf: Pulling fs layer 22:49:54 c2d8d7efcc4b: Pulling fs layer 22:49:54 8603b9c90790: Waiting 22:49:54 27f5ce0e4adf: Waiting 22:49:54 1560dd03e051: Waiting 22:49:54 c2d8d7efcc4b: Waiting 22:49:54 f757da607395: Verifying Checksum 22:49:54 f757da607395: Download complete 22:49:55 8603b9c90790: Verifying Checksum 22:49:55 8603b9c90790: Download complete 22:49:55 1560dd03e051: Verifying Checksum 22:49:55 1560dd03e051: Download complete 22:49:55 27f5ce0e4adf: Verifying Checksum 22:49:55 27f5ce0e4adf: Download complete 22:49:55 05883995daec: Verifying Checksum 22:49:55 05883995daec: Download complete 22:49:56 448f6bf000e3: Verifying Checksum 22:49:56 448f6bf000e3: Download complete 22:49:58 c2d8d7efcc4b: Download complete 22:49:59 448f6bf000e3: Pull complete 22:49:59 f757da607395: Pull complete 22:50:01 05883995daec: Pull complete 22:50:01 8603b9c90790: Pull complete 22:50:02 1560dd03e051: Pull complete 22:50:03 27f5ce0e4adf: Pull complete 22:50:18 c2d8d7efcc4b: Pull complete 22:50:18 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 22:50:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:50:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:50:18 prd-ubuntu18.04-docker-arm64-4c-16g-428 does not seem to be running inside a container 22:50:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:50:23 $ docker top 64fd24bca3fc9d0a018878f1c52dec0f3ee1d8d00d7ad7ed8dc6c87f92bfdc4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:50:24 ---> job-cost.sh 22:50:24 lf-activate-venv: SKIPPING 22:50:24 INFO: No Stack... 22:50:25 INFO: Retrieving Pricing Info for: v3-standard-4 22:50:25 INFO: Archiving Costs [Pipeline] sh 22:50:26 + + cutcat -d, /w/workspace/device-mqtt-go/8/archives/cost.csv -f6 22:50:26 [Pipeline] lock 22:50:26 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-303-8-stack-cost] 22:50:26 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-303-8-stack-cost] did not exist. Created. 22:50:26 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-303-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:50:27 /w/workspace/device-mqtt-go/8@tmp/durable-8e4c0a32/script.sh: 1: /w/workspace/device-mqtt-go/8@tmp/durable-8e4c0a32/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:50:27 + echo total: 0.10999999940395355 [Pipeline] stash 22:50:27 Warning: overwriting stash ‘stack-cost’ 22:50:27 Stashed 1 file(s) [Pipeline] } 22:50:27 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-303-8-stack-cost] [Pipeline] // lock [Pipeline] } 22:50:27 $ docker stop --time=1 64fd24bca3fc9d0a018878f1c52dec0f3ee1d8d00d7ad7ed8dc6c87f92bfdc4d 22:50:29 $ docker rm -f 64fd24bca3fc9d0a018878f1c52dec0f3ee1d8d00d7ad7ed8dc6c87f92bfdc4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:50:31 + '[' -d /w/workspace/gexfoundry_device-mqtt-go_PR-303/archives ']' [Pipeline] libraryResource [Pipeline] sh 22:50:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:50:32 ---> package-listing.sh 22:50:32 ++ facter osfamily 22:50:32 ++ tr '[:upper:]' '[:lower:]' 22:50:32 + OS_FAMILY=redhat 22:50:32 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-303 22:50:32 + START_PACKAGES=/tmp/packages_start.txt 22:50:32 + END_PACKAGES=/tmp/packages_end.txt 22:50:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:50:32 + PACKAGES=/tmp/packages_start.txt 22:50:32 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-303 ']' 22:50:32 + PACKAGES=/tmp/packages_end.txt 22:50:32 + case "${OS_FAMILY}" in 22:50:32 + rpm -qa 22:50:32 + sort 22:50:33 + '[' -f /tmp/packages_start.txt ']' 22:50:33 + '[' -f /tmp/packages_end.txt ']' 22:50:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:50:33 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-303 ']' 22:50:33 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-303/archives/ 22:50:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-303/archives/ [Pipeline] echo 22:50:33 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-303/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:50:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:50:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:50:34 22:50:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:50:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:50:34 latest: Pulling from edgex-lftools-log-publisher 22:50:34 b4d181a07f80: Pulling fs layer 22:50:34 a1111a8f2ec3: Pulling fs layer 22:50:34 ed53099fbce6: Pulling fs layer 22:50:34 dc539afda2c1: Pulling fs layer 22:50:34 77bc0d833cb6: Pulling fs layer 22:50:34 9065ff56babe: Pulling fs layer 22:50:34 d287ab97295c: Pulling fs layer 22:50:34 dc539afda2c1: Waiting 22:50:34 77bc0d833cb6: Waiting 22:50:34 9065ff56babe: Waiting 22:50:34 d287ab97295c: Waiting 22:50:35 a1111a8f2ec3: Verifying Checksum 22:50:35 a1111a8f2ec3: Download complete 22:50:35 dc539afda2c1: Verifying Checksum 22:50:35 dc539afda2c1: Download complete 22:50:35 77bc0d833cb6: Verifying Checksum 22:50:35 77bc0d833cb6: Download complete 22:50:35 9065ff56babe: Verifying Checksum 22:50:35 9065ff56babe: Download complete 22:50:35 ed53099fbce6: Verifying Checksum 22:50:35 ed53099fbce6: Download complete 22:50:36 b4d181a07f80: Verifying Checksum 22:50:36 b4d181a07f80: Download complete 22:50:37 b4d181a07f80: Pull complete 22:50:37 a1111a8f2ec3: Pull complete 22:50:38 ed53099fbce6: Pull complete 22:50:38 dc539afda2c1: Pull complete 22:50:38 77bc0d833cb6: Pull complete 22:50:38 9065ff56babe: Pull complete 22:50:40 d287ab97295c: Verifying Checksum 22:50:40 d287ab97295c: Download complete 22:50:44 d287ab97295c: Pull complete 22:50:44 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:50:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:50:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:50:44 prd-centos7-docker-4c-2g-427 does not seem to be running inside a container 22:50:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-303/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-303 -v /w/workspace/gexfoundry_device-mqtt-go_PR-303:/w/workspace/gexfoundry_device-mqtt-go_PR-303:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:50:47 $ docker top 3c27e4cab1ec7fea98bd57aa0e84438095dda3b6988f5f50b51d4787cfbca999 -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:47 + touch /tmp/pre-build-complete [Pipeline] sh 22:50:48 + mkdir -p /var/log/sysstat [Pipeline] sh 22:50:48 + ls /var/log/sa-host 22:50:48 + sadf -c /var/log/sa-host/sa05 22:50:48 file_magic: OK 22:50:48 HZ: Using current value: 100 22:50:48 file_header: OK 22:50:48 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 22:50:48 Statistics: 22:50:48 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:50:48 File successfully converted to sysstat format version 12.0.3 22:50:48 + sadf -c /var/log/sa-host/sa16 22:50:48 file_magic: OK 22:50:48 HZ: Using current value: 100 22:50:48 file_header: OK 22:50:48 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 22:50:48 Statistics: 22:50:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:50:48 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:50:48 provisioning config files... 22:50:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/config2866357705773140722tmp [Pipeline] { [Pipeline] echo 22:50:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:50:48 ---> create-netrc.sh [Pipeline] } 22:50:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:50:49 ---> python-tools-install.sh [Pipeline] echo 22:50:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:50:49 ---> sudo-logs.sh 22:50:49 Archiving 'sudo' log.. 22:50:49 sudo: unable to resolve host prd-centos7-docker-4c-2g-427.vexxhost.local: Name or service not known 22:50:49 sudo: unable to resolve host prd-centos7-docker-4c-2g-427.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 22:50:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:50:50 ---> job-cost.sh 22:50:50 lf-activate-venv: SKIPPING 22:50:50 DEBUG: total: 0.10999999940395355 22:50:50 INFO: Retrieving Stack Cost... 22:50:51 INFO: Retrieving Pricing Info for: v3-standard-2 22:50:51 INFO: Archiving Costs [Pipeline] echo 22:50:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:50:51 ---> logs-deploy.sh 22:50:51 lf-activate-venv: SKIPPING 22:50:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-303/8 22:50:51 INFO: archiving workspace using pattern(s): 22:50:52 Archives upload complete. 22:50:52 INFO: archiving logs to Nexus 22:50:53 ---> uname -a: 22:50:53 Linux prd-centos7-docker-4c-2g-427.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 22:50:53 22:50:53 22:50:53 ---> lscpu: 22:50:53 Architecture: x86_64 22:50:53 CPU op-mode(s): 32-bit, 64-bit 22:50:53 Byte Order: Little Endian 22:50:53 Address sizes: 40 bits physical, 48 bits virtual 22:50:53 CPU(s): 2 22:50:53 On-line CPU(s) list: 0,1 22:50:53 Thread(s) per core: 1 22:50:53 Core(s) per socket: 1 22:50:53 Socket(s): 2 22:50:53 NUMA node(s): 1 22:50:53 Vendor ID: AuthenticAMD 22:50:53 CPU family: 23 22:50:53 Model: 49 22:50:53 Model name: AMD EPYC-Rome Processor 22:50:53 Stepping: 0 22:50:53 CPU MHz: 2800.000 22:50:53 BogoMIPS: 5600.00 22:50:53 Virtualization: AMD-V 22:50:53 Hypervisor vendor: KVM 22:50:53 Virtualization type: full 22:50:53 L1d cache: 32K 22:50:53 L1i cache: 32K 22:50:53 L2 cache: 512K 22:50:53 L3 cache: 16384K 22:50:53 NUMA node0 CPU(s): 0,1 22:50:53 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 22:50:53 22:50:53 22:50:53 ---> nproc: 22:50:53 2 22:50:53 22:50:53 22:50:53 ---> df -h: 22:50:53 Filesystem Size Used Avail Use% Mounted on 22:50:53 overlay 40G 7.7G 33G 20% / 22:50:53 tmpfs 64M 0 64M 0% /dev 22:50:53 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 22:50:53 shm 64M 0 64M 0% /dev/shm 22:50:53 /dev/vda1 40G 7.7G 33G 20% /facter-os 22:50:53 22:50:53 22:50:53 ---> sar -b -r -n DEV: 22:50:53 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/16/21 _x86_64_ (2 CPU) 22:50:53 22:50:53 22:42:09 LINUX RESTART (2 CPU) 22:50:53 22:50:53 22:43:01 tps rtps wtps bread/s bwrtn/s 22:50:53 22:44:01 5.26 0.18 5.08 23.18 156.27 22:50:53 22:45:01 0.45 0.00 0.45 0.00 7.39 22:50:53 22:46:01 0.23 0.00 0.23 0.00 2.70 22:50:53 22:47:01 0.22 0.00 0.22 0.00 3.61 22:50:53 22:48:01 0.28 0.00 0.28 0.00 3.06 22:50:53 22:49:01 0.27 0.00 0.27 0.00 3.23 22:50:53 22:50:01 0.22 0.00 0.22 0.00 3.60 22:50:53 Average: 0.99 0.03 0.96 3.31 25.70 22:50:53 22:50:53 22:43:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:50:53 22:44:01 5478412 0 794688 9.92 2620 1733220 1248092 13.78 570760 1561520 20 22:50:53 22:45:01 5478840 0 794228 9.92 2620 1733252 1212568 13.39 572712 1560084 28 22:50:53 22:46:01 5479816 0 793276 9.90 2620 1733228 1209112 13.35 567364 1564420 20 22:50:53 22:47:01 5479556 0 793528 9.91 2620 1733236 1209052 13.35 568472 1564420 16 22:50:53 22:48:01 5478668 0 794412 9.92 2620 1733240 1208980 13.35 564928 1568436 16 22:50:53 22:49:01 5478248 0 794828 9.92 2620 1733244 1209040 13.35 565232 1568440 20 22:50:53 22:50:01 5479092 0 793980 9.91 2620 1733248 1208800 13.35 564496 1568436 20 22:50:53 Average: 5478947 0 794134 9.92 2620 1733238 1215092 13.42 567709 1565108 20 22:50:53 22:50:53 22:43:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:50:53 22:44:01 eth0 8.33 5.13 7.91 2.61 0.00 0.00 0.00 0.00 22:50:53 22:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:53 22:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:53 22:45:01 eth0 3.48 0.78 3.03 0.05 0.00 0.00 0.00 0.00 22:50:53 22:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:53 22:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:53 22:46:01 eth0 1.33 0.80 0.59 0.41 0.00 0.00 0.00 0.00 22:50:53 22:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:53 22:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:53 22:47:01 eth0 0.72 0.28 0.30 0.20 0.00 0.00 0.00 0.00 22:50:53 22:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:53 22:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:53 22:48:01 eth0 0.35 0.27 0.14 0.09 0.00 0.00 0.00 0.00 22:50:53 22:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:53 22:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:53 22:49:01 eth0 0.87 0.45 0.37 0.18 0.00 0.00 0.00 0.00 22:50:53 22:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:53 22:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:53 22:50:01 eth0 0.58 0.08 0.06 0.04 0.00 0.00 0.00 0.00 22:50:53 22:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:53 22:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:53 Average: eth0 2.24 1.11 1.77 0.51 0.00 0.00 0.00 0.00 22:50:53 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:53 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:53 22:50:53 22:50:53 ---> sar -P ALL: 22:50:53 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/16/21 _x86_64_ (2 CPU) 22:50:53 22:50:53 22:42:09 LINUX RESTART (2 CPU) 22:50:53 22:50:53 22:43:01 CPU %user %nice %system %iowait %steal %idle 22:50:53 22:44:01 all 0.69 0.00 0.34 0.03 0.02 98.92 22:50:53 22:44:01 0 0.77 0.00 0.38 0.02 0.02 98.81 22:50:53 22:44:01 1 0.62 0.00 0.30 0.03 0.02 99.03 22:50:53 22:45:01 all 0.22 0.00 0.11 0.00 0.02 99.66 22:50:53 22:45:01 0 0.13 0.00 0.13 0.00 0.02 99.72 22:50:53 22:45:01 1 0.30 0.00 0.08 0.00 0.02 99.60 22:50:53 22:46:01 all 0.29 0.00 0.18 0.00 0.02 99.52 22:50:53 22:46:01 0 0.18 0.00 0.20 0.00 0.03 99.58 22:50:53 22:46:01 1 0.40 0.00 0.15 0.00 0.00 99.45 22:50:53 22:47:01 all 0.25 0.00 0.07 0.00 0.03 99.66 22:50:53 22:47:01 0 0.08 0.00 0.07 0.00 0.03 99.82 22:50:53 22:47:01 1 0.42 0.00 0.07 0.00 0.02 99.50 22:50:53 22:48:01 all 0.15 0.00 0.07 0.00 0.02 99.77 22:50:53 22:48:01 0 0.07 0.00 0.07 0.00 0.02 99.85 22:50:53 22:48:01 1 0.23 0.00 0.07 0.00 0.02 99.68 22:50:53 22:49:01 all 0.15 0.00 0.08 0.00 0.03 99.73 22:50:53 22:49:01 0 0.10 0.00 0.08 0.00 0.05 99.77 22:50:53 22:49:01 1 0.20 0.00 0.08 0.00 0.02 99.70 22:50:53 22:50:01 all 0.21 0.00 0.06 0.00 0.03 99.71 22:50:53 22:50:01 0 0.08 0.00 0.07 0.00 0.03 99.82 22:50:53 22:50:01 1 0.33 0.00 0.05 0.00 0.02 99.60 22:50:53 Average: all 0.28 0.00 0.13 0.00 0.02 99.57 22:50:53 Average: 0 0.20 0.00 0.14 0.00 0.03 99.62 22:50:53 Average: 1 0.36 0.00 0.11 0.00 0.01 99.51 22:50:53 22:50:53 22:50:53