Pull request #336 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 499eceb71d452f9b8ab89080898ec1d180099221+6506aa605e312cf2eda10f01423d61b781597072 (9311b50f4f3b22fbe60e50bc5035e22316e30ee6) 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-ssh12304810127661872188.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-ssh16973248519883965398.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-336/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-336/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16660972313199439344.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-336/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6292532911306247252.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-ssh8674487313883845440.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-336/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-336/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3462475157302650695.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4274 in /w/workspace/gexfoundry_device-mqtt-go_PR-336 [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-336 # 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-336@tmp/jenkins-gitclient-ssh928992643907431641.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 6506aa605e312cf2eda10f01423d61b781597072 into PR head commit 499eceb71d452f9b8ab89080898ec1d180099221 Merge succeeded, producing 499eceb71d452f9b8ab89080898ec1d180099221 Checking out Revision 499eceb71d452f9b8ab89080898ec1d180099221 (PR-336) > 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-336@tmp/jenkins-gitclient-ssh1409867965278472685.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 499eceb71d452f9b8ab89080898ec1d180099221 # 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-336@tmp/jenkins-gitclient-ssh2725102090074775665.key > git merge 6506aa605e312cf2eda10f01423d61b781597072 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 499eceb71d452f9b8ab89080898ec1d180099221 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 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-31T01:22:04.285Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-31T01:22:04.454Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-31T01:22:04.555Z] ========================================================= [2022-01-31T01:22:04.556Z] EdgeX Global Pipelines Version Info [2022-01-31T01:22:04.556Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-31T01:22:05.724Z] ------------------- [2022-01-31T01:22:05.724Z] stable info: [2022-01-31T01:22:05.724Z] ------------------- [2022-01-31T01:22:05.724Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-31T01:22:05.724Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-31T01:22:05.724Z] Message: update stable to v1.0.219 [2022-01-31T01:22:06.306Z] ------------------- [2022-01-31T01:22:06.306Z] experimental info: [2022-01-31T01:22:06.306Z] ------------------- [2022-01-31T01:22:06.306Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-31T01:22:06.306Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-31T01:22:06.306Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-31T01:22:06.558Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-01-31T01:22:06.596Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-01-31T01:22:06.631Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-31T01:22:06.667Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-31T01:22:06.707Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-31T01:22:06.742Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-31T01:22:06.782Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-31T01:22:06.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-31T01:22:06.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-31T01:22:06.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-31T01:22:06.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-31T01:22:06.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-01-31T01:22:06.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-31T01:22:07.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-31T01:22:07.072Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-31T01:22:07.110Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-31T01:22:07.148Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-31T01:22:07.193Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-31T01:22:07.234Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-31T01:22:07.271Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-31T01:22:07.304Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-31T01:22:07.340Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-31T01:22:07.383Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-31T01:22:07.431Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-31T01:22:07.474Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-31T01:22:07.516Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-31T01:22:07.554Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-336 [Pipeline] echo [2022-01-31T01:22:07.588Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-336 [Pipeline] echo [2022-01-31T01:22:07.629Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-336 [Pipeline] echo [2022-01-31T01:22:07.670Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 499eceb71d452f9b8ab89080898ec1d180099221 [Pipeline] echo [2022-01-31T01:22:07.708Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 499eceb [Pipeline] echo [2022-01-31T01:22:07.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-31T01:22:07.861Z] provisioning config files... [2022-01-31T01:22:07.877Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-336@tmp/config3239220760209787934tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T01:22:08.237Z] ---> docker-login.sh [2022-01-31T01:22:08.237Z] nexus3.edgexfoundry.org:10001 [2022-01-31T01:22:08.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T01:22:08.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T01:22:08.499Z] Configure a credential helper to remove this warning. See [2022-01-31T01:22:08.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T01:22:08.499Z] [2022-01-31T01:22:08.499Z] Login Succeeded [2022-01-31T01:22:08.499Z] nexus3.edgexfoundry.org:10002 [2022-01-31T01:22:08.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T01:22:08.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T01:22:08.499Z] Configure a credential helper to remove this warning. See [2022-01-31T01:22:08.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T01:22:08.499Z] [2022-01-31T01:22:08.499Z] Login Succeeded [2022-01-31T01:22:08.499Z] nexus3.edgexfoundry.org:10003 [2022-01-31T01:22:08.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T01:22:08.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T01:22:08.764Z] Configure a credential helper to remove this warning. See [2022-01-31T01:22:08.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T01:22:08.764Z] [2022-01-31T01:22:08.764Z] Login Succeeded [2022-01-31T01:22:08.764Z] nexus3.edgexfoundry.org:10004 [2022-01-31T01:22:08.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T01:22:08.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T01:22:08.764Z] Configure a credential helper to remove this warning. See [2022-01-31T01:22:08.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T01:22:08.764Z] [2022-01-31T01:22:08.764Z] Login Succeeded [2022-01-31T01:22:08.764Z] docker.io [2022-01-31T01:22:08.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T01:22:09.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T01:22:09.339Z] Configure a credential helper to remove this warning. See [2022-01-31T01:22:09.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T01:22:09.339Z] [2022-01-31T01:22:09.339Z] Login Succeeded [2022-01-31T01:22:09.339Z] ---> docker-login.sh ends [Pipeline] } [2022-01-31T01:22:09.365Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-31T01:22:10.017Z] + git rev-list -1 --merges 499eceb71d452f9b8ab89080898ec1d180099221~1..499eceb71d452f9b8ab89080898ec1d180099221 [Pipeline] echo [2022-01-31T01:22:10.067Z] -----------> git rev-list -1 --merges 499eceb71d452f9b8ab89080898ec1d180099221~1..499eceb71d452f9b8ab89080898ec1d180099221 499eceb71d452f9b8ab89080898ec1d180099221 [false] [Pipeline] sh [2022-01-31T01:22:10.381Z] + git log --format=format:%s -1 499eceb71d452f9b8ab89080898ec1d180099221 [Pipeline] echo [2022-01-31T01:22:10.419Z] ========================================================= [2022-01-31T01:22:10.419Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-31T01:22:10.419Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-31T01:22:10.861Z] + git log --format=format:%s -1 499eceb71d452f9b8ab89080898ec1d180099221 [Pipeline] echo [2022-01-31T01:22:10.899Z] [semverPrep] GIT_COMMIT: 499eceb71d452f9b8ab89080898ec1d180099221, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-01-31T01:22:10.927Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-31T01:22:11.375Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-31T01:22:11.375Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-31T01:22:11.375Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-31T01:22:11.375Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-31T01:22:11.375Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-31T01:22:11.375Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-31T01:22:11.375Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-31T01:22:11.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-31T01:22:11.833Z] [2022-01-31T01:22:11.833Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-31T01:22:12.183Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-31T01:22:12.183Z] latest: Pulling from edgex-devops/git-semver [2022-01-31T01:22:12.183Z] a0d0a0d46f8b: Pulling fs layer [2022-01-31T01:22:12.183Z] 3e5f54012d9b: Pulling fs layer [2022-01-31T01:22:12.183Z] 4c7163046ea9: Pulling fs layer [2022-01-31T01:22:12.183Z] 0c2d73faf560: Pulling fs layer [2022-01-31T01:22:12.183Z] 0c2d73faf560: Waiting [2022-01-31T01:22:12.183Z] 3e5f54012d9b: Verifying Checksum [2022-01-31T01:22:12.183Z] 3e5f54012d9b: Download complete [2022-01-31T01:22:12.183Z] a0d0a0d46f8b: Verifying Checksum [2022-01-31T01:22:12.183Z] a0d0a0d46f8b: Download complete [2022-01-31T01:22:12.183Z] 4c7163046ea9: Verifying Checksum [2022-01-31T01:22:12.183Z] 4c7163046ea9: Download complete [2022-01-31T01:22:12.183Z] 0c2d73faf560: Verifying Checksum [2022-01-31T01:22:12.183Z] 0c2d73faf560: Download complete [2022-01-31T01:22:12.443Z] a0d0a0d46f8b: Pull complete [2022-01-31T01:22:12.443Z] 3e5f54012d9b: Pull complete [2022-01-31T01:22:12.709Z] 4c7163046ea9: Pull complete [2022-01-31T01:22:12.971Z] 0c2d73faf560: Pull complete [2022-01-31T01:22:12.971Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-31T01:22:12.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-31T01:22:12.971Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-31T01:22:13.068Z] prd-centos7-docker-4c-2g-4274 does not seem to be running inside a container [2022-01-31T01:22:12.960Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-336 -v /w/workspace/gexfoundry_device-mqtt-go_PR-336:/w/workspace/gexfoundry_device-mqtt-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-336@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-336@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-31T01:22:13.606Z] $ docker top 5a5f774bfcd2473537210018d37d9163ac91475f4e7a23f45114cec82deeb5ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-31T01:22:13.977Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-31T01:22:13.977Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-31T01:22:14.083Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-31T01:22:14.024Z] $ docker exec 5a5f774bfcd2473537210018d37d9163ac91475f4e7a23f45114cec82deeb5ce ssh-agent [2022-01-31T01:22:14.188Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpoPIeG/agent.14 [2022-01-31T01:22:14.188Z] SSH_AGENT_PID=20 [2022-01-31T01:22:14.196Z] Running ssh-add (command line suppressed) [2022-01-31T01:22:14.238Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-336@tmp/private_key_1086934859201259268.key (/w/workspace/gexfoundry_device-mqtt-go_PR-336@tmp/private_key_1086934859201259268.key) [2022-01-31T01:22:14.296Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-31T01:22:14.634Z] + git tag --points-at HEAD [Pipeline] } [2022-01-31T01:22:14.646Z] $ docker exec --env ******** --env ******** 5a5f774bfcd2473537210018d37d9163ac91475f4e7a23f45114cec82deeb5ce ssh-agent -k [2022-01-31T01:22:14.748Z] unset SSH_AUTH_SOCK; [2022-01-31T01:22:14.748Z] unset SSH_AGENT_PID; [2022-01-31T01:22:14.749Z] echo Agent pid 20 killed; [2022-01-31T01:22:14.764Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-31T01:22:14.859Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-31T01:22:14.859Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-31T01:22:14.958Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-31T01:22:14.961Z] $ docker exec 5a5f774bfcd2473537210018d37d9163ac91475f4e7a23f45114cec82deeb5ce ssh-agent [2022-01-31T01:22:15.061Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjkHAej/agent.53 [2022-01-31T01:22:15.062Z] SSH_AGENT_PID=59 [2022-01-31T01:22:15.066Z] Running ssh-add (command line suppressed) [2022-01-31T01:22:15.150Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-336@tmp/private_key_4299530074132102068.key (/w/workspace/gexfoundry_device-mqtt-go_PR-336@tmp/private_key_4299530074132102068.key) [2022-01-31T01:22:15.162Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-31T01:22:15.496Z] + git semver init [2022-01-31T01:22:15.496Z] # -> Open(): unable to determine branch for HEAD [2022-01-31T01:22:15.496Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-336/.git [2022-01-31T01:22:15.496Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-336 [2022-01-31T01:22:15.496Z] # $SEMVER_REMOTE_NAME = origin [2022-01-31T01:22:15.496Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-31T01:22:15.496Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-31T01:22:15.496Z] # $SEMVER_BRANCH = PR-336 [2022-01-31T01:22:15.496Z] # $SEMVER_TEMP = /tmp/semver-283055643 [2022-01-31T01:22:15.496Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-01-31T01:22:16.438Z] # '/tmp/semver-283055643' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-336/.semver' [2022-01-31T01:22:16.438Z] # -> Force: false [2022-01-31T01:22:16.438Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-336/.semver [Pipeline] } [2022-01-31T01:22:16.467Z] $ docker exec --env ******** --env ******** 5a5f774bfcd2473537210018d37d9163ac91475f4e7a23f45114cec82deeb5ce ssh-agent -k [2022-01-31T01:22:16.553Z] unset SSH_AUTH_SOCK; [2022-01-31T01:22:16.554Z] unset SSH_AGENT_PID; [2022-01-31T01:22:16.554Z] echo Agent pid 59 killed; [2022-01-31T01:22:16.565Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-31T01:22:16.987Z] + git semver [Pipeline] } [2022-01-31T01:22:17.021Z] $ docker stop --time=1 5a5f774bfcd2473537210018d37d9163ac91475f4e7a23f45114cec82deeb5ce [2022-01-31T01:22:18.238Z] $ docker rm -f 5a5f774bfcd2473537210018d37d9163ac91475f4e7a23f45114cec82deeb5ce [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-31T01:22:18.657Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-31T01:22:18.960Z] Stashed 1 file(s) [Pipeline] echo [2022-01-31T01:22:18.978Z] [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-31T01:22:19.565Z] provisioning config files... [2022-01-31T01:22:19.576Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-336@tmp/config171529924063255097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T01:22:19.930Z] ---> docker-login.sh [2022-01-31T01:22:19.930Z] nexus3.edgexfoundry.org:10001 [2022-01-31T01:22:19.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T01:22:19.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T01:22:19.930Z] Configure a credential helper to remove this warning. See [2022-01-31T01:22:19.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T01:22:19.930Z] [2022-01-31T01:22:19.930Z] Login Succeeded [2022-01-31T01:22:19.930Z] nexus3.edgexfoundry.org:10002 [2022-01-31T01:22:19.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T01:22:19.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T01:22:19.930Z] Configure a credential helper to remove this warning. See [2022-01-31T01:22:19.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T01:22:19.930Z] [2022-01-31T01:22:19.930Z] Login Succeeded [2022-01-31T01:22:19.930Z] nexus3.edgexfoundry.org:10003 [2022-01-31T01:22:20.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T01:22:20.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T01:22:20.191Z] Configure a credential helper to remove this warning. See [2022-01-31T01:22:20.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T01:22:20.191Z] [2022-01-31T01:22:20.191Z] Login Succeeded [2022-01-31T01:22:20.191Z] nexus3.edgexfoundry.org:10004 [2022-01-31T01:22:20.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T01:22:20.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T01:22:20.191Z] Configure a credential helper to remove this warning. See [2022-01-31T01:22:20.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T01:22:20.191Z] [2022-01-31T01:22:20.191Z] Login Succeeded [2022-01-31T01:22:20.191Z] docker.io [2022-01-31T01:22:20.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T01:22:20.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T01:22:20.716Z] Configure a credential helper to remove this warning. See [2022-01-31T01:22:20.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T01:22:20.716Z] [2022-01-31T01:22:20.716Z] Login Succeeded [2022-01-31T01:22:20.716Z] ---> docker-login.sh ends [Pipeline] } [2022-01-31T01:22:20.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-31T01:22:20.945Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-31T01:22:20.975Z] ========================================================= [2022-01-31T01:22:20.975Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-31T01:22:20.975Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-31T01:22:21.403Z] + 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-31T01:22:21.403Z] Sending build context to Docker daemon 5.745MB [2022-01-31T01:22:21.403Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-31T01:22:21.403Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-31T01:22:21.403Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-31T01:22:21.403Z] 59bf1c3509f3: Pulling fs layer [2022-01-31T01:22:21.403Z] 666ba61612fd: Pulling fs layer [2022-01-31T01:22:21.403Z] 8ed8ca486205: Pulling fs layer [2022-01-31T01:22:21.403Z] 4fe6c5a15a65: Pulling fs layer [2022-01-31T01:22:21.403Z] 22a0e8bec74d: Pulling fs layer [2022-01-31T01:22:21.403Z] f965cba54748: Pulling fs layer [2022-01-31T01:22:21.403Z] 861ffc35075e: Pulling fs layer [2022-01-31T01:22:21.403Z] 4b385c91608e: Pulling fs layer [2022-01-31T01:22:21.403Z] 560528eb2ebb: Pulling fs layer [2022-01-31T01:22:21.403Z] 4fe6c5a15a65: Waiting [2022-01-31T01:22:21.403Z] 22a0e8bec74d: Waiting [2022-01-31T01:22:21.403Z] f965cba54748: Waiting [2022-01-31T01:22:21.403Z] 861ffc35075e: Waiting [2022-01-31T01:22:21.403Z] 4b385c91608e: Waiting [2022-01-31T01:22:21.403Z] 560528eb2ebb: Waiting [2022-01-31T01:22:21.667Z] 8ed8ca486205: Verifying Checksum [2022-01-31T01:22:21.667Z] 8ed8ca486205: Download complete [2022-01-31T01:22:21.667Z] 666ba61612fd: Verifying Checksum [2022-01-31T01:22:21.667Z] 666ba61612fd: Download complete [2022-01-31T01:22:21.667Z] 22a0e8bec74d: Verifying Checksum [2022-01-31T01:22:21.668Z] 22a0e8bec74d: Download complete [2022-01-31T01:22:21.668Z] f965cba54748: Verifying Checksum [2022-01-31T01:22:21.668Z] f965cba54748: Download complete [2022-01-31T01:22:21.668Z] 861ffc35075e: Verifying Checksum [2022-01-31T01:22:21.668Z] 861ffc35075e: Download complete [2022-01-31T01:22:21.668Z] 59bf1c3509f3: Verifying Checksum [2022-01-31T01:22:21.668Z] 59bf1c3509f3: Download complete [2022-01-31T01:22:21.668Z] 4b385c91608e: Verifying Checksum [2022-01-31T01:22:21.668Z] 4b385c91608e: Download complete [2022-01-31T01:22:21.932Z] 59bf1c3509f3: Pull complete [2022-01-31T01:22:22.194Z] 4fe6c5a15a65: Verifying Checksum [2022-01-31T01:22:22.194Z] 4fe6c5a15a65: Download complete [2022-01-31T01:22:22.194Z] 666ba61612fd: Pull complete [2022-01-31T01:22:22.194Z] 560528eb2ebb: Verifying Checksum [2022-01-31T01:22:22.194Z] 560528eb2ebb: Download complete [2022-01-31T01:22:22.460Z] 8ed8ca486205: Pull complete [2022-01-31T01:22:26.728Z] 4fe6c5a15a65: Pull complete [2022-01-31T01:22:26.728Z] 22a0e8bec74d: Pull complete [2022-01-31T01:22:26.728Z] f965cba54748: Pull complete [2022-01-31T01:22:26.728Z] 861ffc35075e: Pull complete [2022-01-31T01:22:26.728Z] 4b385c91608e: Pull complete [2022-01-31T01:22:29.334Z] 560528eb2ebb: Pull complete [2022-01-31T01:22:29.334Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-31T01:22:29.334Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-31T01:22:29.334Z] ---> dd4a08f94e63 [2022-01-31T01:22:29.334Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-31T01:22:30.724Z] ---> Running in 68a0a3610b2a [2022-01-31T01:22:30.724Z] Removing intermediate container 68a0a3610b2a [2022-01-31T01:22:30.724Z] ---> 3bd6afa4f28a [2022-01-31T01:22:30.724Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-31T01:22:30.724Z] ---> Running in d7354a465861 [2022-01-31T01:22:30.724Z] Removing intermediate container d7354a465861 [2022-01-31T01:22:30.724Z] ---> 30dab63bbb99 [2022-01-31T01:22:30.724Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-31T01:22:30.989Z] ---> Running in 0b8cac17962c [2022-01-31T01:22:31.252Z] Removing intermediate container 0b8cac17962c [2022-01-31T01:22:31.252Z] ---> e7aa30b6f227 [2022-01-31T01:22:31.252Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-31T01:22:31.252Z] ---> Running in 74fb3906ae5a [2022-01-31T01:22:31.833Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-31T01:22:32.776Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-31T01:22:33.055Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-31T01:22:33.055Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-31T01:22:33.055Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-31T01:22:33.322Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-31T01:22:33.322Z] Executing busybox-1.34.1-r3.trigger [2022-01-31T01:22:33.322Z] OK: 224 MiB in 56 packages [2022-01-31T01:22:33.587Z] Removing intermediate container 74fb3906ae5a [2022-01-31T01:22:33.587Z] ---> dd5a27145308 [2022-01-31T01:22:33.587Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-01-31T01:22:33.587Z] ---> Running in 29d34ae93d60 [2022-01-31T01:22:33.587Z] Removing intermediate container 29d34ae93d60 [2022-01-31T01:22:33.587Z] ---> f31c427401ff [2022-01-31T01:22:33.587Z] Step 8/12 : COPY go.mod vendor* ./ [2022-01-31T01:22:33.847Z] ---> 866c904ec94c [2022-01-31T01:22:33.847Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-31T01:22:33.847Z] ---> Running in e5f9cdc3312a [2022-01-31T01:22:34.387Z] Still waiting to schedule task [2022-01-31T01:22:34.387Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-31T01:23:12.617Z] Removing intermediate container e5f9cdc3312a [2022-01-31T01:23:12.617Z] ---> b7b58124c581 [2022-01-31T01:23:12.617Z] Step 10/12 : COPY . . [2022-01-31T01:23:12.617Z] ---> 331510bb7522 [2022-01-31T01:23:12.617Z] Step 11/12 : ARG MAKE='make build' [2022-01-31T01:23:12.617Z] ---> Running in 8c8d8648dc95 [2022-01-31T01:23:12.617Z] Removing intermediate container 8c8d8648dc95 [2022-01-31T01:23:12.617Z] ---> 7d98a44cc78e [2022-01-31T01:23:12.617Z] Step 12/12 : RUN $MAKE [2022-01-31T01:23:12.617Z] ---> Running in 76056a8f5753 [2022-01-31T01:23:12.617Z] noop [2022-01-31T01:23:12.617Z] Removing intermediate container 76056a8f5753 [2022-01-31T01:23:12.617Z] ---> 2ec1efab263e [2022-01-31T01:23:12.617Z] Successfully built 2ec1efab263e [2022-01-31T01:23:12.617Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-31T01:23:12.954Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-31T01:23:12.954Z] . [Pipeline] withDockerContainer [2022-01-31T01:23:13.061Z] prd-centos7-docker-4c-2g-4274 does not seem to be running inside a container [2022-01-31T01:23:13.096Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-336 -v /w/workspace/gexfoundry_device-mqtt-go_PR-336:/w/workspace/gexfoundry_device-mqtt-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-336@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-336@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 ******** ci-base-image-x86_64 cat [2022-01-31T01:23:13.469Z] $ docker top 367fcb2ca1ee26fbff743240b4c39f6f1df25d7892c4e904e587e7df0c9382fb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-31T01:23:13.896Z] + go version [2022-01-31T01:23:13.896Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-31T01:23:13.928Z] $ docker stop --time=1 367fcb2ca1ee26fbff743240b4c39f6f1df25d7892c4e904e587e7df0c9382fb [2022-01-31T01:23:15.093Z] $ docker rm -f 367fcb2ca1ee26fbff743240b4c39f6f1df25d7892c4e904e587e7df0c9382fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-31T01:23:15.779Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-31T01:23:15.780Z] . [Pipeline] withDockerContainer [2022-01-31T01:23:15.870Z] prd-centos7-docker-4c-2g-4274 does not seem to be running inside a container [2022-01-31T01:23:15.905Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-336 -v /w/workspace/gexfoundry_device-mqtt-go_PR-336:/w/workspace/gexfoundry_device-mqtt-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-336@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-336@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 ******** ci-base-image-x86_64 cat [2022-01-31T01:23:16.255Z] $ docker top 332ce45004203a05e8fafeb38500fba3ee1783c6f0c2bb095e063ee3f8a7c478 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-31T01:23:16.724Z] + make test [2022-01-31T01:23:16.724Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-31T01:23:16.988Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-01-31T01:23:32.030Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-01-31T01:23:32.030Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.5% of statements [2022-01-31T01:23:32.030Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-01-31T01:23:32.030Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-31T01:23:36.246Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-31T01:23:36.246Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-31T01:23:36.246Z] ./bin/test-attribution-txt.sh [2022-01-31T01:23:36.505Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-01-31T01:23:36.765Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2022-01-31T01:23:36.812Z] $ docker stop --time=1 332ce45004203a05e8fafeb38500fba3ee1783c6f0c2bb095e063ee3f8a7c478 [2022-01-31T01:23:38.208Z] $ docker rm -f 332ce45004203a05e8fafeb38500fba3ee1783c6f0c2bb095e063ee3f8a7c478 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-31T01:23:39.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-31T01:23:39.431Z] [2022-01-31T01:23:39.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-31T01:23:39.770Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-31T01:23:39.770Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-31T01:23:39.770Z] b4d181a07f80: Pulling fs layer [2022-01-31T01:23:39.770Z] a1111a8f2ec3: Pulling fs layer [2022-01-31T01:23:39.770Z] ed53099fbce6: Pulling fs layer [2022-01-31T01:23:39.770Z] dc539afda2c1: Pulling fs layer [2022-01-31T01:23:39.770Z] 77bc0d833cb6: Pulling fs layer [2022-01-31T01:23:39.770Z] 9065ff56babe: Pulling fs layer [2022-01-31T01:23:39.770Z] d287ab97295c: Pulling fs layer [2022-01-31T01:23:39.770Z] 77bc0d833cb6: Waiting [2022-01-31T01:23:39.770Z] 9065ff56babe: Waiting [2022-01-31T01:23:39.770Z] d287ab97295c: Waiting [2022-01-31T01:23:39.770Z] dc539afda2c1: Waiting [2022-01-31T01:23:39.770Z] a1111a8f2ec3: Verifying Checksum [2022-01-31T01:23:39.770Z] a1111a8f2ec3: Download complete [2022-01-31T01:23:39.770Z] dc539afda2c1: Verifying Checksum [2022-01-31T01:23:39.770Z] dc539afda2c1: Download complete [2022-01-31T01:23:39.770Z] ed53099fbce6: Verifying Checksum [2022-01-31T01:23:39.770Z] ed53099fbce6: Download complete [2022-01-31T01:23:39.770Z] 9065ff56babe: Verifying Checksum [2022-01-31T01:23:39.770Z] 9065ff56babe: Download complete [2022-01-31T01:23:39.770Z] 77bc0d833cb6: Verifying Checksum [2022-01-31T01:23:39.770Z] 77bc0d833cb6: Download complete [2022-01-31T01:23:40.036Z] b4d181a07f80: Verifying Checksum [2022-01-31T01:23:40.036Z] b4d181a07f80: Download complete [2022-01-31T01:23:40.628Z] d287ab97295c: Verifying Checksum [2022-01-31T01:23:40.628Z] d287ab97295c: Download complete [2022-01-31T01:23:41.584Z] b4d181a07f80: Pull complete [2022-01-31T01:23:41.584Z] a1111a8f2ec3: Pull complete [2022-01-31T01:23:42.176Z] ed53099fbce6: Pull complete [2022-01-31T01:23:42.176Z] dc539afda2c1: Pull complete [2022-01-31T01:23:42.442Z] 77bc0d833cb6: Pull complete [2022-01-31T01:23:42.705Z] 9065ff56babe: Pull complete [2022-01-31T01:23:48.017Z] d287ab97295c: Pull complete [2022-01-31T01:23:48.017Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-31T01:23:48.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-31T01:23:48.017Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-31T01:23:48.112Z] prd-centos7-docker-4c-2g-4274 does not seem to be running inside a container [2022-01-31T01:23:48.147Z] $ 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-336 -v /w/workspace/gexfoundry_device-mqtt-go_PR-336:/w/workspace/gexfoundry_device-mqtt-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-336@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-336@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:10003/edgex-lftools-log-publisher:latest cat [2022-01-31T01:23:50.420Z] $ docker top 7b04760ba674618f3cd8ad82c4e43ead6d6b6a775fc14bd1fa4a828681344a48 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T01:23:50.906Z] ---> job-cost.sh [2022-01-31T01:23:50.906Z] lf-activate-venv: SKIPPING [2022-01-31T01:23:50.906Z] INFO: No Stack... [2022-01-31T01:23:51.167Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-31T01:23:51.427Z] INFO: Archiving Costs [Pipeline] sh [2022-01-31T01:23:51.751Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-336/archives/cost.csv [2022-01-31T01:23:51.751Z] + cut -d, -f6 [Pipeline] lock [2022-01-31T01:23:51.795Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-336-1-stack-cost] [2022-01-31T01:23:51.800Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-336-1-stack-cost] did not exist. Created. [2022-01-31T01:23:51.800Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-336-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-31T01:23:52.194Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-31T01:23:52.256Z] Stashed 1 file(s) [Pipeline] } [2022-01-31T01:23:52.281Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-336-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-31T01:23:52.364Z] $ docker stop --time=1 7b04760ba674618f3cd8ad82c4e43ead6d6b6a775fc14bd1fa4a828681344a48 [2022-01-31T01:23:53.500Z] $ docker rm -f 7b04760ba674618f3cd8ad82c4e43ead6d6b6a775fc14bd1fa4a828681344a48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-31T01:23:53.875Z] Failed in branch amd64 [2022-01-31T01:23:56.678Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4275 in /w/workspace/gexfoundry_device-mqtt-go_PR-336 [Pipeline] { [Pipeline] ws [2022-01-31T01:23:56.721Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-01-31T01:23:56.923Z] Selected Git installation does not exist. Using Default [2022-01-31T01:23:56.923Z] The recommended git tool is: NONE [2022-01-31T01:24:01.415Z] using credential edgex-jenkins-ssh [2022-01-31T01:24:01.440Z] Cloning the remote Git repository [2022-01-31T01:24:01.486Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-31T01:24:01.553Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-01-31T01:24:01.643Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-31T01:24:01.644Z] > git --version # timeout=10 [2022-01-31T01:24:01.660Z] > git --version # 'git version 2.17.1' [2022-01-31T01:24:01.661Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-31T01:24:01.737Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-31T01:24:02.816Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-01-31T01:24:02.844Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-31T01:24:02.872Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-01-31T01:24:02.950Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-31T01:24:02.951Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-31T01:24:02.979Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-31T01:24:03.547Z] Merging remotes/origin/main commit 6506aa605e312cf2eda10f01423d61b781597072 into PR head commit 499eceb71d452f9b8ab89080898ec1d180099221 [2022-01-31T01:24:03.758Z] Merge succeeded, producing 499eceb71d452f9b8ab89080898ec1d180099221 [2022-01-31T01:24:03.758Z] Checking out Revision 499eceb71d452f9b8ab89080898ec1d180099221 (PR-336) [2022-01-31T01:24:03.563Z] > git config core.sparsecheckout # timeout=10 [2022-01-31T01:24:03.587Z] > git checkout -f 499eceb71d452f9b8ab89080898ec1d180099221 # timeout=10 [2022-01-31T01:24:03.673Z] > git remote # timeout=10 [2022-01-31T01:24:03.693Z] > git config --get remote.origin.url # timeout=10 [2022-01-31T01:24:03.711Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-31T01:24:03.720Z] > git merge 6506aa605e312cf2eda10f01423d61b781597072 # timeout=10 [2022-01-31T01:24:03.740Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-31T01:24:03.762Z] > git config core.sparsecheckout # timeout=10 [2022-01-31T01:24:03.773Z] > git checkout -f 499eceb71d452f9b8ab89080898ec1d180099221 # timeout=10 [2022-01-31T01:24:07.875Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-01-31T01:24:07.927Z] > git --version # timeout=10 [2022-01-31T01:24:07.936Z] > git --version # 'git version 2.17.1' [2022-01-31T01:24:07.950Z] fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-31T01:24:09.059Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-31T01:24:09.059Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-31T01:24:09.059Z] Dload Upload Total Spent Left Speed [2022-01-31T01:24:09.059Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 94744 0 --:--:-- --:--:-- --:--:-- 94744 [Pipeline] sh [2022-01-31T01:24:09.571Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-31T01:24:09.977Z] + sudo tee /etc/docker/daemon.new [2022-01-31T01:24:09.977Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-31T01:24:09.977Z] { [2022-01-31T01:24:09.977Z] "registry-mirrors": [ [2022-01-31T01:24:09.977Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-31T01:24:09.977Z] ], [2022-01-31T01:24:09.977Z] "bip": "10.250.0.254/24", [2022-01-31T01:24:09.977Z] "hosts": [ [2022-01-31T01:24:09.977Z] "tcp://0.0.0.0:5555", [2022-01-31T01:24:09.977Z] "unix:///var/run/docker.sock" [2022-01-31T01:24:09.977Z] ], [2022-01-31T01:24:09.977Z] "mtu": 1458, [2022-01-31T01:24:09.977Z] "selinux-enabled": true, [2022-01-31T01:24:09.977Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-31T01:24:09.977Z] } [Pipeline] sh [2022-01-31T01:24:10.334Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-31T01:24:10.698Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-31T01:24:29.079Z] provisioning config files... [2022-01-31T01:24:29.104Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5615649949672289053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T01:24:29.494Z] ---> docker-login.sh [2022-01-31T01:24:29.494Z] nexus3.edgexfoundry.org:10001 [2022-01-31T01:24:30.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T01:24:30.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T01:24:30.363Z] Configure a credential helper to remove this warning. See [2022-01-31T01:24:30.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T01:24:30.363Z] [2022-01-31T01:24:30.363Z] Login Succeeded [2022-01-31T01:24:30.363Z] nexus3.edgexfoundry.org:10002 [2022-01-31T01:24:30.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T01:24:30.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T01:24:30.638Z] Configure a credential helper to remove this warning. See [2022-01-31T01:24:30.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T01:24:30.638Z] [2022-01-31T01:24:30.638Z] Login Succeeded [2022-01-31T01:24:30.638Z] nexus3.edgexfoundry.org:10003 [2022-01-31T01:24:30.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T01:24:31.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T01:24:31.183Z] Configure a credential helper to remove this warning. See [2022-01-31T01:24:31.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T01:24:31.183Z] [2022-01-31T01:24:31.183Z] Login Succeeded [2022-01-31T01:24:31.183Z] nexus3.edgexfoundry.org:10004 [2022-01-31T01:24:31.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T01:24:31.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T01:24:31.457Z] Configure a credential helper to remove this warning. See [2022-01-31T01:24:31.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T01:24:31.457Z] [2022-01-31T01:24:31.457Z] Login Succeeded [2022-01-31T01:24:31.457Z] docker.io [2022-01-31T01:24:31.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T01:24:32.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T01:24:32.434Z] Configure a credential helper to remove this warning. See [2022-01-31T01:24:32.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T01:24:32.434Z] [2022-01-31T01:24:32.434Z] Login Succeeded [2022-01-31T01:24:32.434Z] ---> docker-login.sh ends [Pipeline] } [2022-01-31T01:24:32.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-31T01:24:32.850Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-31T01:24:32.883Z] ========================================================= [2022-01-31T01:24:32.883Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-31T01:24:32.883Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-31T01:24:33.327Z] + 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-31T01:24:33.600Z] Sending build context to Docker daemon 2.988MB [2022-01-31T01:24:33.600Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-31T01:24:33.600Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-31T01:24:33.887Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-31T01:24:33.887Z] 9b3977197b4f: Pulling fs layer [2022-01-31T01:24:33.887Z] 1a89e8eeedd5: Pulling fs layer [2022-01-31T01:24:33.887Z] 94645a83ff95: Pulling fs layer [2022-01-31T01:24:33.887Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-31T01:24:33.887Z] 0c92f367c5e7: Pulling fs layer [2022-01-31T01:24:33.887Z] 4b8299f9d1f4: Pulling fs layer [2022-01-31T01:24:33.887Z] 9a6b49a46696: Pulling fs layer [2022-01-31T01:24:33.887Z] cf05db05a679: Pulling fs layer [2022-01-31T01:24:33.887Z] 4b8299f9d1f4: Waiting [2022-01-31T01:24:33.887Z] cf05db05a679: Waiting [2022-01-31T01:24:33.887Z] 3f3a8bcf1eab: Waiting [2022-01-31T01:24:33.887Z] 0c92f367c5e7: Waiting [2022-01-31T01:24:33.887Z] 9a6b49a46696: Waiting [2022-01-31T01:24:33.887Z] 94645a83ff95: Download complete [2022-01-31T01:24:33.887Z] 1a89e8eeedd5: Download complete [2022-01-31T01:24:33.887Z] 0c92f367c5e7: Verifying Checksum [2022-01-31T01:24:33.887Z] 0c92f367c5e7: Download complete [2022-01-31T01:24:33.887Z] 4b8299f9d1f4: Verifying Checksum [2022-01-31T01:24:33.887Z] 4b8299f9d1f4: Download complete [2022-01-31T01:24:33.887Z] 9a6b49a46696: Verifying Checksum [2022-01-31T01:24:33.887Z] 9a6b49a46696: Download complete [2022-01-31T01:24:33.887Z] 9b3977197b4f: Verifying Checksum [2022-01-31T01:24:33.887Z] 9b3977197b4f: Download complete [2022-01-31T01:24:34.491Z] 9b3977197b4f: Pull complete [2022-01-31T01:24:35.097Z] 1a89e8eeedd5: Pull complete [2022-01-31T01:24:35.697Z] 94645a83ff95: Pull complete [2022-01-31T01:24:35.697Z] cf05db05a679: Verifying Checksum [2022-01-31T01:24:35.697Z] cf05db05a679: Download complete [2022-01-31T01:24:36.304Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-31T01:24:36.304Z] 3f3a8bcf1eab: Download complete [2022-01-31T01:24:48.690Z] 3f3a8bcf1eab: Pull complete [2022-01-31T01:24:48.690Z] 0c92f367c5e7: Pull complete [2022-01-31T01:24:48.690Z] 4b8299f9d1f4: Pull complete [2022-01-31T01:24:48.690Z] 9a6b49a46696: Pull complete [2022-01-31T01:24:54.089Z] cf05db05a679: Pull complete [2022-01-31T01:24:54.089Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-31T01:24:54.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-31T01:24:54.089Z] ---> 0ccda1f7e2ee [2022-01-31T01:24:54.089Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-31T01:24:56.065Z] ---> Running in fea728dd52aa [2022-01-31T01:24:56.065Z] Removing intermediate container fea728dd52aa [2022-01-31T01:24:56.065Z] ---> 3d2a737d34f8 [2022-01-31T01:24:56.065Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-31T01:24:56.065Z] ---> Running in 32c92c2fd314 [2022-01-31T01:24:56.662Z] Removing intermediate container 32c92c2fd314 [2022-01-31T01:24:56.662Z] ---> e0ed94a3f047 [2022-01-31T01:24:56.662Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-31T01:24:56.662Z] ---> Running in f07627d1fa93 [2022-01-31T01:24:58.641Z] Removing intermediate container f07627d1fa93 [2022-01-31T01:24:58.641Z] ---> a983a55bfc2f [2022-01-31T01:24:58.641Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-31T01:24:58.641Z] ---> Running in bbdb7c9c4f19 [2022-01-31T01:24:59.624Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-31T01:25:00.596Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-31T01:25:01.184Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-31T01:25:01.184Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-31T01:25:01.456Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-31T01:25:01.456Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-31T01:25:01.726Z] Executing busybox-1.34.1-r3.trigger [2022-01-31T01:25:01.726Z] OK: 224 MiB in 56 packages [2022-01-31T01:25:02.701Z] Removing intermediate container bbdb7c9c4f19 [2022-01-31T01:25:02.701Z] ---> 075840065bcc [2022-01-31T01:25:02.701Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-01-31T01:25:02.701Z] ---> Running in 3748f0e1a518 [2022-01-31T01:25:02.972Z] Removing intermediate container 3748f0e1a518 [2022-01-31T01:25:02.972Z] ---> c0e04c532b1e [2022-01-31T01:25:02.972Z] Step 8/12 : COPY go.mod vendor* ./ [2022-01-31T01:25:03.565Z] ---> 4049a1c565e4 [2022-01-31T01:25:03.565Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-31T01:25:03.842Z] ---> Running in 360f744b2175 [2022-01-31T01:26:25.593Z] Removing intermediate container 360f744b2175 [2022-01-31T01:26:25.593Z] ---> f9b53a49ac44 [2022-01-31T01:26:25.593Z] Step 10/12 : COPY . . [2022-01-31T01:26:25.593Z] ---> 7d570c474c3c [2022-01-31T01:26:25.593Z] Step 11/12 : ARG MAKE='make build' [2022-01-31T01:26:25.593Z] ---> Running in f0bb5c3e5fca [2022-01-31T01:26:25.593Z] Removing intermediate container f0bb5c3e5fca [2022-01-31T01:26:25.593Z] ---> ddf417ec0819 [2022-01-31T01:26:25.593Z] Step 12/12 : RUN $MAKE [2022-01-31T01:26:25.593Z] ---> Running in ce9474a4ca98 [2022-01-31T01:26:25.593Z] noop [2022-01-31T01:26:25.593Z] Removing intermediate container ce9474a4ca98 [2022-01-31T01:26:25.593Z] ---> ddff74637830 [2022-01-31T01:26:25.593Z] Successfully built ddff74637830 [2022-01-31T01:26:25.593Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-31T01:26:25.974Z] + docker inspect -f . ci-base-image-arm64 [2022-01-31T01:26:25.974Z] . [Pipeline] withDockerContainer [2022-01-31T01:26:26.191Z] prd-ubuntu18.04-docker-arm64-4c-16g-4275 does not seem to be running inside a container [2022-01-31T01:26:26.305Z] $ 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 ******** ci-base-image-arm64 cat [2022-01-31T01:26:27.551Z] $ docker top 33fb49582290531268b3ccda870d273f937cc29935f3278499d7d0629c997b96 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-31T01:26:28.481Z] + go version [2022-01-31T01:26:28.482Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-31T01:26:28.522Z] $ docker stop --time=1 33fb49582290531268b3ccda870d273f937cc29935f3278499d7d0629c997b96 [2022-01-31T01:26:30.120Z] $ docker rm -f 33fb49582290531268b3ccda870d273f937cc29935f3278499d7d0629c997b96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-31T01:26:30.938Z] + docker inspect -f . ci-base-image-arm64 [2022-01-31T01:26:30.938Z] . [Pipeline] withDockerContainer [2022-01-31T01:26:31.157Z] prd-ubuntu18.04-docker-arm64-4c-16g-4275 does not seem to be running inside a container [2022-01-31T01:26:31.239Z] $ 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 ******** ci-base-image-arm64 cat [2022-01-31T01:26:32.488Z] $ docker top a62fcf351428e37ad46b7f9b36060387319014f9ee5183369f86a335cb290d65 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-31T01:26:33.507Z] + make test [2022-01-31T01:26:33.507Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-31T01:26:34.484Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-01-31T01:27:21.482Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-01-31T01:27:21.482Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.057s coverage: 22.5% of statements [2022-01-31T01:27:21.482Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-01-31T01:27:21.482Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-31T01:27:39.812Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-31T01:27:39.812Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-31T01:27:39.812Z] ./bin/test-attribution-txt.sh [2022-01-31T01:27:40.794Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-01-31T01:27:41.070Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2022-01-31T01:27:41.122Z] $ docker stop --time=1 a62fcf351428e37ad46b7f9b36060387319014f9ee5183369f86a335cb290d65 [2022-01-31T01:27:42.844Z] $ docker rm -f a62fcf351428e37ad46b7f9b36060387319014f9ee5183369f86a335cb290d65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-31T01:27:44.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-31T01:27:44.206Z] [2022-01-31T01:27:44.206Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-31T01:27:44.580Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-31T01:27:44.860Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-31T01:27:44.860Z] 448f6bf000e3: Pulling fs layer [2022-01-31T01:27:44.860Z] f757da607395: Pulling fs layer [2022-01-31T01:27:44.860Z] 05883995daec: Pulling fs layer [2022-01-31T01:27:44.860Z] 8603b9c90790: Pulling fs layer [2022-01-31T01:27:44.860Z] 1560dd03e051: Pulling fs layer [2022-01-31T01:27:44.860Z] 27f5ce0e4adf: Pulling fs layer [2022-01-31T01:27:44.860Z] c2d8d7efcc4b: Pulling fs layer [2022-01-31T01:27:44.860Z] 1560dd03e051: Waiting [2022-01-31T01:27:44.860Z] 27f5ce0e4adf: Waiting [2022-01-31T01:27:44.860Z] c2d8d7efcc4b: Waiting [2022-01-31T01:27:44.860Z] 8603b9c90790: Waiting [2022-01-31T01:27:44.860Z] f757da607395: Verifying Checksum [2022-01-31T01:27:44.860Z] f757da607395: Download complete [2022-01-31T01:27:44.860Z] 8603b9c90790: Verifying Checksum [2022-01-31T01:27:44.860Z] 8603b9c90790: Download complete [2022-01-31T01:27:45.136Z] 1560dd03e051: Verifying Checksum [2022-01-31T01:27:45.136Z] 1560dd03e051: Download complete [2022-01-31T01:27:45.136Z] 27f5ce0e4adf: Verifying Checksum [2022-01-31T01:27:45.136Z] 27f5ce0e4adf: Download complete [2022-01-31T01:27:45.136Z] 05883995daec: Verifying Checksum [2022-01-31T01:27:45.136Z] 05883995daec: Download complete [2022-01-31T01:27:45.410Z] 448f6bf000e3: Download complete [2022-01-31T01:27:48.029Z] c2d8d7efcc4b: Verifying Checksum [2022-01-31T01:27:48.029Z] c2d8d7efcc4b: Download complete [2022-01-31T01:27:49.007Z] 448f6bf000e3: Pull complete [2022-01-31T01:27:49.606Z] f757da607395: Pull complete [2022-01-31T01:27:51.041Z] 05883995daec: Pull complete [2022-01-31T01:27:51.315Z] 8603b9c90790: Pull complete [2022-01-31T01:27:52.297Z] 1560dd03e051: Pull complete [2022-01-31T01:27:52.297Z] 27f5ce0e4adf: Pull complete [2022-01-31T01:28:07.468Z] c2d8d7efcc4b: Pull complete [2022-01-31T01:28:07.468Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-31T01:28:07.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-31T01:28:07.468Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-31T01:28:07.694Z] prd-ubuntu18.04-docker-arm64-4c-16g-4275 does not seem to be running inside a container [2022-01-31T01:28:07.775Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-31T01:28:10.385Z] $ docker top 0c81fc60548e8e444aa9b591d03f4ce9978c204810478efc0ffe59876fb30565 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T01:28:11.344Z] ---> job-cost.sh [2022-01-31T01:28:11.344Z] lf-activate-venv: SKIPPING [2022-01-31T01:28:11.344Z] INFO: No Stack... [2022-01-31T01:28:11.616Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-31T01:28:11.887Z] INFO: Archiving Costs [Pipeline] sh [2022-01-31T01:28:12.568Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-01-31T01:28:12.568Z] + cut -d, -f6 [Pipeline] lock [2022-01-31T01:28:12.648Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-336-1-stack-cost] [2022-01-31T01:28:12.652Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-336-1-stack-cost] did not exist. Created. [2022-01-31T01:28:12.652Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-336-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-31T01:28:13.384Z] /w/workspace/device-mqtt-go/1@tmp/durable-7693cce8/script.sh: 1: /w/workspace/device-mqtt-go/1@tmp/durable-7693cce8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-31T01:28:14.077Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-31T01:28:14.114Z] Warning: overwriting stash ‘stack-cost’ [2022-01-31T01:28:14.540Z] Stashed 1 file(s) [Pipeline] } [2022-01-31T01:28:14.556Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-336-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-31T01:28:14.644Z] $ docker stop --time=1 0c81fc60548e8e444aa9b591d03f4ce9978c204810478efc0ffe59876fb30565 [2022-01-31T01:28:16.126Z] $ docker rm -f 0c81fc60548e8e444aa9b591d03f4ce9978c204810478efc0ffe59876fb30565 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-31T01:28:16.847Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-31T01:28:18.777Z] + '[' -d /w/workspace/gexfoundry_device-mqtt-go_PR-336/archives ']' [2022-01-31T01:28:18.777Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-336/archives [2022-01-31T01:28:18.777Z] total 8 [2022-01-31T01:28:18.777Z] drwxr-xr-x. 3 root root 34 Jan 31 01:23 . [2022-01-31T01:28:18.777Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 31 01:23 .. [2022-01-31T01:28:18.777Z] drwxr-xr-x. 2 root root 6 Jan 31 01:23 cost [2022-01-31T01:28:18.777Z] -rw-r--r--. 1 root root 85 Jan 31 01:23 cost.csv [2022-01-31T01:28:18.777Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-336/archives [2022-01-31T01:28:18.777Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-336/archives [2022-01-31T01:28:18.777Z] total 8 [2022-01-31T01:28:18.777Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 31 01:23 . [2022-01-31T01:28:18.777Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 31 01:23 .. [2022-01-31T01:28:18.777Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 31 01:23 cost [2022-01-31T01:28:18.777Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 31 01:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-31T01:28:19.107Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T01:28:19.699Z] ---> package-listing.sh [2022-01-31T01:28:19.699Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-31T01:28:19.699Z] ++ facter osfamily [2022-01-31T01:28:19.964Z] + OS_FAMILY=redhat [2022-01-31T01:28:19.964Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-336 [2022-01-31T01:28:19.964Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-31T01:28:19.964Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-31T01:28:19.964Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-31T01:28:19.964Z] + PACKAGES=/tmp/packages_start.txt [2022-01-31T01:28:19.964Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-336 ']' [2022-01-31T01:28:19.964Z] + PACKAGES=/tmp/packages_end.txt [2022-01-31T01:28:19.964Z] + case "${OS_FAMILY}" in [2022-01-31T01:28:19.964Z] + sort [2022-01-31T01:28:19.964Z] + rpm -qa [2022-01-31T01:28:20.536Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-31T01:28:20.536Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-31T01:28:20.536Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-31T01:28:20.536Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-336 ']' [2022-01-31T01:28:20.536Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-336/archives/ [2022-01-31T01:28:20.536Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-336/archives/ [Pipeline] echo [2022-01-31T01:28:20.569Z] 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-336/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-31T01:28:20.866Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-31T01:28:21.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-31T01:28:21.477Z] . [Pipeline] withDockerContainer [2022-01-31T01:28:21.578Z] prd-centos7-docker-4c-2g-4274 does not seem to be running inside a container [2022-01-31T01:28:21.611Z] $ 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-336/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-336 -v /w/workspace/gexfoundry_device-mqtt-go_PR-336:/w/workspace/gexfoundry_device-mqtt-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-336@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-336@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-31T01:28:21.819Z] $ docker top 29b48a84e176c8a6f93635ca9eb639cc12f7752584ccc16b335a8e822f28724d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-31T01:28:22.227Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-31T01:28:22.621Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-31T01:28:23.107Z] + ls /var/log/sa-host [2022-01-31T01:28:23.107Z] + sadf -c /var/log/sa-host/sa17 [2022-01-31T01:28:23.107Z] file_magic: OK [2022-01-31T01:28:23.107Z] HZ: Using current value: 100 [2022-01-31T01:28:23.107Z] file_header: OK [2022-01-31T01:28:23.107Z] 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-31T01:28:23.107Z] Statistics: [2022-01-31T01:28:23.107Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-31T01:28:23.107Z] File successfully converted to sysstat format version 12.0.3 [2022-01-31T01:28:23.107Z] + sadf -c /var/log/sa-host/sa31 [2022-01-31T01:28:23.107Z] file_magic: OK [2022-01-31T01:28:23.107Z] HZ: Using current value: 100 [2022-01-31T01:28:23.107Z] file_header: OK [2022-01-31T01:28:23.107Z] 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-31T01:28:23.107Z] Statistics: [2022-01-31T01:28:23.107Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-31T01:28:23.107Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-31T01:28:23.411Z] provisioning config files... [2022-01-31T01:28:23.422Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-336@tmp/config5459003008883018907tmp [Pipeline] { [Pipeline] echo [2022-01-31T01:28:23.477Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T01:28:23.791Z] ---> create-netrc.sh [Pipeline] } [2022-01-31T01:28:23.818Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-31T01:28:24.236Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-31T01:28:24.269Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T01:28:24.580Z] ---> sudo-logs.sh [2022-01-31T01:28:24.580Z] Archiving 'sudo' log.. [2022-01-31T01:28:24.580Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4274.novalocal: Name or service not known [2022-01-31T01:28:24.580Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4274.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-31T01:28:24.664Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T01:28:24.977Z] ---> job-cost.sh [2022-01-31T01:28:24.977Z] lf-activate-venv: SKIPPING [2022-01-31T01:28:24.977Z] DEBUG: total: 0.05999999865889549 [2022-01-31T01:28:24.977Z] INFO: Retrieving Stack Cost... [2022-01-31T01:28:25.238Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-31T01:28:25.499Z] INFO: Archiving Costs [Pipeline] echo [2022-01-31T01:28:25.534Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T01:28:25.868Z] ---> logs-deploy.sh [2022-01-31T01:28:25.868Z] lf-activate-venv: SKIPPING [2022-01-31T01:28:25.868Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-336/1 [2022-01-31T01:28:25.868Z] INFO: archiving workspace using pattern(s): [2022-01-31T01:28:26.438Z] Archives upload complete. [2022-01-31T01:28:26.701Z] INFO: archiving logs to Nexus