Pull request #335 opened 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-ssh17825358869836064618.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-ssh4909313831632174820.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-335/workspace@libs/edgex-global-pipelines # timeout=10 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-ssh1683614884209914241.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh7207601206891315989.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh15115744710449271639.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-335/workspace@libs/lf-pipelines # timeout=10 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-ssh4114504319121629744.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 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 ‘prd-centos7-docker-4c-2g-2255’ Running on prd-centos7-docker-4c-2g-2257 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-ssh7887051188112800628.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 620914ed09955f471d114b9f6d925da7efa3e056 into PR head commit 2cec40f9d02aa0b557c330301980d65ce3395245 Merge succeeded, producing 2cec40f9d02aa0b557c330301980d65ce3395245 Checking out Revision 2cec40f9d02aa0b557c330301980d65ce3395245 (PR-335) > 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-ssh2268310963766265813.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 > 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-ssh9132038261119494362.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" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-20T18:01:54.776Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-20T18:01:54.949Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-20T18:01:55.044Z] ========================================================= [2022-01-20T18:01:55.044Z] EdgeX Global Pipelines Version Info [2022-01-20T18:01:55.044Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:01:56.236Z] ------------------- [2022-01-20T18:01:56.236Z] stable info: [2022-01-20T18:01:56.236Z] ------------------- [2022-01-20T18:01:56.236Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-20T18:01:56.236Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T18:01:56.236Z] Message: update stable to v1.0.219 [2022-01-20T18:01:56.814Z] ------------------- [2022-01-20T18:01:56.814Z] experimental info: [2022-01-20T18:01:56.814Z] ------------------- [2022-01-20T18:01:56.814Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-20T18:01:56.814Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T18:01:56.814Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-20T18:01:57.073Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-01-20T18:01:57.117Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-01-20T18:01:57.162Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-20T18:01:57.206Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-20T18:01:57.250Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-20T18:01:57.291Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-20T18:01:57.337Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-20T18:01:57.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-20T18:01:57.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-20T18:01:57.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-20T18:01:57.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-20T18:01:57.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-01-20T18:01:57.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-20T18:01:57.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-20T18:01:57.681Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T18:01:57.728Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T18:01:57.770Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T18:01:57.808Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T18:01:57.848Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-20T18:01:57.885Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-20T18:01:57.929Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-20T18:01:57.971Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-20T18:01:58.009Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-20T18:01:58.045Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-20T18:01:58.081Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-20T18:01:58.128Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-20T18:01:58.169Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-335 [Pipeline] echo [2022-01-20T18:01:58.204Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-335 [Pipeline] echo [2022-01-20T18:01:58.240Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-335 [Pipeline] echo [2022-01-20T18:01:58.286Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2cec40f9d02aa0b557c330301980d65ce3395245 [Pipeline] echo [2022-01-20T18:01:58.325Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2cec40f [Pipeline] echo [2022-01-20T18:01:58.364Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:01:58.481Z] provisioning config files... [2022-01-20T18:01:58.497Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp/config3451795222245793643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:01:58.845Z] ---> docker-login.sh [2022-01-20T18:01:58.845Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:01:59.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:01:59.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:01:59.106Z] Configure a credential helper to remove this warning. See [2022-01-20T18:01:59.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:01:59.106Z] [2022-01-20T18:01:59.106Z] Login Succeeded [2022-01-20T18:01:59.106Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:01:59.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:01:59.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:01:59.370Z] Configure a credential helper to remove this warning. See [2022-01-20T18:01:59.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:01:59.370Z] [2022-01-20T18:01:59.370Z] Login Succeeded [2022-01-20T18:01:59.370Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:01:59.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:01:59.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:01:59.370Z] Configure a credential helper to remove this warning. See [2022-01-20T18:01:59.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:01:59.370Z] [2022-01-20T18:01:59.370Z] Login Succeeded [2022-01-20T18:01:59.370Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:01:59.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:01:59.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:01:59.631Z] Configure a credential helper to remove this warning. See [2022-01-20T18:01:59.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:01:59.631Z] [2022-01-20T18:01:59.631Z] Login Succeeded [2022-01-20T18:01:59.631Z] docker.io [2022-01-20T18:01:59.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:01:59.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:01:59.892Z] Configure a credential helper to remove this warning. See [2022-01-20T18:01:59.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:01:59.892Z] [2022-01-20T18:01:59.892Z] Login Succeeded [2022-01-20T18:01:59.892Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:01:59.920Z] 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:02:00.572Z] + git rev-list -1 --merges 2cec40f9d02aa0b557c330301980d65ce3395245~1..2cec40f9d02aa0b557c330301980d65ce3395245 [Pipeline] echo [2022-01-20T18:02:00.618Z] -----------> git rev-list -1 --merges 2cec40f9d02aa0b557c330301980d65ce3395245~1..2cec40f9d02aa0b557c330301980d65ce3395245 2cec40f9d02aa0b557c330301980d65ce3395245 [false] [Pipeline] sh [2022-01-20T18:02:00.940Z] + git log --format=format:%s -1 2cec40f9d02aa0b557c330301980d65ce3395245 [Pipeline] echo [2022-01-20T18:02:00.972Z] ========================================================= [2022-01-20T18:02:00.972Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-20T18:02:00.972Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:02:01.414Z] + git log --format=format:%s -1 2cec40f9d02aa0b557c330301980d65ce3395245 [Pipeline] echo [2022-01-20T18:02:01.448Z] [semverPrep] GIT_COMMIT: 2cec40f9d02aa0b557c330301980d65ce3395245, Commit Message: ci: gomod changes related for Go 1.17 [Pipeline] echo [2022-01-20T18:02:01.479Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-20T18:02:01.890Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T18:02:01.890Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-20T18:02:01.890Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-20T18:02:01.890Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-20T18:02:01.890Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-20T18:02:01.890Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-20T18:02:01.890Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:02:02.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:02:02.284Z] [2022-01-20T18:02:02.284Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:02:02.643Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:02:02.644Z] latest: Pulling from edgex-devops/git-semver [2022-01-20T18:02:02.644Z] a0d0a0d46f8b: Pulling fs layer [2022-01-20T18:02:02.644Z] 3e5f54012d9b: Pulling fs layer [2022-01-20T18:02:02.644Z] 4c7163046ea9: Pulling fs layer [2022-01-20T18:02:02.644Z] 0c2d73faf560: Pulling fs layer [2022-01-20T18:02:02.644Z] 0c2d73faf560: Waiting [2022-01-20T18:02:02.644Z] 3e5f54012d9b: Verifying Checksum [2022-01-20T18:02:02.644Z] 3e5f54012d9b: Download complete [2022-01-20T18:02:02.644Z] a0d0a0d46f8b: Verifying Checksum [2022-01-20T18:02:02.644Z] a0d0a0d46f8b: Download complete [2022-01-20T18:02:02.644Z] 4c7163046ea9: Verifying Checksum [2022-01-20T18:02:02.644Z] 4c7163046ea9: Download complete [2022-01-20T18:02:02.644Z] 0c2d73faf560: Verifying Checksum [2022-01-20T18:02:02.644Z] 0c2d73faf560: Download complete [2022-01-20T18:02:02.921Z] a0d0a0d46f8b: Pull complete [2022-01-20T18:02:02.921Z] 3e5f54012d9b: Pull complete [2022-01-20T18:02:03.186Z] 4c7163046ea9: Pull complete [2022-01-20T18:02:03.449Z] 0c2d73faf560: Pull complete [2022-01-20T18:02:03.449Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-20T18:02:03.449Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:02:03.449Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-20T18:02:03.548Z] prd-centos7-docker-4c-2g-2257 does not seem to be running inside a container [2022-01-20T18:02:03.586Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T18:02:04.294Z] $ docker top d20cb62e8b391f4b63b642179fd6bc222445ed98d1256b8216304f58a9748c34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T18:02:04.494Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:02:04.494Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:02:04.604Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:02:04.606Z] $ docker exec d20cb62e8b391f4b63b642179fd6bc222445ed98d1256b8216304f58a9748c34 ssh-agent [2022-01-20T18:02:04.711Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdACabe/agent.14 [2022-01-20T18:02:04.711Z] SSH_AGENT_PID=20 [2022-01-20T18:02:04.719Z] Running ssh-add (command line suppressed) [2022-01-20T18:02:04.804Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp/private_key_4574776755957210679.key (/w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp/private_key_4574776755957210679.key) [2022-01-20T18:02:04.818Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:02:05.160Z] + git tag --points-at HEAD [Pipeline] } [2022-01-20T18:02:05.190Z] $ docker exec --env ******** --env ******** d20cb62e8b391f4b63b642179fd6bc222445ed98d1256b8216304f58a9748c34 ssh-agent -k [2022-01-20T18:02:05.273Z] unset SSH_AUTH_SOCK; [2022-01-20T18:02:05.273Z] unset SSH_AGENT_PID; [2022-01-20T18:02:05.273Z] echo Agent pid 20 killed; [2022-01-20T18:02:05.283Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-20T18:02:05.369Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:02:05.369Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:02:05.468Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:02:05.470Z] $ docker exec d20cb62e8b391f4b63b642179fd6bc222445ed98d1256b8216304f58a9748c34 ssh-agent [2022-01-20T18:02:05.558Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbkCikM/agent.53 [2022-01-20T18:02:05.558Z] SSH_AGENT_PID=60 [2022-01-20T18:02:05.564Z] Running ssh-add (command line suppressed) [2022-01-20T18:02:05.655Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp/private_key_5425713144391329076.key (/w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp/private_key_5425713144391329076.key) [2022-01-20T18:02:05.677Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:02:06.021Z] + git semver init [2022-01-20T18:02:06.021Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T18:02:06.021Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-335/.git [2022-01-20T18:02:06.021Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-335 [2022-01-20T18:02:06.021Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T18:02:06.021Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T18:02:06.021Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T18:02:06.021Z] # $SEMVER_BRANCH = PR-335 [2022-01-20T18:02:06.021Z] # $SEMVER_TEMP = /tmp/semver-948915143 [2022-01-20T18:02:06.021Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-01-20T18:02:06.967Z] # '/tmp/semver-948915143' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-335/.semver' [2022-01-20T18:02:06.967Z] # -> Force: false [2022-01-20T18:02:06.967Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-335/.semver [Pipeline] } [2022-01-20T18:02:06.994Z] $ docker exec --env ******** --env ******** d20cb62e8b391f4b63b642179fd6bc222445ed98d1256b8216304f58a9748c34 ssh-agent -k [2022-01-20T18:02:07.091Z] unset SSH_AUTH_SOCK; [2022-01-20T18:02:07.091Z] unset SSH_AGENT_PID; [2022-01-20T18:02:07.091Z] echo Agent pid 60 killed; [2022-01-20T18:02:07.102Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T18:02:07.526Z] + git semver [Pipeline] } [2022-01-20T18:02:07.557Z] $ docker stop --time=1 d20cb62e8b391f4b63b642179fd6bc222445ed98d1256b8216304f58a9748c34 [2022-01-20T18:02:08.803Z] $ docker rm -f d20cb62e8b391f4b63b642179fd6bc222445ed98d1256b8216304f58a9748c34 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:02:09.212Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-20T18:02:09.519Z] Stashed 1 file(s) [Pipeline] echo [2022-01-20T18:02:09.537Z] [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:02:10.166Z] provisioning config files... [2022-01-20T18:02:10.176Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp/config3735176386894548976tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:02:10.534Z] ---> docker-login.sh [2022-01-20T18:02:10.534Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:02:10.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:02:10.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:02:10.534Z] Configure a credential helper to remove this warning. See [2022-01-20T18:02:10.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:02:10.534Z] [2022-01-20T18:02:10.534Z] Login Succeeded [2022-01-20T18:02:10.534Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:02:10.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:02:10.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:02:10.534Z] Configure a credential helper to remove this warning. See [2022-01-20T18:02:10.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:02:10.534Z] [2022-01-20T18:02:10.534Z] Login Succeeded [2022-01-20T18:02:10.795Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:02:10.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:02:10.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:02:10.795Z] Configure a credential helper to remove this warning. See [2022-01-20T18:02:10.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:02:10.795Z] [2022-01-20T18:02:10.795Z] Login Succeeded [2022-01-20T18:02:10.795Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:02:10.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:02:10.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:02:10.795Z] Configure a credential helper to remove this warning. See [2022-01-20T18:02:10.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:02:10.795Z] [2022-01-20T18:02:10.795Z] Login Succeeded [2022-01-20T18:02:10.795Z] docker.io [2022-01-20T18:02:11.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:02:11.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:02:11.317Z] Configure a credential helper to remove this warning. See [2022-01-20T18:02:11.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:02:11.317Z] [2022-01-20T18:02:11.317Z] Login Succeeded [2022-01-20T18:02:11.317Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:02:11.342Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T18:02:11.538Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:02:11.570Z] ========================================================= [2022-01-20T18:02:11.571Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-20T18:02:11.571Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:02:11.977Z] + 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:02:11.977Z] Sending build context to Docker daemon 5.746MB [2022-01-20T18:02:11.977Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:02:11.977Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-20T18:02:11.977Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-20T18:02:11.977Z] 59bf1c3509f3: Pulling fs layer [2022-01-20T18:02:11.977Z] 666ba61612fd: Pulling fs layer [2022-01-20T18:02:11.977Z] 8ed8ca486205: Pulling fs layer [2022-01-20T18:02:11.977Z] 4fe6c5a15a65: Pulling fs layer [2022-01-20T18:02:11.977Z] 22a0e8bec74d: Pulling fs layer [2022-01-20T18:02:11.977Z] f965cba54748: Pulling fs layer [2022-01-20T18:02:11.977Z] 861ffc35075e: Pulling fs layer [2022-01-20T18:02:11.977Z] 4b385c91608e: Pulling fs layer [2022-01-20T18:02:11.977Z] 560528eb2ebb: Pulling fs layer [2022-01-20T18:02:11.977Z] 4fe6c5a15a65: Waiting [2022-01-20T18:02:11.977Z] 22a0e8bec74d: Waiting [2022-01-20T18:02:11.977Z] f965cba54748: Waiting [2022-01-20T18:02:11.977Z] 861ffc35075e: Waiting [2022-01-20T18:02:11.977Z] 4b385c91608e: Waiting [2022-01-20T18:02:11.977Z] 560528eb2ebb: Waiting [2022-01-20T18:02:11.977Z] 8ed8ca486205: Verifying Checksum [2022-01-20T18:02:11.977Z] 8ed8ca486205: Download complete [2022-01-20T18:02:11.977Z] 666ba61612fd: Verifying Checksum [2022-01-20T18:02:11.977Z] 666ba61612fd: Download complete [2022-01-20T18:02:11.977Z] 22a0e8bec74d: Verifying Checksum [2022-01-20T18:02:11.977Z] 22a0e8bec74d: Download complete [2022-01-20T18:02:12.242Z] f965cba54748: Verifying Checksum [2022-01-20T18:02:12.243Z] f965cba54748: Download complete [2022-01-20T18:02:12.243Z] 59bf1c3509f3: Verifying Checksum [2022-01-20T18:02:12.243Z] 59bf1c3509f3: Download complete [2022-01-20T18:02:12.243Z] 861ffc35075e: Verifying Checksum [2022-01-20T18:02:12.243Z] 861ffc35075e: Download complete [2022-01-20T18:02:12.243Z] 4b385c91608e: Verifying Checksum [2022-01-20T18:02:12.243Z] 4b385c91608e: Download complete [2022-01-20T18:02:12.512Z] 59bf1c3509f3: Pull complete [2022-01-20T18:02:12.780Z] 4fe6c5a15a65: Verifying Checksum [2022-01-20T18:02:12.780Z] 4fe6c5a15a65: Download complete [2022-01-20T18:02:12.780Z] 666ba61612fd: Pull complete [2022-01-20T18:02:12.780Z] 560528eb2ebb: Verifying Checksum [2022-01-20T18:02:12.780Z] 560528eb2ebb: Download complete [2022-01-20T18:02:12.780Z] 8ed8ca486205: Pull complete [2022-01-20T18:02:17.007Z] 4fe6c5a15a65: Pull complete [2022-01-20T18:02:17.007Z] 22a0e8bec74d: Pull complete [2022-01-20T18:02:17.007Z] f965cba54748: Pull complete [2022-01-20T18:02:17.007Z] 861ffc35075e: Pull complete [2022-01-20T18:02:17.272Z] 4b385c91608e: Pull complete [2022-01-20T18:02:19.848Z] 560528eb2ebb: Pull complete [2022-01-20T18:02:19.848Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-20T18:02:19.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-20T18:02:19.848Z] ---> dd4a08f94e63 [2022-01-20T18:02:19.848Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:02:22.403Z] ---> Running in 89991965bbe2 [2022-01-20T18:02:22.403Z] Removing intermediate container 89991965bbe2 [2022-01-20T18:02:22.403Z] ---> 049a46555652 [2022-01-20T18:02:22.403Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:02:22.403Z] ---> Running in 5a558bd26ab1 [2022-01-20T18:02:22.403Z] Removing intermediate container 5a558bd26ab1 [2022-01-20T18:02:22.403Z] ---> 50ef76942081 [2022-01-20T18:02:22.403Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:02:22.403Z] ---> Running in 80dc4bb61e73 [2022-01-20T18:02:22.980Z] Removing intermediate container 80dc4bb61e73 [2022-01-20T18:02:22.980Z] ---> 9c720a2b6855 [2022-01-20T18:02:22.980Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:02:22.980Z] ---> Running in 14326be7552c [2022-01-20T18:02:23.243Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:02:24.187Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:02:24.446Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-20T18:02:24.446Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-20T18:02:24.446Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-20T18:02:24.710Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-20T18:02:24.710Z] Executing busybox-1.34.1-r3.trigger [2022-01-20T18:02:24.710Z] OK: 224 MiB in 56 packages [2022-01-20T18:02:24.946Z] Still waiting to schedule task [2022-01-20T18:02:24.946Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2256’ [2022-01-20T18:02:25.279Z] Removing intermediate container 14326be7552c [2022-01-20T18:02:25.279Z] ---> d023863abe95 [2022-01-20T18:02:25.279Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-01-20T18:02:25.279Z] ---> Running in 05ee1aa87aef [2022-01-20T18:02:25.540Z] Removing intermediate container 05ee1aa87aef [2022-01-20T18:02:25.540Z] ---> a64bc8cb4275 [2022-01-20T18:02:25.540Z] Step 8/12 : COPY go.mod vendor* ./ [2022-01-20T18:02:25.540Z] ---> 776e3c63f94e [2022-01-20T18:02:25.540Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:02:25.807Z] ---> Running in 0fe4d13de150 [2022-01-20T18:02:58.009Z] Removing intermediate container 0fe4d13de150 [2022-01-20T18:02:58.009Z] ---> c4a95b8df15b [2022-01-20T18:02:58.009Z] Step 10/12 : COPY . . [2022-01-20T18:02:58.009Z] ---> 7467e73ad1b1 [2022-01-20T18:02:58.009Z] Step 11/12 : ARG MAKE='make build' [2022-01-20T18:02:58.009Z] ---> Running in 45b18ae8e1ed [2022-01-20T18:02:58.009Z] Removing intermediate container 45b18ae8e1ed [2022-01-20T18:02:58.009Z] ---> 682fdc23490d [2022-01-20T18:02:58.009Z] Step 12/12 : RUN $MAKE [2022-01-20T18:02:58.009Z] ---> Running in e578b67b6a9f [2022-01-20T18:02:58.009Z] noop [2022-01-20T18:02:58.009Z] Removing intermediate container e578b67b6a9f [2022-01-20T18:02:58.009Z] ---> 06a4441f89a2 [2022-01-20T18:02:58.009Z] Successfully built 06a4441f89a2 [2022-01-20T18:02:58.009Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:02:58.348Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T18:02:58.348Z] . [Pipeline] withDockerContainer [2022-01-20T18:02:58.433Z] prd-centos7-docker-4c-2g-2257 does not seem to be running inside a container [2022-01-20T18:02:58.463Z] $ 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 ******** ci-base-image-x86_64 cat [2022-01-20T18:02:58.820Z] $ docker top dace60cb781f47f5e766fd077acaad8710c2bc1f24893272efd2797dc1a2148f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:02:59.240Z] + go version [2022-01-20T18:02:59.240Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-20T18:02:59.269Z] $ docker stop --time=1 dace60cb781f47f5e766fd077acaad8710c2bc1f24893272efd2797dc1a2148f [2022-01-20T18:03:00.436Z] $ docker rm -f dace60cb781f47f5e766fd077acaad8710c2bc1f24893272efd2797dc1a2148f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:03:01.113Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T18:03:01.113Z] . [Pipeline] withDockerContainer [2022-01-20T18:03:01.210Z] prd-centos7-docker-4c-2g-2257 does not seem to be running inside a container [2022-01-20T18:03:01.249Z] $ 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 ******** ci-base-image-x86_64 cat [2022-01-20T18:03:01.652Z] $ docker top 151d58191b001781bf89e9573aa50636596e66bd3aa8b890892d878edf70eb36 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T18:03:02.110Z] + make test [2022-01-20T18:03:02.110Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-20T18:03:02.376Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-01-20T18:03:20.615Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-01-20T18:03:20.616Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 22.5% of statements [2022-01-20T18:03:20.616Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-01-20T18:03:20.616Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-20T18:03:24.846Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T18:03:24.846Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T18:03:24.846Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T18:03:25.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T18:03:25.165Z] $ docker stop --time=1 151d58191b001781bf89e9573aa50636596e66bd3aa8b890892d878edf70eb36 [2022-01-20T18:03:26.778Z] $ docker rm -f 151d58191b001781bf89e9573aa50636596e66bd3aa8b890892d878edf70eb36 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:03:27.243Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T18:03:27.313Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-20T18:03:28.104Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T18:03:28.422Z] + ls -al . [2022-01-20T18:03:28.422Z] total 148 [2022-01-20T18:03:28.422Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 18:03 . [2022-01-20T18:03:28.422Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 18:01 .. [2022-01-20T18:03:28.422Z] -rw-rw-r--. 1 jenkins jenkins 7287 Jan 20 18:01 Attribution.txt [2022-01-20T18:03:28.422Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 20 18:01 bin [2022-01-20T18:03:28.422Z] -rw-rw-r--. 1 jenkins jenkins 7447 Jan 20 18:01 CHANGELOG.md [2022-01-20T18:03:28.422Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 18:01 cmd [2022-01-20T18:03:28.422Z] -rw-r--r--. 1 jenkins jenkins 17452 Jan 20 18:03 coverage.out [2022-01-20T18:03:28.422Z] -rw-rw-r--. 1 jenkins jenkins 1930 Jan 20 18:01 Dockerfile [2022-01-20T18:03:28.422Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 20 18:01 .dockerignore [2022-01-20T18:03:28.422Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 20 18:01 .git [2022-01-20T18:03:28.422Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 18:01 .github [2022-01-20T18:03:28.422Z] -rw-rw-r--. 1 jenkins jenkins 329 Jan 20 18:01 .gitignore [2022-01-20T18:03:28.422Z] -rw-rw-r--. 1 jenkins jenkins 2907 Jan 20 18:01 go.mod [2022-01-20T18:03:28.422Z] -rw-rw-r--. 1 jenkins jenkins 49409 Jan 20 18:01 go.sum [2022-01-20T18:03:28.422Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 18:01 GOVERNANCE.md [2022-01-20T18:03:28.422Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 20 18:01 internal [2022-01-20T18:03:28.422Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 18:01 Jenkinsfile [2022-01-20T18:03:28.422Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 18:01 LICENSE [2022-01-20T18:03:28.422Z] -rw-rw-r--. 1 jenkins jenkins 1030 Jan 20 18:01 Makefile [2022-01-20T18:03:28.422Z] drwxrwxr-x. 2 jenkins jenkins 23 Jan 20 18:01 mock [2022-01-20T18:03:28.422Z] -rw-rw-r--. 1 jenkins jenkins 620 Jan 20 18:01 OWNERS.md [2022-01-20T18:03:28.422Z] -rw-rw-r--. 1 jenkins jenkins 2643 Jan 20 18:01 README.md [2022-01-20T18:03:28.422Z] drwx------. 3 jenkins jenkins 71 Jan 20 18:02 .semver [2022-01-20T18:03:28.422Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 20 18:01 snap [2022-01-20T18:03:28.422Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 20 18:02 VERSION [2022-01-20T18:03:28.422Z] -rw-rw-r--. 1 jenkins jenkins 227 Jan 20 18:01 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:03:28.767Z] + 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:03:28.767Z] Sending build context to Docker daemon 5.764MB [2022-01-20T18:03:28.767Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:03:28.767Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-20T18:03:28.767Z] ---> 06a4441f89a2 [2022-01-20T18:03:28.767Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:03:29.029Z] ---> Running in 26477c6b1e2e [2022-01-20T18:03:29.029Z] Removing intermediate container 26477c6b1e2e [2022-01-20T18:03:29.029Z] ---> 05ac6e21c416 [2022-01-20T18:03:29.029Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:03:29.029Z] ---> Running in 43d011a792bc [2022-01-20T18:03:29.297Z] Removing intermediate container 43d011a792bc [2022-01-20T18:03:29.297Z] ---> d562d7cbd4cf [2022-01-20T18:03:29.297Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:03:29.297Z] ---> Running in d6e7a87ea83d [2022-01-20T18:03:29.876Z] Removing intermediate container d6e7a87ea83d [2022-01-20T18:03:29.876Z] ---> 2abcdd2f1bb2 [2022-01-20T18:03:29.876Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:03:29.876Z] ---> Running in 734e096f5c52 [2022-01-20T18:03:30.136Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:03:31.082Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:03:31.347Z] OK: 224 MiB in 56 packages [2022-01-20T18:03:31.608Z] Removing intermediate container 734e096f5c52 [2022-01-20T18:03:31.608Z] ---> 9e263b8b1922 [2022-01-20T18:03:31.608Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-01-20T18:03:31.608Z] ---> Running in fcb66bc982ca [2022-01-20T18:03:31.608Z] Removing intermediate container fcb66bc982ca [2022-01-20T18:03:31.608Z] ---> 5804ba62bb9f [2022-01-20T18:03:31.608Z] Step 8/24 : COPY go.mod vendor* ./ [2022-01-20T18:03:31.869Z] ---> b3f6c7d68bd0 [2022-01-20T18:03:31.869Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:03:31.869Z] ---> Running in 53ef3b457ae6 [2022-01-20T18:03:32.827Z] Removing intermediate container 53ef3b457ae6 [2022-01-20T18:03:32.827Z] ---> 8e67dcd98350 [2022-01-20T18:03:32.827Z] Step 10/24 : COPY . . [2022-01-20T18:03:33.091Z] ---> cb97b03f5955 [2022-01-20T18:03:33.091Z] Step 11/24 : ARG MAKE='make build' [2022-01-20T18:03:33.091Z] ---> Running in b65a222e812a [2022-01-20T18:03:33.091Z] Removing intermediate container b65a222e812a [2022-01-20T18:03:33.091Z] ---> 57068ddd8de7 [2022-01-20T18:03:33.091Z] Step 12/24 : RUN $MAKE [2022-01-20T18:03:33.091Z] ---> Running in 0c33cfe18877 [2022-01-20T18:03:33.670Z] 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:03:48.693Z] Removing intermediate container 0c33cfe18877 [2022-01-20T18:03:48.693Z] ---> 5c718cebea95 [2022-01-20T18:03:48.693Z] Step 13/24 : FROM alpine:3.14 [2022-01-20T18:03:48.693Z] 3.14: Pulling from library/alpine [2022-01-20T18:03:48.693Z] 97518928ae5f: Pulling fs layer [2022-01-20T18:03:48.693Z] 97518928ae5f: Verifying Checksum [2022-01-20T18:03:48.693Z] 97518928ae5f: Download complete [2022-01-20T18:03:48.693Z] 97518928ae5f: Pull complete [2022-01-20T18:03:48.693Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T18:03:48.693Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T18:03:48.693Z] ---> 0a97eee8041e [2022-01-20T18:03:48.693Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-01-20T18:03:48.693Z] ---> Running in 9815b0d99da3 [2022-01-20T18:03:48.693Z] Removing intermediate container 9815b0d99da3 [2022-01-20T18:03:48.693Z] ---> 3c211595b83e [2022-01-20T18:03:48.693Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-20T18:03:48.693Z] ---> Running in d9a9592a68f3 [2022-01-20T18:03:48.693Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:03:48.693Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:03:48.693Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-20T18:03:48.693Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-20T18:03:48.693Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-20T18:03:48.693Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-20T18:03:48.693Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-20T18:03:48.693Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-20T18:03:48.693Z] Executing busybox-1.33.1-r6.trigger [2022-01-20T18:03:48.693Z] OK: 8 MiB in 20 packages [2022-01-20T18:03:48.953Z] Removing intermediate container d9a9592a68f3 [2022-01-20T18:03:48.953Z] ---> ee52e4748886 [2022-01-20T18:03:48.953Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-01-20T18:03:49.217Z] ---> f75506c6f113 [2022-01-20T18:03:49.217Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-01-20T18:03:49.217Z] ---> d54b7eb4fc59 [2022-01-20T18:03:49.217Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-01-20T18:03:49.476Z] ---> edbe9db6907a [2022-01-20T18:03:49.476Z] Step 19/24 : EXPOSE 59982 [2022-01-20T18:03:49.476Z] ---> Running in 68f64d75963f [2022-01-20T18:03:49.738Z] Removing intermediate container 68f64d75963f [2022-01-20T18:03:49.738Z] ---> a0c1d8750093 [2022-01-20T18:03:49.738Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-01-20T18:03:49.738Z] ---> Running in b0bb5e2f04ea [2022-01-20T18:03:49.738Z] Removing intermediate container b0bb5e2f04ea [2022-01-20T18:03:49.738Z] ---> 64c6e41102f0 [2022-01-20T18:03:49.738Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-20T18:03:49.738Z] ---> Running in ed315147742e [2022-01-20T18:03:49.738Z] Removing intermediate container ed315147742e [2022-01-20T18:03:49.738Z] ---> 63f98af540b8 [2022-01-20T18:03:49.738Z] Step 22/24 : LABEL arch=amd64 [2022-01-20T18:03:49.738Z] ---> Running in 3e297743bf18 [2022-01-20T18:03:50.001Z] Removing intermediate container 3e297743bf18 [2022-01-20T18:03:50.001Z] ---> 3fba0418dab4 [2022-01-20T18:03:50.001Z] Step 23/24 : LABEL git_sha=2cec40f9d02aa0b557c330301980d65ce3395245 [2022-01-20T18:03:50.001Z] ---> Running in bd4e0e5e1688 [2022-01-20T18:03:50.001Z] Removing intermediate container bd4e0e5e1688 [2022-01-20T18:03:50.001Z] ---> dc8cf766bcc8 [2022-01-20T18:03:50.001Z] Step 24/24 : LABEL version=0.0.0 [2022-01-20T18:03:50.001Z] ---> Running in b350639ed675 [2022-01-20T18:03:50.265Z] Removing intermediate container b350639ed675 [2022-01-20T18:03:50.265Z] ---> 7939a8a519b3 [2022-01-20T18:03:50.265Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-20T18:03:50.265Z] Successfully built 7939a8a519b3 [2022-01-20T18:03:50.265Z] 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:04:05.698Z] Still waiting to schedule task [2022-01-20T18:04:05.698Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-8c-8g-2259’ [2022-01-20T18:04:42.759Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2261 in /w/workspace/gexfoundry_device-mqtt-go_PR-335 [Pipeline] { [Pipeline] ws [2022-01-20T18:04:42.801Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-01-20T18:04:43.070Z] Selected Git installation does not exist. Using Default [2022-01-20T18:04:43.070Z] The recommended git tool is: NONE [2022-01-20T18:04:48.244Z] using credential edgex-jenkins-ssh [2022-01-20T18:04:48.264Z] Cloning the remote Git repository [2022-01-20T18:04:48.331Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-20T18:04:48.408Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-01-20T18:04:48.488Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-20T18:04:48.489Z] > git --version # timeout=10 [2022-01-20T18:04:48.515Z] > git --version # 'git version 2.17.1' [2022-01-20T18:04:48.517Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:04:48.616Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T18:04:50.542Z] Merging remotes/origin/main commit 620914ed09955f471d114b9f6d925da7efa3e056 into PR head commit 2cec40f9d02aa0b557c330301980d65ce3395245 [2022-01-20T18:04:49.776Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-01-20T18:04:49.792Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T18:04:49.822Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-01-20T18:04:49.914Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-20T18:04:49.915Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:04:49.928Z] > 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:04:50.763Z] Merge succeeded, producing 2cec40f9d02aa0b557c330301980d65ce3395245 [2022-01-20T18:04:50.763Z] Checking out Revision 2cec40f9d02aa0b557c330301980d65ce3395245 (PR-335) [2022-01-20T18:04:50.562Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T18:04:50.586Z] > git checkout -f 2cec40f9d02aa0b557c330301980d65ce3395245 # timeout=10 [2022-01-20T18:04:50.674Z] > git remote # timeout=10 [2022-01-20T18:04:50.700Z] > git config --get remote.origin.url # timeout=10 [2022-01-20T18:04:50.721Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:04:50.731Z] > git merge 620914ed09955f471d114b9f6d925da7efa3e056 # timeout=10 [2022-01-20T18:04:50.751Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-20T18:04:50.771Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T18:04:50.781Z] > git checkout -f 2cec40f9d02aa0b557c330301980d65ce3395245 # timeout=10 [2022-01-20T18:04:55.021Z] Commit message: "ci: gomod changes related for Go 1.17" [2022-01-20T18:04:55.080Z] > git --version # timeout=10 [2022-01-20T18:04:55.093Z] > git --version # 'git version 2.17.1' [2022-01-20T18:04:55.108Z] fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:04:56.140Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-20T18:04:56.140Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-20T18:04:56.140Z] Dload Upload Total Spent Left Speed [2022-01-20T18:04:56.140Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2022-01-20T18:04:56.736Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-20T18:04:57.102Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-20T18:04:57.102Z] + sudo tee /etc/docker/daemon.new [2022-01-20T18:04:57.102Z] { [2022-01-20T18:04:57.102Z] "registry-mirrors": [ [2022-01-20T18:04:57.102Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-20T18:04:57.102Z] ], [2022-01-20T18:04:57.102Z] "bip": "10.250.0.254/24", [2022-01-20T18:04:57.102Z] "hosts": [ [2022-01-20T18:04:57.102Z] "tcp://0.0.0.0:5555", [2022-01-20T18:04:57.102Z] "unix:///var/run/docker.sock" [2022-01-20T18:04:57.102Z] ], [2022-01-20T18:04:57.102Z] "mtu": 1458, [2022-01-20T18:04:57.102Z] "selinux-enabled": true, [2022-01-20T18:04:57.102Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-20T18:04:57.102Z] } [Pipeline] sh [2022-01-20T18:04:57.528Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-20T18:04:57.885Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:05:16.327Z] provisioning config files... [2022-01-20T18:05:16.353Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7619623210758244738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:05:16.755Z] ---> docker-login.sh [2022-01-20T18:05:16.755Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:05:17.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:05:17.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:05:17.636Z] Configure a credential helper to remove this warning. See [2022-01-20T18:05:17.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:05:17.636Z] [2022-01-20T18:05:17.636Z] Login Succeeded [2022-01-20T18:05:17.636Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:05:17.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:05:18.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:05:18.192Z] Configure a credential helper to remove this warning. See [2022-01-20T18:05:18.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:05:18.192Z] [2022-01-20T18:05:18.192Z] Login Succeeded [2022-01-20T18:05:18.192Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:05:18.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:05:18.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:05:18.741Z] Configure a credential helper to remove this warning. See [2022-01-20T18:05:18.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:05:18.741Z] [2022-01-20T18:05:18.741Z] Login Succeeded [2022-01-20T18:05:18.741Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:05:19.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:05:19.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:05:19.018Z] Configure a credential helper to remove this warning. See [2022-01-20T18:05:19.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:05:19.018Z] [2022-01-20T18:05:19.018Z] Login Succeeded [2022-01-20T18:05:19.018Z] docker.io [2022-01-20T18:05:19.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:05:19.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:05:19.726Z] Configure a credential helper to remove this warning. See [2022-01-20T18:05:19.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:05:19.726Z] [2022-01-20T18:05:19.726Z] Login Succeeded [2022-01-20T18:05:19.726Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:05:19.763Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T18:05:20.428Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:05:20.470Z] ========================================================= [2022-01-20T18:05:20.470Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-20T18:05:20.470Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:05:20.947Z] + 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:05:21.220Z] Sending build context to Docker daemon 2.992MB [2022-01-20T18:05:21.220Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:05:21.220Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-20T18:05:21.494Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-20T18:05:21.494Z] 9b3977197b4f: Pulling fs layer [2022-01-20T18:05:21.494Z] 1a89e8eeedd5: Pulling fs layer [2022-01-20T18:05:21.494Z] 94645a83ff95: Pulling fs layer [2022-01-20T18:05:21.494Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-20T18:05:21.494Z] 0c92f367c5e7: Pulling fs layer [2022-01-20T18:05:21.494Z] 4b8299f9d1f4: Pulling fs layer [2022-01-20T18:05:21.494Z] 9a6b49a46696: Pulling fs layer [2022-01-20T18:05:21.494Z] cf05db05a679: Pulling fs layer [2022-01-20T18:05:21.494Z] 0c92f367c5e7: Waiting [2022-01-20T18:05:21.494Z] cf05db05a679: Waiting [2022-01-20T18:05:21.494Z] 4b8299f9d1f4: Waiting [2022-01-20T18:05:21.494Z] 9a6b49a46696: Waiting [2022-01-20T18:05:21.494Z] 3f3a8bcf1eab: Waiting [2022-01-20T18:05:21.494Z] 94645a83ff95: Verifying Checksum [2022-01-20T18:05:21.494Z] 94645a83ff95: Download complete [2022-01-20T18:05:21.494Z] 1a89e8eeedd5: Verifying Checksum [2022-01-20T18:05:21.494Z] 1a89e8eeedd5: Download complete [2022-01-20T18:05:21.494Z] 0c92f367c5e7: Verifying Checksum [2022-01-20T18:05:21.494Z] 0c92f367c5e7: Download complete [2022-01-20T18:05:21.494Z] 4b8299f9d1f4: Verifying Checksum [2022-01-20T18:05:21.494Z] 4b8299f9d1f4: Download complete [2022-01-20T18:05:21.494Z] 9b3977197b4f: Verifying Checksum [2022-01-20T18:05:21.494Z] 9b3977197b4f: Download complete [2022-01-20T18:05:21.494Z] 9a6b49a46696: Verifying Checksum [2022-01-20T18:05:21.494Z] 9a6b49a46696: Download complete [2022-01-20T18:05:22.491Z] 9b3977197b4f: Pull complete [2022-01-20T18:05:22.770Z] 1a89e8eeedd5: Pull complete [2022-01-20T18:05:23.369Z] 94645a83ff95: Pull complete [2022-01-20T18:05:23.369Z] cf05db05a679: Verifying Checksum [2022-01-20T18:05:23.369Z] cf05db05a679: Download complete [2022-01-20T18:05:23.970Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-20T18:05:23.970Z] 3f3a8bcf1eab: Download complete [2022-01-20T18:05:36.355Z] 3f3a8bcf1eab: Pull complete [2022-01-20T18:05:36.355Z] 0c92f367c5e7: Pull complete [2022-01-20T18:05:36.355Z] 4b8299f9d1f4: Pull complete [2022-01-20T18:05:36.631Z] 9a6b49a46696: Pull complete [2022-01-20T18:05:43.363Z] cf05db05a679: Pull complete [2022-01-20T18:05:43.363Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-20T18:05:43.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-20T18:05:43.363Z] ---> 0ccda1f7e2ee [2022-01-20T18:05:43.363Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:05:43.966Z] ---> Running in d5f423313338 [2022-01-20T18:05:44.245Z] Removing intermediate container d5f423313338 [2022-01-20T18:05:44.245Z] ---> 97a991c05bd6 [2022-01-20T18:05:44.245Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:05:44.245Z] ---> Running in 0854402c5582 [2022-01-20T18:05:44.843Z] Removing intermediate container 0854402c5582 [2022-01-20T18:05:44.843Z] ---> 486600dec01a [2022-01-20T18:05:44.843Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:05:44.843Z] ---> Running in d1ce70031bdb [2022-01-20T18:05:46.844Z] Removing intermediate container d1ce70031bdb [2022-01-20T18:05:46.844Z] ---> 113e26d90575 [2022-01-20T18:05:46.844Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:05:47.126Z] ---> Running in 71a889634687 [2022-01-20T18:05:48.115Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:05:49.104Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:05:50.088Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-20T18:05:50.088Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-20T18:05:50.088Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-20T18:05:50.376Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-20T18:05:50.376Z] Executing busybox-1.34.1-r3.trigger [2022-01-20T18:05:50.653Z] OK: 224 MiB in 56 packages [2022-01-20T18:05:51.630Z] Removing intermediate container 71a889634687 [2022-01-20T18:05:51.630Z] ---> a8976028e298 [2022-01-20T18:05:51.630Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-01-20T18:05:51.630Z] ---> Running in 00e8cd58c169 [2022-01-20T18:05:52.233Z] Removing intermediate container 00e8cd58c169 [2022-01-20T18:05:52.233Z] ---> 525866d0f6b4 [2022-01-20T18:05:52.233Z] Step 8/12 : COPY go.mod vendor* ./ [2022-01-20T18:05:52.856Z] ---> cb035aaa5733 [2022-01-20T18:05:52.856Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:05:52.856Z] ---> Running in b35e915adb36 [2022-01-20T18:06:26.500Z] Running on prd-ubuntu18.04-docker-8c-8g-2268 in /w/workspace/gexfoundry_device-mqtt-go_PR-335 [Pipeline] { [Pipeline] ws [2022-01-20T18:06:26.544Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-01-20T18:06:26.681Z] Selected Git installation does not exist. Using Default [2022-01-20T18:06:26.681Z] The recommended git tool is: NONE [2022-01-20T18:06:28.456Z] using credential edgex-jenkins-ssh [2022-01-20T18:06:28.470Z] Cloning the remote Git repository [2022-01-20T18:06:28.470Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-20T18:06:28.512Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-01-20T18:06:28.572Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-20T18:06:28.573Z] > git --version # timeout=10 [2022-01-20T18:06:28.581Z] > git --version # 'git version 2.17.1' [2022-01-20T18:06:28.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:06:28.603Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T18:06:29.860Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-01-20T18:06:29.874Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T18:06:29.887Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-01-20T18:06:29.910Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-20T18:06:29.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:06:29.915Z] > 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:06:30.469Z] Merging remotes/origin/main commit 620914ed09955f471d114b9f6d925da7efa3e056 into PR head commit 2cec40f9d02aa0b557c330301980d65ce3395245 [2022-01-20T18:06:30.558Z] Merge succeeded, producing 2cec40f9d02aa0b557c330301980d65ce3395245 [2022-01-20T18:06:30.558Z] Checking out Revision 2cec40f9d02aa0b557c330301980d65ce3395245 (PR-335) [2022-01-20T18:06:30.460Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T18:06:30.465Z] > git checkout -f 2cec40f9d02aa0b557c330301980d65ce3395245 # timeout=10 [2022-01-20T18:06:30.497Z] > git remote # timeout=10 [2022-01-20T18:06:30.514Z] > git config --get remote.origin.url # timeout=10 [2022-01-20T18:06:30.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:06:30.526Z] > git merge 620914ed09955f471d114b9f6d925da7efa3e056 # timeout=10 [2022-01-20T18:06:30.534Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-20T18:06:30.545Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T18:06:30.552Z] > git checkout -f 2cec40f9d02aa0b557c330301980d65ce3395245 # timeout=10 [2022-01-20T18:06:34.125Z] Commit message: "ci: gomod changes related for Go 1.17" [2022-01-20T18:06:34.138Z] > git --version # timeout=10 [2022-01-20T18:06:34.150Z] > git --version # 'git version 2.17.1' [2022-01-20T18:06:34.158Z] fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:06:34.965Z] + echo snap-build.sh [2022-01-20T18:06:34.965Z] snap-build.sh [2022-01-20T18:06:34.965Z] + SNAP_BASE_DIR=. [2022-01-20T18:06:34.965Z] + '[' '!' -z /w/workspace/device-mqtt-go/1 ']' [2022-01-20T18:06:34.965Z] + SNAP_BASE_DIR=/w/workspace/device-mqtt-go/1 [2022-01-20T18:06:34.965Z] + echo '[snap-build] Building snap in dir [/w/workspace/device-mqtt-go/1]' [2022-01-20T18:06:34.965Z] [snap-build] Building snap in dir [/w/workspace/device-mqtt-go/1] [2022-01-20T18:06:34.965Z] + cd /w/workspace/device-mqtt-go/1 [2022-01-20T18:06:34.965Z] + sudo apt-get remove -qy --purge lxd lxd-client [2022-01-20T18:06:34.965Z] Reading package lists... [2022-01-20T18:06:34.965Z] Building dependency tree... [2022-01-20T18:06:34.965Z] Reading state information... [2022-01-20T18:06:34.965Z] The following packages were automatically installed and are no longer required: [2022-01-20T18:06:34.965Z] dns-root-data dnsmasq-base ebtables grub-pc-bin liblxc-common liblxc1 lxcfs [2022-01-20T18:06:34.965Z] uidmap xdelta3 [2022-01-20T18:06:34.965Z] Use 'sudo apt autoremove' to remove them. [2022-01-20T18:06:34.965Z] The following packages will be REMOVED: [2022-01-20T18:06:34.965Z] lxd* lxd-client* [2022-01-20T18:06:34.965Z] 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. [2022-01-20T18:06:35.228Z] After this operation, 31.7 MB disk space will be freed. [2022-01-20T18:06:36.014Z] (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:06:36.014Z] Removing lxd (3.0.3-0ubuntu1~18.04.1) ... [2022-01-20T18:06:36.957Z] Removing lxd dnsmasq configuration [2022-01-20T18:06:36.957Z] Removing lxd-client (3.0.3-0ubuntu1~18.04.1) ... [2022-01-20T18:06:36.957Z] Processing triggers for man-db (2.8.3-2ubuntu0.1) ... [2022-01-20T18:06:37.907Z] Processing triggers for libc-bin (2.27-3ubuntu1.4) ... [2022-01-20T18:06:37.907Z] (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:06:37.907Z] Purging configuration files for lxd (3.0.3-0ubuntu1~18.04.1) ... [2022-01-20T18:06:39.294Z] Processing triggers for systemd (237-3ubuntu10.52) ... [2022-01-20T18:06:39.294Z] Processing triggers for ureadahead (0.100.0-21) ... [2022-01-20T18:06:39.868Z] + sudo snap remove --purge lxd [2022-01-20T18:06:39.868Z] snap "lxd" is not installed [2022-01-20T18:06:40.129Z] + sudo groupadd --force --system lxd [2022-01-20T18:06:40.129Z] ++ whoami [2022-01-20T18:06:40.129Z] + sudo /usr/sbin/usermod -G lxd -a jenkins [2022-01-20T18:06:40.129Z] + newgrp - lxd [2022-01-20T18:06:40.129Z] + sudo snap install lxd [2022-01-20T18:06:50.149Z] 2022-01-20T18:06:47Z INFO Waiting for automatic snapd restart... [2022-01-20T18:07:05.064Z] lxd 4.22 from Canonical* installed [2022-01-20T18:07:05.064Z] + sudo lxd init --auto [2022-01-20T18:07:14.674Z] Removing intermediate container b35e915adb36 [2022-01-20T18:07:14.675Z] ---> 83a4e78cb381 [2022-01-20T18:07:14.675Z] Step 10/12 : COPY . . [2022-01-20T18:07:14.675Z] ---> 03d1f5ecd57e [2022-01-20T18:07:14.675Z] Step 11/12 : ARG MAKE='make build' [2022-01-20T18:07:14.675Z] ---> Running in b4a5ae7008d4 [2022-01-20T18:07:14.675Z] Removing intermediate container b4a5ae7008d4 [2022-01-20T18:07:14.675Z] ---> e996146e8d0d [2022-01-20T18:07:14.675Z] Step 12/12 : RUN $MAKE [2022-01-20T18:07:14.675Z] ---> Running in e9bc03c5296e [2022-01-20T18:07:14.675Z] noop [2022-01-20T18:07:14.675Z] Removing intermediate container e9bc03c5296e [2022-01-20T18:07:14.675Z] ---> 9c372e73acdc [2022-01-20T18:07:14.675Z] Successfully built 9c372e73acdc [2022-01-20T18:07:14.675Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:07:15.056Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T18:07:15.056Z] . [Pipeline] withDockerContainer [2022-01-20T18:07:15.110Z] + sudo snap install --classic snapcraft [2022-01-20T18:07:15.352Z] prd-ubuntu18.04-docker-arm64-4c-16g-2261 does not seem to be running inside a container [2022-01-20T18:07:15.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-20T18:07:16.999Z] $ docker top 3f127ff6e247f30d505a136953c96d8310d4b5dbe54281c061d2e066ebebf8c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:07:18.001Z] + go version [2022-01-20T18:07:18.001Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-20T18:07:18.035Z] $ docker stop --time=1 3f127ff6e247f30d505a136953c96d8310d4b5dbe54281c061d2e066ebebf8c1 [2022-01-20T18:07:19.743Z] $ docker rm -f 3f127ff6e247f30d505a136953c96d8310d4b5dbe54281c061d2e066ebebf8c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:07:20.639Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T18:07:20.639Z] . [Pipeline] withDockerContainer [2022-01-20T18:07:20.901Z] prd-ubuntu18.04-docker-arm64-4c-16g-2261 does not seem to be running inside a container [2022-01-20T18:07:20.999Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-20T18:07:22.450Z] $ docker top 2e65703d17188022d602d6be8766054de3f2e93b0baf777a2f707eecdf49651e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T18:07:23.494Z] + make test [2022-01-20T18:07:23.494Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-20T18:07:24.942Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-01-20T18:07:41.715Z] error: cannot install "snapcraft": cannot query the store for updates: got [2022-01-20T18:07:41.715Z] unexpected HTTP status code 503 via POST to [2022-01-20T18:07:41.715Z] "https://api.snapcraft.io/v2/snaps/refresh" [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:07:42.668Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:07:42.668Z] [2022-01-20T18:07:42.668Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:07:43.085Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:07:43.086Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-20T18:07:43.086Z] b4d181a07f80: Pulling fs layer [2022-01-20T18:07:43.086Z] a1111a8f2ec3: Pulling fs layer [2022-01-20T18:07:43.086Z] ed53099fbce6: Pulling fs layer [2022-01-20T18:07:43.086Z] dc539afda2c1: Pulling fs layer [2022-01-20T18:07:43.086Z] 77bc0d833cb6: Pulling fs layer [2022-01-20T18:07:43.086Z] 9065ff56babe: Pulling fs layer [2022-01-20T18:07:43.086Z] d287ab97295c: Pulling fs layer [2022-01-20T18:07:43.086Z] dc539afda2c1: Waiting [2022-01-20T18:07:43.086Z] 77bc0d833cb6: Waiting [2022-01-20T18:07:43.086Z] 9065ff56babe: Waiting [2022-01-20T18:07:43.086Z] d287ab97295c: Waiting [2022-01-20T18:07:43.086Z] a1111a8f2ec3: Verifying Checksum [2022-01-20T18:07:43.086Z] a1111a8f2ec3: Download complete [2022-01-20T18:07:43.086Z] dc539afda2c1: Verifying Checksum [2022-01-20T18:07:43.086Z] dc539afda2c1: Download complete [2022-01-20T18:07:43.357Z] ed53099fbce6: Verifying Checksum [2022-01-20T18:07:43.357Z] ed53099fbce6: Download complete [2022-01-20T18:07:43.357Z] 77bc0d833cb6: Verifying Checksum [2022-01-20T18:07:43.357Z] 77bc0d833cb6: Download complete [2022-01-20T18:07:43.357Z] 9065ff56babe: Verifying Checksum [2022-01-20T18:07:43.357Z] 9065ff56babe: Download complete [2022-01-20T18:07:43.357Z] b4d181a07f80: Verifying Checksum [2022-01-20T18:07:43.357Z] b4d181a07f80: Download complete [2022-01-20T18:07:43.985Z] d287ab97295c: Verifying Checksum [2022-01-20T18:07:43.985Z] d287ab97295c: Download complete [2022-01-20T18:07:44.578Z] b4d181a07f80: Pull complete [2022-01-20T18:07:44.840Z] a1111a8f2ec3: Pull complete [2022-01-20T18:07:45.417Z] ed53099fbce6: Pull complete [2022-01-20T18:07:45.417Z] dc539afda2c1: Pull complete [2022-01-20T18:07:45.998Z] 77bc0d833cb6: Pull complete [2022-01-20T18:07:45.998Z] 9065ff56babe: Pull complete [2022-01-20T18:07:51.333Z] d287ab97295c: Pull complete [2022-01-20T18:07:51.595Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-20T18:07:51.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:07:51.595Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-20T18:07:51.693Z] prd-centos7-docker-4c-2g-2257 does not seem to be running inside a container [2022-01-20T18:07:51.733Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-20T18:07:54.462Z] $ docker top 4f45b30794a2cb69190f2f34be28261d2f715daa5fdbfda52898e42d1a96203a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:07:54.950Z] ---> job-cost.sh [2022-01-20T18:07:54.950Z] lf-activate-venv: SKIPPING [2022-01-20T18:07:54.950Z] INFO: No Stack... [2022-01-20T18:07:55.520Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T18:07:55.795Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T18:07:56.125Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-335/archives/cost.csv [2022-01-20T18:07:56.125Z] + cut -d, -f6 [Pipeline] lock [2022-01-20T18:07:56.183Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-335-1-stack-cost] [2022-01-20T18:07:56.190Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-335-1-stack-cost] did not exist. Created. [2022-01-20T18:07:56.190Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-335-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T18:07:56.625Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-20T18:07:56.683Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T18:07:56.712Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-335-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T18:07:56.834Z] $ docker stop --time=1 4f45b30794a2cb69190f2f34be28261d2f715daa5fdbfda52898e42d1a96203a [2022-01-20T18:07:57.980Z] $ docker rm -f 4f45b30794a2cb69190f2f34be28261d2f715daa5fdbfda52898e42d1a96203a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-20T18:07:58.481Z] Failed in branch amd64 [2022-01-20T18:08:21.586Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-01-20T18:08:21.586Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.063s coverage: 22.5% of statements [2022-01-20T18:08:21.586Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-01-20T18:08:21.586Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-20T18:08:43.812Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T18:08:43.812Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T18:08:43.812Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T18:08:43.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T18:08:43.882Z] $ docker stop --time=1 2e65703d17188022d602d6be8766054de3f2e93b0baf777a2f707eecdf49651e [2022-01-20T18:08:45.642Z] $ docker rm -f 2e65703d17188022d602d6be8766054de3f2e93b0baf777a2f707eecdf49651e [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:08:46.567Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T18:08:46.606Z] Warning: overwriting stash ‘coverage-report’ [2022-01-20T18:08:47.126Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:08:47.725Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T18:08:48.077Z] + ls -al . [2022-01-20T18:08:48.077Z] total 180 [2022-01-20T18:08:48.077Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 20 18:08 . [2022-01-20T18:08:48.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 18:04 .. [2022-01-20T18:08:48.077Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 20 18:04 .dockerignore [2022-01-20T18:08:48.077Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:04 .git [2022-01-20T18:08:48.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:04 .github [2022-01-20T18:08:48.077Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 20 18:04 .gitignore [2022-01-20T18:08:48.077Z] -rw-rw-r-- 1 jenkins jenkins 7287 Jan 20 18:04 Attribution.txt [2022-01-20T18:08:48.077Z] -rw-rw-r-- 1 jenkins jenkins 7447 Jan 20 18:04 CHANGELOG.md [2022-01-20T18:08:48.077Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jan 20 18:04 Dockerfile [2022-01-20T18:08:48.077Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 18:04 GOVERNANCE.md [2022-01-20T18:08:48.077Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 18:04 Jenkinsfile [2022-01-20T18:08:48.077Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 18:04 LICENSE [2022-01-20T18:08:48.077Z] -rw-rw-r-- 1 jenkins jenkins 1030 Jan 20 18:04 Makefile [2022-01-20T18:08:48.077Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 20 18:04 OWNERS.md [2022-01-20T18:08:48.077Z] -rw-rw-r-- 1 jenkins jenkins 2643 Jan 20 18:04 README.md [2022-01-20T18:08:48.077Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 20 18:02 VERSION [2022-01-20T18:08:48.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:04 bin [2022-01-20T18:08:48.077Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:04 cmd [2022-01-20T18:08:48.077Z] -rw-r--r-- 1 jenkins jenkins 17452 Jan 20 18:08 coverage.out [2022-01-20T18:08:48.077Z] -rw-rw-r-- 1 jenkins jenkins 2907 Jan 20 18:04 go.mod [2022-01-20T18:08:48.077Z] -rw-rw-r-- 1 jenkins jenkins 49409 Jan 20 18:04 go.sum [2022-01-20T18:08:48.077Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:04 internal [2022-01-20T18:08:48.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:04 mock [2022-01-20T18:08:48.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 18:04 snap [2022-01-20T18:08:48.077Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 20 18:04 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:08:48.463Z] + 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:08:48.745Z] Sending build context to Docker daemon 3.011MB [2022-01-20T18:08:48.745Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:08:48.745Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-20T18:08:48.745Z] ---> 9c372e73acdc [2022-01-20T18:08:48.745Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:08:49.016Z] ---> Running in e28afc6f2064 [2022-01-20T18:08:49.288Z] Removing intermediate container e28afc6f2064 [2022-01-20T18:08:49.288Z] ---> 40c68aa7f1d2 [2022-01-20T18:08:49.288Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:08:49.559Z] ---> Running in 5453cec53da7 [2022-01-20T18:08:49.830Z] Removing intermediate container 5453cec53da7 [2022-01-20T18:08:49.830Z] ---> 198c445ee945 [2022-01-20T18:08:49.830Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:08:49.830Z] ---> Running in 99d11679c4c4 [2022-01-20T18:08:51.798Z] Removing intermediate container 99d11679c4c4 [2022-01-20T18:08:51.798Z] ---> 5d1e42bea49f [2022-01-20T18:08:51.798Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:08:51.798Z] ---> Running in 9ac93b305244 [2022-01-20T18:08:52.771Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:08:53.362Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:08:54.338Z] OK: 224 MiB in 56 packages [2022-01-20T18:08:55.324Z] Removing intermediate container 9ac93b305244 [2022-01-20T18:08:55.324Z] ---> 513fc6be949d [2022-01-20T18:08:55.324Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-01-20T18:08:55.324Z] ---> Running in 5086b48f48f6 [2022-01-20T18:08:55.595Z] Removing intermediate container 5086b48f48f6 [2022-01-20T18:08:55.595Z] ---> 32d6db721e1a [2022-01-20T18:08:55.595Z] Step 8/24 : COPY go.mod vendor* ./ [2022-01-20T18:08:56.185Z] ---> 1eafd4a1b8cb [2022-01-20T18:08:56.185Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:08:56.471Z] ---> Running in 94e76305aee6 [2022-01-20T18:08:58.453Z] Removing intermediate container 94e76305aee6 [2022-01-20T18:08:58.453Z] ---> 67fede43de1f [2022-01-20T18:08:58.453Z] Step 10/24 : COPY . . [2022-01-20T18:08:59.434Z] ---> d3575e0ef035 [2022-01-20T18:08:59.434Z] Step 11/24 : ARG MAKE='make build' [2022-01-20T18:08:59.434Z] ---> Running in 1127ebe4b5ca [2022-01-20T18:08:59.712Z] Removing intermediate container 1127ebe4b5ca [2022-01-20T18:08:59.712Z] ---> 165517fd33db [2022-01-20T18:08:59.712Z] Step 12/24 : RUN $MAKE [2022-01-20T18:08:59.990Z] ---> Running in 8e0878d05101 [2022-01-20T18:09:00.971Z] 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:09:47.998Z] Removing intermediate container 8e0878d05101 [2022-01-20T18:09:47.998Z] ---> d79142e27dc7 [2022-01-20T18:09:47.998Z] Step 13/24 : FROM alpine:3.14 [2022-01-20T18:09:47.998Z] 3.14: Pulling from library/alpine [2022-01-20T18:09:47.998Z] be307f383ecc: Pulling fs layer [2022-01-20T18:09:47.998Z] be307f383ecc: Verifying Checksum [2022-01-20T18:09:47.998Z] be307f383ecc: Download complete [2022-01-20T18:09:47.998Z] be307f383ecc: Pull complete [2022-01-20T18:09:47.998Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T18:09:47.998Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T18:09:47.998Z] ---> 5b8b7b635229 [2022-01-20T18:09:47.998Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-01-20T18:09:48.272Z] ---> Running in 0235e86d4f26 [2022-01-20T18:09:48.558Z] Removing intermediate container 0235e86d4f26 [2022-01-20T18:09:48.558Z] ---> ebbed59684f6 [2022-01-20T18:09:48.558Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-20T18:09:48.558Z] ---> Running in 8aca1286ae59 [2022-01-20T18:09:49.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:09:49.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:09:50.795Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-20T18:09:51.072Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-20T18:09:51.072Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-20T18:09:51.072Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-20T18:09:51.072Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-20T18:09:51.072Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-20T18:09:51.072Z] Executing busybox-1.33.1-r6.trigger [2022-01-20T18:09:51.072Z] OK: 8 MiB in 20 packages [2022-01-20T18:09:52.056Z] Removing intermediate container 8aca1286ae59 [2022-01-20T18:09:52.056Z] ---> abdebb5e0cd5 [2022-01-20T18:09:52.056Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-01-20T18:09:53.050Z] ---> 5552b061075a [2022-01-20T18:09:53.050Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-01-20T18:09:53.656Z] ---> 412a4b8f3f29 [2022-01-20T18:09:53.656Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-01-20T18:09:54.642Z] ---> f2ee2a470033 [2022-01-20T18:09:54.642Z] Step 19/24 : EXPOSE 59982 [2022-01-20T18:09:54.642Z] ---> Running in a26399116ca7 [2022-01-20T18:09:54.918Z] Removing intermediate container a26399116ca7 [2022-01-20T18:09:54.918Z] ---> 000116c03aa3 [2022-01-20T18:09:54.918Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-01-20T18:09:54.918Z] ---> Running in a6bb105afc7d [2022-01-20T18:09:55.514Z] Removing intermediate container a6bb105afc7d [2022-01-20T18:09:55.514Z] ---> 342e64afd971 [2022-01-20T18:09:55.514Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-20T18:09:55.514Z] ---> Running in 0ab8f23238fb [2022-01-20T18:09:55.789Z] Removing intermediate container 0ab8f23238fb [2022-01-20T18:09:55.789Z] ---> a761addccfba [2022-01-20T18:09:55.789Z] Step 22/24 : LABEL arch=arm64 [2022-01-20T18:09:56.064Z] ---> Running in aa6637af962c [2022-01-20T18:09:56.339Z] Removing intermediate container aa6637af962c [2022-01-20T18:09:56.339Z] ---> 67b669e27227 [2022-01-20T18:09:56.339Z] Step 23/24 : LABEL git_sha=2cec40f9d02aa0b557c330301980d65ce3395245 [2022-01-20T18:09:56.339Z] ---> Running in 9692543548a1 [2022-01-20T18:09:56.939Z] Removing intermediate container 9692543548a1 [2022-01-20T18:09:56.939Z] ---> 110c76f725d3 [2022-01-20T18:09:56.940Z] Step 24/24 : LABEL version=0.0.0 [2022-01-20T18:09:56.940Z] ---> Running in 73d731607e11 [2022-01-20T18:09:57.220Z] Removing intermediate container 73d731607e11 [2022-01-20T18:09:57.220Z] ---> 7465e4cf7fd4 [2022-01-20T18:09:57.220Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-20T18:09:57.220Z] Successfully built 7465e4cf7fd4 [2022-01-20T18:09:57.220Z] 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:09:57.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:09:57.940Z] [2022-01-20T18:09:57.940Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:09:58.331Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:09:58.610Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-20T18:09:58.610Z] 448f6bf000e3: Pulling fs layer [2022-01-20T18:09:58.610Z] f757da607395: Pulling fs layer [2022-01-20T18:09:58.610Z] 05883995daec: Pulling fs layer [2022-01-20T18:09:58.610Z] 8603b9c90790: Pulling fs layer [2022-01-20T18:09:58.610Z] 1560dd03e051: Pulling fs layer [2022-01-20T18:09:58.610Z] 27f5ce0e4adf: Pulling fs layer [2022-01-20T18:09:58.610Z] c2d8d7efcc4b: Pulling fs layer [2022-01-20T18:09:58.610Z] 1560dd03e051: Waiting [2022-01-20T18:09:58.610Z] 8603b9c90790: Waiting [2022-01-20T18:09:58.610Z] c2d8d7efcc4b: Waiting [2022-01-20T18:09:58.610Z] 27f5ce0e4adf: Waiting [2022-01-20T18:09:58.610Z] f757da607395: Verifying Checksum [2022-01-20T18:09:58.610Z] f757da607395: Download complete [2022-01-20T18:09:58.610Z] 8603b9c90790: Verifying Checksum [2022-01-20T18:09:58.610Z] 8603b9c90790: Download complete [2022-01-20T18:09:58.888Z] 1560dd03e051: Verifying Checksum [2022-01-20T18:09:58.888Z] 1560dd03e051: Download complete [2022-01-20T18:09:58.888Z] 27f5ce0e4adf: Verifying Checksum [2022-01-20T18:09:58.888Z] 27f5ce0e4adf: Download complete [2022-01-20T18:09:58.888Z] 05883995daec: Verifying Checksum [2022-01-20T18:09:58.888Z] 05883995daec: Download complete [2022-01-20T18:09:59.165Z] 448f6bf000e3: Verifying Checksum [2022-01-20T18:09:59.165Z] 448f6bf000e3: Download complete [2022-01-20T18:10:01.797Z] c2d8d7efcc4b: Verifying Checksum [2022-01-20T18:10:01.797Z] c2d8d7efcc4b: Download complete [2022-01-20T18:10:02.777Z] 448f6bf000e3: Pull complete [2022-01-20T18:10:03.377Z] f757da607395: Pull complete [2022-01-20T18:10:04.813Z] 05883995daec: Pull complete [2022-01-20T18:10:05.090Z] 8603b9c90790: Pull complete [2022-01-20T18:10:06.076Z] 1560dd03e051: Pull complete [2022-01-20T18:10:06.353Z] 27f5ce0e4adf: Pull complete [2022-01-20T18:10:24.664Z] c2d8d7efcc4b: Pull complete [2022-01-20T18:10:24.664Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-20T18:10:24.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:10:24.664Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-20T18:10:24.932Z] prd-ubuntu18.04-docker-arm64-4c-16g-2261 does not seem to be running inside a container [2022-01-20T18:10:25.026Z] $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-20T18:10:28.391Z] $ docker top 7ffb3d5e46369667b0a3715d4be41a4ba26ffc9d887cfd308330907d05876d5c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:10:29.446Z] ---> job-cost.sh [2022-01-20T18:10:29.446Z] lf-activate-venv: SKIPPING [2022-01-20T18:10:29.446Z] INFO: No Stack... [2022-01-20T18:10:29.722Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-20T18:10:30.322Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T18:10:31.015Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-01-20T18:10:31.015Z] + cut -d, -f6 [Pipeline] lock [2022-01-20T18:10:31.113Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-335-1-stack-cost] [2022-01-20T18:10:31.119Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-335-1-stack-cost] did not exist. Created. [2022-01-20T18:10:31.119Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-335-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T18:10:31.901Z] /w/workspace/device-mqtt-go/1@tmp/durable-e71de973/script.sh: 1: /w/workspace/device-mqtt-go/1@tmp/durable-e71de973/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-20T18:10:32.630Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-20T18:10:32.672Z] Warning: overwriting stash ‘stack-cost’ [2022-01-20T18:10:32.732Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T18:10:32.747Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-335-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T18:10:32.824Z] $ docker stop --time=1 7ffb3d5e46369667b0a3715d4be41a4ba26ffc9d887cfd308330907d05876d5c [2022-01-20T18:10:34.412Z] $ docker rm -f 7ffb3d5e46369667b0a3715d4be41a4ba26ffc9d887cfd308330907d05876d5c [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:10:37.192Z] + '[' -d /w/workspace/gexfoundry_device-mqtt-go_PR-335/archives ']' [2022-01-20T18:10:37.193Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-335/archives [2022-01-20T18:10:37.193Z] total 8 [2022-01-20T18:10:37.193Z] drwxr-xr-x. 3 root root 34 Jan 20 18:07 . [2022-01-20T18:10:37.193Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 20 18:07 .. [2022-01-20T18:10:37.193Z] drwxr-xr-x. 2 root root 6 Jan 20 18:07 cost [2022-01-20T18:10:37.193Z] -rw-r--r--. 1 root root 85 Jan 20 18:07 cost.csv [2022-01-20T18:10:37.193Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-335/archives [2022-01-20T18:10:37.193Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-335/archives [2022-01-20T18:10:37.193Z] total 8 [2022-01-20T18:10:37.193Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 18:07 . [2022-01-20T18:10:37.193Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 20 18:07 .. [2022-01-20T18:10:37.193Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 18:07 cost [2022-01-20T18:10:37.193Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 20 18:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:10:37.539Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:10:38.124Z] ---> package-listing.sh [2022-01-20T18:10:38.125Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-20T18:10:38.125Z] ++ facter osfamily [2022-01-20T18:10:38.387Z] + OS_FAMILY=redhat [2022-01-20T18:10:38.387Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-335 [2022-01-20T18:10:38.387Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-20T18:10:38.387Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-20T18:10:38.387Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-20T18:10:38.387Z] + PACKAGES=/tmp/packages_start.txt [2022-01-20T18:10:38.387Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-335 ']' [2022-01-20T18:10:38.387Z] + PACKAGES=/tmp/packages_end.txt [2022-01-20T18:10:38.387Z] + case "${OS_FAMILY}" in [2022-01-20T18:10:38.387Z] + sort [2022-01-20T18:10:38.387Z] + rpm -qa [2022-01-20T18:10:38.957Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-20T18:10:38.957Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-20T18:10:38.957Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-20T18:10:38.957Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-335 ']' [2022-01-20T18:10:38.957Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-335/archives/ [2022-01-20T18:10:38.957Z] + 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:10:38.988Z] 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:10:39.287Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:10:39.872Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:10:39.872Z] . [Pipeline] withDockerContainer [2022-01-20T18:10:39.967Z] prd-centos7-docker-4c-2g-2257 does not seem to be running inside a container [2022-01-20T18:10:40.001Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-20T18:10:40.222Z] $ docker top dd10fcea637405ad52453eebd64509a48d2e30682a80f3ad90ba045a0d43f9c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:10:40.658Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-20T18:10:40.979Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-20T18:10:41.304Z] + ls /var/log/sa-host [2022-01-20T18:10:41.304Z] + sadf -c /var/log/sa-host/sa17 [2022-01-20T18:10:41.304Z] file_magic: OK [2022-01-20T18:10:41.304Z] HZ: Using current value: 100 [2022-01-20T18:10:41.304Z] file_header: OK [2022-01-20T18:10:41.304Z] 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:10:41.304Z] Statistics: [2022-01-20T18:10:41.304Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T18:10:41.304Z] File successfully converted to sysstat format version 12.0.3 [2022-01-20T18:10:41.304Z] + sadf -c /var/log/sa-host/sa20 [2022-01-20T18:10:41.304Z] file_magic: OK [2022-01-20T18:10:41.304Z] HZ: Using current value: 100 [2022-01-20T18:10:41.304Z] file_header: OK [2022-01-20T18:10:41.304Z] 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:10:41.304Z] Statistics: [2022-01-20T18:10:41.305Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T18:10:41.305Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:10:41.460Z] provisioning config files... [2022-01-20T18:10:41.472Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-335@tmp/config6329503020227917541tmp [Pipeline] { [Pipeline] echo [2022-01-20T18:10:41.524Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:10:41.849Z] ---> create-netrc.sh [Pipeline] } [2022-01-20T18:10:41.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:10:42.291Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-20T18:10:42.323Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:10:42.647Z] ---> sudo-logs.sh [2022-01-20T18:10:42.647Z] Archiving 'sudo' log.. [2022-01-20T18:10:42.647Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2257.novalocal: Name or service not known [2022-01-20T18:10:42.647Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2257.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-20T18:10:42.738Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:10:43.058Z] ---> job-cost.sh [2022-01-20T18:10:43.058Z] lf-activate-venv: SKIPPING [2022-01-20T18:10:43.058Z] DEBUG: total: 0.05999999865889549 [2022-01-20T18:10:43.058Z] INFO: Retrieving Stack Cost... [2022-01-20T18:10:43.630Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T18:10:43.891Z] INFO: Archiving Costs [Pipeline] echo [2022-01-20T18:10:43.925Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:10:44.244Z] ---> logs-deploy.sh [2022-01-20T18:10:44.244Z] lf-activate-venv: SKIPPING [2022-01-20T18:10:44.244Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-335/1 [2022-01-20T18:10:44.244Z] INFO: archiving workspace using pattern(s): [2022-01-20T18:10:44.815Z] Archives upload complete. [2022-01-20T18:10:45.078Z] INFO: archiving logs to Nexus