Pull request #316 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 410b20e28b42ed3254eb3b0ee7c1798ec061532e+f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 (cb3f013336abe56e680b22dda12a489926fbdfe7) 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-ssh8289338181144785926.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh2552884397228247633.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-316/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-316/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3509793918693640726.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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-ssh4416768531126910959.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-316/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-316/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6901001169070727792.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 USE_ALPINE: true 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 ‘prd-centos7-docker-4c-2g-28086’ is offline Running on prd-centos7-docker-4c-2g-28088 in /w/workspace/gexfoundry_device-mqtt-go_PR-316 [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-316 # 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-316@tmp/jenkins-gitclient-ssh3511278925048832045.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [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-316@tmp/jenkins-gitclient-ssh5270743984044790626.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/316/head:refs/remotes/origin/PR-316 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 into PR head commit 410b20e28b42ed3254eb3b0ee7c1798ec061532e Merge succeeded, producing f5396e642b9ca31180ae681ce5d4494ab08ee035 Checking out Revision f5396e642b9ca31180ae681ce5d4494ab08ee035 (PR-316) > git config core.sparsecheckout # timeout=10 > git checkout -f 410b20e28b42ed3254eb3b0ee7c1798ec061532e # 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-316@tmp/jenkins-gitclient-ssh5138655664250725019.key > git merge f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5396e642b9ca31180ae681ce5d4494ab08ee035 # timeout=10 Commit message: "Merge commit 'f142b7d4d9dc0d163bb8d716c4eb7ddee57de476' into HEAD" > git rev-list --no-walk 410b20e28b42ed3254eb3b0ee7c1798ec061532e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:11:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:11:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:11:27 ========================================================= 11:11:27 EdgeX Global Pipelines Version Info 11:11:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:11:28 ------------------- 11:11:28 stable info: 11:11:28 ------------------- 11:11:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:11:28 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 11:11:28 Message: update stable to v1.0.211 11:11:28 ------------------- 11:11:28 experimental info: 11:11:28 ------------------- 11:11:28 Commited By: **** collab-it+edgex@linuxfoundation.org 11:11:28 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 11:11:28 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:11:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 11:11:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 11:11:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:11:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:11:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:11:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 11:11:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-316 [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-316 [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-316 [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5396e642b9ca31180ae681ce5d4494ab08ee035 [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5396e6 [Pipeline] echo 11:11:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:11:29 provisioning config files... 11:11:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-316@tmp/config6667298435920571501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:11:29 ---> docker-login.sh 11:11:29 nexus3.edgexfoundry.org:10001 11:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:11:29 Configure a credential helper to remove this warning. See 11:11:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:11:29 11:11:29 Login Succeeded 11:11:29 nexus3.edgexfoundry.org:10002 11:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:11:29 Configure a credential helper to remove this warning. See 11:11:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:11:29 11:11:29 Login Succeeded 11:11:29 nexus3.edgexfoundry.org:10003 11:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:11:29 Configure a credential helper to remove this warning. See 11:11:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:11:29 11:11:29 Login Succeeded 11:11:29 nexus3.edgexfoundry.org:10004 11:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:11:30 Configure a credential helper to remove this warning. See 11:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:11:30 11:11:30 Login Succeeded 11:11:30 docker.io 11:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:11:30 Configure a credential helper to remove this warning. See 11:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:11:30 11:11:30 Login Succeeded 11:11:30 ---> docker-login.sh ends [Pipeline] } 11:11:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:11:30 + git rev-list -1 --merges f5396e642b9ca31180ae681ce5d4494ab08ee035~1..f5396e642b9ca31180ae681ce5d4494ab08ee035 [Pipeline] echo 11:11:31 -----------> git rev-list -1 --merges f5396e642b9ca31180ae681ce5d4494ab08ee035~1..f5396e642b9ca31180ae681ce5d4494ab08ee035 f5396e642b9ca31180ae681ce5d4494ab08ee035 11:11:31 f5396e642b9ca31180ae681ce5d4494ab08ee035 [false] [Pipeline] sh 11:11:31 + git log --format=format:%s -1 f5396e642b9ca31180ae681ce5d4494ab08ee035 [Pipeline] echo 11:11:31 ========================================================= 11:11:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:11:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:11:31 + git log --format=format:%s -1 f5396e642b9ca31180ae681ce5d4494ab08ee035 [Pipeline] echo 11:11:31 [semverPrep] GIT_COMMIT: f5396e642b9ca31180ae681ce5d4494ab08ee035, Commit Message: Merge commit 'f142b7d4d9dc0d163bb8d716c4eb7ddee57de476' into HEAD [Pipeline] echo 11:11:31 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 11:11:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:11:32 11:11:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:11:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:11:32 latest: Pulling from edgex-devops/git-semver 11:11:32 a0d0a0d46f8b: Pulling fs layer 11:11:32 3e5f54012d9b: Pulling fs layer 11:11:32 4c7163046ea9: Pulling fs layer 11:11:32 0c2d73faf560: Pulling fs layer 11:11:32 0c2d73faf560: Waiting 11:11:32 3e5f54012d9b: Download complete 11:11:32 a0d0a0d46f8b: Verifying Checksum 11:11:32 a0d0a0d46f8b: Download complete 11:11:32 0c2d73faf560: Verifying Checksum 11:11:32 0c2d73faf560: Download complete 11:11:32 4c7163046ea9: Verifying Checksum 11:11:32 4c7163046ea9: Download complete 11:11:32 a0d0a0d46f8b: Pull complete 11:11:32 3e5f54012d9b: Pull complete 11:11:32 4c7163046ea9: Pull complete 11:11:33 0c2d73faf560: Pull complete 11:11:33 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:11:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:11:33 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:11:33 prd-centos7-docker-4c-2g-28088 does not seem to be running inside a container 11:11:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-316 -v /w/workspace/gexfoundry_device-mqtt-go_PR-316:/w/workspace/gexfoundry_device-mqtt-go_PR-316:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-316@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-316@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:11:34 $ docker top e080a64e0303adb2906fd97dc2ec8bd0909a52c1d9ac106dd1f82ff4e5daf39b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:11:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:11:34 [ssh-agent] Looking for ssh-agent implementation... 11:11:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:11:34 $ docker exec e080a64e0303adb2906fd97dc2ec8bd0909a52c1d9ac106dd1f82ff4e5daf39b ssh-agent 11:11:34 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXccIchp/agent.13 11:11:34 SSH_AGENT_PID=19 11:11:34 Running ssh-add (command line suppressed) 11:11:34 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-316@tmp/private_key_1373353365004192857.key (/w/workspace/gexfoundry_device-mqtt-go_PR-316@tmp/private_key_1373353365004192857.key) 11:11:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:11:34 + git tag --points-at HEAD [Pipeline] } 11:11:34 $ docker exec --env ******** --env ******** e080a64e0303adb2906fd97dc2ec8bd0909a52c1d9ac106dd1f82ff4e5daf39b ssh-agent -k 11:11:34 unset SSH_AUTH_SOCK; 11:11:34 unset SSH_AGENT_PID; 11:11:34 echo Agent pid 19 killed; 11:11:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:11:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:11:34 [ssh-agent] Looking for ssh-agent implementation... 11:11:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:11:35 $ docker exec e080a64e0303adb2906fd97dc2ec8bd0909a52c1d9ac106dd1f82ff4e5daf39b ssh-agent 11:11:35 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAcNKKa/agent.53 11:11:35 SSH_AGENT_PID=60 11:11:35 Running ssh-add (command line suppressed) 11:11:35 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-316@tmp/private_key_1592488716898342107.key (/w/workspace/gexfoundry_device-mqtt-go_PR-316@tmp/private_key_1592488716898342107.key) 11:11:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:11:35 + git semver init 11:11:35 # -> Open(): unable to determine branch for HEAD 11:11:35 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-316/.git 11:11:35 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-316 11:11:35 # $SEMVER_REMOTE_NAME = origin 11:11:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:11:35 # $SEMVER_USER_NAME = edgex-jenkins 11:11:35 # $SEMVER_BRANCH = PR-316 11:11:35 # $SEMVER_TEMP = /tmp/semver-291660556 11:11:35 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 11:11:36 # '/tmp/semver-291660556' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-316/.semver' 11:11:36 # -> Force: false 11:11:36 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-316/.semver [Pipeline] } 11:11:36 $ docker exec --env ******** --env ******** e080a64e0303adb2906fd97dc2ec8bd0909a52c1d9ac106dd1f82ff4e5daf39b ssh-agent -k 11:11:36 unset SSH_AUTH_SOCK; 11:11:36 unset SSH_AGENT_PID; 11:11:36 echo Agent pid 60 killed; 11:11:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:11:36 + git semver [Pipeline] } 11:11:36 $ docker stop --time=1 e080a64e0303adb2906fd97dc2ec8bd0909a52c1d9ac106dd1f82ff4e5daf39b 11:11:37 $ docker rm -f e080a64e0303adb2906fd97dc2ec8bd0909a52c1d9ac106dd1f82ff4e5daf39b [Pipeline] // withDockerContainer [Pipeline] sh 11:11:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:11:38 Stashed 1 file(s) [Pipeline] echo 11:11:38 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 11:11:53 Still waiting to schedule task 11:11:53 ‘prd-centos7-builder-2c-1g-28085’ doesn’t have label ‘centos7-docker-4c-2g’ 11:11:53 ‘prd-centos7-docker-4c-2g-28086’ is offline 11:11:53 ‘prd-centos7-docker-4c-2g-28090’ is offline 11:11:53 ‘prd-ubuntu18.04-docker-arm64-4c-16g-28089’ doesn’t have label ‘centos7-docker-4c-2g’ 11:11:53 Still waiting to schedule task 11:11:53 ‘prd-ubuntu18.04-docker-arm64-4c-16g-28089’ is offline 11:14:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-28091 in /w/workspace/gexfoundry_device-mqtt-go_PR-316 [Pipeline] { [Pipeline] ws 11:14:26 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 11:14:28 Selected Git installation does not exist. Using Default 11:14:28 The recommended git tool is: NONE 11:14:34 using credential edgex-jenkins-ssh 11:14:34 Cloning the remote Git repository 11:14:34 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 11:14:34 > git init /w/workspace/device-mqtt-go/3 # timeout=10 11:14:34 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 11:14:34 > git --version # timeout=10 11:14:34 > git --version # 'git version 2.17.1' 11:14:34 using GIT_SSH to set credentials SSH Credentials for GitHub 11:14:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:14:37 Merging remotes/origin/main commit f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 into PR head commit 410b20e28b42ed3254eb3b0ee7c1798ec061532e 11:14:37 Merge succeeded, producing 1007dd31736b88a3ac1ef163f51415b5592fe94f 11:14:37 Checking out Revision 1007dd31736b88a3ac1ef163f51415b5592fe94f (PR-316) 11:14:36 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 11:14:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:14:36 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 11:14:36 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 11:14:36 using GIT_SSH to set credentials SSH Credentials for GitHub 11:14:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/316/head:refs/remotes/origin/PR-316 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:14:37 > git config core.sparsecheckout # timeout=10 11:14:37 > git checkout -f 410b20e28b42ed3254eb3b0ee7c1798ec061532e # timeout=10 11:14:37 > git remote # timeout=10 11:14:37 > git config --get remote.origin.url # timeout=10 11:14:37 using GIT_SSH to set credentials SSH Credentials for GitHub 11:14:37 > git merge f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 # timeout=10 11:14:37 > git rev-parse HEAD^{commit} # timeout=10 11:14:37 > git config core.sparsecheckout # timeout=10 11:14:37 > git checkout -f 1007dd31736b88a3ac1ef163f51415b5592fe94f # timeout=10 11:14:41 Commit message: "Merge commit 'f142b7d4d9dc0d163bb8d716c4eb7ddee57de476' into HEAD" 11:14:41 > git rev-list --no-walk 410b20e28b42ed3254eb3b0ee7c1798ec061532e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:14:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:14:42 % Total % Received % Xferd Average Speed Time Time Time Current 11:14:42 Dload Upload Total Spent Left Speed 11:14:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 11:14:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:14:43 + sudo tee /etc/docker/daemon.new 11:14:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:14:43 { 11:14:43 "registry-mirrors": [ 11:14:43 "https://nexus3.edgexfoundry.org:10001" 11:14:43 ], 11:14:43 "bip": "10.250.0.254/24", 11:14:43 "hosts": [ 11:14:43 "tcp://0.0.0.0:5555", 11:14:43 "unix:///var/run/docker.sock" 11:14:43 ], 11:14:43 "mtu": 1458, 11:14:43 "selinux-enabled": true, 11:14:43 "seccomp-profile": "/etc/docker/seccomp.json" 11:14:43 } [Pipeline] sh 11:14:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:14:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:15:03 provisioning config files... 11:15:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config8454855132929551171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:15:03 ---> docker-login.sh 11:15:03 nexus3.edgexfoundry.org:10001 11:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:04 Configure a credential helper to remove this warning. See 11:15:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:04 11:15:04 Login Succeeded 11:15:04 nexus3.edgexfoundry.org:10002 11:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:04 Configure a credential helper to remove this warning. See 11:15:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:04 11:15:04 Login Succeeded 11:15:04 nexus3.edgexfoundry.org:10003 11:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:05 Configure a credential helper to remove this warning. See 11:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:05 11:15:05 Login Succeeded 11:15:05 nexus3.edgexfoundry.org:10004 11:15:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:06 Configure a credential helper to remove this warning. See 11:15:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:06 11:15:06 Login Succeeded 11:15:06 docker.io 11:15:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:06 Configure a credential helper to remove this warning. See 11:15:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:06 11:15:06 Login Succeeded 11:15:06 ---> docker-login.sh ends [Pipeline] } 11:15:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:15:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:15:07 ========================================================= 11:15:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 11:15:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:15:07 + 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 . 11:15:08 Sending build context to Docker daemon 713.2kB 11:15:08 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 11:15:08 Step 2/11 : FROM ${BASE} AS builder 11:15:08 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:15:08 552d1f2373af: Pulling fs layer 11:15:08 ea3f2d53f512: Pulling fs layer 11:15:08 9e70ebbbe112: Pulling fs layer 11:15:08 7a9cfe048b4a: Pulling fs layer 11:15:08 72dc09318566: Pulling fs layer 11:15:08 f4f7b4309257: Pulling fs layer 11:15:08 0ac9a79272e3: Pulling fs layer 11:15:08 b78e95d17946: Pulling fs layer 11:15:08 72dc09318566: Waiting 11:15:08 f4f7b4309257: Waiting 11:15:08 0ac9a79272e3: Waiting 11:15:08 b78e95d17946: Waiting 11:15:08 7a9cfe048b4a: Waiting 11:15:08 9e70ebbbe112: Download complete 11:15:08 ea3f2d53f512: Download complete 11:15:08 72dc09318566: Verifying Checksum 11:15:08 72dc09318566: Download complete 11:15:08 f4f7b4309257: Verifying Checksum 11:15:08 f4f7b4309257: Download complete 11:15:08 0ac9a79272e3: Verifying Checksum 11:15:08 0ac9a79272e3: Download complete 11:15:08 552d1f2373af: Verifying Checksum 11:15:08 552d1f2373af: Download complete 11:15:10 552d1f2373af: Pull complete 11:15:10 ea3f2d53f512: Pull complete 11:15:10 9e70ebbbe112: Pull complete 11:15:11 7a9cfe048b4a: Verifying Checksum 11:15:11 7a9cfe048b4a: Download complete 11:15:11 b78e95d17946: Download complete 11:15:21 7a9cfe048b4a: Pull complete 11:15:21 72dc09318566: Pull complete 11:15:22 f4f7b4309257: Pull complete 11:15:22 0ac9a79272e3: Pull complete 11:15:29 b78e95d17946: Pull complete 11:15:29 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 11:15:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 11:15:29 ---> 8b459fc5aaf0 11:15:29 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:15:30 ---> Running in 5d437e066c8f 11:15:30 Removing intermediate container 5d437e066c8f 11:15:30 ---> 3c3cf9beec55 11:15:30 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 11:15:31 ---> Running in 4ebcd8e1c370 11:15:31 Removing intermediate container 4ebcd8e1c370 11:15:31 ---> 2de3e97c9009 11:15:31 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:15:31 ---> Running in d81ce78676b3 11:15:33 Removing intermediate container d81ce78676b3 11:15:33 ---> 036992d5e0bf 11:15:33 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:15:33 ---> Running in 3e3b624dafb3 11:15:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:15:35 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:15:36 (1/4) Installing openssh-keygen (8.6_p1-r3) 11:15:36 (2/4) Installing libedit (20210216.3.1-r0) 11:15:36 (3/4) Installing openssh-client-common (8.6_p1-r3) 11:15:36 (4/4) Installing openssh-client-default (8.6_p1-r3) 11:15:36 Executing busybox-1.33.1-r3.trigger 11:15:36 OK: 223 MiB in 56 packages 11:15:38 Removing intermediate container 3e3b624dafb3 11:15:38 ---> 8653269bca29 11:15:38 Step 7/11 : WORKDIR /device-mqtt-go 11:15:38 ---> Running in aff44165beff 11:15:38 Removing intermediate container aff44165beff 11:15:38 ---> 7ae77bf87943 11:15:38 Step 8/11 : COPY . . 11:15:39 ---> 9707b5fb625f 11:15:39 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:15:39 ---> Running in 8308f9b0ea43 11:17:01 Removing intermediate container 8308f9b0ea43 11:17:01 ---> 64b0860718d6 11:17:01 Step 10/11 : ARG MAKE='make build' 11:17:01 ---> Running in be16a9f06413 11:17:01 Removing intermediate container be16a9f06413 11:17:01 ---> 04100fcc58fd 11:17:01 Step 11/11 : RUN $MAKE 11:17:01 ---> Running in 7c5c23612383 11:17:01 noop 11:17:01 Removing intermediate container 7c5c23612383 11:17:01 ---> 4de259e0889f 11:17:01 Successfully built 4de259e0889f 11:17:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:17:02 + docker inspect -f . ci-base-image-arm64 11:17:02 . [Pipeline] withDockerContainer 11:17:02 prd-ubuntu18.04-docker-arm64-4c-16g-28091 does not seem to be running inside a container 11:17:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** ci-base-image-arm64 cat 11:17:04 $ docker top a1612e529f6479de21f4e4afc4c1ed8441a05c0192c5dd7c333e596bb6bb1225 -eo pid,comm [Pipeline] { [Pipeline] sh 11:17:05 + go version 11:17:05 go version go1.16.8 linux/arm64 [Pipeline] } 11:17:05 $ docker stop --time=1 a1612e529f6479de21f4e4afc4c1ed8441a05c0192c5dd7c333e596bb6bb1225 11:17:06 $ docker rm -f a1612e529f6479de21f4e4afc4c1ed8441a05c0192c5dd7c333e596bb6bb1225 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:17:07 + docker inspect -f . ci-base-image-arm64 11:17:07 . [Pipeline] withDockerContainer 11:17:07 prd-ubuntu18.04-docker-arm64-4c-16g-28091 does not seem to be running inside a container 11:17:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** ci-base-image-arm64 cat 11:17:09 $ docker top 0d8f1739069d766fa1cf2ac7b45203cca1fb809be7fbda477a15074b4da93240 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:17:10 + make test 11:17:10 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:17:12 ? github.com/edgexfoundry/device-mqtt-go [no test files] 11:18:09 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 11:18:09 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 22.4% of statements 11:18:09 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 11:18:09 GCO_ENABLED=1 GO111MODULE=on go vet ./... 11:18:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:18:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:18:36 ./bin/test-attribution-txt.sh [Pipeline] } 11:18:36 $ docker stop --time=1 0d8f1739069d766fa1cf2ac7b45203cca1fb809be7fbda477a15074b4da93240 11:18:38 $ docker rm -f 0d8f1739069d766fa1cf2ac7b45203cca1fb809be7fbda477a15074b4da93240 [Pipeline] // withDockerContainer [Pipeline] sh 11:18:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:18:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:18:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:18:41 + ls -al . 11:18:41 total 180 11:18:41 drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 11:18 . 11:18:41 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 11:14 .. 11:18:41 -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 11:14 .dockerignore 11:18:41 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 11:14 .git 11:18:41 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 11:14 .github 11:18:41 -rw-rw-r-- 1 jenkins jenkins 329 Nov 9 11:14 .gitignore 11:18:41 -rw-rw-r-- 1 jenkins jenkins 7287 Nov 9 11:14 Attribution.txt 11:18:41 -rw-rw-r-- 1 jenkins jenkins 7447 Nov 9 11:14 CHANGELOG.md 11:18:41 -rw-rw-r-- 1 jenkins jenkins 1907 Nov 9 11:14 Dockerfile 11:18:41 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 11:14 GOVERNANCE.md 11:18:41 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 11:14 Jenkinsfile 11:18:41 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 11:14 LICENSE 11:18:41 -rw-rw-r-- 1 jenkins jenkins 1030 Nov 9 11:14 Makefile 11:18:41 -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 11:14 OWNERS.md 11:18:41 -rw-rw-r-- 1 jenkins jenkins 2211 Nov 9 11:14 README.md 11:18:41 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 11:11 VERSION 11:18:41 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 11:14 bin 11:18:41 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 11:14 cmd 11:18:41 -rw-r--r-- 1 jenkins jenkins 17284 Nov 9 11:18 coverage.out 11:18:41 -rw-rw-r-- 1 jenkins jenkins 425 Nov 9 11:14 go.mod 11:18:41 -rw-rw-r-- 1 jenkins jenkins 49593 Nov 9 11:14 go.sum 11:18:41 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 11:14 internal 11:18:41 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 11:14 mock 11:18:41 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 11:14 snap 11:18:41 -rw-rw-r-- 1 jenkins jenkins 227 Nov 9 11:14 version.go [Pipeline] isUnix [Pipeline] sh 11:18:42 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1007dd31736b88a3ac1ef163f51415b5592fe94f --label arch=arm64 --label version=0.0.0 . 11:18:42 Sending build context to Docker daemon 731.1kB 11:18:42 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 11:18:42 Step 2/23 : FROM ${BASE} AS builder 11:18:42 ---> 4de259e0889f 11:18:42 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:18:42 ---> Running in 846e1686ee16 11:18:43 Removing intermediate container 846e1686ee16 11:18:43 ---> 23650141b134 11:18:43 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 11:18:43 ---> Running in f02a9df8b48a 11:18:44 Removing intermediate container f02a9df8b48a 11:18:44 ---> fb3556748d5b 11:18:44 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:18:44 ---> Running in 0147267313c2 11:18:46 Removing intermediate container 0147267313c2 11:18:46 ---> e82f9bd06505 11:18:46 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:18:46 ---> Running in 9a15b6b0ff60 11:18:47 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:18:48 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:18:48 OK: 223 MiB in 56 packages 11:18:49 Removing intermediate container 9a15b6b0ff60 11:18:49 ---> a15c883fa8a0 11:18:49 Step 7/23 : WORKDIR /device-mqtt-go 11:18:49 ---> Running in 4be7485fa0bb 11:18:50 Removing intermediate container 4be7485fa0bb 11:18:50 ---> 753816e64245 11:18:50 Step 8/23 : COPY . . 11:18:51 ---> cc33a0c50999 11:18:51 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:18:51 ---> Running in f6c52498ab4e 11:18:53 Removing intermediate container f6c52498ab4e 11:18:53 ---> 6d4ddb309e2e 11:18:53 Step 10/23 : ARG MAKE='make build' 11:18:53 ---> Running in 5ad561cf90a1 11:18:53 Removing intermediate container 5ad561cf90a1 11:18:53 ---> d589e92fa9c7 11:18:53 Step 11/23 : RUN $MAKE 11:18:54 ---> Running in eae0e185e548 11:18:55 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 11:19:05 Running on prd-centos7-docker-4c-2g-28092 in /w/workspace/gexfoundry_device-mqtt-go_PR-316 [Pipeline] { [Pipeline] ws 11:19:05 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 11:19:05 Selected Git installation does not exist. Using Default 11:19:05 The recommended git tool is: NONE 11:19:08 using credential edgex-jenkins-ssh 11:19:08 Cloning the remote Git repository 11:19:08 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 11:19:08 > git init /w/workspace/device-mqtt-go/3 # timeout=10 11:19:08 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 11:19:08 > git --version # timeout=10 11:19:08 > git --version # 'git version 2.24.4' 11:19:08 using GIT_SSH to set credentials SSH Credentials for GitHub 11:19:08 [INFO] Currently running in a labeled security context 11:19:08 [INFO] Currently SELinux is 'enforcing' on the host 11:19:08 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/3@tmp/jenkins-gitclient-ssh8272972484653829305.key 11:19:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:19:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 11:19:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:19:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 11:19:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 11:19:09 using GIT_SSH to set credentials SSH Credentials for GitHub 11:19:09 [INFO] Currently running in a labeled security context 11:19:09 [INFO] Currently SELinux is 'enforcing' on the host 11:19:09 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/3@tmp/jenkins-gitclient-ssh3767231653509182847.key 11:19:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/316/head:refs/remotes/origin/PR-316 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:19:10 Merging remotes/origin/main commit f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 into PR head commit 410b20e28b42ed3254eb3b0ee7c1798ec061532e [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:19:10 Failed in branch amd64 11:19:10 > git config core.sparsecheckout # timeout=10 11:19:10 > git checkout -f 410b20e28b42ed3254eb3b0ee7c1798ec061532e # timeout=10 11:19:34 Removing intermediate container eae0e185e548 11:19:34 ---> 1e43f472a186 11:19:34 Step 12/23 : FROM alpine:3.14 11:19:34 3.14: Pulling from library/alpine 11:19:34 552d1f2373af: Already exists 11:19:34 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 11:19:34 Status: Downloaded newer image for alpine:3.14 11:19:34 ---> bb3de5531c18 11:19:34 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 11:19:34 ---> Running in 825c079b1259 11:19:34 Removing intermediate container 825c079b1259 11:19:34 ---> 02d2c38534d1 11:19:34 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 11:19:34 ---> Running in 13cd243fd423 11:19:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:19:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:19:36 (1/6) Installing dumb-init (1.2.5-r1) 11:19:36 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:19:37 (3/6) Installing libsodium (1.0.18-r0) 11:19:37 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:19:37 (5/6) Installing libzmq (4.3.4-r0) 11:19:37 (6/6) Installing zeromq (4.3.4-r0) 11:19:37 Executing busybox-1.33.1-r3.trigger 11:19:37 OK: 8 MiB in 20 packages 11:19:38 Removing intermediate container 13cd243fd423 11:19:38 ---> 79d5c21af135 11:19:38 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 11:19:39 ---> 40d81584824e 11:19:39 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 11:19:40 ---> dd47720e55b1 11:19:40 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 11:19:40 ---> 8c1be2fefff1 11:19:40 Step 18/23 : EXPOSE 59982 11:19:40 ---> Running in 9ad33f8fe2c1 11:19:40 Removing intermediate container 9ad33f8fe2c1 11:19:40 ---> b5c9d9a2788a 11:19:40 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 11:19:41 ---> Running in 3d540727c4fc 11:19:42 Removing intermediate container 3d540727c4fc 11:19:42 ---> 26e32757ff6d 11:19:42 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:19:42 ---> Running in 15a2cb42ae0f 11:19:42 Removing intermediate container 15a2cb42ae0f 11:19:42 ---> 50c016e43786 11:19:42 Step 21/23 : LABEL arch=arm64 11:19:42 ---> Running in 086abf5216f7 11:19:42 Removing intermediate container 086abf5216f7 11:19:42 ---> eec61a7dfb10 11:19:42 Step 22/23 : LABEL git_sha=1007dd31736b88a3ac1ef163f51415b5592fe94f 11:19:42 ---> Running in b94f41ac440f 11:19:43 Removing intermediate container b94f41ac440f 11:19:43 ---> db31b0facae2 11:19:43 Step 23/23 : LABEL version=0.0.0 11:19:43 ---> Running in caa336fe514a 11:19:43 Removing intermediate container caa336fe514a 11:19:43 ---> 2bb1bb7b1153 11:19:43 [Warning] One or more build-args [ARCH] were not consumed 11:19:43 Successfully built 2bb1bb7b1153 11:19:43 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:19:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:19:44 11:19:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:19:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:19:44 arm64: Pulling from edgex-lftools-log-publisher 11:19:44 448f6bf000e3: Pulling fs layer 11:19:44 f757da607395: Pulling fs layer 11:19:44 05883995daec: Pulling fs layer 11:19:44 8603b9c90790: Pulling fs layer 11:19:44 1560dd03e051: Pulling fs layer 11:19:44 27f5ce0e4adf: Pulling fs layer 11:19:44 c2d8d7efcc4b: Pulling fs layer 11:19:44 1560dd03e051: Waiting 11:19:44 27f5ce0e4adf: Waiting 11:19:44 c2d8d7efcc4b: Waiting 11:19:44 8603b9c90790: Waiting 11:19:44 f757da607395: Verifying Checksum 11:19:44 f757da607395: Download complete 11:19:44 8603b9c90790: Verifying Checksum 11:19:44 8603b9c90790: Download complete 11:19:45 1560dd03e051: Verifying Checksum 11:19:45 1560dd03e051: Download complete 11:19:45 27f5ce0e4adf: Verifying Checksum 11:19:45 27f5ce0e4adf: Download complete 11:19:45 05883995daec: Verifying Checksum 11:19:45 05883995daec: Download complete 11:19:45 448f6bf000e3: Verifying Checksum 11:19:45 448f6bf000e3: Download complete 11:19:48 c2d8d7efcc4b: Verifying Checksum 11:19:48 c2d8d7efcc4b: Download complete 11:19:49 448f6bf000e3: Pull complete 11:19:49 f757da607395: Pull complete 11:19:51 05883995daec: Pull complete 11:19:51 8603b9c90790: Pull complete 11:19:52 1560dd03e051: Pull complete 11:19:52 27f5ce0e4adf: Pull complete 11:20:07 c2d8d7efcc4b: Pull complete 11:20:07 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 11:20:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:20:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:20:07 prd-ubuntu18.04-docker-arm64-4c-16g-28091 does not seem to be running inside a container 11:20:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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:10003/edgex-lftools-log-publisher:arm64 cat 11:20:10 $ docker top 669f0dc0f87a49ae1c6fa4ee5cf88d675aa662d463480a4fa9aa9c550ed5f4f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:20:11 ---> job-cost.sh 11:20:11 lf-activate-venv: SKIPPING 11:20:11 INFO: No Stack... 11:20:12 INFO: Retrieving Pricing Info for: v3-standard-4 11:20:12 INFO: Archiving Costs [Pipeline] sh 11:20:13 + cat /w/workspace/device-mqtt-go/3/archives/cost.csv 11:20:13 + cut -d, -f6 [Pipeline] lock 11:20:13 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-316-3-stack-cost] 11:20:13 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-316-3-stack-cost] did not exist. Created. 11:20:13 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-316-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:20:14 + echo total: 0.10999999940395355 [Pipeline] stash 11:20:14 Stashed 1 file(s) [Pipeline] } 11:20:14 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-316-3-stack-cost] [Pipeline] // lock [Pipeline] } 11:20:14 $ docker stop --time=1 669f0dc0f87a49ae1c6fa4ee5cf88d675aa662d463480a4fa9aa9c550ed5f4f2 11:20:15 $ docker rm -f 669f0dc0f87a49ae1c6fa4ee5cf88d675aa662d463480a4fa9aa9c550ed5f4f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:20:18 + '[' -d /w/workspace/gexfoundry_device-mqtt-go_PR-316/archives ']' [Pipeline] libraryResource [Pipeline] sh 11:20:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:20:19 ---> package-listing.sh 11:20:19 ++ facter osfamily 11:20:19 ++ tr '[:upper:]' '[:lower:]' 11:20:19 + OS_FAMILY=redhat 11:20:19 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-316 11:20:19 + START_PACKAGES=/tmp/packages_start.txt 11:20:19 + END_PACKAGES=/tmp/packages_end.txt 11:20:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:20:19 + PACKAGES=/tmp/packages_start.txt 11:20:19 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-316 ']' 11:20:19 + PACKAGES=/tmp/packages_end.txt 11:20:19 + case "${OS_FAMILY}" in 11:20:19 + rpm -qa 11:20:19 + sort 11:20:20 + '[' -f /tmp/packages_start.txt ']' 11:20:20 + '[' -f /tmp/packages_end.txt ']' 11:20:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:20:20 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-316 ']' 11:20:20 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-316/archives/ 11:20:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-316/archives/ [Pipeline] echo 11:20:20 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-316/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:20:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:20:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:20:21 11:20:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:20:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:20:21 latest: Pulling from edgex-lftools-log-publisher 11:20:21 b4d181a07f80: Pulling fs layer 11:20:21 a1111a8f2ec3: Pulling fs layer 11:20:21 ed53099fbce6: Pulling fs layer 11:20:21 dc539afda2c1: Pulling fs layer 11:20:21 77bc0d833cb6: Pulling fs layer 11:20:21 9065ff56babe: Pulling fs layer 11:20:21 d287ab97295c: Pulling fs layer 11:20:21 dc539afda2c1: Waiting 11:20:21 77bc0d833cb6: Waiting 11:20:21 9065ff56babe: Waiting 11:20:21 d287ab97295c: Waiting 11:20:21 a1111a8f2ec3: Verifying Checksum 11:20:21 a1111a8f2ec3: Download complete 11:20:21 dc539afda2c1: Verifying Checksum 11:20:21 dc539afda2c1: Download complete 11:20:21 ed53099fbce6: Verifying Checksum 11:20:21 ed53099fbce6: Download complete 11:20:21 77bc0d833cb6: Verifying Checksum 11:20:21 77bc0d833cb6: Download complete 11:20:21 9065ff56babe: Verifying Checksum 11:20:21 9065ff56babe: Download complete 11:20:21 b4d181a07f80: Verifying Checksum 11:20:21 b4d181a07f80: Download complete 11:20:22 d287ab97295c: Verifying Checksum 11:20:22 d287ab97295c: Download complete 11:20:23 b4d181a07f80: Pull complete 11:20:23 a1111a8f2ec3: Pull complete 11:20:23 ed53099fbce6: Pull complete 11:20:23 dc539afda2c1: Pull complete 11:20:24 77bc0d833cb6: Pull complete 11:20:24 9065ff56babe: Pull complete 11:20:29 d287ab97295c: Pull complete 11:20:29 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 11:20:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:20:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:20:29 prd-centos7-docker-4c-2g-28088 does not seem to be running inside a container 11:20:29 $ 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-316/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-316 -v /w/workspace/gexfoundry_device-mqtt-go_PR-316:/w/workspace/gexfoundry_device-mqtt-go_PR-316:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-316@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-316@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:20:32 $ docker top 05fc1d4376aaa7586f80b795fc9896938d7e54670ea53d53eed41d07ae115cc3 -eo pid,comm [Pipeline] { [Pipeline] sh 11:20:32 + touch /tmp/pre-build-complete [Pipeline] sh 11:20:32 + mkdir -p /var/log/sysstat [Pipeline] sh 11:20:33 + ls /var/log/sa-host 11:20:33 + sadf -c /var/log/sa-host/sa09 11:20:33 file_magic: OK 11:20:33 HZ: Using current value: 100 11:20:33 file_header: OK 11:20:33 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 11:20:33 Statistics: 11:20:33 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:20:33 File successfully converted to sysstat format version 12.0.3 11:20:33 + sadf -c /var/log/sa-host/sa30 11:20:33 file_magic: OK 11:20:33 HZ: Using current value: 100 11:20:33 file_header: OK 11:20:33 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 11:20:33 Statistics: 11:20:33 Hnuu...uuuununununu...Hnuu...uuuununununu... 11:20:33 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:20:33 provisioning config files... 11:20:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-316@tmp/config8569604618737151698tmp [Pipeline] { [Pipeline] echo 11:20:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:20:33 ---> create-netrc.sh [Pipeline] } 11:20:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:20:33 ---> python-tools-install.sh [Pipeline] echo 11:20:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:20:34 ---> sudo-logs.sh 11:20:34 Archiving 'sudo' log.. 11:20:34 sudo: unable to resolve host prd-centos7-docker-4c-2g-28088.novalocal: Name or service not known 11:20:34 sudo: unable to resolve host prd-centos7-docker-4c-2g-28088.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 11:20:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:20:34 ---> job-cost.sh 11:20:34 lf-activate-venv: SKIPPING 11:20:34 DEBUG: total: 0.10999999940395355 11:20:34 INFO: Retrieving Stack Cost... 11:20:34 INFO: Retrieving Pricing Info for: v3-standard-2 11:20:35 INFO: Archiving Costs [Pipeline] echo 11:20:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:20:35 ---> logs-deploy.sh 11:20:35 lf-activate-venv: SKIPPING 11:20:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-316/3 11:20:35 INFO: archiving workspace using pattern(s): 11:20:36 Archives upload complete. 11:20:36 INFO: archiving logs to Nexus