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 9ab5186d00e01a3f1232bff1158974f3544c323d 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-ssh3510761716759646166.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-ssh3007115825292369114.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-ssh6918511739093315240.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-ssh2077078645137865988.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-ssh2744331689432140545.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 on ‘prd-centos7-docker-4c-2g-414’ Running on prd-centos7-docker-4c-2g-417 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-ssh5273656537923413840.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 9ab5186d00e01a3f1232bff1158974f3544c323d Merge succeeded, producing 9ab5186d00e01a3f1232bff1158974f3544c323d Checking out Revision 9ab5186d00e01a3f1232bff1158974f3544c323d (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-ssh453152589777807362.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 9ab5186d00e01a3f1232bff1158974f3544c323d # 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-ssh4024585162243671410.key > git merge 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ab5186d00e01a3f1232bff1158974f3544c323d # timeout=10 Commit message: "fix: add check if length is 0 before trying to use metaData for uuid" > git rev-list --no-walk 6f981b4f2d7cac1f00f483d23230dc188fb57bb5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:32:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:32:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:32:23 ========================================================= 21:32:23 EdgeX Global Pipelines Version Info 21:32:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:32:24 ------------------- 21:32:24 stable info: 21:32:24 ------------------- 21:32:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:32:24 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 21:32:24 Message: update stable to v1.0.205 21:32:25 ------------------- 21:32:25 experimental info: 21:32:25 ------------------- 21:32:25 Commited By: **** collab-it+edgex@linuxfoundation.org 21:32:25 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 21:32:25 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:32:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:32:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:32:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:32:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:32:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:32:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-303 [Pipeline] echo 21:32:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-303 [Pipeline] echo 21:32:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-303 [Pipeline] echo 21:32:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9ab5186d00e01a3f1232bff1158974f3544c323d [Pipeline] echo 21:32:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9ab5186 [Pipeline] echo 21:32:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:32:26 provisioning config files... 21:32:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/config5210413160013644138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:26 ---> docker-login.sh 21:32:26 nexus3.edgexfoundry.org:10001 21:32:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:27 Configure a credential helper to remove this warning. See 21:32:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:27 21:32:27 Login Succeeded 21:32:27 nexus3.edgexfoundry.org:10002 21:32:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:27 Configure a credential helper to remove this warning. See 21:32:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:27 21:32:27 Login Succeeded 21:32:27 nexus3.edgexfoundry.org:10003 21:32:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:27 Configure a credential helper to remove this warning. See 21:32:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:27 21:32:27 Login Succeeded 21:32:27 nexus3.edgexfoundry.org:10004 21:32:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:27 Configure a credential helper to remove this warning. See 21:32:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:27 21:32:27 Login Succeeded 21:32:27 docker.io 21:32:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:28 Configure a credential helper to remove this warning. See 21:32:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:28 21:32:28 Login Succeeded 21:32:28 ---> docker-login.sh ends [Pipeline] } 21:32:28 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 21:32:28 + git log --format=format:%s -1 9ab5186d00e01a3f1232bff1158974f3544c323d [Pipeline] echo 21:32:28 GIT_COMMIT: 9ab5186d00e01a3f1232bff1158974f3544c323d, Commit Message: fix: add check if length is 0 before trying to use metaData for uuid [Pipeline] echo 21:32:28 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 21:32:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:32:29 21:32:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:32:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:32:29 latest: Pulling from edgex-devops/git-semver 21:32:29 31603596830f: Pulling fs layer 21:32:29 04fac38145f0: Pulling fs layer 21:32:29 701f6daf10bf: Pulling fs layer 21:32:29 24f72da36158: Pulling fs layer 21:32:29 24f72da36158: Waiting 21:32:29 04fac38145f0: Verifying Checksum 21:32:29 04fac38145f0: Download complete 21:32:29 31603596830f: Verifying Checksum 21:32:29 31603596830f: Download complete 21:32:30 31603596830f: Pull complete 21:32:30 24f72da36158: Verifying Checksum 21:32:30 24f72da36158: Download complete 21:32:30 04fac38145f0: Pull complete 21:32:30 701f6daf10bf: Verifying Checksum 21:32:30 701f6daf10bf: Download complete 21:32:30 701f6daf10bf: Pull complete 21:32:30 24f72da36158: Pull complete 21:32:30 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 21:32:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:32:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:32:30 prd-centos7-docker-4c-2g-417 does not seem to be running inside a container 21:32:31 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:32:31 $ docker top c6a86f4a03a2392243a988807ea68ceedeeafd9912d445db229b07858a8e4a26 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:32:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:32:31 [ssh-agent] Looking for ssh-agent implementation... 21:32:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:32:32 $ docker exec c6a86f4a03a2392243a988807ea68ceedeeafd9912d445db229b07858a8e4a26 ssh-agent 21:32:32 SSH_AUTH_SOCK=/tmp/ssh-9x4hdELWcbta/agent.14 21:32:32 SSH_AGENT_PID=21 21:32:32 Running ssh-add (command line suppressed) 21:32:32 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/private_key_9067717662390762295.key (/w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/private_key_9067717662390762295.key) 21:32:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:32:32 + git tag --points-at HEAD [Pipeline] } 21:32:32 $ docker exec --env ******** --env ******** c6a86f4a03a2392243a988807ea68ceedeeafd9912d445db229b07858a8e4a26 ssh-agent -k 21:32:32 unset SSH_AUTH_SOCK; 21:32:32 unset SSH_AGENT_PID; 21:32:32 echo Agent pid 21 killed; 21:32:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:32:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:32:32 [ssh-agent] Looking for ssh-agent implementation... 21:32:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:32:32 $ docker exec c6a86f4a03a2392243a988807ea68ceedeeafd9912d445db229b07858a8e4a26 ssh-agent 21:32:33 SSH_AUTH_SOCK=/tmp/ssh-3WyqS8slZMe2/agent.54 21:32:33 SSH_AGENT_PID=60 21:32:33 Running ssh-add (command line suppressed) 21:32:33 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/private_key_1397845116680659656.key (/w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/private_key_1397845116680659656.key) 21:32:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:32:33 + git semver init 21:32:33 # -> Open(): unable to determine branch for HEAD 21:32:33 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-303/.git 21:32:33 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-303 21:32:33 # $SEMVER_REMOTE_NAME = origin 21:32:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:32:33 # $SEMVER_USER_NAME = edgex-jenkins 21:32:33 # $SEMVER_BRANCH = PR-303 21:32:33 # $SEMVER_TEMP = /tmp/semver-196665230 21:32:33 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 21:32:34 # '/tmp/semver-196665230' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-303/.semver' 21:32:34 # -> Force: false 21:32:34 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-303/.semver [Pipeline] } 21:32:34 $ docker exec --env ******** --env ******** c6a86f4a03a2392243a988807ea68ceedeeafd9912d445db229b07858a8e4a26 ssh-agent -k 21:32:34 unset SSH_AUTH_SOCK; 21:32:34 unset SSH_AGENT_PID; 21:32:34 echo Agent pid 60 killed; 21:32:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:32:34 + git semver [Pipeline] } 21:32:34 $ docker stop --time=1 c6a86f4a03a2392243a988807ea68ceedeeafd9912d445db229b07858a8e4a26 21:32:35 $ docker rm -f c6a86f4a03a2392243a988807ea68ceedeeafd9912d445db229b07858a8e4a26 [Pipeline] // withDockerContainer [Pipeline] sh 21:32:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:32:36 Stashed 1 file(s) [Pipeline] echo 21:32:36 [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 21:32:51 Still waiting to schedule task 21:32:51 Waiting for next available executor on ‘centos7-docker-4c-2g’ 21:32:51 Still waiting to schedule task 21:32:51 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-415’ 21:35:28 Running on prd-centos7-docker-4c-2g-418 in /w/workspace/gexfoundry_device-mqtt-go_PR-303 [Pipeline] { [Pipeline] ws 21:35:28 Running in /w/workspace/device-mqtt-go/6 [Pipeline] { [Pipeline] checkout 21:35:28 Selected Git installation does not exist. Using Default 21:35:28 The recommended git tool is: NONE 21:35:31 using credential edgex-jenkins-ssh 21:35:31 Cloning the remote Git repository 21:35:30 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 21:35:30 > git init /w/workspace/device-mqtt-go/6 # timeout=10 21:35:30 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 21:35:30 > git --version # timeout=10 21:35:31 > git --version # 'git version 2.24.4' 21:35:31 using GIT_SSH to set credentials SSH Credentials for GitHub 21:35:31 [INFO] Currently running in a labeled security context 21:35:31 [INFO] Currently SELinux is 'enforcing' on the host 21:35:31 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/6@tmp/jenkins-gitclient-ssh540130154212556006.key 21:35:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:35:32 Merging remotes/origin/main commit 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 into PR head commit 9ab5186d00e01a3f1232bff1158974f3544c323d 21:35:33 Merge succeeded, producing 9ab5186d00e01a3f1232bff1158974f3544c323d 21:35:33 Checking out Revision 9ab5186d00e01a3f1232bff1158974f3544c323d (PR-303) 21:35:31 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 21:35:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:35:31 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 21:35:31 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 21:35:31 using GIT_SSH to set credentials SSH Credentials for GitHub 21:35:31 [INFO] Currently running in a labeled security context 21:35:31 [INFO] Currently SELinux is 'enforcing' on the host 21:35:31 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/6@tmp/jenkins-gitclient-ssh9144438541484946565.key 21:35:31 > 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 21:35:32 > git config core.sparsecheckout # timeout=10 21:35:32 > git checkout -f 9ab5186d00e01a3f1232bff1158974f3544c323d # timeout=10 21:35:32 > git remote # timeout=10 21:35:32 > git config --get remote.origin.url # timeout=10 21:35:32 using GIT_SSH to set credentials SSH Credentials for GitHub 21:35:32 [INFO] Currently running in a labeled security context 21:35:32 [INFO] Currently SELinux is 'enforcing' on the host 21:35:32 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/6@tmp/jenkins-gitclient-ssh1019520917488894246.key 21:35:32 > git merge 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 # timeout=10 21:35:32 > git rev-parse HEAD^{commit} # timeout=10 21:35:32 > git config core.sparsecheckout # timeout=10 21:35:32 > git checkout -f 9ab5186d00e01a3f1232bff1158974f3544c323d # timeout=10 21:35:36 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 21:35:37 provisioning config files... 21:35:37 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/6@tmp/config1647159408702483078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:35:37 ---> docker-login.sh 21:35:37 nexus3.edgexfoundry.org:10001 21:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:37 Configure a credential helper to remove this warning. See 21:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:37 21:35:37 Login Succeeded 21:35:37 nexus3.edgexfoundry.org:10002 21:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:37 Configure a credential helper to remove this warning. See 21:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:37 21:35:37 Login Succeeded 21:35:37 nexus3.edgexfoundry.org:10003 21:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:37 Configure a credential helper to remove this warning. See 21:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:37 21:35:37 Login Succeeded 21:35:37 nexus3.edgexfoundry.org:10004 21:35:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:38 Configure a credential helper to remove this warning. See 21:35:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:38 21:35:38 Login Succeeded 21:35:38 docker.io 21:35:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:38 Configure a credential helper to remove this warning. See 21:35:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:38 21:35:38 Login Succeeded 21:35:38 ---> docker-login.sh ends [Pipeline] } 21:35:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:35:38 ========================================================= 21:35:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 21:35:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:35:39 + 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 . 21:35:39 Sending build context to Docker daemon 693.2kB 21:35:39 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 21:35:39 Step 2/12 : FROM ${BASE} AS builder 21:35:39 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 21:35:39 540db60ca938: Pulling fs layer 21:35:39 adcc1eea9eea: Pulling fs layer 21:35:39 4c4ab2625f07: Pulling fs layer 21:35:39 db62176df00c: Pulling fs layer 21:35:39 3b30891b0d05: Pulling fs layer 21:35:39 06b49ca38bd5: Pulling fs layer 21:35:39 c788192a36de: Pulling fs layer 21:35:39 a77e37c0d609: Pulling fs layer 21:35:39 c3185cebc471: Pulling fs layer 21:35:39 db62176df00c: Waiting 21:35:39 3b30891b0d05: Waiting 21:35:39 06b49ca38bd5: Waiting 21:35:39 c788192a36de: Waiting 21:35:39 a77e37c0d609: Waiting 21:35:39 c3185cebc471: Waiting 21:35:39 4c4ab2625f07: Verifying Checksum 21:35:39 4c4ab2625f07: Download complete 21:35:39 adcc1eea9eea: Verifying Checksum 21:35:39 adcc1eea9eea: Download complete 21:35:39 3b30891b0d05: Verifying Checksum 21:35:39 3b30891b0d05: Download complete 21:35:39 06b49ca38bd5: Verifying Checksum 21:35:39 06b49ca38bd5: Download complete 21:35:39 c788192a36de: Verifying Checksum 21:35:39 c788192a36de: Download complete 21:35:39 540db60ca938: Verifying Checksum 21:35:39 540db60ca938: Download complete 21:35:39 540db60ca938: Pull complete 21:35:39 adcc1eea9eea: Pull complete 21:35:39 4c4ab2625f07: Pull complete 21:35:39 a77e37c0d609: Verifying Checksum 21:35:39 a77e37c0d609: Download complete 21:35:43 c3185cebc471: Verifying Checksum 21:35:43 c3185cebc471: Download complete 21:35:43 db62176df00c: Verifying Checksum 21:35:43 db62176df00c: Download complete 21:35:46 db62176df00c: Pull complete 21:35:46 3b30891b0d05: Pull complete 21:35:46 06b49ca38bd5: Pull complete 21:35:46 c788192a36de: Pull complete 21:35:46 a77e37c0d609: Pull complete 21:35:49 c3185cebc471: Pull complete 21:35:49 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 21:35:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:35:49 ---> 031687cdd783 21:35:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:35:51 ---> Running in 6853e6cb69c6 21:35:51 Removing intermediate container 6853e6cb69c6 21:35:51 ---> c0f328720347 21:35:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:35:51 ---> Running in 6599addd42d2 21:35:51 Removing intermediate container 6599addd42d2 21:35:51 ---> e39a2b527e37 21:35:51 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:35:51 ---> Running in 0595384cfce7 21:35:52 Removing intermediate container 0595384cfce7 21:35:52 ---> 87a54e049f40 21:35:52 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:35:52 ---> Running in c9ea7b10a20b 21:35:52 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 21:35:52 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 21:35:53 (1/3) Installing openssh-keygen (8.4_p1-r3) 21:35:53 (2/3) Installing libedit (20191231.3.1-r1) 21:35:53 (3/3) Installing openssh-client (8.4_p1-r3) 21:35:53 Executing busybox-1.32.1-r6.trigger 21:35:53 OK: 223 MiB in 55 packages 21:35:54 Removing intermediate container c9ea7b10a20b 21:35:54 ---> c99646e7dc53 21:35:54 Step 7/12 : WORKDIR /device-mqtt-go 21:35:54 ---> Running in 86cdf59efd45 21:35:54 Removing intermediate container 86cdf59efd45 21:35:54 ---> 0fb6167c5e11 21:35:54 Step 8/12 : COPY . . 21:35:54 ---> 63fa16f8cd5d 21:35:54 Step 9/12 : RUN go mod tidy 21:35:54 ---> Running in 920a9264f733 21:35:55 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 21:35:55 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 21:35:56 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 21:35:56 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 21:35:56 go: downloading github.com/google/uuid v1.3.0 21:35:56 go: downloading github.com/spf13/cast v1.4.1 21:35:56 go: downloading github.com/stretchr/testify v1.7.0 21:35:56 go: downloading github.com/gorilla/websocket v1.4.2 21:35:56 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 21:35:56 go: downloading github.com/gorilla/mux v1.8.0 21:35:56 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 21:35:56 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 21:35:56 go: downloading github.com/go-kit/kit v0.9.0 21:35:56 go: downloading github.com/go-playground/validator/v10 v10.6.1 21:35:56 go: downloading github.com/davecgh/go-spew v1.1.1 21:35:56 go: downloading github.com/pmezard/go-difflib v1.0.0 21:35:56 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 21:35:56 go: downloading github.com/OneOfOne/xxhash v1.2.8 21:35:56 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 21:35:56 go: downloading github.com/pelletier/go-toml v1.9.2 21:35:56 go: downloading gopkg.in/yaml.v2 v2.4.0 21:35:56 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 21:35:56 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 21:35:56 go: downloading github.com/go-logfmt/logfmt v0.4.0 21:35:56 go: downloading github.com/go-stack/stack v1.8.0 21:35:56 go: downloading github.com/go-playground/universal-translator v0.17.0 21:35:57 go: downloading github.com/leodido/go-urn v1.2.0 21:35:57 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 21:35:57 go: downloading golang.org/x/text v0.3.2 21:35:57 go: downloading github.com/go-playground/assert/v2 v2.0.1 21:35:57 go: downloading github.com/go-playground/locales v0.13.0 21:35:57 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 21:35:57 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:35:57 go: downloading github.com/x448/float16 v0.8.4 21:35:57 go: downloading github.com/hashicorp/consul/api v1.8.1 21:35:57 go: downloading github.com/stretchr/objx v0.1.0 21:35:57 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:35:58 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 21:35:58 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:35:58 go: downloading github.com/pebbe/zmq4 v1.2.7 21:35:58 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:35:58 go: downloading github.com/kr/pretty v0.2.0 21:35:58 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:35:58 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:35:58 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:35:58 go: downloading github.com/hashicorp/serf v0.9.5 21:35:58 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:35:58 go: downloading github.com/hashicorp/consul/sdk v0.7.0 21:35:58 go: downloading github.com/hashicorp/go-uuid v1.0.1 21:35:58 go: downloading github.com/onsi/ginkgo v1.10.1 21:35:58 go: downloading github.com/onsi/gomega v1.7.0 21:35:58 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:35:58 go: downloading github.com/mitchellh/copystructure v1.0.0 21:35:58 go: downloading github.com/kr/text v0.1.0 21:35:58 go: downloading github.com/fatih/color v1.9.0 21:35:58 go: downloading github.com/mattn/go-colorable v0.1.6 21:35:58 go: downloading github.com/mattn/go-isatty v0.0.12 21:35:58 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:35:58 go: downloading github.com/pkg/errors v0.8.1 21:35:58 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:35:58 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:35:58 go: downloading github.com/hashicorp/memberlist v0.2.2 21:35:58 go: downloading github.com/mitchellh/reflectwalk v1.0.0 21:35:58 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 21:35:58 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:35:58 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:35:58 go: downloading github.com/hpcloud/tail v1.0.0 21:35:58 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:35:58 go: downloading github.com/hashicorp/go-multierror v1.1.0 21:35:58 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 21:35:58 go: downloading github.com/miekg/dns v1.1.26 21:35:58 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:35:59 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:35:59 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:35:59 go: downloading github.com/hashicorp/errwrap v1.0.0 21:35:59 go: downloading gopkg.in/fsnotify.v1 v1.4.7 21:36:03 Removing intermediate container 920a9264f733 21:36:03 ---> a67e9659c06a 21:36:03 Step 10/12 : RUN go mod download 21:36:03 ---> Running in 426f67011ef2 21:36:07 Removing intermediate container 426f67011ef2 21:36:07 ---> b89c60ba582d 21:36:07 Step 11/12 : ARG MAKE='make build' 21:36:08 ---> Running in 08cf5ac94cb9 21:36:08 Removing intermediate container 08cf5ac94cb9 21:36:08 ---> c2d7b15c71c0 21:36:08 Step 12/12 : RUN $MAKE 21:36:08 ---> Running in 1c2a954932f4 21:36:08 noop 21:36:08 Removing intermediate container 1c2a954932f4 21:36:08 ---> cf6abc1df2ca 21:36:08 Successfully built cf6abc1df2ca 21:36:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:36:08 + docker inspect -f . ci-base-image-x86_64 21:36:08 . [Pipeline] withDockerContainer 21:36:09 prd-centos7-docker-4c-2g-418 does not seem to be running inside a container 21:36:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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 21:36:09 $ docker top e5d017d19f76a5183414c027e6d83000bd3b34da9322da9ce5942f269704c0db -eo pid,comm [Pipeline] { [Pipeline] sh 21:36:09 + go version 21:36:09 go version go1.16.6 linux/amd64 [Pipeline] } 21:36:09 $ docker stop --time=1 e5d017d19f76a5183414c027e6d83000bd3b34da9322da9ce5942f269704c0db 21:36:11 $ docker rm -f e5d017d19f76a5183414c027e6d83000bd3b34da9322da9ce5942f269704c0db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:36:11 + docker inspect -f . ci-base-image-x86_64 21:36:11 . [Pipeline] withDockerContainer 21:36:11 prd-centos7-docker-4c-2g-418 does not seem to be running inside a container 21:36:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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 21:36:12 $ docker top aed64d80020d072fef22296e952b82c19926271ebf8f9337edda88608c569fba -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:36:12 + go mod tidy [Pipeline] sh 21:36:13 + make test 21:36:13 go mod tidy 21:36:13 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:36:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 21:36:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-419 in /w/workspace/gexfoundry_device-mqtt-go_PR-303 [Pipeline] { [Pipeline] ws 21:36:21 Running in /w/workspace/device-mqtt-go/6 [Pipeline] { [Pipeline] checkout 21:36:21 Selected Git installation does not exist. Using Default 21:36:21 The recommended git tool is: NONE 21:36:27 using credential edgex-jenkins-ssh 21:36:27 Cloning the remote Git repository 21:36:27 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 21:36:27 > git init /w/workspace/device-mqtt-go/6 # timeout=10 21:36:27 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 21:36:27 > git --version # timeout=10 21:36:27 > git --version # 'git version 2.17.1' 21:36:27 using GIT_SSH to set credentials SSH Credentials for GitHub 21:36:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:36:28 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 21:36:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:36:28 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 21:36:28 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 21:36:28 using GIT_SSH to set credentials SSH Credentials for GitHub 21:36:28 > 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 21:36:29 Merging remotes/origin/main commit 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 into PR head commit 9ab5186d00e01a3f1232bff1158974f3544c323d 21:36:29 Merge succeeded, producing 9ab5186d00e01a3f1232bff1158974f3544c323d 21:36:29 Checking out Revision 9ab5186d00e01a3f1232bff1158974f3544c323d (PR-303) 21:36:29 > git config core.sparsecheckout # timeout=10 21:36:29 > git checkout -f 9ab5186d00e01a3f1232bff1158974f3544c323d # timeout=10 21:36:29 > git remote # timeout=10 21:36:29 > git config --get remote.origin.url # timeout=10 21:36:29 using GIT_SSH to set credentials SSH Credentials for GitHub 21:36:29 > git merge 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 # timeout=10 21:36:29 > git rev-parse HEAD^{commit} # timeout=10 21:36:29 > git config core.sparsecheckout # timeout=10 21:36:29 > git checkout -f 9ab5186d00e01a3f1232bff1158974f3544c323d # timeout=10 21:36:32 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 21:36:32 # github.com/edgexfoundry/device-mqtt-go/internal/driver 21:36:32 internal/driver/responselistener.go:24: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?) 21:36:32 FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] 21:36:32 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 21:36:32 FAIL 21:36:32 make: *** [Makefile:27: test] Error 2 [Pipeline] } 21:36:32 $ docker stop --time=1 aed64d80020d072fef22296e952b82c19926271ebf8f9337edda88608c569fba 21:36:33 $ docker rm -f aed64d80020d072fef22296e952b82c19926271ebf8f9337edda88608c569fba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } 21:36:34 Commit message: "fix: add check if length is 0 before trying to use metaData for uuid" [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:34 provisioning config files... 21:36:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/6@tmp/config723162750201883376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:36:34 21:36:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:36:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:36:35 latest: Pulling from edgex-lftools-log-publisher 21:36:35 b4d181a07f80: Pulling fs layer 21:36:35 a1111a8f2ec3: Pulling fs layer 21:36:35 ed53099fbce6: Pulling fs layer 21:36:35 dc539afda2c1: Pulling fs layer 21:36:35 77bc0d833cb6: Pulling fs layer 21:36:35 9065ff56babe: Pulling fs layer 21:36:35 d287ab97295c: Pulling fs layer 21:36:35 77bc0d833cb6: Waiting 21:36:35 9065ff56babe: Waiting 21:36:35 d287ab97295c: Waiting 21:36:35 dc539afda2c1: Waiting 21:36:35 ---> docker-login.sh 21:36:35 nexus3.edgexfoundry.org:10001 21:36:35 a1111a8f2ec3: Verifying Checksum 21:36:35 a1111a8f2ec3: Download complete 21:36:35 dc539afda2c1: Verifying Checksum 21:36:35 dc539afda2c1: Download complete 21:36:35 77bc0d833cb6: Verifying Checksum 21:36:35 77bc0d833cb6: Download complete 21:36:35 9065ff56babe: Verifying Checksum 21:36:35 9065ff56babe: Download complete 21:36:35 ed53099fbce6: Verifying Checksum 21:36:35 ed53099fbce6: Download complete 21:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:36 Configure a credential helper to remove this warning. See 21:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:36 21:36:36 Login Succeeded 21:36:36 nexus3.edgexfoundry.org:10002 21:36:37 b4d181a07f80: Verifying Checksum 21:36:37 b4d181a07f80: Download complete 21:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:37 Configure a credential helper to remove this warning. See 21:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:37 21:36:37 Login Succeeded 21:36:37 nexus3.edgexfoundry.org:10003 21:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:37 Configure a credential helper to remove this warning. See 21:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:37 21:36:37 Login Succeeded 21:36:37 nexus3.edgexfoundry.org:10004 21:36:38 b4d181a07f80: Pull complete 21:36:38 a1111a8f2ec3: Pull complete 21:36:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:38 Configure a credential helper to remove this warning. See 21:36:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:38 21:36:38 Login Succeeded 21:36:38 docker.io 21:36:38 ed53099fbce6: Pull complete 21:36:38 dc539afda2c1: Pull complete 21:36:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:38 77bc0d833cb6: Pull complete 21:36:38 9065ff56babe: Pull complete 21:36:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:39 Configure a credential helper to remove this warning. See 21:36:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:39 21:36:39 Login Succeeded 21:36:39 ---> docker-login.sh ends [Pipeline] } 21:36:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:36:40 ========================================================= 21:36:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 21:36:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:36:40 d287ab97295c: Verifying Checksum 21:36:40 d287ab97295c: Download complete 21:36:40 + 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 . 21:36:40 Sending build context to Docker daemon 692.2kB 21:36:41 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 21:36:41 Step 2/12 : FROM ${BASE} AS builder 21:36:41 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:36:41 595b0fe564bb: Pulling fs layer 21:36:41 24495759ef45: Pulling fs layer 21:36:41 d148012ef14d: Pulling fs layer 21:36:41 e90a11edd702: Pulling fs layer 21:36:41 d77568369979: Pulling fs layer 21:36:41 fc1c9f9a7f3b: Pulling fs layer 21:36:41 170f2ba95c9a: Pulling fs layer 21:36:41 97ac5df62f85: Pulling fs layer 21:36:41 e90a11edd702: Waiting 21:36:41 d77568369979: Waiting 21:36:41 fc1c9f9a7f3b: Waiting 21:36:41 170f2ba95c9a: Waiting 21:36:41 97ac5df62f85: Waiting 21:36:41 d148012ef14d: Verifying Checksum 21:36:41 d148012ef14d: Download complete 21:36:41 24495759ef45: Verifying Checksum 21:36:41 24495759ef45: Download complete 21:36:41 d77568369979: Download complete 21:36:41 595b0fe564bb: Verifying Checksum 21:36:41 595b0fe564bb: Download complete 21:36:41 fc1c9f9a7f3b: Download complete 21:36:41 170f2ba95c9a: Verifying Checksum 21:36:41 170f2ba95c9a: Download complete 21:36:42 595b0fe564bb: Pull complete 21:36:42 24495759ef45: Pull complete 21:36:43 d148012ef14d: Pull complete 21:36:44 d287ab97295c: Pull complete 21:36:44 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:36:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:36:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:36:44 prd-centos7-docker-4c-2g-418 does not seem to be running inside a container 21:36:44 $ 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/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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 21:36:44 97ac5df62f85: Verifying Checksum 21:36:44 97ac5df62f85: Download complete 21:36:44 e90a11edd702: Verifying Checksum 21:36:44 e90a11edd702: Download complete 21:36:47 $ docker top 8bb50cd1413b94fab464dc8aca126dabc09593587d653e5bc5c24abe36830df6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:47 ---> job-cost.sh 21:36:47 lf-activate-venv: SKIPPING 21:36:47 INFO: No Stack... 21:36:48 INFO: Retrieving Pricing Info for: v3-standard-2 21:36:49 INFO: Archiving Costs [Pipeline] sh 21:36:49 + cat+ /w/workspace/device-mqtt-go/6/archives/cost.csv 21:36:49 cut -d, -f6 [Pipeline] lock 21:36:49 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-303-6-stack-cost] 21:36:49 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-303-6-stack-cost] did not exist. Created. 21:36:49 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-303-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:36:49 + echo total: 0.05999999865889549 [Pipeline] stash 21:36:50 Stashed 1 file(s) [Pipeline] } 21:36:50 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-303-6-stack-cost] [Pipeline] // lock [Pipeline] } 21:36:50 $ docker stop --time=1 8bb50cd1413b94fab464dc8aca126dabc09593587d653e5bc5c24abe36830df6 21:36:51 $ docker rm -f 8bb50cd1413b94fab464dc8aca126dabc09593587d653e5bc5c24abe36830df6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:36:51 Failed in branch amd64 21:36:57 e90a11edd702: Pull complete 21:36:57 d77568369979: Pull complete 21:36:57 fc1c9f9a7f3b: Pull complete 21:36:57 170f2ba95c9a: Pull complete 21:37:02 97ac5df62f85: Pull complete 21:37:02 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 21:37:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 21:37:02 ---> 04bc70af865f 21:37:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:37:06 ---> Running in 7702890bc42d 21:37:07 Removing intermediate container 7702890bc42d 21:37:07 ---> 71e39037731e 21:37:07 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:37:07 ---> Running in 6dc42889b89e 21:37:07 Removing intermediate container 6dc42889b89e 21:37:07 ---> 389a0c935756 21:37:07 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:37:08 ---> Running in 65ab5afdf3fa 21:37:11 Removing intermediate container 65ab5afdf3fa 21:37:11 ---> 3a49ffd4c882 21:37:11 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:37:11 ---> Running in ec007024955e 21:37:12 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 21:37:13 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 21:37:14 (1/3) Installing openssh-keygen (8.4_p1-r3) 21:37:14 (2/3) Installing libedit (20191231.3.1-r1) 21:37:14 (3/3) Installing openssh-client (8.4_p1-r3) 21:37:14 Executing busybox-1.32.1-r6.trigger 21:37:14 OK: 222 MiB in 55 packages 21:37:16 Removing intermediate container ec007024955e 21:37:16 ---> f2dcdb381a12 21:37:16 Step 7/12 : WORKDIR /device-mqtt-go 21:37:16 ---> Running in 632de691d5d1 21:37:16 Removing intermediate container 632de691d5d1 21:37:16 ---> 66ec53f342d0 21:37:16 Step 8/12 : COPY . . 21:37:18 ---> e0f45854e288 21:37:18 Step 9/12 : RUN go mod tidy 21:37:18 ---> Running in bdd7209fd9d4 21:37:22 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 21:37:22 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 21:37:22 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 21:37:22 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 21:37:22 go: downloading github.com/google/uuid v1.3.0 21:37:22 go: downloading github.com/spf13/cast v1.4.1 21:37:22 go: downloading github.com/stretchr/testify v1.7.0 21:37:22 go: downloading github.com/gorilla/websocket v1.4.2 21:37:22 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 21:37:22 go: downloading github.com/gorilla/mux v1.8.0 21:37:22 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 21:37:22 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 21:37:23 go: downloading github.com/go-playground/validator/v10 v10.6.1 21:37:23 go: downloading github.com/go-kit/kit v0.9.0 21:37:23 go: downloading github.com/davecgh/go-spew v1.1.1 21:37:23 go: downloading github.com/pmezard/go-difflib v1.0.0 21:37:23 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 21:37:23 go: downloading github.com/OneOfOne/xxhash v1.2.8 21:37:23 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 21:37:23 go: downloading github.com/pelletier/go-toml v1.9.2 21:37:23 go: downloading gopkg.in/yaml.v2 v2.4.0 21:37:23 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 21:37:23 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 21:37:23 go: downloading github.com/go-playground/universal-translator v0.17.0 21:37:23 go: downloading github.com/leodido/go-urn v1.2.0 21:37:23 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 21:37:23 go: downloading golang.org/x/text v0.3.2 21:37:23 go: downloading github.com/go-playground/assert/v2 v2.0.1 21:37:24 go: downloading github.com/go-playground/locales v0.13.0 21:37:26 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 21:37:26 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:37:26 go: downloading github.com/go-stack/stack v1.8.0 21:37:26 go: downloading github.com/go-logfmt/logfmt v0.4.0 21:37:26 go: downloading github.com/hashicorp/consul/api v1.8.1 21:37:26 go: downloading github.com/stretchr/objx v0.1.0 21:37:26 go: downloading github.com/x448/float16 v0.8.4 21:37:26 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 21:37:26 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:37:26 go: downloading github.com/pebbe/zmq4 v1.2.7 21:37:26 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:37:26 go: downloading github.com/kr/pretty v0.2.0 21:37:26 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:37:26 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:37:27 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:37:27 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:37:27 go: downloading github.com/hashicorp/serf v0.9.5 21:37:27 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:37:27 go: downloading github.com/hashicorp/consul/sdk v0.7.0 21:37:27 go: downloading github.com/hashicorp/go-uuid v1.0.1 21:37:27 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:37:27 go: downloading github.com/mitchellh/copystructure v1.0.0 21:37:27 go: downloading github.com/kr/text v0.1.0 21:37:27 go: downloading github.com/onsi/ginkgo v1.10.1 21:37:27 go: downloading github.com/onsi/gomega v1.7.0 21:37:27 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:37:27 go: downloading github.com/fatih/color v1.9.0 21:37:27 go: downloading github.com/mattn/go-colorable v0.1.6 21:37:27 go: downloading github.com/mattn/go-isatty v0.0.12 21:37:27 go: downloading github.com/pkg/errors v0.8.1 21:37:27 go: downloading github.com/mitchellh/reflectwalk v1.0.0 21:37:27 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:37:27 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:37:27 go: downloading github.com/hashicorp/memberlist v0.2.2 21:37:27 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 21:37:27 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:37:27 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:37:27 go: downloading github.com/hpcloud/tail v1.0.0 21:37:27 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:37:27 go: downloading github.com/hashicorp/go-multierror v1.1.0 21:37:28 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 21:37:28 go: downloading github.com/miekg/dns v1.1.26 21:37:28 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:37:28 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:37:28 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:37:28 go: downloading github.com/hashicorp/errwrap v1.0.0 21:37:28 go: downloading gopkg.in/fsnotify.v1 v1.4.7 21:37:43 Removing intermediate container bdd7209fd9d4 21:37:43 ---> 145a73bebd7e 21:37:43 Step 10/12 : RUN go mod download 21:37:43 ---> Running in 39d57417af2b 21:37:51 Removing intermediate container 39d57417af2b 21:37:51 ---> 498fcd5e454f 21:37:51 Step 11/12 : ARG MAKE='make build' 21:37:51 ---> Running in 1d8ef40270be 21:37:51 Removing intermediate container 1d8ef40270be 21:37:51 ---> cebbeff9dd57 21:37:51 Step 12/12 : RUN $MAKE 21:37:51 ---> Running in d1174eb5fe9b 21:37:52 noop 21:37:53 Removing intermediate container d1174eb5fe9b 21:37:53 ---> 0b2d1082d53e 21:37:53 Successfully built 0b2d1082d53e 21:37:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:37:54 + docker inspect -f . ci-base-image-arm64 21:37:54 . [Pipeline] withDockerContainer 21:37:54 prd-ubuntu18.04-docker-arm64-4c-16g-419 does not seem to be running inside a container 21:37:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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 21:37:56 $ docker top a41672948c7e72a3dd9717abf923c22456e5ac51c76457b81d4e96f6a36df232 -eo pid,comm [Pipeline] { [Pipeline] sh 21:37:57 + go version 21:37:57 go version go1.16.6 linux/arm64 [Pipeline] } 21:37:57 $ docker stop --time=1 a41672948c7e72a3dd9717abf923c22456e5ac51c76457b81d4e96f6a36df232 21:37:59 $ docker rm -f a41672948c7e72a3dd9717abf923c22456e5ac51c76457b81d4e96f6a36df232 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:38:00 + docker inspect -f . ci-base-image-arm64 21:38:00 . [Pipeline] withDockerContainer 21:38:00 prd-ubuntu18.04-docker-arm64-4c-16g-419 does not seem to be running inside a container 21:38:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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 21:38:02 $ docker top 184878cf50cfde448914bac3758e7ff8d066689e416c6cda6e36bc09438e0153 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:38:03 + go mod tidy [Pipeline] sh 21:38:04 + make test 21:38:04 go mod tidy 21:38:04 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:38:06 ? github.com/edgexfoundry/device-mqtt-go [no test files] 21:39:02 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 21:39:02 # github.com/edgexfoundry/device-mqtt-go/internal/driver 21:39:02 internal/driver/responselistener.go:24: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?) 21:39:02 FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] 21:39:02 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 21:39:02 FAIL 21:39:02 make: *** [Makefile:27: test] Error 2 [Pipeline] } 21:39:02 $ docker stop --time=1 184878cf50cfde448914bac3758e7ff8d066689e416c6cda6e36bc09438e0153 21:39:04 $ docker rm -f 184878cf50cfde448914bac3758e7ff8d066689e416c6cda6e36bc09438e0153 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:39:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:39:06 21:39:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:39:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:39:06 arm64: Pulling from edgex-lftools-log-publisher 21:39:06 448f6bf000e3: Pulling fs layer 21:39:06 f757da607395: Pulling fs layer 21:39:06 05883995daec: Pulling fs layer 21:39:06 8603b9c90790: Pulling fs layer 21:39:06 1560dd03e051: Pulling fs layer 21:39:06 27f5ce0e4adf: Pulling fs layer 21:39:06 c2d8d7efcc4b: Pulling fs layer 21:39:06 8603b9c90790: Waiting 21:39:06 1560dd03e051: Waiting 21:39:06 27f5ce0e4adf: Waiting 21:39:06 c2d8d7efcc4b: Waiting 21:39:07 f757da607395: Verifying Checksum 21:39:07 f757da607395: Download complete 21:39:07 8603b9c90790: Download complete 21:39:07 05883995daec: Download complete 21:39:07 27f5ce0e4adf: Download complete 21:39:07 1560dd03e051: Verifying Checksum 21:39:07 1560dd03e051: Download complete 21:39:08 448f6bf000e3: Verifying Checksum 21:39:08 448f6bf000e3: Download complete 21:39:12 c2d8d7efcc4b: Verifying Checksum 21:39:12 c2d8d7efcc4b: Download complete 21:39:12 448f6bf000e3: Pull complete 21:39:12 f757da607395: Pull complete 21:39:14 05883995daec: Pull complete 21:39:14 8603b9c90790: Pull complete 21:39:15 1560dd03e051: Pull complete 21:39:16 27f5ce0e4adf: Pull complete 21:39:31 c2d8d7efcc4b: Pull complete 21:39:31 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 21:39:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:39:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:39:31 prd-ubuntu18.04-docker-arm64-4c-16g-419 does not seem to be running inside a container 21:39:31 $ 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/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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 21:39:36 $ docker top ec4bc5aa311d625e28f3855f59465bb47d8eb84125d230d11646887a90549160 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:37 ---> job-cost.sh 21:39:37 lf-activate-venv: SKIPPING 21:39:37 INFO: No Stack... 21:39:38 INFO: Retrieving Pricing Info for: v3-standard-4 21:39:38 INFO: Archiving Costs [Pipeline] sh 21:39:39 + cat /w/workspace/device-mqtt-go/6/archives/cost.csv 21:39:39 + cut -d, -f6 [Pipeline] lock 21:39:39 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-303-6-stack-cost] 21:39:39 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-303-6-stack-cost] did not exist. Created. 21:39:39 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-303-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:39:39 /w/workspace/device-mqtt-go/6@tmp/durable-40677d87/script.sh: 1: /w/workspace/device-mqtt-go/6@tmp/durable-40677d87/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 21:39:40 + echo total: 0.10999999940395355 [Pipeline] stash 21:39:40 Warning: overwriting stash ‘stack-cost’ 21:39:41 Stashed 1 file(s) [Pipeline] } 21:39:41 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-303-6-stack-cost] [Pipeline] // lock [Pipeline] } 21:39:41 $ docker stop --time=1 ec4bc5aa311d625e28f3855f59465bb47d8eb84125d230d11646887a90549160 21:39:42 $ docker rm -f ec4bc5aa311d625e28f3855f59465bb47d8eb84125d230d11646887a90549160 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:39:43 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (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 21:39:45 + '[' -d /w/workspace/gexfoundry_device-mqtt-go_PR-303/archives ']' [Pipeline] libraryResource [Pipeline] sh 21:39:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:39:45 ---> package-listing.sh 21:39:45 ++ facter osfamily 21:39:45 ++ tr '[:upper:]' '[:lower:]' 21:39:46 + OS_FAMILY=redhat 21:39:46 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-303 21:39:46 + START_PACKAGES=/tmp/packages_start.txt 21:39:46 + END_PACKAGES=/tmp/packages_end.txt 21:39:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:39:46 + PACKAGES=/tmp/packages_start.txt 21:39:46 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-303 ']' 21:39:46 + PACKAGES=/tmp/packages_end.txt 21:39:46 + case "${OS_FAMILY}" in 21:39:46 + rpm -qa 21:39:46 + sort 21:39:46 + '[' -f /tmp/packages_start.txt ']' 21:39:46 + '[' -f /tmp/packages_end.txt ']' 21:39:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:39:46 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-303 ']' 21:39:46 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-303/archives/ 21:39:46 + 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 21:39:46 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 21:39:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:39:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:47 21:39:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:39:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:48 latest: Pulling from edgex-lftools-log-publisher 21:39:48 b4d181a07f80: Pulling fs layer 21:39:48 a1111a8f2ec3: Pulling fs layer 21:39:48 ed53099fbce6: Pulling fs layer 21:39:48 dc539afda2c1: Pulling fs layer 21:39:48 77bc0d833cb6: Pulling fs layer 21:39:48 9065ff56babe: Pulling fs layer 21:39:48 d287ab97295c: Pulling fs layer 21:39:48 77bc0d833cb6: Waiting 21:39:48 9065ff56babe: Waiting 21:39:48 d287ab97295c: Waiting 21:39:48 dc539afda2c1: Waiting 21:39:48 a1111a8f2ec3: Verifying Checksum 21:39:48 a1111a8f2ec3: Download complete 21:39:48 dc539afda2c1: Verifying Checksum 21:39:48 dc539afda2c1: Download complete 21:39:48 77bc0d833cb6: Verifying Checksum 21:39:48 77bc0d833cb6: Download complete 21:39:48 9065ff56babe: Verifying Checksum 21:39:48 9065ff56babe: Download complete 21:39:48 ed53099fbce6: Verifying Checksum 21:39:48 ed53099fbce6: Download complete 21:39:49 b4d181a07f80: Verifying Checksum 21:39:49 b4d181a07f80: Download complete 21:39:50 b4d181a07f80: Pull complete 21:39:50 a1111a8f2ec3: Pull complete 21:39:51 ed53099fbce6: Pull complete 21:39:51 dc539afda2c1: Pull complete 21:39:51 77bc0d833cb6: Pull complete 21:39:51 9065ff56babe: Pull complete 21:39:53 d287ab97295c: Verifying Checksum 21:39:53 d287ab97295c: Download complete 21:39:57 d287ab97295c: Pull complete 21:39:57 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:39:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:39:57 prd-centos7-docker-4c-2g-417 does not seem to be running inside a container 21:39:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:39:59 $ docker top fab224342bf3fe44bc4a1bd6c070b588d745909158ee8e142c081fd0d4ee69b2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:00 + touch /tmp/pre-build-complete [Pipeline] sh 21:40:00 + mkdir -p /var/log/sysstat [Pipeline] sh 21:40:00 + ls /var/log/sa-host 21:40:00 + sadf -c /var/log/sa-host/sa05 21:40:00 file_magic: OK 21:40:00 HZ: Using current value: 100 21:40:00 file_header: OK 21:40:00 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 21:40:00 Statistics: 21:40:00 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:40:00 File successfully converted to sysstat format version 12.0.3 21:40:00 + sadf -c /var/log/sa-host/sa16 21:40:00 file_magic: OK 21:40:00 HZ: Using current value: 100 21:40:00 file_header: OK 21:40:00 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 21:40:00 Statistics: 21:40:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:40:00 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:40:00 provisioning config files... 21:40:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/config946550988138722034tmp [Pipeline] { [Pipeline] echo 21:40:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:40:01 ---> create-netrc.sh [Pipeline] } 21:40:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:40:01 ---> python-tools-install.sh [Pipeline] echo 21:40:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:40:02 ---> sudo-logs.sh 21:40:02 Archiving 'sudo' log.. 21:40:02 sudo: unable to resolve host prd-centos7-docker-4c-2g-417.vexxhost.local: Name or service not known 21:40:02 sudo: unable to resolve host prd-centos7-docker-4c-2g-417.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 21:40:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:40:02 ---> job-cost.sh 21:40:02 lf-activate-venv: SKIPPING 21:40:02 DEBUG: total: 0.10999999940395355 21:40:02 INFO: Retrieving Stack Cost... 21:40:02 INFO: Retrieving Pricing Info for: v3-standard-2 21:40:03 INFO: Archiving Costs [Pipeline] echo 21:40:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:40:03 ---> logs-deploy.sh 21:40:03 lf-activate-venv: SKIPPING 21:40:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-303/6 21:40:03 INFO: archiving workspace using pattern(s): 21:40:04 Archives upload complete. 21:40:04 INFO: archiving logs to Nexus 21:40:05 ---> uname -a: 21:40:05 Linux prd-centos7-docker-4c-2g-417.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 21:40:05 21:40:05 21:40:05 ---> lscpu: 21:40:05 Architecture: x86_64 21:40:05 CPU op-mode(s): 32-bit, 64-bit 21:40:05 Byte Order: Little Endian 21:40:05 Address sizes: 40 bits physical, 48 bits virtual 21:40:05 CPU(s): 2 21:40:05 On-line CPU(s) list: 0,1 21:40:05 Thread(s) per core: 1 21:40:05 Core(s) per socket: 1 21:40:05 Socket(s): 2 21:40:05 NUMA node(s): 1 21:40:05 Vendor ID: AuthenticAMD 21:40:05 CPU family: 23 21:40:05 Model: 49 21:40:05 Model name: AMD EPYC-Rome Processor 21:40:05 Stepping: 0 21:40:05 CPU MHz: 2800.000 21:40:05 BogoMIPS: 5600.00 21:40:05 Virtualization: AMD-V 21:40:05 Hypervisor vendor: KVM 21:40:05 Virtualization type: full 21:40:05 L1d cache: 32K 21:40:05 L1i cache: 32K 21:40:05 L2 cache: 512K 21:40:05 L3 cache: 16384K 21:40:05 NUMA node0 CPU(s): 0,1 21:40:05 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 21:40:05 21:40:05 21:40:05 ---> nproc: 21:40:05 2 21:40:05 21:40:05 21:40:05 ---> df -h: 21:40:05 Filesystem Size Used Avail Use% Mounted on 21:40:05 overlay 40G 7.7G 33G 20% / 21:40:05 tmpfs 64M 0 64M 0% /dev 21:40:05 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 21:40:05 shm 64M 0 64M 0% /dev/shm 21:40:05 /dev/vda1 40G 7.7G 33G 20% /facter-os 21:40:05 21:40:05 21:40:05 ---> sar -b -r -n DEV: 21:40:05 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) 21:40:05 21:40:05 21:31:41 LINUX RESTART (2 CPU) 21:40:05 21:40:05 21:32:01 tps rtps wtps bread/s bwrtn/s 21:40:05 21:33:01 113.67 20.28 93.39 5889.71 19233.90 21:40:05 21:34:01 1.60 0.00 1.60 0.00 31.82 21:40:05 21:35:01 0.42 0.00 0.42 0.00 6.51 21:40:05 21:36:01 0.25 0.00 0.25 0.00 3.36 21:40:05 21:37:01 0.25 0.00 0.25 0.00 3.43 21:40:05 21:38:01 0.42 0.00 0.42 0.00 6.16 21:40:05 21:39:02 0.15 0.00 0.15 0.00 1.75 21:40:05 Average: 16.69 2.90 13.79 841.75 2756.45 21:40:05 21:40:05 21:32:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:40:05 21:33:01 5476200 0 796888 9.95 2620 1733224 1290780 14.25 572680 1561168 132 21:40:05 21:34:01 5488464 0 784616 9.80 2620 1733232 1205596 13.31 562716 1561132 20 21:40:05 21:35:01 5488284 0 784796 9.80 2620 1733232 1205596 13.31 564212 1559556 8 21:40:05 21:36:01 5485552 0 787520 9.83 2620 1733240 1205836 13.31 566700 1559556 16 21:40:05 21:37:01 5485376 0 787692 9.84 2620 1733244 1205932 13.31 562256 1564612 8 21:40:05 21:38:01 5483668 0 789392 9.86 2620 1733252 1208520 13.34 563832 1564616 8 21:40:05 21:39:02 5484488 0 788568 9.85 2620 1733256 1208412 13.34 563016 1564612 16 21:40:05 Average: 5484576 0 788496 9.85 2620 1733240 1218667 13.45 565059 1562179 30 21:40:05 21:40:05 21:32:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:40:05 21:33:01 eth0 395.30 247.59 997.15 73.68 0.00 0.00 0.00 0.00 21:40:05 21:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:40:05 21:33:01 docker0 2.41 2.11 0.50 6.17 0.00 0.00 0.00 0.00 21:40:05 21:34:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 21:40:05 21:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:40:05 21:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:40:05 21:35:01 eth0 0.85 0.08 0.07 0.01 0.00 0.00 0.00 0.00 21:40:05 21:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:40:05 21:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:40:05 21:36:01 eth0 0.93 0.47 0.32 0.21 0.00 0.00 0.00 0.00 21:40:05 21:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:40:05 21:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:40:05 21:37:01 eth0 0.52 0.33 0.27 0.20 0.00 0.00 0.00 0.00 21:40:05 21:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:40:05 21:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:40:05 21:38:01 eth0 0.27 0.18 0.09 0.07 0.00 0.00 0.00 0.00 21:40:05 21:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:40:05 21:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:40:05 21:39:02 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 21:40:05 21:39:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:40:05 21:39:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:40:05 Average: eth0 56.89 35.56 142.62 10.60 0.00 0.00 0.00 0.00 21:40:05 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:40:05 Average: docker0 0.35 0.30 0.07 0.88 0.00 0.00 0.00 0.00 21:40:05 21:40:05 21:40:05 ---> sar -P ALL: 21:40:05 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) 21:40:05 21:40:05 21:31:41 LINUX RESTART (2 CPU) 21:40:05 21:40:05 21:32:01 CPU %user %nice %system %iowait %steal %idle 21:40:05 21:33:01 all 16.61 0.00 4.60 3.25 0.05 75.50 21:40:05 21:33:01 0 16.15 0.00 5.14 4.24 0.05 74.42 21:40:05 21:33:01 1 17.07 0.00 4.06 2.25 0.05 76.57 21:40:05 21:34:01 all 0.16 0.00 0.05 0.00 0.03 99.76 21:40:05 21:34:01 0 0.03 0.00 0.07 0.00 0.02 99.88 21:40:05 21:34:01 1 0.28 0.00 0.03 0.00 0.05 99.63 21:40:05 21:35:01 all 0.13 0.00 0.04 0.00 0.03 99.81 21:40:05 21:35:01 0 0.07 0.00 0.05 0.00 0.03 99.85 21:40:05 21:35:01 1 0.18 0.00 0.03 0.00 0.02 99.77 21:40:05 21:36:01 all 0.18 0.00 0.05 0.00 0.01 99.76 21:40:05 21:36:01 0 0.07 0.00 0.05 0.00 0.00 99.88 21:40:05 21:36:01 1 0.30 0.00 0.05 0.00 0.02 99.63 21:40:05 21:37:01 all 0.22 0.00 0.05 0.00 0.02 99.72 21:40:05 21:37:01 0 0.05 0.00 0.05 0.00 0.02 99.88 21:40:05 21:37:01 1 0.38 0.00 0.05 0.00 0.02 99.55 21:40:05 21:38:01 all 0.17 0.00 0.03 0.00 0.03 99.77 21:40:05 21:38:01 0 0.05 0.00 0.05 0.00 0.03 99.87 21:40:05 21:38:01 1 0.28 0.00 0.02 0.00 0.02 99.68 21:40:05 21:39:02 all 0.15 0.00 0.05 0.00 0.02 99.78 21:40:05 21:39:02 0 0.05 0.00 0.05 0.00 0.02 99.88 21:40:05 21:39:02 1 0.25 0.00 0.05 0.00 0.02 99.68 21:40:05 Average: all 2.46 0.00 0.68 0.45 0.03 96.39 21:40:05 Average: 0 2.29 0.00 0.76 0.59 0.02 96.34 21:40:05 Average: 1 2.62 0.00 0.60 0.31 0.03 96.44 21:40:05 21:40:05 21:40:05