Started by user Ernesto Ojeda 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 ernestojeda for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 2cec40f9d02aa0b557c330301980d65ce3395245+620914ed09955f471d114b9f6d925da7efa3e056 (275b705a99efd3292f4630644a1f6e9247d97364) 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-ssh14712978606621946406.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh6922007673044957782.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-335/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-335/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8689354866390508483.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh6671692966179136774.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-335/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-335/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3085264654548902438.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.17 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2477 in /w/workspace/gexfoundry_device-mqtt-go_PR-335 [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-335 # 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-335@tmp/jenkins-gitclient-ssh8800054097485781641.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-335@tmp/jenkins-gitclient-ssh4519908448422614537.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/335/head:refs/remotes/origin/PR-335 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 620914ed09955f471d114b9f6d925da7efa3e056 into PR head commit 2cec40f9d02aa0b557c330301980d65ce3395245 Merge succeeded, producing 2cec40f9d02aa0b557c330301980d65ce3395245 Checking out Revision 2cec40f9d02aa0b557c330301980d65ce3395245 (PR-335) > git config core.sparsecheckout # timeout=10 > git checkout -f 2cec40f9d02aa0b557c330301980d65ce3395245 # 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-335@tmp/jenkins-gitclient-ssh4071576598139613529.key > git merge 620914ed09955f471d114b9f6d925da7efa3e056 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2cec40f9d02aa0b557c330301980d65ce3395245 # timeout=10 Commit message: "ci: gomod changes related for Go 1.17" > git rev-list --no-walk 2cec40f9d02aa0b557c330301980d65ce3395245 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-20T18:14:12.611Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-20T18:14:12.672Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-20T18:14:12.695Z] ========================================================= [2022-01-20T18:14:12.696Z] EdgeX Global Pipelines Version Info [2022-01-20T18:14:12.696Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:14:13.872Z] ------------------- [2022-01-20T18:14:13.872Z] stable info: [2022-01-20T18:14:13.872Z] ------------------- [2022-01-20T18:14:13.872Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-20T18:14:13.872Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T18:14:13.872Z] Message: update stable to v1.0.219 [2022-01-20T18:14:14.446Z] ------------------- [2022-01-20T18:14:14.446Z] experimental info: [2022-01-20T18:14:14.446Z] ------------------- [2022-01-20T18:14:14.446Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-20T18:14:14.446Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T18:14:14.446Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-20T18:14:14.581Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-01-20T18:14:14.591Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-01-20T18:14:14.605Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-20T18:14:14.617Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-20T18:14:14.628Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-20T18:14:14.644Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-20T18:14:14.664Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-20T18:14:14.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-20T18:14:14.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-20T18:14:14.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-20T18:14:14.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-20T18:14:14.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-01-20T18:14:14.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-20T18:14:14.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-20T18:14:14.773Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T18:14:14.787Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T18:14:14.801Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T18:14:14.810Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T18:14:14.819Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-20T18:14:14.827Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-20T18:14:14.840Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-20T18:14:14.850Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-20T18:14:14.862Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-20T18:14:14.875Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-20T18:14:14.897Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-20T18:14:14.910Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-20T18:14:14.920Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-335 [Pipeline] echo [2022-01-20T18:14:14.944Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-335 [Pipeline] echo [2022-01-20T18:14:14.960Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-335 [Pipeline] echo [2022-01-20T18:14:14.974Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2cec40f9d02aa0b557c330301980d65ce3395245 [Pipeline] echo [2022-01-20T18:14:14.987Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2cec40f [Pipeline] echo [2022-01-20T18:14:15.004Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:14:15.044Z] provisioning config files... [2022-01-20T18:14:15.060Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp/config4008380593029868672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:14:15.379Z] ---> docker-login.sh [2022-01-20T18:14:15.379Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:14:15.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:14:15.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:14:15.642Z] Configure a credential helper to remove this warning. See [2022-01-20T18:14:15.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:14:15.642Z] [2022-01-20T18:14:15.642Z] Login Succeeded [2022-01-20T18:14:15.642Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:14:15.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:14:15.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:14:15.642Z] Configure a credential helper to remove this warning. See [2022-01-20T18:14:15.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:14:15.642Z] [2022-01-20T18:14:15.642Z] Login Succeeded [2022-01-20T18:14:15.642Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:14:15.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:14:15.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:14:15.904Z] Configure a credential helper to remove this warning. See [2022-01-20T18:14:15.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:14:15.904Z] [2022-01-20T18:14:15.904Z] Login Succeeded [2022-01-20T18:14:15.904Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:14:15.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:14:15.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:14:15.904Z] Configure a credential helper to remove this warning. See [2022-01-20T18:14:15.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:14:15.904Z] [2022-01-20T18:14:15.904Z] Login Succeeded [2022-01-20T18:14:15.904Z] docker.io [2022-01-20T18:14:15.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:14:16.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:14:16.165Z] Configure a credential helper to remove this warning. See [2022-01-20T18:14:16.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:14:16.165Z] [2022-01-20T18:14:16.165Z] Login Succeeded [2022-01-20T18:14:16.165Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:14:16.176Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-20T18:14:16.595Z] + git rev-list -1 --merges 2cec40f9d02aa0b557c330301980d65ce3395245~1..2cec40f9d02aa0b557c330301980d65ce3395245 [Pipeline] echo [2022-01-20T18:14:16.632Z] -----------> git rev-list -1 --merges 2cec40f9d02aa0b557c330301980d65ce3395245~1..2cec40f9d02aa0b557c330301980d65ce3395245 2cec40f9d02aa0b557c330301980d65ce3395245 [false] [Pipeline] sh [2022-01-20T18:14:16.928Z] + git log --format=format:%s -1 2cec40f9d02aa0b557c330301980d65ce3395245 [Pipeline] echo [2022-01-20T18:14:16.948Z] ========================================================= [2022-01-20T18:14:16.948Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-20T18:14:16.948Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:14:17.333Z] + git log --format=format:%s -1 2cec40f9d02aa0b557c330301980d65ce3395245 [Pipeline] echo [2022-01-20T18:14:17.383Z] [semverPrep] GIT_COMMIT: 2cec40f9d02aa0b557c330301980d65ce3395245, Commit Message: ci: gomod changes related for Go 1.17 [Pipeline] echo [2022-01-20T18:14:17.395Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-20T18:14:17.784Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T18:14:17.784Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-20T18:14:17.784Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-20T18:14:17.784Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-20T18:14:17.784Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-20T18:14:17.784Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-20T18:14:17.784Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:14:18.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:14:18.136Z] [2022-01-20T18:14:18.136Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:14:18.452Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:14:18.452Z] latest: Pulling from edgex-devops/git-semver [2022-01-20T18:14:18.452Z] a0d0a0d46f8b: Pulling fs layer [2022-01-20T18:14:18.452Z] 3e5f54012d9b: Pulling fs layer [2022-01-20T18:14:18.452Z] 4c7163046ea9: Pulling fs layer [2022-01-20T18:14:18.452Z] 0c2d73faf560: Pulling fs layer [2022-01-20T18:14:18.452Z] 0c2d73faf560: Waiting [2022-01-20T18:14:18.452Z] 3e5f54012d9b: Verifying Checksum [2022-01-20T18:14:18.452Z] 3e5f54012d9b: Download complete [2022-01-20T18:14:18.452Z] a0d0a0d46f8b: Verifying Checksum [2022-01-20T18:14:18.452Z] a0d0a0d46f8b: Download complete [2022-01-20T18:14:18.715Z] 4c7163046ea9: Verifying Checksum [2022-01-20T18:14:18.715Z] 4c7163046ea9: Download complete [2022-01-20T18:14:18.715Z] 0c2d73faf560: Verifying Checksum [2022-01-20T18:14:18.715Z] 0c2d73faf560: Download complete [2022-01-20T18:14:18.715Z] a0d0a0d46f8b: Pull complete [2022-01-20T18:14:18.715Z] 3e5f54012d9b: Pull complete [2022-01-20T18:14:18.977Z] 4c7163046ea9: Pull complete [2022-01-20T18:14:19.238Z] 0c2d73faf560: Pull complete [2022-01-20T18:14:19.238Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-20T18:14:19.238Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:14:19.239Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-20T18:14:19.303Z] prd-centos7-docker-4c-2g-2477 does not seem to be running inside a container [2022-01-20T18:14:19.342Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-335 -v /w/workspace/gexfoundry_device-mqtt-go_PR-335:/w/workspace/gexfoundry_device-mqtt-go_PR-335:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-335@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T18:14:19.986Z] $ docker top ae2bf26d5cc29273efc87bd106ec03d5b33af2d7011f50f2c5c44187ea28ae80 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T18:14:20.101Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:14:20.101Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:14:20.207Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:14:20.210Z] $ docker exec ae2bf26d5cc29273efc87bd106ec03d5b33af2d7011f50f2c5c44187ea28ae80 ssh-agent [2022-01-20T18:14:20.323Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaKAjCJ/agent.14 [2022-01-20T18:14:20.323Z] SSH_AGENT_PID=21 [2022-01-20T18:14:20.330Z] Running ssh-add (command line suppressed) [2022-01-20T18:14:20.435Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp/private_key_7298184728835161810.key (/w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp/private_key_7298184728835161810.key) [2022-01-20T18:14:20.450Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:14:20.757Z] + git tag --points-at HEAD [Pipeline] } [2022-01-20T18:14:20.773Z] $ docker exec --env ******** --env ******** ae2bf26d5cc29273efc87bd106ec03d5b33af2d7011f50f2c5c44187ea28ae80 ssh-agent -k [2022-01-20T18:14:20.861Z] unset SSH_AUTH_SOCK; [2022-01-20T18:14:20.862Z] unset SSH_AGENT_PID; [2022-01-20T18:14:20.862Z] echo Agent pid 21 killed; [2022-01-20T18:14:20.872Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-20T18:14:20.894Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:14:20.894Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:14:21.003Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:14:21.006Z] $ docker exec ae2bf26d5cc29273efc87bd106ec03d5b33af2d7011f50f2c5c44187ea28ae80 ssh-agent [2022-01-20T18:14:21.109Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPOcOKC/agent.54 [2022-01-20T18:14:21.109Z] SSH_AGENT_PID=60 [2022-01-20T18:14:21.115Z] Running ssh-add (command line suppressed) [2022-01-20T18:14:21.212Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp/private_key_309518766377803232.key (/w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp/private_key_309518766377803232.key) [2022-01-20T18:14:21.224Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:14:21.511Z] + git semver init [2022-01-20T18:14:21.511Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T18:14:21.511Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-335/.git [2022-01-20T18:14:21.511Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-335 [2022-01-20T18:14:21.511Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T18:14:21.511Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T18:14:21.511Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T18:14:21.511Z] # $SEMVER_BRANCH = PR-335 [2022-01-20T18:14:21.511Z] # $SEMVER_TEMP = /tmp/semver-645981789 [2022-01-20T18:14:21.511Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-01-20T18:14:29.652Z] # '/tmp/semver-645981789' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-335/.semver' [2022-01-20T18:14:29.652Z] # -> Force: false [2022-01-20T18:14:29.652Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-335/.semver [Pipeline] } [2022-01-20T18:14:29.662Z] $ docker exec --env ******** --env ******** ae2bf26d5cc29273efc87bd106ec03d5b33af2d7011f50f2c5c44187ea28ae80 ssh-agent -k [2022-01-20T18:14:29.746Z] unset SSH_AUTH_SOCK; [2022-01-20T18:14:29.746Z] unset SSH_AGENT_PID; [2022-01-20T18:14:29.746Z] echo Agent pid 60 killed; [2022-01-20T18:14:29.757Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T18:14:30.076Z] + git semver [Pipeline] } [2022-01-20T18:14:30.091Z] $ docker stop --time=1 ae2bf26d5cc29273efc87bd106ec03d5b33af2d7011f50f2c5c44187ea28ae80 [2022-01-20T18:14:31.344Z] $ docker rm -f ae2bf26d5cc29273efc87bd106ec03d5b33af2d7011f50f2c5c44187ea28ae80 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:14:31.710Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-20T18:14:31.981Z] Stashed 1 file(s) [Pipeline] echo [2022-01-20T18:14:31.984Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:14:32.153Z] provisioning config files... [2022-01-20T18:14:32.166Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp/config3716985408883309336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:14:32.472Z] ---> docker-login.sh [2022-01-20T18:14:32.472Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:14:32.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:14:32.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:14:32.472Z] Configure a credential helper to remove this warning. See [2022-01-20T18:14:32.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:14:32.472Z] [2022-01-20T18:14:32.472Z] Login Succeeded [2022-01-20T18:14:32.472Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:14:32.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:14:32.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:14:32.732Z] Configure a credential helper to remove this warning. See [2022-01-20T18:14:32.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:14:32.732Z] [2022-01-20T18:14:32.732Z] Login Succeeded [2022-01-20T18:14:32.732Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:14:32.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:14:32.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:14:32.732Z] Configure a credential helper to remove this warning. See [2022-01-20T18:14:32.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:14:32.732Z] [2022-01-20T18:14:32.732Z] Login Succeeded [2022-01-20T18:14:32.732Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:14:32.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:14:32.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:14:32.995Z] Configure a credential helper to remove this warning. See [2022-01-20T18:14:32.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:14:32.995Z] [2022-01-20T18:14:32.995Z] Login Succeeded [2022-01-20T18:14:32.995Z] docker.io [2022-01-20T18:14:32.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:14:33.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:14:33.255Z] Configure a credential helper to remove this warning. See [2022-01-20T18:14:33.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:14:33.255Z] [2022-01-20T18:14:33.255Z] Login Succeeded [2022-01-20T18:14:33.255Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:14:33.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T18:14:33.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:14:33.351Z] ========================================================= [2022-01-20T18:14:33.351Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-20T18:14:33.351Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:14:33.668Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-20T18:14:33.668Z] Sending build context to Docker daemon 5.745MB [2022-01-20T18:14:33.668Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:14:33.668Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-20T18:14:33.668Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-20T18:14:33.668Z] 59bf1c3509f3: Pulling fs layer [2022-01-20T18:14:33.668Z] 666ba61612fd: Pulling fs layer [2022-01-20T18:14:33.668Z] 8ed8ca486205: Pulling fs layer [2022-01-20T18:14:33.668Z] 4fe6c5a15a65: Pulling fs layer [2022-01-20T18:14:33.668Z] 22a0e8bec74d: Pulling fs layer [2022-01-20T18:14:33.668Z] f965cba54748: Pulling fs layer [2022-01-20T18:14:33.668Z] 861ffc35075e: Pulling fs layer [2022-01-20T18:14:33.668Z] 4b385c91608e: Pulling fs layer [2022-01-20T18:14:33.668Z] 560528eb2ebb: Pulling fs layer [2022-01-20T18:14:33.668Z] 4fe6c5a15a65: Waiting [2022-01-20T18:14:33.668Z] 22a0e8bec74d: Waiting [2022-01-20T18:14:33.668Z] f965cba54748: Waiting [2022-01-20T18:14:33.668Z] 861ffc35075e: Waiting [2022-01-20T18:14:33.668Z] 4b385c91608e: Waiting [2022-01-20T18:14:33.668Z] 560528eb2ebb: Waiting [2022-01-20T18:14:33.668Z] 8ed8ca486205: Verifying Checksum [2022-01-20T18:14:33.668Z] 8ed8ca486205: Download complete [2022-01-20T18:14:33.931Z] 666ba61612fd: Download complete [2022-01-20T18:14:33.931Z] 22a0e8bec74d: Verifying Checksum [2022-01-20T18:14:33.931Z] 22a0e8bec74d: Download complete [2022-01-20T18:14:33.931Z] f965cba54748: Verifying Checksum [2022-01-20T18:14:33.931Z] f965cba54748: Download complete [2022-01-20T18:14:33.931Z] 59bf1c3509f3: Verifying Checksum [2022-01-20T18:14:33.931Z] 59bf1c3509f3: Download complete [2022-01-20T18:14:33.931Z] 861ffc35075e: Verifying Checksum [2022-01-20T18:14:33.931Z] 861ffc35075e: Download complete [2022-01-20T18:14:33.931Z] 4b385c91608e: Verifying Checksum [2022-01-20T18:14:33.931Z] 4b385c91608e: Download complete [2022-01-20T18:14:34.196Z] 59bf1c3509f3: Pull complete [2022-01-20T18:14:34.457Z] 4fe6c5a15a65: Verifying Checksum [2022-01-20T18:14:34.457Z] 4fe6c5a15a65: Download complete [2022-01-20T18:14:34.457Z] 666ba61612fd: Pull complete [2022-01-20T18:14:34.457Z] 560528eb2ebb: Verifying Checksum [2022-01-20T18:14:34.457Z] 560528eb2ebb: Download complete [2022-01-20T18:14:34.726Z] 8ed8ca486205: Pull complete [2022-01-20T18:14:38.975Z] 4fe6c5a15a65: Pull complete [2022-01-20T18:14:38.975Z] 22a0e8bec74d: Pull complete [2022-01-20T18:14:38.975Z] f965cba54748: Pull complete [2022-01-20T18:14:38.975Z] 861ffc35075e: Pull complete [2022-01-20T18:14:39.244Z] 4b385c91608e: Pull complete [2022-01-20T18:14:41.827Z] 560528eb2ebb: Pull complete [2022-01-20T18:14:41.827Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-20T18:14:41.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-20T18:14:41.827Z] ---> dd4a08f94e63 [2022-01-20T18:14:41.827Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:14:44.381Z] ---> Running in 9fe5056ca69a [2022-01-20T18:14:44.381Z] Removing intermediate container 9fe5056ca69a [2022-01-20T18:14:44.381Z] ---> d5d78ce552bb [2022-01-20T18:14:44.381Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:14:44.381Z] ---> Running in e69a82c984ed [2022-01-20T18:14:44.381Z] Removing intermediate container e69a82c984ed [2022-01-20T18:14:44.381Z] ---> 5c6bf4fcdbc5 [2022-01-20T18:14:44.381Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:14:44.381Z] ---> Running in f5098ceff3b0 [2022-01-20T18:14:44.641Z] Removing intermediate container f5098ceff3b0 [2022-01-20T18:14:44.641Z] ---> 4a3f907645b7 [2022-01-20T18:14:44.641Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:14:44.641Z] ---> Running in 45082ae415b9 [2022-01-20T18:14:44.902Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:14:45.851Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:14:46.112Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-20T18:14:46.112Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-20T18:14:46.373Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-20T18:14:46.373Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-20T18:14:46.638Z] Executing busybox-1.34.1-r3.trigger [2022-01-20T18:14:46.638Z] OK: 224 MiB in 56 packages [2022-01-20T18:14:46.901Z] Removing intermediate container 45082ae415b9 [2022-01-20T18:14:46.901Z] ---> 8455ac961cc3 [2022-01-20T18:14:46.901Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-01-20T18:14:46.901Z] ---> Running in 10753e8c918f [2022-01-20T18:14:46.901Z] Removing intermediate container 10753e8c918f [2022-01-20T18:14:46.901Z] ---> 93f9416a6f99 [2022-01-20T18:14:46.901Z] Step 8/12 : COPY go.mod vendor* ./ [2022-01-20T18:14:47.104Z] Still waiting to schedule task [2022-01-20T18:14:47.104Z] ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-20T18:14:47.104Z] ‘prd-centos7-docker-4c-2g-2262’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-20T18:14:47.104Z] ‘prd-centos7-docker-4c-2g-2263’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-20T18:14:47.104Z] ‘prd-centos7-docker-4c-2g-2479’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-20T18:14:47.105Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2267’ is offline [2022-01-20T18:14:47.105Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2269’ is offline [2022-01-20T18:14:47.105Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2470’ is offline [2022-01-20T18:14:47.105Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2471’ is offline [2022-01-20T18:14:47.105Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2472’ is offline [2022-01-20T18:14:47.106Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2473’ is offline [2022-01-20T18:14:47.106Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2474’ is offline [2022-01-20T18:14:47.106Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2475’ is offline [2022-01-20T18:14:47.106Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2478’ is offline [2022-01-20T18:14:47.163Z] ---> c4c7c1438b3f [2022-01-20T18:14:47.163Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:14:47.163Z] ---> Running in fbcfa5312c56 [2022-01-20T18:15:19.316Z] Removing intermediate container fbcfa5312c56 [2022-01-20T18:15:19.316Z] ---> 592de2300ad9 [2022-01-20T18:15:19.316Z] Step 10/12 : COPY . . [2022-01-20T18:15:19.316Z] ---> b75ed2e5e833 [2022-01-20T18:15:19.316Z] Step 11/12 : ARG MAKE='make build' [2022-01-20T18:15:19.316Z] ---> Running in 4ac4de823e04 [2022-01-20T18:15:19.316Z] Removing intermediate container 4ac4de823e04 [2022-01-20T18:15:19.316Z] ---> 23f3b7eba611 [2022-01-20T18:15:19.316Z] Step 12/12 : RUN $MAKE [2022-01-20T18:15:19.316Z] ---> Running in 3a554dcd1819 [2022-01-20T18:15:19.316Z] noop [2022-01-20T18:15:19.316Z] Removing intermediate container 3a554dcd1819 [2022-01-20T18:15:19.316Z] ---> c06df9724f68 [2022-01-20T18:15:19.316Z] Successfully built c06df9724f68 [2022-01-20T18:15:19.316Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:15:19.630Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T18:15:19.630Z] . [Pipeline] withDockerContainer [2022-01-20T18:15:19.697Z] prd-centos7-docker-4c-2g-2477 does not seem to be running inside a container [2022-01-20T18:15:19.726Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-335 -v /w/workspace/gexfoundry_device-mqtt-go_PR-335:/w/workspace/gexfoundry_device-mqtt-go_PR-335:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-335@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 ******** ci-base-image-x86_64 cat [2022-01-20T18:15:20.090Z] $ docker top a2a798b9bade97c5a74b3a71d94becea15ec3347cca2312ba5ff6d356f978b2b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:15:20.456Z] + go version [2022-01-20T18:15:20.457Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-20T18:15:20.470Z] $ docker stop --time=1 a2a798b9bade97c5a74b3a71d94becea15ec3347cca2312ba5ff6d356f978b2b [2022-01-20T18:15:21.654Z] $ docker rm -f a2a798b9bade97c5a74b3a71d94becea15ec3347cca2312ba5ff6d356f978b2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:15:22.091Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T18:15:22.091Z] . [Pipeline] withDockerContainer [2022-01-20T18:15:22.160Z] prd-centos7-docker-4c-2g-2477 does not seem to be running inside a container [2022-01-20T18:15:22.202Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-335 -v /w/workspace/gexfoundry_device-mqtt-go_PR-335:/w/workspace/gexfoundry_device-mqtt-go_PR-335:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-335@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 ******** ci-base-image-x86_64 cat [2022-01-20T18:15:22.574Z] $ docker top ca9e769123f28b96c38f1027e2cad9845ea207f5ce8712133fbd94e4f1362a10 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T18:15:22.948Z] + make test [2022-01-20T18:15:22.948Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-20T18:15:23.213Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-01-20T18:15:38.200Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-01-20T18:15:38.460Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 22.5% of statements [2022-01-20T18:15:38.460Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-01-20T18:15:38.723Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-20T18:15:44.047Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T18:15:44.047Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T18:15:44.047Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T18:15:44.320Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T18:15:44.331Z] $ docker stop --time=1 ca9e769123f28b96c38f1027e2cad9845ea207f5ce8712133fbd94e4f1362a10 [2022-01-20T18:15:45.984Z] $ docker rm -f ca9e769123f28b96c38f1027e2cad9845ea207f5ce8712133fbd94e4f1362a10 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:15:46.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T18:15:46.421Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-20T18:15:47.000Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T18:15:47.293Z] + ls -al . [2022-01-20T18:15:47.293Z] total 148 [2022-01-20T18:15:47.293Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 18:15 . [2022-01-20T18:15:47.293Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 18:14 .. [2022-01-20T18:15:47.293Z] -rw-rw-r--. 1 jenkins jenkins 7287 Jan 20 18:14 Attribution.txt [2022-01-20T18:15:47.293Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 20 18:14 bin [2022-01-20T18:15:47.293Z] -rw-rw-r--. 1 jenkins jenkins 7447 Jan 20 18:14 CHANGELOG.md [2022-01-20T18:15:47.293Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 18:14 cmd [2022-01-20T18:15:47.293Z] -rw-r--r--. 1 jenkins jenkins 17452 Jan 20 18:15 coverage.out [2022-01-20T18:15:47.293Z] -rw-rw-r--. 1 jenkins jenkins 1930 Jan 20 18:14 Dockerfile [2022-01-20T18:15:47.293Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 20 18:14 .dockerignore [2022-01-20T18:15:47.293Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 20 18:14 .git [2022-01-20T18:15:47.293Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 18:14 .github [2022-01-20T18:15:47.293Z] -rw-rw-r--. 1 jenkins jenkins 329 Jan 20 18:14 .gitignore [2022-01-20T18:15:47.293Z] -rw-rw-r--. 1 jenkins jenkins 2907 Jan 20 18:14 go.mod [2022-01-20T18:15:47.293Z] -rw-rw-r--. 1 jenkins jenkins 49409 Jan 20 18:14 go.sum [2022-01-20T18:15:47.293Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 18:14 GOVERNANCE.md [2022-01-20T18:15:47.293Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 20 18:14 internal [2022-01-20T18:15:47.293Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 18:14 Jenkinsfile [2022-01-20T18:15:47.293Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 18:14 LICENSE [2022-01-20T18:15:47.293Z] -rw-rw-r--. 1 jenkins jenkins 1030 Jan 20 18:14 Makefile [2022-01-20T18:15:47.293Z] drwxrwxr-x. 2 jenkins jenkins 23 Jan 20 18:14 mock [2022-01-20T18:15:47.293Z] -rw-rw-r--. 1 jenkins jenkins 620 Jan 20 18:14 OWNERS.md [2022-01-20T18:15:47.293Z] -rw-rw-r--. 1 jenkins jenkins 2643 Jan 20 18:14 README.md [2022-01-20T18:15:47.293Z] drwx------. 3 jenkins jenkins 71 Jan 20 18:14 .semver [2022-01-20T18:15:47.293Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 20 18:14 snap [2022-01-20T18:15:47.293Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 20 18:14 VERSION [2022-01-20T18:15:47.293Z] -rw-rw-r--. 1 jenkins jenkins 227 Jan 20 18:14 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:15:47.603Z] + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=2cec40f9d02aa0b557c330301980d65ce3395245 --label arch=amd64 --label version=0.0.0 . [2022-01-20T18:15:47.603Z] Sending build context to Docker daemon 5.764MB [2022-01-20T18:15:47.603Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:15:47.604Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-20T18:15:47.604Z] ---> c06df9724f68 [2022-01-20T18:15:47.604Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:15:47.864Z] ---> Running in 2639bd4a9d52 [2022-01-20T18:15:47.864Z] Removing intermediate container 2639bd4a9d52 [2022-01-20T18:15:47.864Z] ---> 55fd374cd3b4 [2022-01-20T18:15:47.864Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:15:47.864Z] ---> Running in 514034db7e21 [2022-01-20T18:15:47.864Z] Removing intermediate container 514034db7e21 [2022-01-20T18:15:47.864Z] ---> 7a70eb15b9ce [2022-01-20T18:15:47.864Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:15:47.864Z] ---> Running in 78cbd890cd6d [2022-01-20T18:15:48.448Z] Removing intermediate container 78cbd890cd6d [2022-01-20T18:15:48.448Z] ---> 356c64df9613 [2022-01-20T18:15:48.448Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:15:48.448Z] ---> Running in 63b16e05d590 [2022-01-20T18:15:48.709Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:15:49.665Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:15:49.924Z] OK: 224 MiB in 56 packages [2022-01-20T18:15:49.924Z] Removing intermediate container 63b16e05d590 [2022-01-20T18:15:49.924Z] ---> 582cb11be9e0 [2022-01-20T18:15:49.924Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-01-20T18:15:50.203Z] ---> Running in d5df6c57d5c4 [2022-01-20T18:15:50.203Z] Removing intermediate container d5df6c57d5c4 [2022-01-20T18:15:50.203Z] ---> 58a8a736fa98 [2022-01-20T18:15:50.203Z] Step 8/24 : COPY go.mod vendor* ./ [2022-01-20T18:15:50.203Z] ---> eb0c83b74105 [2022-01-20T18:15:50.203Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:15:50.203Z] ---> Running in d94fccd66bee [2022-01-20T18:15:50.778Z] Removing intermediate container d94fccd66bee [2022-01-20T18:15:50.778Z] ---> 5c28702ee13a [2022-01-20T18:15:50.778Z] Step 10/24 : COPY . . [2022-01-20T18:15:51.349Z] ---> bb7aec1fd4bf [2022-01-20T18:15:51.349Z] Step 11/24 : ARG MAKE='make build' [2022-01-20T18:15:51.349Z] ---> Running in 0ae650b8066e [2022-01-20T18:15:51.349Z] Removing intermediate container 0ae650b8066e [2022-01-20T18:15:51.349Z] ---> d7b0e0323bcd [2022-01-20T18:15:51.349Z] Step 12/24 : RUN $MAKE [2022-01-20T18:15:51.349Z] ---> Running in 81dd1f5dabb7 [2022-01-20T18:15:51.612Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2022-01-20T18:16:03.947Z] Removing intermediate container 81dd1f5dabb7 [2022-01-20T18:16:03.947Z] ---> 84a8be90ec3a [2022-01-20T18:16:03.947Z] Step 13/24 : FROM alpine:3.14 [2022-01-20T18:16:04.517Z] 3.14: Pulling from library/alpine [2022-01-20T18:16:04.517Z] 97518928ae5f: Pulling fs layer [2022-01-20T18:16:04.782Z] 97518928ae5f: Verifying Checksum [2022-01-20T18:16:04.782Z] 97518928ae5f: Download complete [2022-01-20T18:16:05.045Z] 97518928ae5f: Pull complete [2022-01-20T18:16:05.045Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T18:16:05.045Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T18:16:05.045Z] ---> 0a97eee8041e [2022-01-20T18:16:05.045Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-01-20T18:16:05.045Z] ---> Running in dcd90f1488b8 [2022-01-20T18:16:05.045Z] Removing intermediate container dcd90f1488b8 [2022-01-20T18:16:05.045Z] ---> 786311098ea5 [2022-01-20T18:16:05.045Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-20T18:16:05.045Z] ---> Running in 45a4d3bbfed7 [2022-01-20T18:16:05.311Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:16:05.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:16:05.572Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-20T18:16:05.572Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-20T18:16:05.572Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-20T18:16:05.572Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-20T18:16:05.572Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-20T18:16:05.572Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-20T18:16:05.572Z] Executing busybox-1.33.1-r6.trigger [2022-01-20T18:16:05.572Z] OK: 8 MiB in 20 packages [2022-01-20T18:16:05.833Z] Removing intermediate container 45a4d3bbfed7 [2022-01-20T18:16:05.833Z] ---> 0522c3b2e0d0 [2022-01-20T18:16:05.833Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-01-20T18:16:06.423Z] ---> 5d7a34ce0266 [2022-01-20T18:16:06.424Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-01-20T18:16:06.424Z] ---> fa3891e80a6c [2022-01-20T18:16:06.424Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-01-20T18:16:06.689Z] ---> 8e11ccff9ba1 [2022-01-20T18:16:06.689Z] Step 19/24 : EXPOSE 59982 [2022-01-20T18:16:06.689Z] ---> Running in 6a938b594e08 [2022-01-20T18:16:06.689Z] Removing intermediate container 6a938b594e08 [2022-01-20T18:16:06.689Z] ---> 1a70eec6bc8c [2022-01-20T18:16:06.689Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-01-20T18:16:06.689Z] ---> Running in bbcae46573f6 [2022-01-20T18:16:06.950Z] Removing intermediate container bbcae46573f6 [2022-01-20T18:16:06.950Z] ---> 742662bf57d7 [2022-01-20T18:16:06.950Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-20T18:16:06.950Z] ---> Running in 42266aad8933 [2022-01-20T18:16:06.950Z] Removing intermediate container 42266aad8933 [2022-01-20T18:16:06.950Z] ---> b26c6abc30b1 [2022-01-20T18:16:06.950Z] Step 22/24 : LABEL arch=amd64 [2022-01-20T18:16:06.950Z] ---> Running in d228aa95d4c7 [2022-01-20T18:16:06.950Z] Removing intermediate container d228aa95d4c7 [2022-01-20T18:16:06.950Z] ---> ca2079011aa4 [2022-01-20T18:16:06.950Z] Step 23/24 : LABEL git_sha=2cec40f9d02aa0b557c330301980d65ce3395245 [2022-01-20T18:16:07.218Z] ---> Running in 39f690cbd590 [2022-01-20T18:16:07.218Z] Removing intermediate container 39f690cbd590 [2022-01-20T18:16:07.218Z] ---> 4309374fd26e [2022-01-20T18:16:07.218Z] Step 24/24 : LABEL version=0.0.0 [2022-01-20T18:16:07.218Z] ---> Running in 53f84645c7ed [2022-01-20T18:16:07.218Z] Removing intermediate container 53f84645c7ed [2022-01-20T18:16:07.218Z] ---> 2bb4ff607b84 [2022-01-20T18:16:07.218Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-20T18:16:07.218Z] Successfully built 2bb4ff607b84 [2022-01-20T18:16:07.218Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [2022-01-20T18:16:22.370Z] Still waiting to schedule task [2022-01-20T18:16:22.370Z] All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline [2022-01-20T18:24:02.566Z] Running on prd-ubuntu18.04-docker-8c-8g-2854 in /w/workspace/gexfoundry_device-mqtt-go_PR-335 [Pipeline] { [Pipeline] ws [2022-01-20T18:24:02.580Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2022-01-20T18:24:02.713Z] Selected Git installation does not exist. Using Default [2022-01-20T18:24:02.713Z] The recommended git tool is: NONE [2022-01-20T18:24:04.482Z] using credential edgex-jenkins-ssh [2022-01-20T18:24:04.494Z] Cloning the remote Git repository [2022-01-20T18:24:04.528Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-20T18:24:04.564Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2022-01-20T18:24:04.612Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-20T18:24:04.613Z] > git --version # timeout=10 [2022-01-20T18:24:04.624Z] > git --version # 'git version 2.17.1' [2022-01-20T18:24:04.625Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:24:04.676Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T18:24:05.993Z] Merging remotes/origin/main commit 620914ed09955f471d114b9f6d925da7efa3e056 into PR head commit 2cec40f9d02aa0b557c330301980d65ce3395245 [2022-01-20T18:24:06.088Z] Merge succeeded, producing 2cec40f9d02aa0b557c330301980d65ce3395245 [2022-01-20T18:24:06.089Z] Checking out Revision 2cec40f9d02aa0b557c330301980d65ce3395245 (PR-335) [2022-01-20T18:24:05.424Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-01-20T18:24:05.439Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T18:24:05.449Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-01-20T18:24:05.463Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-20T18:24:05.464Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:24:05.468Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/335/head:refs/remotes/origin/PR-335 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-20T18:24:06.021Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T18:24:06.027Z] > git checkout -f 2cec40f9d02aa0b557c330301980d65ce3395245 # timeout=10 [2022-01-20T18:24:06.059Z] > git remote # timeout=10 [2022-01-20T18:24:06.065Z] > git config --get remote.origin.url # timeout=10 [2022-01-20T18:24:06.069Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:24:06.074Z] > git merge 620914ed09955f471d114b9f6d925da7efa3e056 # timeout=10 [2022-01-20T18:24:06.080Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-20T18:24:06.089Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T18:24:06.098Z] > git checkout -f 2cec40f9d02aa0b557c330301980d65ce3395245 # timeout=10 [2022-01-20T18:24:09.658Z] Commit message: "ci: gomod changes related for Go 1.17" [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:24:10.493Z] + echo snap-build.sh [2022-01-20T18:24:10.493Z] snap-build.sh [2022-01-20T18:24:10.493Z] + SNAP_BASE_DIR=. [2022-01-20T18:24:10.493Z] + '[' '!' -z /w/workspace/device-mqtt-go/2 ']' [2022-01-20T18:24:10.493Z] + SNAP_BASE_DIR=/w/workspace/device-mqtt-go/2 [2022-01-20T18:24:10.493Z] + echo '[snap-build] Building snap in dir [/w/workspace/device-mqtt-go/2]' [2022-01-20T18:24:10.493Z] [snap-build] Building snap in dir [/w/workspace/device-mqtt-go/2] [2022-01-20T18:24:10.493Z] + cd /w/workspace/device-mqtt-go/2 [2022-01-20T18:24:10.493Z] + sudo apt-get remove -qy --purge lxd lxd-client [2022-01-20T18:24:10.493Z] Reading package lists... [2022-01-20T18:24:10.493Z] Building dependency tree... [2022-01-20T18:24:10.493Z] Reading state information... [2022-01-20T18:24:10.493Z] The following packages were automatically installed and are no longer required: [2022-01-20T18:24:10.493Z] dns-root-data dnsmasq-base ebtables grub-pc-bin liblxc-common liblxc1 lxcfs [2022-01-20T18:24:10.493Z] uidmap xdelta3 [2022-01-20T18:24:10.493Z] Use 'sudo apt autoremove' to remove them. [2022-01-20T18:24:10.493Z] The following packages will be REMOVED: [2022-01-20T18:24:10.493Z] lxd* lxd-client* [2022-01-20T18:24:10.493Z] 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. [2022-01-20T18:24:10.767Z] After this operation, 31.7 MB disk space will be freed. [2022-01-20T18:24:11.311Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 190666 files and directories currently installed.) [2022-01-20T18:24:11.311Z] Removing lxd (3.0.3-0ubuntu1~18.04.1) ... [2022-01-20T18:24:12.319Z] Removing lxd dnsmasq configuration [2022-01-20T18:24:12.319Z] Removing lxd-client (3.0.3-0ubuntu1~18.04.1) ... [2022-01-20T18:24:12.319Z] Processing triggers for man-db (2.8.3-2ubuntu0.1) ... [2022-01-20T18:24:13.302Z] Processing triggers for libc-bin (2.27-3ubuntu1.4) ... [2022-01-20T18:24:13.302Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 190491 files and directories currently installed.) [2022-01-20T18:24:13.302Z] Purging configuration files for lxd (3.0.3-0ubuntu1~18.04.1) ... [2022-01-20T18:24:14.704Z] Processing triggers for systemd (237-3ubuntu10.52) ... [2022-01-20T18:24:14.704Z] Processing triggers for ureadahead (0.100.0-21) ... [2022-01-20T18:24:15.283Z] + sudo snap remove --purge lxd [2022-01-20T18:24:15.544Z] snap "lxd" is not installed [2022-01-20T18:24:15.544Z] + sudo groupadd --force --system lxd [2022-01-20T18:24:15.544Z] ++ whoami [2022-01-20T18:24:15.544Z] + sudo /usr/sbin/usermod -G lxd -a jenkins [2022-01-20T18:24:15.544Z] + newgrp - lxd [2022-01-20T18:24:15.544Z] + sudo snap install lxd [2022-01-20T18:25:09.789Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2859 in /w/workspace/gexfoundry_device-mqtt-go_PR-335 [Pipeline] { [Pipeline] ws [2022-01-20T18:25:09.802Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2022-01-20T18:25:10.143Z] Selected Git installation does not exist. Using Default [2022-01-20T18:25:10.143Z] The recommended git tool is: NONE [2022-01-20T18:25:11.838Z] error: cannot perform the following tasks: [2022-01-20T18:25:11.838Z] - Fetch and check assertions for snap "snapd" (14295) (cannot get nonce from store: store server returned status 503) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:25:12.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:25:12.301Z] [2022-01-20T18:25:12.301Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:25:12.611Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:25:12.611Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-20T18:25:12.611Z] b4d181a07f80: Pulling fs layer [2022-01-20T18:25:12.611Z] a1111a8f2ec3: Pulling fs layer [2022-01-20T18:25:12.611Z] ed53099fbce6: Pulling fs layer [2022-01-20T18:25:12.611Z] dc539afda2c1: Pulling fs layer [2022-01-20T18:25:12.611Z] 77bc0d833cb6: Pulling fs layer [2022-01-20T18:25:12.611Z] 9065ff56babe: Pulling fs layer [2022-01-20T18:25:12.611Z] d287ab97295c: Pulling fs layer [2022-01-20T18:25:12.611Z] 77bc0d833cb6: Waiting [2022-01-20T18:25:12.611Z] 9065ff56babe: Waiting [2022-01-20T18:25:12.611Z] d287ab97295c: Waiting [2022-01-20T18:25:12.611Z] dc539afda2c1: Waiting [2022-01-20T18:25:12.611Z] a1111a8f2ec3: Verifying Checksum [2022-01-20T18:25:12.611Z] a1111a8f2ec3: Download complete [2022-01-20T18:25:12.611Z] dc539afda2c1: Verifying Checksum [2022-01-20T18:25:12.611Z] dc539afda2c1: Download complete [2022-01-20T18:25:12.873Z] 77bc0d833cb6: Verifying Checksum [2022-01-20T18:25:12.873Z] 77bc0d833cb6: Download complete [2022-01-20T18:25:12.873Z] ed53099fbce6: Verifying Checksum [2022-01-20T18:25:12.873Z] ed53099fbce6: Download complete [2022-01-20T18:25:12.873Z] 9065ff56babe: Verifying Checksum [2022-01-20T18:25:12.873Z] 9065ff56babe: Download complete [2022-01-20T18:25:12.873Z] b4d181a07f80: Verifying Checksum [2022-01-20T18:25:12.873Z] b4d181a07f80: Download complete [2022-01-20T18:25:13.450Z] d287ab97295c: Verifying Checksum [2022-01-20T18:25:13.450Z] d287ab97295c: Download complete [2022-01-20T18:25:14.409Z] b4d181a07f80: Pull complete [2022-01-20T18:25:14.409Z] a1111a8f2ec3: Pull complete [2022-01-20T18:25:14.992Z] ed53099fbce6: Pull complete [2022-01-20T18:25:14.992Z] dc539afda2c1: Pull complete [2022-01-20T18:25:15.261Z] 77bc0d833cb6: Pull complete [2022-01-20T18:25:15.261Z] 9065ff56babe: Pull complete [2022-01-20T18:25:16.569Z] using credential edgex-jenkins-ssh [2022-01-20T18:25:16.588Z] Cloning the remote Git repository [2022-01-20T18:25:16.657Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-20T18:25:16.811Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2022-01-20T18:25:16.973Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-20T18:25:16.974Z] > git --version # timeout=10 [2022-01-20T18:25:17.006Z] > git --version # 'git version 2.17.1' [2022-01-20T18:25:17.009Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:25:17.118Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T18:25:18.392Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-01-20T18:25:18.415Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T18:25:18.450Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-01-20T18:25:18.494Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-20T18:25:18.497Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:25:18.514Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/335/head:refs/remotes/origin/PR-335 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-20T18:25:19.165Z] Merging remotes/origin/main commit 620914ed09955f471d114b9f6d925da7efa3e056 into PR head commit 2cec40f9d02aa0b557c330301980d65ce3395245 [2022-01-20T18:25:19.471Z] Merge succeeded, producing 2cec40f9d02aa0b557c330301980d65ce3395245 [2022-01-20T18:25:19.471Z] Checking out Revision 2cec40f9d02aa0b557c330301980d65ce3395245 (PR-335) [2022-01-20T18:25:19.189Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T18:25:19.228Z] > git checkout -f 2cec40f9d02aa0b557c330301980d65ce3395245 # timeout=10 [2022-01-20T18:25:19.345Z] > git remote # timeout=10 [2022-01-20T18:25:19.375Z] > git config --get remote.origin.url # timeout=10 [2022-01-20T18:25:19.394Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:25:19.411Z] > git merge 620914ed09955f471d114b9f6d925da7efa3e056 # timeout=10 [2022-01-20T18:25:19.447Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-20T18:25:19.481Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T18:25:19.505Z] > git checkout -f 2cec40f9d02aa0b557c330301980d65ce3395245 # timeout=10 [2022-01-20T18:25:20.588Z] d287ab97295c: Pull complete [2022-01-20T18:25:20.588Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-20T18:25:20.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:25:20.588Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-20T18:25:20.650Z] prd-centos7-docker-4c-2g-2477 does not seem to be running inside a container [2022-01-20T18:25:20.684Z] $ 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/gexfoundry_device-mqtt-go_PR-335 -v /w/workspace/gexfoundry_device-mqtt-go_PR-335:/w/workspace/gexfoundry_device-mqtt-go_PR-335:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-20T18:25:23.070Z] $ docker top 605114c3be253a90d900c2c7f994683a6313939104dfefc109ad9f38364726ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:25:23.446Z] ---> job-cost.sh [2022-01-20T18:25:23.446Z] lf-activate-venv: SKIPPING [2022-01-20T18:25:23.446Z] INFO: No Stack... [2022-01-20T18:25:23.906Z] Commit message: "ci: gomod changes related for Go 1.17" [2022-01-20T18:25:24.106Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T18:25:24.106Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T18:25:24.196Z] [2022-01-20T18:25:24.196Z] GitHub has been notified of this commit’s build result [2022-01-20T18:25:24.196Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:25:24.577Z] + cut -d, -f6 [2022-01-20T18:25:24.577Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-335/archives/cost.csv [Pipeline] lock [2022-01-20T18:25:24.658Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-335-2-stack-cost] [2022-01-20T18:25:24.672Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-335-2-stack-cost] did not exist. Created. [2022-01-20T18:25:24.676Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-335-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T18:25:24.876Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-20T18:25:24.876Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-20T18:25:24.876Z] Dload Upload Total Spent Left Speed [2022-01-20T18:25:24.876Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 199k 0 --:--:-- --:--:-- --:--:-- 202k [2022-01-20T18:25:24.984Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-20T18:25:25.016Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T18:25:25.024Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-335-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T18:25:25.039Z] $ docker stop --time=1 605114c3be253a90d900c2c7f994683a6313939104dfefc109ad9f38364726ee [2022-01-20T18:25:26.177Z] $ docker rm -f 605114c3be253a90d900c2c7f994683a6313939104dfefc109ad9f38364726ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-20T18:25:26.350Z] Failed in branch amd64 [2022-01-20T18:25:26.558Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-20T18:25:26.901Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-20T18:25:26.901Z] + sudo tee /etc/docker/daemon.new [2022-01-20T18:25:26.901Z] { [2022-01-20T18:25:26.901Z] "registry-mirrors": [ [2022-01-20T18:25:26.901Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-20T18:25:26.901Z] ], [2022-01-20T18:25:26.901Z] "bip": "10.250.0.254/24", [2022-01-20T18:25:26.901Z] "hosts": [ [2022-01-20T18:25:26.901Z] "tcp://0.0.0.0:5555", [2022-01-20T18:25:26.901Z] "unix:///var/run/docker.sock" [2022-01-20T18:25:26.901Z] ], [2022-01-20T18:25:26.901Z] "mtu": 1458, [2022-01-20T18:25:26.901Z] "selinux-enabled": true, [2022-01-20T18:25:26.901Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-20T18:25:26.901Z] } [Pipeline] sh [2022-01-20T18:25:27.296Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-20T18:25:27.719Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:25:46.047Z] provisioning config files... [2022-01-20T18:25:46.077Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config3767203480707455338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:25:46.455Z] ---> docker-login.sh [2022-01-20T18:25:46.455Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:25:47.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:47.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:47.336Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:47.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:47.336Z] [2022-01-20T18:25:47.336Z] Login Succeeded [2022-01-20T18:25:47.336Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:25:47.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:47.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:47.936Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:47.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:47.936Z] [2022-01-20T18:25:47.936Z] Login Succeeded [2022-01-20T18:25:47.936Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:25:48.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:48.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:48.551Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:48.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:48.551Z] [2022-01-20T18:25:48.551Z] Login Succeeded [2022-01-20T18:25:48.551Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:25:48.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:49.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:49.155Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:49.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:49.155Z] [2022-01-20T18:25:49.155Z] Login Succeeded [2022-01-20T18:25:49.155Z] docker.io [2022-01-20T18:25:49.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:50.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:50.036Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:50.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:50.036Z] [2022-01-20T18:25:50.036Z] Login Succeeded [2022-01-20T18:25:50.036Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:25:50.059Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T18:25:50.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:25:50.712Z] ========================================================= [2022-01-20T18:25:50.712Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-20T18:25:50.712Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:25:51.092Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-20T18:25:51.729Z] Sending build context to Docker daemon 2.992MB [2022-01-20T18:25:51.729Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:25:51.729Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-20T18:25:51.729Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-20T18:25:51.729Z] 9b3977197b4f: Pulling fs layer [2022-01-20T18:25:51.729Z] 1a89e8eeedd5: Pulling fs layer [2022-01-20T18:25:51.729Z] 94645a83ff95: Pulling fs layer [2022-01-20T18:25:51.729Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-20T18:25:51.729Z] 0c92f367c5e7: Pulling fs layer [2022-01-20T18:25:51.729Z] 4b8299f9d1f4: Pulling fs layer [2022-01-20T18:25:51.729Z] 9a6b49a46696: Pulling fs layer [2022-01-20T18:25:51.729Z] cf05db05a679: Pulling fs layer [2022-01-20T18:25:51.729Z] 3f3a8bcf1eab: Waiting [2022-01-20T18:25:51.729Z] 0c92f367c5e7: Waiting [2022-01-20T18:25:51.729Z] 9a6b49a46696: Waiting [2022-01-20T18:25:51.729Z] 4b8299f9d1f4: Waiting [2022-01-20T18:25:51.729Z] cf05db05a679: Waiting [2022-01-20T18:25:51.729Z] 94645a83ff95: Verifying Checksum [2022-01-20T18:25:51.729Z] 94645a83ff95: Download complete [2022-01-20T18:25:51.729Z] 1a89e8eeedd5: Verifying Checksum [2022-01-20T18:25:51.729Z] 1a89e8eeedd5: Download complete [2022-01-20T18:25:52.019Z] 0c92f367c5e7: Verifying Checksum [2022-01-20T18:25:52.019Z] 0c92f367c5e7: Download complete [2022-01-20T18:25:52.019Z] 9b3977197b4f: Verifying Checksum [2022-01-20T18:25:52.019Z] 9b3977197b4f: Download complete [2022-01-20T18:25:52.019Z] 4b8299f9d1f4: Verifying Checksum [2022-01-20T18:25:52.019Z] 4b8299f9d1f4: Download complete [2022-01-20T18:25:52.019Z] 9a6b49a46696: Verifying Checksum [2022-01-20T18:25:52.020Z] 9a6b49a46696: Download complete [2022-01-20T18:25:52.625Z] 9b3977197b4f: Pull complete [2022-01-20T18:25:53.621Z] 1a89e8eeedd5: Pull complete [2022-01-20T18:25:53.905Z] 94645a83ff95: Pull complete [2022-01-20T18:25:54.181Z] cf05db05a679: Verifying Checksum [2022-01-20T18:25:54.181Z] cf05db05a679: Download complete [2022-01-20T18:25:54.456Z] 3f3a8bcf1eab: Download complete [2022-01-20T18:26:06.887Z] 3f3a8bcf1eab: Pull complete [2022-01-20T18:26:06.887Z] 0c92f367c5e7: Pull complete [2022-01-20T18:26:07.484Z] 4b8299f9d1f4: Pull complete [2022-01-20T18:26:07.758Z] 9a6b49a46696: Pull complete [2022-01-20T18:26:14.505Z] cf05db05a679: Pull complete [2022-01-20T18:26:14.505Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-20T18:26:14.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-20T18:26:14.505Z] ---> 0ccda1f7e2ee [2022-01-20T18:26:14.505Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:26:15.944Z] ---> Running in 03b7a52f7724 [2022-01-20T18:26:16.545Z] Removing intermediate container 03b7a52f7724 [2022-01-20T18:26:16.545Z] ---> 7e745e215196 [2022-01-20T18:26:16.545Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:26:16.545Z] ---> Running in 24f31edf52d1 [2022-01-20T18:26:17.137Z] Removing intermediate container 24f31edf52d1 [2022-01-20T18:26:17.137Z] ---> f24c6d94f8d1 [2022-01-20T18:26:17.137Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:26:17.137Z] ---> Running in 0438bcf19f7c [2022-01-20T18:26:19.112Z] Removing intermediate container 0438bcf19f7c [2022-01-20T18:26:19.112Z] ---> aa40023d4505 [2022-01-20T18:26:19.112Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:26:19.387Z] ---> Running in 7a4e2fc36629 [2022-01-20T18:26:20.376Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:26:21.361Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:26:22.339Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-20T18:26:22.339Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-20T18:26:22.612Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-20T18:26:22.612Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-20T18:26:22.888Z] Executing busybox-1.34.1-r3.trigger [2022-01-20T18:26:22.888Z] OK: 224 MiB in 56 packages [2022-01-20T18:26:23.889Z] Removing intermediate container 7a4e2fc36629 [2022-01-20T18:26:23.889Z] ---> bd3c2332bb15 [2022-01-20T18:26:23.889Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-01-20T18:26:24.166Z] ---> Running in c4e90dda7d22 [2022-01-20T18:26:24.448Z] Removing intermediate container c4e90dda7d22 [2022-01-20T18:26:24.448Z] ---> 186772472fea [2022-01-20T18:26:24.448Z] Step 8/12 : COPY go.mod vendor* ./ [2022-01-20T18:26:25.440Z] ---> 2752de9bde6f [2022-01-20T18:26:25.440Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:26:25.440Z] ---> Running in a511e07bcab9 [2022-01-20T18:27:47.304Z] Removing intermediate container a511e07bcab9 [2022-01-20T18:27:47.304Z] ---> ff37df49fefd [2022-01-20T18:27:47.304Z] Step 10/12 : COPY . . [2022-01-20T18:27:47.304Z] ---> ddf92403f4a1 [2022-01-20T18:27:47.304Z] Step 11/12 : ARG MAKE='make build' [2022-01-20T18:27:47.304Z] ---> Running in 0ca4a15be0bd [2022-01-20T18:27:47.304Z] Removing intermediate container 0ca4a15be0bd [2022-01-20T18:27:47.304Z] ---> bb7b0b5324a8 [2022-01-20T18:27:47.304Z] Step 12/12 : RUN $MAKE [2022-01-20T18:27:47.304Z] ---> Running in 301a8e6df95e [2022-01-20T18:27:47.304Z] noop [2022-01-20T18:27:47.304Z] Removing intermediate container 301a8e6df95e [2022-01-20T18:27:47.304Z] ---> df8b78a7ead5 [2022-01-20T18:27:47.304Z] Successfully built df8b78a7ead5 [2022-01-20T18:27:47.304Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:27:47.660Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T18:27:47.660Z] . [Pipeline] withDockerContainer [2022-01-20T18:27:47.909Z] prd-ubuntu18.04-docker-arm64-4c-16g-2859 does not seem to be running inside a container [2022-01-20T18:27:47.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** ci-base-image-arm64 cat [2022-01-20T18:27:49.440Z] $ docker top a0dd185befb515b5ea50073e2b9665b72ccda903355dfb11411901cbf3560731 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:27:50.386Z] + go version [2022-01-20T18:27:50.386Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-20T18:27:50.409Z] $ docker stop --time=1 a0dd185befb515b5ea50073e2b9665b72ccda903355dfb11411901cbf3560731 [2022-01-20T18:27:52.133Z] $ docker rm -f a0dd185befb515b5ea50073e2b9665b72ccda903355dfb11411901cbf3560731 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:27:52.797Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T18:27:52.797Z] . [Pipeline] withDockerContainer [2022-01-20T18:27:53.055Z] prd-ubuntu18.04-docker-arm64-4c-16g-2859 does not seem to be running inside a container [2022-01-20T18:27:53.150Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** ci-base-image-arm64 cat [2022-01-20T18:27:54.714Z] $ docker top 08fa525134f77a375db4efb80e16919e10ec3273656a476ed2f2e1aa89b98cf0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T18:27:55.687Z] + make test [2022-01-20T18:27:55.687Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-20T18:27:57.141Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-01-20T18:28:53.774Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-01-20T18:28:57.173Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 22.5% of statements [2022-01-20T18:28:57.173Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-01-20T18:28:57.173Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-20T18:29:15.489Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T18:29:15.489Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T18:29:15.489Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T18:29:18.125Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T18:29:18.132Z] $ docker stop --time=1 08fa525134f77a375db4efb80e16919e10ec3273656a476ed2f2e1aa89b98cf0 [2022-01-20T18:29:19.969Z] $ docker rm -f 08fa525134f77a375db4efb80e16919e10ec3273656a476ed2f2e1aa89b98cf0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:29:20.858Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T18:29:20.887Z] Warning: overwriting stash ‘coverage-report’ [2022-01-20T18:29:21.426Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:29:21.834Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T18:29:22.171Z] + ls -al . [2022-01-20T18:29:22.171Z] total 180 [2022-01-20T18:29:22.171Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 20 18:29 . [2022-01-20T18:29:22.171Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 18:25 .. [2022-01-20T18:29:22.171Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 20 18:25 .dockerignore [2022-01-20T18:29:22.171Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:25 .git [2022-01-20T18:29:22.171Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:25 .github [2022-01-20T18:29:22.171Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 20 18:25 .gitignore [2022-01-20T18:29:22.171Z] -rw-rw-r-- 1 jenkins jenkins 7287 Jan 20 18:25 Attribution.txt [2022-01-20T18:29:22.171Z] -rw-rw-r-- 1 jenkins jenkins 7447 Jan 20 18:25 CHANGELOG.md [2022-01-20T18:29:22.171Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jan 20 18:25 Dockerfile [2022-01-20T18:29:22.171Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 18:25 GOVERNANCE.md [2022-01-20T18:29:22.171Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 18:25 Jenkinsfile [2022-01-20T18:29:22.171Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 18:25 LICENSE [2022-01-20T18:29:22.171Z] -rw-rw-r-- 1 jenkins jenkins 1030 Jan 20 18:25 Makefile [2022-01-20T18:29:22.171Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 20 18:25 OWNERS.md [2022-01-20T18:29:22.171Z] -rw-rw-r-- 1 jenkins jenkins 2643 Jan 20 18:25 README.md [2022-01-20T18:29:22.171Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 20 18:14 VERSION [2022-01-20T18:29:22.171Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:25 bin [2022-01-20T18:29:22.171Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:25 cmd [2022-01-20T18:29:22.171Z] -rw-r--r-- 1 jenkins jenkins 17452 Jan 20 18:28 coverage.out [2022-01-20T18:29:22.171Z] -rw-rw-r-- 1 jenkins jenkins 2907 Jan 20 18:25 go.mod [2022-01-20T18:29:22.171Z] -rw-rw-r-- 1 jenkins jenkins 49409 Jan 20 18:25 go.sum [2022-01-20T18:29:22.171Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:25 internal [2022-01-20T18:29:22.171Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:25 mock [2022-01-20T18:29:22.171Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 18:25 snap [2022-01-20T18:29:22.171Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 20 18:25 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:29:22.516Z] + 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=2cec40f9d02aa0b557c330301980d65ce3395245 --label arch=arm64 --label version=0.0.0 . [2022-01-20T18:29:22.792Z] Sending build context to Docker daemon 3.011MB [2022-01-20T18:29:23.065Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:29:23.065Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-20T18:29:23.065Z] ---> df8b78a7ead5 [2022-01-20T18:29:23.065Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:29:23.065Z] ---> Running in 16a14807f9e5 [2022-01-20T18:29:23.673Z] Removing intermediate container 16a14807f9e5 [2022-01-20T18:29:23.673Z] ---> ef297c802139 [2022-01-20T18:29:23.673Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:29:23.673Z] ---> Running in 7ef7a0e730ad [2022-01-20T18:29:23.948Z] Removing intermediate container 7ef7a0e730ad [2022-01-20T18:29:23.948Z] ---> 5b3f282afe7b [2022-01-20T18:29:23.948Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:29:24.239Z] ---> Running in c8bc42bbc6d4 [2022-01-20T18:29:26.220Z] Removing intermediate container c8bc42bbc6d4 [2022-01-20T18:29:26.220Z] ---> 978e806a0392 [2022-01-20T18:29:26.220Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:29:26.220Z] ---> Running in 917518db0d3b [2022-01-20T18:29:27.205Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:29:28.180Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:29:29.164Z] OK: 224 MiB in 56 packages [2022-01-20T18:29:30.145Z] Removing intermediate container 917518db0d3b [2022-01-20T18:29:30.145Z] ---> 7fc52921c9b0 [2022-01-20T18:29:30.145Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-01-20T18:29:30.421Z] ---> Running in baf4a22d7ed8 [2022-01-20T18:29:30.696Z] Removing intermediate container baf4a22d7ed8 [2022-01-20T18:29:30.696Z] ---> 3199ed26066d [2022-01-20T18:29:30.696Z] Step 8/24 : COPY go.mod vendor* ./ [2022-01-20T18:29:31.311Z] ---> e09bedced22c [2022-01-20T18:29:31.311Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:29:31.587Z] ---> Running in 537ffbef5b72 [2022-01-20T18:29:33.574Z] Removing intermediate container 537ffbef5b72 [2022-01-20T18:29:33.574Z] ---> 9db73aaf5b5c [2022-01-20T18:29:33.574Z] Step 10/24 : COPY . . [2022-01-20T18:29:34.555Z] ---> 54c66efb8ba3 [2022-01-20T18:29:34.555Z] Step 11/24 : ARG MAKE='make build' [2022-01-20T18:29:34.827Z] ---> Running in 7f4881d70384 [2022-01-20T18:29:35.102Z] Removing intermediate container 7f4881d70384 [2022-01-20T18:29:35.102Z] ---> de7ff0bfbffa [2022-01-20T18:29:35.102Z] Step 12/24 : RUN $MAKE [2022-01-20T18:29:35.102Z] ---> Running in 48c54650b299 [2022-01-20T18:29:36.538Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2022-01-20T18:30:23.539Z] Removing intermediate container 48c54650b299 [2022-01-20T18:30:23.539Z] ---> 584eb3cc8b25 [2022-01-20T18:30:23.539Z] Step 13/24 : FROM alpine:3.14 [2022-01-20T18:30:23.539Z] 3.14: Pulling from library/alpine [2022-01-20T18:30:23.540Z] be307f383ecc: Pulling fs layer [2022-01-20T18:30:23.540Z] be307f383ecc: Verifying Checksum [2022-01-20T18:30:23.540Z] be307f383ecc: Download complete [2022-01-20T18:30:23.540Z] be307f383ecc: Pull complete [2022-01-20T18:30:23.540Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T18:30:23.540Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T18:30:23.540Z] ---> 5b8b7b635229 [2022-01-20T18:30:23.540Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-01-20T18:30:23.540Z] ---> Running in 9562f6516a7a [2022-01-20T18:30:23.540Z] Removing intermediate container 9562f6516a7a [2022-01-20T18:30:23.540Z] ---> d24146eaf450 [2022-01-20T18:30:23.540Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-20T18:30:23.540Z] ---> Running in 934fe6e5d37b [2022-01-20T18:30:24.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:30:24.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:30:25.509Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-20T18:30:25.509Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-20T18:30:25.509Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-20T18:30:25.509Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-20T18:30:25.509Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-20T18:30:25.509Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-20T18:30:25.509Z] Executing busybox-1.33.1-r6.trigger [2022-01-20T18:30:25.509Z] OK: 8 MiB in 20 packages [2022-01-20T18:30:26.489Z] Removing intermediate container 934fe6e5d37b [2022-01-20T18:30:26.489Z] ---> 117d1dc79f48 [2022-01-20T18:30:26.489Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-01-20T18:30:27.466Z] ---> ecc51056d0ea [2022-01-20T18:30:27.466Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-01-20T18:30:28.062Z] ---> 825d340213be [2022-01-20T18:30:28.062Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-01-20T18:30:29.038Z] ---> 35b922633d29 [2022-01-20T18:30:29.038Z] Step 19/24 : EXPOSE 59982 [2022-01-20T18:30:29.038Z] ---> Running in 30e3bfa4078e [2022-01-20T18:30:29.316Z] Removing intermediate container 30e3bfa4078e [2022-01-20T18:30:29.316Z] ---> bfed4942dfb6 [2022-01-20T18:30:29.316Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-01-20T18:30:29.316Z] ---> Running in 891738ddf274 [2022-01-20T18:30:29.596Z] Removing intermediate container 891738ddf274 [2022-01-20T18:30:29.596Z] ---> 563a03df8134 [2022-01-20T18:30:29.596Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-20T18:30:29.870Z] ---> Running in ef52e27dbd7c [2022-01-20T18:30:30.144Z] Removing intermediate container ef52e27dbd7c [2022-01-20T18:30:30.144Z] ---> d7d3685c1adb [2022-01-20T18:30:30.144Z] Step 22/24 : LABEL arch=arm64 [2022-01-20T18:30:30.419Z] ---> Running in 3cc51b4793d7 [2022-01-20T18:30:30.693Z] Removing intermediate container 3cc51b4793d7 [2022-01-20T18:30:30.693Z] ---> 8e5f19d04e0d [2022-01-20T18:30:30.693Z] Step 23/24 : LABEL git_sha=2cec40f9d02aa0b557c330301980d65ce3395245 [2022-01-20T18:30:30.693Z] ---> Running in 7abbfe646d61 [2022-01-20T18:30:31.290Z] Removing intermediate container 7abbfe646d61 [2022-01-20T18:30:31.290Z] ---> 304bf359f9d1 [2022-01-20T18:30:31.290Z] Step 24/24 : LABEL version=0.0.0 [2022-01-20T18:30:31.290Z] ---> Running in 9448ecc10234 [2022-01-20T18:30:31.564Z] Removing intermediate container 9448ecc10234 [2022-01-20T18:30:31.564Z] ---> 553dcf67b95c [2022-01-20T18:30:31.564Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-20T18:30:31.837Z] Successfully built 553dcf67b95c [2022-01-20T18:30:31.837Z] 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 [2022-01-20T18:30:32.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:30:32.268Z] [2022-01-20T18:30:32.268Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:32.609Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:30:32.886Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-20T18:30:32.886Z] 448f6bf000e3: Pulling fs layer [2022-01-20T18:30:32.886Z] f757da607395: Pulling fs layer [2022-01-20T18:30:32.886Z] 05883995daec: Pulling fs layer [2022-01-20T18:30:32.886Z] 8603b9c90790: Pulling fs layer [2022-01-20T18:30:32.886Z] 1560dd03e051: Pulling fs layer [2022-01-20T18:30:32.886Z] 27f5ce0e4adf: Pulling fs layer [2022-01-20T18:30:32.886Z] c2d8d7efcc4b: Pulling fs layer [2022-01-20T18:30:32.886Z] 1560dd03e051: Waiting [2022-01-20T18:30:32.886Z] 8603b9c90790: Waiting [2022-01-20T18:30:32.886Z] c2d8d7efcc4b: Waiting [2022-01-20T18:30:32.886Z] 27f5ce0e4adf: Waiting [2022-01-20T18:30:32.886Z] f757da607395: Download complete [2022-01-20T18:30:32.886Z] 8603b9c90790: Verifying Checksum [2022-01-20T18:30:32.886Z] 8603b9c90790: Download complete [2022-01-20T18:30:32.886Z] 1560dd03e051: Verifying Checksum [2022-01-20T18:30:32.886Z] 1560dd03e051: Download complete [2022-01-20T18:30:33.160Z] 27f5ce0e4adf: Verifying Checksum [2022-01-20T18:30:33.161Z] 27f5ce0e4adf: Download complete [2022-01-20T18:30:33.161Z] 05883995daec: Verifying Checksum [2022-01-20T18:30:33.161Z] 05883995daec: Download complete [2022-01-20T18:30:33.437Z] 448f6bf000e3: Verifying Checksum [2022-01-20T18:30:33.437Z] 448f6bf000e3: Download complete [2022-01-20T18:30:36.069Z] c2d8d7efcc4b: Verifying Checksum [2022-01-20T18:30:36.069Z] c2d8d7efcc4b: Download complete [2022-01-20T18:30:37.505Z] 448f6bf000e3: Pull complete [2022-01-20T18:30:37.780Z] f757da607395: Pull complete [2022-01-20T18:30:39.766Z] 05883995daec: Pull complete [2022-01-20T18:30:39.766Z] 8603b9c90790: Pull complete [2022-01-20T18:30:40.752Z] 1560dd03e051: Pull complete [2022-01-20T18:30:41.028Z] 27f5ce0e4adf: Pull complete [2022-01-20T18:30:59.369Z] c2d8d7efcc4b: Pull complete [2022-01-20T18:30:59.369Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-20T18:30:59.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:30:59.369Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-20T18:30:59.616Z] prd-ubuntu18.04-docker-arm64-4c-16g-2859 does not seem to be running inside a container [2022-01-20T18:30:59.696Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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:arm64 cat [2022-01-20T18:31:02.834Z] $ docker top bde34f4ae4f56bfa778a581d2c23f6f64e4ad604dec3af38a16f2077e702260b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:31:03.802Z] ---> job-cost.sh [2022-01-20T18:31:03.802Z] lf-activate-venv: SKIPPING [2022-01-20T18:31:03.802Z] INFO: No Stack... [2022-01-20T18:31:04.076Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-20T18:31:04.358Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T18:31:05.030Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2022-01-20T18:31:05.030Z] + cut -d, -f6 [Pipeline] lock [2022-01-20T18:31:05.101Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-335-2-stack-cost] [2022-01-20T18:31:05.110Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-335-2-stack-cost] did not exist. Created. [2022-01-20T18:31:05.110Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-335-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T18:31:05.793Z] /w/workspace/device-mqtt-go/2@tmp/durable-5d857b29/script.sh: 1: /w/workspace/device-mqtt-go/2@tmp/durable-5d857b29/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-20T18:31:06.470Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-20T18:31:06.489Z] Warning: overwriting stash ‘stack-cost’ [2022-01-20T18:31:06.542Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T18:31:06.549Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-335-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T18:31:06.565Z] $ docker stop --time=1 bde34f4ae4f56bfa778a581d2c23f6f64e4ad604dec3af38a16f2077e702260b [2022-01-20T18:31:08.078Z] $ docker rm -f bde34f4ae4f56bfa778a581d2c23f6f64e4ad604dec3af38a16f2077e702260b [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 [2022-01-20T18:31:09.133Z] + '[' -d /w/workspace/gexfoundry_device-mqtt-go_PR-335/archives ']' [2022-01-20T18:31:09.133Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-335/archives [2022-01-20T18:31:09.133Z] total 8 [2022-01-20T18:31:09.133Z] drwxr-xr-x. 3 root root 34 Jan 20 18:25 . [2022-01-20T18:31:09.133Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 20 18:25 .. [2022-01-20T18:31:09.133Z] drwxr-xr-x. 2 root root 6 Jan 20 18:25 cost [2022-01-20T18:31:09.133Z] -rw-r--r--. 1 root root 85 Jan 20 18:25 cost.csv [2022-01-20T18:31:09.133Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-335/archives [2022-01-20T18:31:09.133Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-335/archives [2022-01-20T18:31:09.133Z] total 8 [2022-01-20T18:31:09.133Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 18:25 . [2022-01-20T18:31:09.133Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 20 18:25 .. [2022-01-20T18:31:09.133Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 18:25 cost [2022-01-20T18:31:09.133Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 20 18:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:31:09.435Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:31:10.007Z] ---> package-listing.sh [2022-01-20T18:31:10.007Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-20T18:31:10.007Z] ++ facter osfamily [2022-01-20T18:31:10.268Z] + OS_FAMILY=redhat [2022-01-20T18:31:10.268Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-335 [2022-01-20T18:31:10.268Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-20T18:31:10.268Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-20T18:31:10.268Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-20T18:31:10.268Z] + PACKAGES=/tmp/packages_start.txt [2022-01-20T18:31:10.268Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-335 ']' [2022-01-20T18:31:10.268Z] + PACKAGES=/tmp/packages_end.txt [2022-01-20T18:31:10.268Z] + case "${OS_FAMILY}" in [2022-01-20T18:31:10.268Z] + sort [2022-01-20T18:31:10.268Z] + rpm -qa [2022-01-20T18:31:10.837Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-20T18:31:10.837Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-20T18:31:10.837Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-20T18:31:10.837Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-335 ']' [2022-01-20T18:31:10.837Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-335/archives/ [2022-01-20T18:31:10.837Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-335/archives/ [Pipeline] echo [2022-01-20T18:31:10.848Z] 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-335/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-20T18:31:11.133Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:31:11.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:31:11.706Z] . [Pipeline] withDockerContainer [2022-01-20T18:31:11.783Z] prd-centos7-docker-4c-2g-2477 does not seem to be running inside a container [2022-01-20T18:31:11.815Z] $ 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-335/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-335 -v /w/workspace/gexfoundry_device-mqtt-go_PR-335:/w/workspace/gexfoundry_device-mqtt-go_PR-335:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-335@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:latest cat [2022-01-20T18:31:12.059Z] $ docker top 11ca90ac4b68d598aa4a1e313003a3aea8454952b378a2ecb9c253a31b8b28c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:31:12.443Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-20T18:31:12.738Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-20T18:31:13.029Z] + ls /var/log/sa-host [2022-01-20T18:31:13.029Z] + sadf -c /var/log/sa-host/sa17 [2022-01-20T18:31:13.029Z] file_magic: OK [2022-01-20T18:31:13.029Z] HZ: Using current value: 100 [2022-01-20T18:31:13.029Z] file_header: OK [2022-01-20T18:31:13.029Z] 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 [2022-01-20T18:31:13.029Z] Statistics: [2022-01-20T18:31:13.029Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T18:31:13.029Z] File successfully converted to sysstat format version 12.0.3 [2022-01-20T18:31:13.029Z] + sadf -c /var/log/sa-host/sa20 [2022-01-20T18:31:13.029Z] file_magic: OK [2022-01-20T18:31:13.029Z] HZ: Using current value: 100 [2022-01-20T18:31:13.029Z] file_header: OK [2022-01-20T18:31:13.029Z] 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 [2022-01-20T18:31:13.029Z] Statistics: [2022-01-20T18:31:13.029Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T18:31:13.029Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:31:13.119Z] provisioning config files... [2022-01-20T18:31:13.130Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp/config657705164799481454tmp [Pipeline] { [Pipeline] echo [2022-01-20T18:31:13.145Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:31:13.433Z] ---> create-netrc.sh [Pipeline] } [2022-01-20T18:31:13.442Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:31:13.777Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-20T18:31:13.787Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:31:14.073Z] ---> sudo-logs.sh [2022-01-20T18:31:14.073Z] Archiving 'sudo' log.. [2022-01-20T18:31:14.073Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2477.novalocal: Name or service not known [2022-01-20T18:31:14.073Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2477.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-20T18:31:14.109Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:31:14.402Z] ---> job-cost.sh [2022-01-20T18:31:14.402Z] lf-activate-venv: SKIPPING [2022-01-20T18:31:14.402Z] DEBUG: total: 0.05999999865889549 [2022-01-20T18:31:14.402Z] INFO: Retrieving Stack Cost... [2022-01-20T18:31:14.664Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T18:31:14.925Z] INFO: Archiving Costs [Pipeline] echo [2022-01-20T18:31:14.940Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:31:15.227Z] ---> logs-deploy.sh [2022-01-20T18:31:15.227Z] lf-activate-venv: SKIPPING [2022-01-20T18:31:15.227Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-335/2 [2022-01-20T18:31:15.227Z] INFO: archiving workspace using pattern(s): [2022-01-20T18:31:15.805Z] Archives upload complete. [2022-01-20T18:31:16.066Z] INFO: archiving logs to Nexus