Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1194565ec3dd3fecf5aea8b03608c37bc22f8c26+195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 (8bfb1c8ea6015daf77b682d6b9e8e75c62663bc3) 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-ssh213661873757131415.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh13048904698299444749.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-337/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-337/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3890542633734401325.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh359892116899438901.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-337/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-337/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7985776329286276862.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4873 in /w/workspace/gexfoundry_device-mqtt-go_PR-337 [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-337 # 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-337@tmp/jenkins-gitclient-ssh8768602048008183177.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 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 into PR head commit 1194565ec3dd3fecf5aea8b03608c37bc22f8c26 Merge succeeded, producing e4bf2835c60098d7296be0042d4b8fb60a7d2e6e Checking out Revision e4bf2835c60098d7296be0042d4b8fb60a7d2e6e (PR-337) > 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-337@tmp/jenkins-gitclient-ssh4569620811080642472.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1194565ec3dd3fecf5aea8b03608c37bc22f8c26 # 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-337@tmp/jenkins-gitclient-ssh364936765127735338.key > git merge 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4bf2835c60098d7296be0042d4b8fb60a7d2e6e # timeout=10 Commit message: "Merge commit '195658a04037eb8b6dd2e89b8fc6d25babbaa5f0' into HEAD" > git rev-list --no-walk 1194565ec3dd3fecf5aea8b03608c37bc22f8c26 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-09T03:17:12.310Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-09T03:17:12.384Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-09T03:17:12.406Z] ========================================================= [2022-02-09T03:17:12.406Z] EdgeX Global Pipelines Version Info [2022-02-09T03:17:12.406Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-09T03:17:13.548Z] ------------------- [2022-02-09T03:17:13.548Z] stable info: [2022-02-09T03:17:13.548Z] ------------------- [2022-02-09T03:17:13.548Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-09T03:17:13.548Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-09T03:17:13.548Z] Message: update stable to v1.0.220 [2022-02-09T03:17:14.120Z] ------------------- [2022-02-09T03:17:14.121Z] experimental info: [2022-02-09T03:17:14.121Z] ------------------- [2022-02-09T03:17:14.121Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-09T03:17:14.121Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-09T03:17:14.121Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-09T03:17:14.264Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-02-09T03:17:14.277Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-02-09T03:17:14.286Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-09T03:17:14.296Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-09T03:17:14.305Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-09T03:17:14.314Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-09T03:17:14.324Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-09T03:17:14.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-02-09T03:17:14.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-09T03:17:14.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-09T03:17:14.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-09T03:17:14.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-02-09T03:17:14.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-09T03:17:14.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-09T03:17:14.455Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-09T03:17:14.471Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-02-09T03:17:14.490Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-09T03:17:14.510Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-09T03:17:14.527Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-09T03:17:14.548Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-02-09T03:17:14.565Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-02-09T03:17:14.579Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-02-09T03:17:14.592Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-09T03:17:14.608Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-09T03:17:14.623Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-09T03:17:14.643Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-09T03:17:14.663Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-337 [Pipeline] echo [2022-02-09T03:17:14.687Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-337 [Pipeline] echo [2022-02-09T03:17:14.706Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-337 [Pipeline] echo [2022-02-09T03:17:14.724Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4bf2835c60098d7296be0042d4b8fb60a7d2e6e [Pipeline] echo [2022-02-09T03:17:14.744Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4bf283 [Pipeline] echo [2022-02-09T03:17:14.765Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-09T03:17:14.821Z] provisioning config files... [2022-02-09T03:17:14.833Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp/config1108089852699817045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-09T03:17:15.150Z] ---> docker-login.sh [2022-02-09T03:17:15.150Z] nexus3.edgexfoundry.org:10001 [2022-02-09T03:17:15.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-09T03:17:15.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-09T03:17:15.417Z] Configure a credential helper to remove this warning. See [2022-02-09T03:17:15.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-09T03:17:15.417Z] [2022-02-09T03:17:15.417Z] Login Succeeded [2022-02-09T03:17:15.417Z] nexus3.edgexfoundry.org:10002 [2022-02-09T03:17:15.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-09T03:17:15.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-09T03:17:15.417Z] Configure a credential helper to remove this warning. See [2022-02-09T03:17:15.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-09T03:17:15.417Z] [2022-02-09T03:17:15.417Z] Login Succeeded [2022-02-09T03:17:15.417Z] nexus3.edgexfoundry.org:10003 [2022-02-09T03:17:15.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-09T03:17:15.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-09T03:17:15.677Z] Configure a credential helper to remove this warning. See [2022-02-09T03:17:15.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-09T03:17:15.677Z] [2022-02-09T03:17:15.677Z] Login Succeeded [2022-02-09T03:17:15.677Z] nexus3.edgexfoundry.org:10004 [2022-02-09T03:17:15.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-09T03:17:15.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-09T03:17:15.677Z] Configure a credential helper to remove this warning. See [2022-02-09T03:17:15.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-09T03:17:15.677Z] [2022-02-09T03:17:15.677Z] Login Succeeded [2022-02-09T03:17:15.677Z] docker.io [2022-02-09T03:17:15.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-09T03:17:16.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-09T03:17:16.252Z] Configure a credential helper to remove this warning. See [2022-02-09T03:17:16.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-09T03:17:16.252Z] [2022-02-09T03:17:16.252Z] Login Succeeded [2022-02-09T03:17:16.252Z] ---> docker-login.sh ends [Pipeline] } [2022-02-09T03:17:16.259Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-09T03:17:16.654Z] + git rev-list -1 --merges e4bf2835c60098d7296be0042d4b8fb60a7d2e6e~1..e4bf2835c60098d7296be0042d4b8fb60a7d2e6e [Pipeline] echo [2022-02-09T03:17:16.681Z] -----------> git rev-list -1 --merges e4bf2835c60098d7296be0042d4b8fb60a7d2e6e~1..e4bf2835c60098d7296be0042d4b8fb60a7d2e6e e4bf2835c60098d7296be0042d4b8fb60a7d2e6e [2022-02-09T03:17:16.682Z] e4bf2835c60098d7296be0042d4b8fb60a7d2e6e [false] [Pipeline] sh [2022-02-09T03:17:16.981Z] + git log --format=format:%s -1 e4bf2835c60098d7296be0042d4b8fb60a7d2e6e [Pipeline] echo [2022-02-09T03:17:17.003Z] ========================================================= [2022-02-09T03:17:17.003Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-09T03:17:17.003Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-09T03:17:17.352Z] + git log --format=format:%s -1 e4bf2835c60098d7296be0042d4b8fb60a7d2e6e [Pipeline] echo [2022-02-09T03:17:17.364Z] [semverPrep] GIT_COMMIT: e4bf2835c60098d7296be0042d4b8fb60a7d2e6e, Commit Message: Merge commit '195658a04037eb8b6dd2e89b8fc6d25babbaa5f0' into HEAD [Pipeline] echo [2022-02-09T03:17:17.375Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-09T03:17:17.821Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-09T03:17:17.821Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-09T03:17:17.821Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-09T03:17:17.821Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-09T03:17:17.821Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-09T03:17:17.821Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-09T03:17:17.821Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-09T03:17:18.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-09T03:17:18.262Z] [2022-02-09T03:17:18.262Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-09T03:17:18.572Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-09T03:17:18.572Z] latest: Pulling from edgex-devops/git-semver [2022-02-09T03:17:18.572Z] a0d0a0d46f8b: Pulling fs layer [2022-02-09T03:17:18.572Z] 3e5f54012d9b: Pulling fs layer [2022-02-09T03:17:18.572Z] 4c7163046ea9: Pulling fs layer [2022-02-09T03:17:18.572Z] 0c2d73faf560: Pulling fs layer [2022-02-09T03:17:18.572Z] 3e5f54012d9b: Verifying Checksum [2022-02-09T03:17:18.572Z] 3e5f54012d9b: Download complete [2022-02-09T03:17:18.572Z] a0d0a0d46f8b: Verifying Checksum [2022-02-09T03:17:18.572Z] a0d0a0d46f8b: Download complete [2022-02-09T03:17:18.572Z] 4c7163046ea9: Verifying Checksum [2022-02-09T03:17:18.572Z] 4c7163046ea9: Download complete [2022-02-09T03:17:18.840Z] 0c2d73faf560: Verifying Checksum [2022-02-09T03:17:18.840Z] 0c2d73faf560: Download complete [2022-02-09T03:17:18.840Z] a0d0a0d46f8b: Pull complete [2022-02-09T03:17:18.840Z] 3e5f54012d9b: Pull complete [2022-02-09T03:17:19.105Z] 4c7163046ea9: Pull complete [2022-02-09T03:17:19.368Z] 0c2d73faf560: Pull complete [2022-02-09T03:17:19.368Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-09T03:17:19.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-09T03:17:19.368Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-09T03:17:19.445Z] prd-centos7-docker-4c-2g-4873 does not seem to be running inside a container [2022-02-09T03:17:19.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-337 -v /w/workspace/gexfoundry_device-mqtt-go_PR-337:/w/workspace/gexfoundry_device-mqtt-go_PR-337:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-337@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:10004/edgex-devops/git-semver:latest cat [2022-02-09T03:17:20.130Z] $ docker top 3f9122ee5fb8ed379fcc66ab4f0d939e28599d08d6c9f6d40bb5d314bb0eccc3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-09T03:17:20.245Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-09T03:17:20.245Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-09T03:17:20.343Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-09T03:17:20.345Z] $ docker exec 3f9122ee5fb8ed379fcc66ab4f0d939e28599d08d6c9f6d40bb5d314bb0eccc3 ssh-agent [2022-02-09T03:17:20.443Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOkmedH/agent.14 [2022-02-09T03:17:20.443Z] SSH_AGENT_PID=21 [2022-02-09T03:17:20.452Z] Running ssh-add (command line suppressed) [2022-02-09T03:17:20.544Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp/private_key_4513902563679823033.key (/w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp/private_key_4513902563679823033.key) [2022-02-09T03:17:20.560Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-09T03:17:20.870Z] + git tag --points-at HEAD [Pipeline] } [2022-02-09T03:17:20.892Z] $ docker exec --env ******** --env ******** 3f9122ee5fb8ed379fcc66ab4f0d939e28599d08d6c9f6d40bb5d314bb0eccc3 ssh-agent -k [2022-02-09T03:17:20.973Z] unset SSH_AUTH_SOCK; [2022-02-09T03:17:20.974Z] unset SSH_AGENT_PID; [2022-02-09T03:17:20.974Z] echo Agent pid 21 killed; [2022-02-09T03:17:20.984Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-09T03:17:21.010Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-09T03:17:21.010Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-09T03:17:21.115Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-09T03:17:21.117Z] $ docker exec 3f9122ee5fb8ed379fcc66ab4f0d939e28599d08d6c9f6d40bb5d314bb0eccc3 ssh-agent [2022-02-09T03:17:21.203Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNkLaHb/agent.56 [2022-02-09T03:17:21.203Z] SSH_AGENT_PID=62 [2022-02-09T03:17:21.209Z] Running ssh-add (command line suppressed) [2022-02-09T03:17:21.297Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp/private_key_730936971164221940.key (/w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp/private_key_730936971164221940.key) [2022-02-09T03:17:21.310Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-09T03:17:21.608Z] + git semver init [2022-02-09T03:17:21.608Z] # -> Open(): unable to determine branch for HEAD [2022-02-09T03:17:21.608Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-337/.git [2022-02-09T03:17:21.608Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-337 [2022-02-09T03:17:21.608Z] # $SEMVER_REMOTE_NAME = origin [2022-02-09T03:17:21.608Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-09T03:17:21.608Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-09T03:17:21.608Z] # $SEMVER_BRANCH = PR-337 [2022-02-09T03:17:21.608Z] # $SEMVER_TEMP = /tmp/semver-760014412 [2022-02-09T03:17:21.608Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-02-09T03:17:22.555Z] # '/tmp/semver-760014412' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-337/.semver' [2022-02-09T03:17:22.555Z] # -> Force: false [2022-02-09T03:17:22.555Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-337/.semver [Pipeline] } [2022-02-09T03:17:22.566Z] $ docker exec --env ******** --env ******** 3f9122ee5fb8ed379fcc66ab4f0d939e28599d08d6c9f6d40bb5d314bb0eccc3 ssh-agent -k [2022-02-09T03:17:22.655Z] unset SSH_AUTH_SOCK; [2022-02-09T03:17:22.655Z] unset SSH_AGENT_PID; [2022-02-09T03:17:22.655Z] echo Agent pid 62 killed; [2022-02-09T03:17:22.663Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-09T03:17:22.983Z] + git semver [Pipeline] } [2022-02-09T03:17:23.000Z] $ docker stop --time=1 3f9122ee5fb8ed379fcc66ab4f0d939e28599d08d6c9f6d40bb5d314bb0eccc3 [2022-02-09T03:17:24.220Z] $ docker rm -f 3f9122ee5fb8ed379fcc66ab4f0d939e28599d08d6c9f6d40bb5d314bb0eccc3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-09T03:17:24.585Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-09T03:17:24.850Z] Stashed 1 file(s) [Pipeline] echo [2022-02-09T03:17:24.855Z] [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-02-09T03:17:25.017Z] provisioning config files... [2022-02-09T03:17:25.030Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp/config6099133377654113106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-09T03:17:25.362Z] ---> docker-login.sh [2022-02-09T03:17:25.362Z] nexus3.edgexfoundry.org:10001 [2022-02-09T03:17:25.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-09T03:17:25.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-09T03:17:25.362Z] Configure a credential helper to remove this warning. See [2022-02-09T03:17:25.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-09T03:17:25.362Z] [2022-02-09T03:17:25.362Z] Login Succeeded [2022-02-09T03:17:25.362Z] nexus3.edgexfoundry.org:10002 [2022-02-09T03:17:25.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-09T03:17:25.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-09T03:17:25.623Z] Configure a credential helper to remove this warning. See [2022-02-09T03:17:25.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-09T03:17:25.623Z] [2022-02-09T03:17:25.623Z] Login Succeeded [2022-02-09T03:17:25.623Z] nexus3.edgexfoundry.org:10003 [2022-02-09T03:17:25.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-09T03:17:25.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-09T03:17:25.623Z] Configure a credential helper to remove this warning. See [2022-02-09T03:17:25.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-09T03:17:25.623Z] [2022-02-09T03:17:25.623Z] Login Succeeded [2022-02-09T03:17:25.623Z] nexus3.edgexfoundry.org:10004 [2022-02-09T03:17:25.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-09T03:17:25.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-09T03:17:25.884Z] Configure a credential helper to remove this warning. See [2022-02-09T03:17:25.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-09T03:17:25.884Z] [2022-02-09T03:17:25.884Z] Login Succeeded [2022-02-09T03:17:25.884Z] docker.io [2022-02-09T03:17:25.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-09T03:17:26.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-09T03:17:26.145Z] Configure a credential helper to remove this warning. See [2022-02-09T03:17:26.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-09T03:17:26.145Z] [2022-02-09T03:17:26.145Z] Login Succeeded [2022-02-09T03:17:26.145Z] ---> docker-login.sh ends [Pipeline] } [2022-02-09T03:17:26.153Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-09T03:17:26.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-09T03:17:26.252Z] ========================================================= [2022-02-09T03:17:26.252Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-09T03:17:26.252Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-09T03:17:26.570Z] + 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-02-09T03:17:26.570Z] Sending build context to Docker daemon 5.755MB [2022-02-09T03:17:26.570Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-02-09T03:17:26.570Z] Step 2/12 : FROM ${BASE} AS builder [2022-02-09T03:17:26.570Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-09T03:17:26.570Z] 59bf1c3509f3: Pulling fs layer [2022-02-09T03:17:26.570Z] 666ba61612fd: Pulling fs layer [2022-02-09T03:17:26.570Z] 8ed8ca486205: Pulling fs layer [2022-02-09T03:17:26.570Z] 4fe6c5a15a65: Pulling fs layer [2022-02-09T03:17:26.570Z] 22a0e8bec74d: Pulling fs layer [2022-02-09T03:17:26.570Z] 640e595b4fbd: Pulling fs layer [2022-02-09T03:17:26.570Z] 763cafe07f6e: Pulling fs layer [2022-02-09T03:17:26.570Z] 0c0b528cf693: Pulling fs layer [2022-02-09T03:17:26.570Z] 10935f4eaf8b: Pulling fs layer [2022-02-09T03:17:26.570Z] 4fe6c5a15a65: Waiting [2022-02-09T03:17:26.570Z] 22a0e8bec74d: Waiting [2022-02-09T03:17:26.570Z] 640e595b4fbd: Waiting [2022-02-09T03:17:26.570Z] 763cafe07f6e: Waiting [2022-02-09T03:17:26.570Z] 0c0b528cf693: Waiting [2022-02-09T03:17:26.570Z] 10935f4eaf8b: Waiting [2022-02-09T03:17:26.834Z] 8ed8ca486205: Verifying Checksum [2022-02-09T03:17:26.834Z] 8ed8ca486205: Download complete [2022-02-09T03:17:26.834Z] 666ba61612fd: Verifying Checksum [2022-02-09T03:17:26.834Z] 666ba61612fd: Download complete [2022-02-09T03:17:26.834Z] 22a0e8bec74d: Verifying Checksum [2022-02-09T03:17:26.834Z] 22a0e8bec74d: Download complete [2022-02-09T03:17:26.834Z] 59bf1c3509f3: Verifying Checksum [2022-02-09T03:17:26.834Z] 59bf1c3509f3: Download complete [2022-02-09T03:17:26.834Z] 640e595b4fbd: Verifying Checksum [2022-02-09T03:17:26.834Z] 640e595b4fbd: Download complete [2022-02-09T03:17:26.834Z] 763cafe07f6e: Verifying Checksum [2022-02-09T03:17:26.834Z] 763cafe07f6e: Download complete [2022-02-09T03:17:26.834Z] 0c0b528cf693: Verifying Checksum [2022-02-09T03:17:26.834Z] 0c0b528cf693: Download complete [2022-02-09T03:17:27.415Z] 4fe6c5a15a65: Verifying Checksum [2022-02-09T03:17:27.415Z] 4fe6c5a15a65: Download complete [2022-02-09T03:17:27.415Z] 10935f4eaf8b: Verifying Checksum [2022-02-09T03:17:27.415Z] 10935f4eaf8b: Download complete [2022-02-09T03:17:27.415Z] 59bf1c3509f3: Pull complete [2022-02-09T03:17:27.415Z] 666ba61612fd: Pull complete [2022-02-09T03:17:27.675Z] 8ed8ca486205: Pull complete [2022-02-09T03:17:31.914Z] 4fe6c5a15a65: Pull complete [2022-02-09T03:17:32.179Z] 22a0e8bec74d: Pull complete [2022-02-09T03:17:32.179Z] 640e595b4fbd: Pull complete [2022-02-09T03:17:32.179Z] 763cafe07f6e: Pull complete [2022-02-09T03:17:32.441Z] 0c0b528cf693: Pull complete [2022-02-09T03:17:35.020Z] 10935f4eaf8b: Pull complete [2022-02-09T03:17:35.020Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-09T03:17:35.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-09T03:17:35.020Z] ---> 99d49a6021b9 [2022-02-09T03:17:35.020Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-02-09T03:17:36.940Z] ---> Running in 4ffa87ad9355 [2022-02-09T03:17:36.940Z] Removing intermediate container 4ffa87ad9355 [2022-02-09T03:17:36.940Z] ---> 05c0835b2e14 [2022-02-09T03:17:36.940Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-02-09T03:17:37.202Z] ---> Running in 650c3d3157f2 [2022-02-09T03:17:37.202Z] Removing intermediate container 650c3d3157f2 [2022-02-09T03:17:37.202Z] ---> ec5b0ad55e8b [2022-02-09T03:17:37.202Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-09T03:17:37.202Z] ---> Running in c6bb844bbd75 [2022-02-09T03:17:37.783Z] Removing intermediate container c6bb844bbd75 [2022-02-09T03:17:37.783Z] ---> 950acb4d9c86 [2022-02-09T03:17:37.783Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-02-09T03:17:37.783Z] ---> Running in 7d19035294d9 [2022-02-09T03:17:38.046Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-09T03:17:39.003Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-09T03:17:39.264Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-02-09T03:17:39.264Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-02-09T03:17:39.525Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-02-09T03:17:39.525Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-02-09T03:17:39.525Z] Executing busybox-1.34.1-r3.trigger [2022-02-09T03:17:39.525Z] OK: 224 MiB in 56 packages [2022-02-09T03:17:39.985Z] Still waiting to schedule task [2022-02-09T03:17:39.986Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-09T03:17:40.114Z] Removing intermediate container 7d19035294d9 [2022-02-09T03:17:40.115Z] ---> 46349d00633b [2022-02-09T03:17:40.115Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-02-09T03:17:40.115Z] ---> Running in ea6928047dc7 [2022-02-09T03:17:40.115Z] Removing intermediate container ea6928047dc7 [2022-02-09T03:17:40.115Z] ---> 66a4d41c2908 [2022-02-09T03:17:40.115Z] Step 8/12 : COPY go.mod vendor* ./ [2022-02-09T03:17:40.115Z] ---> 42518a4d15b3 [2022-02-09T03:17:40.115Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-09T03:17:40.115Z] ---> Running in ad75ff4b991b [2022-02-09T03:18:36.441Z] Removing intermediate container ad75ff4b991b [2022-02-09T03:18:36.441Z] ---> 2ca1b3579d1d [2022-02-09T03:18:36.441Z] Step 10/12 : COPY . . [2022-02-09T03:18:36.441Z] ---> 51bc00b16e54 [2022-02-09T03:18:36.441Z] Step 11/12 : ARG MAKE='make build' [2022-02-09T03:18:36.441Z] ---> Running in 40561f818cbf [2022-02-09T03:18:36.441Z] Removing intermediate container 40561f818cbf [2022-02-09T03:18:36.441Z] ---> ca0b6c4921b6 [2022-02-09T03:18:36.441Z] Step 12/12 : RUN $MAKE [2022-02-09T03:18:36.441Z] ---> Running in ef122ce55a8b [2022-02-09T03:18:36.441Z] noop [2022-02-09T03:18:36.441Z] Removing intermediate container ef122ce55a8b [2022-02-09T03:18:36.441Z] ---> 39d19794f9d7 [2022-02-09T03:18:36.441Z] Successfully built 39d19794f9d7 [2022-02-09T03:18:36.441Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-09T03:18:36.752Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-09T03:18:36.752Z] . [Pipeline] withDockerContainer [2022-02-09T03:18:36.820Z] prd-centos7-docker-4c-2g-4873 does not seem to be running inside a container [2022-02-09T03:18:36.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-337 -v /w/workspace/gexfoundry_device-mqtt-go_PR-337:/w/workspace/gexfoundry_device-mqtt-go_PR-337:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-337@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 ******** ci-base-image-x86_64 cat [2022-02-09T03:18:37.217Z] $ docker top cdd541ae5804951f800ed79da0ff509a9633f86e4e5f53f62dea831521cb3dd5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-09T03:18:37.591Z] + go version [2022-02-09T03:18:37.592Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-09T03:18:37.606Z] $ docker stop --time=1 cdd541ae5804951f800ed79da0ff509a9633f86e4e5f53f62dea831521cb3dd5 [2022-02-09T03:18:38.798Z] $ docker rm -f cdd541ae5804951f800ed79da0ff509a9633f86e4e5f53f62dea831521cb3dd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-09T03:18:39.221Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-09T03:18:39.221Z] . [Pipeline] withDockerContainer [2022-02-09T03:18:39.281Z] prd-centos7-docker-4c-2g-4873 does not seem to be running inside a container [2022-02-09T03:18:39.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-337 -v /w/workspace/gexfoundry_device-mqtt-go_PR-337:/w/workspace/gexfoundry_device-mqtt-go_PR-337:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-337@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 ******** ci-base-image-x86_64 cat [2022-02-09T03:18:39.637Z] $ docker top a79079ab6f06758cf964be274a7ce5e02feaa60dcbf8eb2f118576b912cba901 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-09T03:18:40.000Z] + make test [2022-02-09T03:18:40.000Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-02-09T03:18:40.267Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-02-09T03:18:55.219Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-02-09T03:18:55.810Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.5% of statements [2022-02-09T03:18:55.810Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-02-09T03:18:56.072Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-02-09T03:19:01.397Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-09T03:19:01.397Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-09T03:19:01.397Z] ./bin/test-attribution-txt.sh [2022-02-09T03:19:01.971Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-02-09T03:19:01.971Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2022-02-09T03:19:01.983Z] $ docker stop --time=1 a79079ab6f06758cf964be274a7ce5e02feaa60dcbf8eb2f118576b912cba901 [2022-02-09T03:19:03.524Z] $ docker rm -f a79079ab6f06758cf964be274a7ce5e02feaa60dcbf8eb2f118576b912cba901 [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-02-09T03:19:04.096Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-09T03:19:04.096Z] [2022-02-09T03:19:04.096Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-09T03:19:04.416Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-09T03:19:04.416Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-09T03:19:04.416Z] b4d181a07f80: Pulling fs layer [2022-02-09T03:19:04.416Z] a1111a8f2ec3: Pulling fs layer [2022-02-09T03:19:04.416Z] ed53099fbce6: Pulling fs layer [2022-02-09T03:19:04.417Z] dc539afda2c1: Pulling fs layer [2022-02-09T03:19:04.417Z] 77bc0d833cb6: Pulling fs layer [2022-02-09T03:19:04.417Z] 9065ff56babe: Pulling fs layer [2022-02-09T03:19:04.417Z] d287ab97295c: Pulling fs layer [2022-02-09T03:19:04.417Z] 77bc0d833cb6: Waiting [2022-02-09T03:19:04.417Z] 9065ff56babe: Waiting [2022-02-09T03:19:04.417Z] d287ab97295c: Waiting [2022-02-09T03:19:04.417Z] dc539afda2c1: Waiting [2022-02-09T03:19:04.417Z] a1111a8f2ec3: Verifying Checksum [2022-02-09T03:19:04.417Z] a1111a8f2ec3: Download complete [2022-02-09T03:19:04.417Z] dc539afda2c1: Verifying Checksum [2022-02-09T03:19:04.417Z] dc539afda2c1: Download complete [2022-02-09T03:19:04.674Z] 77bc0d833cb6: Verifying Checksum [2022-02-09T03:19:04.674Z] 77bc0d833cb6: Download complete [2022-02-09T03:19:04.674Z] ed53099fbce6: Verifying Checksum [2022-02-09T03:19:04.674Z] ed53099fbce6: Download complete [2022-02-09T03:19:04.674Z] 9065ff56babe: Verifying Checksum [2022-02-09T03:19:04.674Z] 9065ff56babe: Download complete [2022-02-09T03:19:04.674Z] b4d181a07f80: Verifying Checksum [2022-02-09T03:19:04.674Z] b4d181a07f80: Download complete [2022-02-09T03:19:05.250Z] d287ab97295c: Verifying Checksum [2022-02-09T03:19:05.250Z] d287ab97295c: Download complete [2022-02-09T03:19:06.209Z] b4d181a07f80: Pull complete [2022-02-09T03:19:06.209Z] a1111a8f2ec3: Pull complete [2022-02-09T03:19:06.615Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4874 in /w/workspace/gexfoundry_device-mqtt-go_PR-337 [Pipeline] { [Pipeline] ws [2022-02-09T03:19:06.628Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2022-02-09T03:19:06.779Z] ed53099fbce6: Pull complete [2022-02-09T03:19:06.779Z] dc539afda2c1: Pull complete [2022-02-09T03:19:06.800Z] Selected Git installation does not exist. Using Default [2022-02-09T03:19:06.801Z] The recommended git tool is: NONE [2022-02-09T03:19:07.043Z] 77bc0d833cb6: Pull complete [2022-02-09T03:19:07.043Z] 9065ff56babe: Pull complete [2022-02-09T03:19:11.200Z] using credential edgex-jenkins-ssh [2022-02-09T03:19:11.217Z] Cloning the remote Git repository [2022-02-09T03:19:11.279Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-02-09T03:19:11.353Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2022-02-09T03:19:11.443Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-02-09T03:19:11.444Z] > git --version # timeout=10 [2022-02-09T03:19:11.463Z] > git --version # 'git version 2.17.1' [2022-02-09T03:19:11.465Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-09T03:19:11.582Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-09T03:19:12.373Z] d287ab97295c: Pull complete [2022-02-09T03:19:12.373Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-09T03:19:12.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-09T03:19:12.373Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-09T03:19:12.440Z] prd-centos7-docker-4c-2g-4873 does not seem to be running inside a container [2022-02-09T03:19:12.477Z] $ 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-337 -v /w/workspace/gexfoundry_device-mqtt-go_PR-337:/w/workspace/gexfoundry_device-mqtt-go_PR-337:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-337@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-02-09T03:19:12.752Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-02-09T03:19:12.776Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-09T03:19:12.807Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-02-09T03:19:12.839Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-02-09T03:19:12.840Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-09T03:19:12.855Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-09T03:19:13.407Z] Merging remotes/origin/main commit 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 into PR head commit 1194565ec3dd3fecf5aea8b03608c37bc22f8c26 [2022-02-09T03:19:13.643Z] Merge succeeded, producing 9ee4bfa5b1c98b8f6dc2383e4b47a6e28166eb25 [2022-02-09T03:19:13.644Z] Checking out Revision 9ee4bfa5b1c98b8f6dc2383e4b47a6e28166eb25 (PR-337) [2022-02-09T03:19:13.430Z] > git config core.sparsecheckout # timeout=10 [2022-02-09T03:19:13.460Z] > git checkout -f 1194565ec3dd3fecf5aea8b03608c37bc22f8c26 # timeout=10 [2022-02-09T03:19:13.540Z] > git remote # timeout=10 [2022-02-09T03:19:13.557Z] > git config --get remote.origin.url # timeout=10 [2022-02-09T03:19:13.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-09T03:19:13.585Z] > git merge 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 # timeout=10 [2022-02-09T03:19:13.635Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-09T03:19:13.656Z] > git config core.sparsecheckout # timeout=10 [2022-02-09T03:19:13.677Z] > git checkout -f 9ee4bfa5b1c98b8f6dc2383e4b47a6e28166eb25 # timeout=10 [2022-02-09T03:19:15.053Z] $ docker top 2d2bc62fca81f48030d054483e47e430aa8465f6d4c99f7a409916ae50a2b305 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-09T03:19:15.495Z] ---> job-cost.sh [2022-02-09T03:19:15.495Z] lf-activate-venv: SKIPPING [2022-02-09T03:19:15.495Z] INFO: No Stack... [2022-02-09T03:19:15.757Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-09T03:19:16.329Z] INFO: Archiving Costs [Pipeline] sh [2022-02-09T03:19:16.626Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-337/archives/cost.csv [2022-02-09T03:19:16.627Z] + cut -d, -f6 [Pipeline] lock [2022-02-09T03:19:16.644Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-337-2-stack-cost] [2022-02-09T03:19:16.652Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-337-2-stack-cost] did not exist. Created. [2022-02-09T03:19:16.652Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-337-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-09T03:19:16.957Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-09T03:19:16.996Z] Stashed 1 file(s) [Pipeline] } [2022-02-09T03:19:17.006Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-337-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-09T03:19:17.024Z] $ docker stop --time=1 2d2bc62fca81f48030d054483e47e430aa8465f6d4c99f7a409916ae50a2b305 [2022-02-09T03:19:17.737Z] Commit message: "Merge commit '195658a04037eb8b6dd2e89b8fc6d25babbaa5f0' into HEAD" [2022-02-09T03:19:17.748Z] > git rev-list --no-walk 1194565ec3dd3fecf5aea8b03608c37bc22f8c26 # timeout=10 [2022-02-09T03:19:18.174Z] $ docker rm -f 2d2bc62fca81f48030d054483e47e430aa8465f6d4c99f7a409916ae50a2b305 [2022-02-09T03:19:18.180Z] [2022-02-09T03:19:18.180Z] GitHub has been notified of this commit’s build result [2022-02-09T03:19:18.180Z] [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-09T03:19:18.295Z] Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-09T03:19:18.809Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-09T03:19:18.809Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-09T03:19:18.809Z] Dload Upload Total Spent Left Speed [2022-02-09T03:19:18.809Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 93251 0 --:--:-- --:--:-- --:--:-- 93251 [Pipeline] sh [2022-02-09T03:19:19.333Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-09T03:19:19.727Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-09T03:19:19.727Z] + sudo tee /etc/docker/daemon.new [2022-02-09T03:19:19.727Z] { [2022-02-09T03:19:19.727Z] "registry-mirrors": [ [2022-02-09T03:19:19.727Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-09T03:19:19.727Z] ], [2022-02-09T03:19:19.727Z] "bip": "10.250.0.254/24", [2022-02-09T03:19:19.727Z] "hosts": [ [2022-02-09T03:19:19.727Z] "tcp://0.0.0.0:5555", [2022-02-09T03:19:19.727Z] "unix:///var/run/docker.sock" [2022-02-09T03:19:19.727Z] ], [2022-02-09T03:19:19.727Z] "mtu": 1458, [2022-02-09T03:19:19.727Z] "selinux-enabled": true, [2022-02-09T03:19:19.727Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-09T03:19:19.727Z] } [Pipeline] sh [2022-02-09T03:19:20.071Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-09T03:19:20.406Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-09T03:19:38.736Z] provisioning config files... [2022-02-09T03:19:38.758Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config3950234613858912371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-09T03:19:39.116Z] ---> docker-login.sh [2022-02-09T03:19:39.116Z] nexus3.edgexfoundry.org:10001 [2022-02-09T03:19:39.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-09T03:19:39.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-09T03:19:39.987Z] Configure a credential helper to remove this warning. See [2022-02-09T03:19:39.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-09T03:19:39.987Z] [2022-02-09T03:19:39.987Z] Login Succeeded [2022-02-09T03:19:39.987Z] nexus3.edgexfoundry.org:10002 [2022-02-09T03:19:40.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-09T03:19:40.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-09T03:19:40.259Z] Configure a credential helper to remove this warning. See [2022-02-09T03:19:40.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-09T03:19:40.259Z] [2022-02-09T03:19:40.259Z] Login Succeeded [2022-02-09T03:19:40.259Z] nexus3.edgexfoundry.org:10003 [2022-02-09T03:19:40.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-09T03:19:40.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-09T03:19:40.808Z] Configure a credential helper to remove this warning. See [2022-02-09T03:19:40.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-09T03:19:40.808Z] [2022-02-09T03:19:40.808Z] Login Succeeded [2022-02-09T03:19:40.808Z] nexus3.edgexfoundry.org:10004 [2022-02-09T03:19:41.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-09T03:19:41.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-09T03:19:41.081Z] Configure a credential helper to remove this warning. See [2022-02-09T03:19:41.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-09T03:19:41.081Z] [2022-02-09T03:19:41.081Z] Login Succeeded [2022-02-09T03:19:41.356Z] docker.io [2022-02-09T03:19:41.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-09T03:19:41.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-09T03:19:41.901Z] Configure a credential helper to remove this warning. See [2022-02-09T03:19:41.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-09T03:19:41.901Z] [2022-02-09T03:19:41.901Z] Login Succeeded [2022-02-09T03:19:41.901Z] ---> docker-login.sh ends [Pipeline] } [2022-02-09T03:19:41.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-09T03:19:42.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-09T03:19:42.478Z] ========================================================= [2022-02-09T03:19:42.478Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-09T03:19:42.478Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-09T03:19:42.825Z] + 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-02-09T03:19:43.097Z] Sending build context to Docker daemon 2.995MB [2022-02-09T03:19:43.097Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-02-09T03:19:43.097Z] Step 2/12 : FROM ${BASE} AS builder [2022-02-09T03:19:43.369Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-09T03:19:43.369Z] 9b3977197b4f: Pulling fs layer [2022-02-09T03:19:43.369Z] 1a89e8eeedd5: Pulling fs layer [2022-02-09T03:19:43.369Z] 94645a83ff95: Pulling fs layer [2022-02-09T03:19:43.369Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-09T03:19:43.369Z] 0c92f367c5e7: Pulling fs layer [2022-02-09T03:19:43.369Z] f7c0051592d6: Pulling fs layer [2022-02-09T03:19:43.369Z] a227ed2f7395: Pulling fs layer [2022-02-09T03:19:43.369Z] 7b1c46037f91: Pulling fs layer [2022-02-09T03:19:43.369Z] 0c92f367c5e7: Waiting [2022-02-09T03:19:43.369Z] f7c0051592d6: Waiting [2022-02-09T03:19:43.369Z] a227ed2f7395: Waiting [2022-02-09T03:19:43.369Z] 7b1c46037f91: Waiting [2022-02-09T03:19:43.369Z] 3f3a8bcf1eab: Waiting [2022-02-09T03:19:43.369Z] 94645a83ff95: Verifying Checksum [2022-02-09T03:19:43.370Z] 94645a83ff95: Download complete [2022-02-09T03:19:43.370Z] 1a89e8eeedd5: Download complete [2022-02-09T03:19:43.370Z] 0c92f367c5e7: Verifying Checksum [2022-02-09T03:19:43.370Z] 0c92f367c5e7: Download complete [2022-02-09T03:19:43.370Z] f7c0051592d6: Verifying Checksum [2022-02-09T03:19:43.370Z] f7c0051592d6: Download complete [2022-02-09T03:19:43.370Z] 9b3977197b4f: Download complete [2022-02-09T03:19:43.370Z] a227ed2f7395: Verifying Checksum [2022-02-09T03:19:43.370Z] a227ed2f7395: Download complete [2022-02-09T03:19:43.975Z] 9b3977197b4f: Pull complete [2022-02-09T03:19:44.576Z] 1a89e8eeedd5: Pull complete [2022-02-09T03:19:44.851Z] 94645a83ff95: Pull complete [2022-02-09T03:19:45.122Z] 7b1c46037f91: Verifying Checksum [2022-02-09T03:19:45.122Z] 7b1c46037f91: Download complete [2022-02-09T03:19:45.712Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-09T03:19:45.712Z] 3f3a8bcf1eab: Download complete [2022-02-09T03:19:58.093Z] 3f3a8bcf1eab: Pull complete [2022-02-09T03:19:58.093Z] 0c92f367c5e7: Pull complete [2022-02-09T03:19:58.093Z] f7c0051592d6: Pull complete [2022-02-09T03:19:58.093Z] a227ed2f7395: Pull complete [2022-02-09T03:20:03.493Z] 7b1c46037f91: Pull complete [2022-02-09T03:20:03.493Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-09T03:20:03.493Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-09T03:20:03.493Z] ---> f79e39bc4007 [2022-02-09T03:20:03.493Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-02-09T03:20:04.922Z] ---> Running in c2f305b31c42 [2022-02-09T03:20:05.196Z] Removing intermediate container c2f305b31c42 [2022-02-09T03:20:05.196Z] ---> 4a6147e5de03 [2022-02-09T03:20:05.196Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-02-09T03:20:05.468Z] ---> Running in 6a8dfda87a22 [2022-02-09T03:20:05.741Z] Removing intermediate container 6a8dfda87a22 [2022-02-09T03:20:05.741Z] ---> ca04bc378d12 [2022-02-09T03:20:05.741Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-09T03:20:06.015Z] ---> Running in 809ee99ac8e6 [2022-02-09T03:20:07.982Z] Removing intermediate container 809ee99ac8e6 [2022-02-09T03:20:07.982Z] ---> 3cae715403a5 [2022-02-09T03:20:07.982Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-02-09T03:20:07.982Z] ---> Running in 146c499a9984 [2022-02-09T03:20:08.955Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-09T03:20:09.545Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-09T03:20:10.519Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-02-09T03:20:10.519Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-02-09T03:20:10.519Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-02-09T03:20:10.793Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-02-09T03:20:10.793Z] Executing busybox-1.34.1-r3.trigger [2022-02-09T03:20:10.793Z] OK: 224 MiB in 56 packages [2022-02-09T03:20:11.770Z] Removing intermediate container 146c499a9984 [2022-02-09T03:20:11.770Z] ---> 1dbfaa859fe8 [2022-02-09T03:20:11.770Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-02-09T03:20:11.770Z] ---> Running in b11e2cfdcf66 [2022-02-09T03:20:12.365Z] Removing intermediate container b11e2cfdcf66 [2022-02-09T03:20:12.365Z] ---> 1e140efb1f86 [2022-02-09T03:20:12.365Z] Step 8/12 : COPY go.mod vendor* ./ [2022-02-09T03:20:12.965Z] ---> ebb66c1d5f41 [2022-02-09T03:20:12.965Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-09T03:20:12.965Z] ---> Running in 1bc376cce6b3 [2022-02-09T03:21:34.755Z] Removing intermediate container 1bc376cce6b3 [2022-02-09T03:21:34.755Z] ---> 3533f96bda5e [2022-02-09T03:21:34.755Z] Step 10/12 : COPY . . [2022-02-09T03:21:34.755Z] ---> b1ee25dcf673 [2022-02-09T03:21:34.755Z] Step 11/12 : ARG MAKE='make build' [2022-02-09T03:21:34.755Z] ---> Running in c7ac8941828f [2022-02-09T03:21:34.755Z] Removing intermediate container c7ac8941828f [2022-02-09T03:21:34.755Z] ---> 4db80127708f [2022-02-09T03:21:34.755Z] Step 12/12 : RUN $MAKE [2022-02-09T03:21:34.755Z] ---> Running in eda532696987 [2022-02-09T03:21:34.755Z] noop [2022-02-09T03:21:34.755Z] Removing intermediate container eda532696987 [2022-02-09T03:21:34.755Z] ---> 021c3158b5e4 [2022-02-09T03:21:34.755Z] Successfully built 021c3158b5e4 [2022-02-09T03:21:34.755Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-09T03:21:35.099Z] + docker inspect -f . ci-base-image-arm64 [2022-02-09T03:21:35.099Z] . [Pipeline] withDockerContainer [2022-02-09T03:21:35.319Z] prd-ubuntu18.04-docker-arm64-4c-16g-4874 does not seem to be running inside a container [2022-02-09T03:21:35.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-09T03:21:36.674Z] $ docker top b79db97df4ed7bcbcfe03d011a2231e91efa953fc26c7e273ab565fce81a2a99 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-09T03:21:37.575Z] + go version [2022-02-09T03:21:37.575Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-09T03:21:37.594Z] $ docker stop --time=1 b79db97df4ed7bcbcfe03d011a2231e91efa953fc26c7e273ab565fce81a2a99 [2022-02-09T03:21:39.211Z] $ docker rm -f b79db97df4ed7bcbcfe03d011a2231e91efa953fc26c7e273ab565fce81a2a99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-09T03:21:39.801Z] + docker inspect -f . ci-base-image-arm64 [2022-02-09T03:21:39.801Z] . [Pipeline] withDockerContainer [2022-02-09T03:21:40.023Z] prd-ubuntu18.04-docker-arm64-4c-16g-4874 does not seem to be running inside a container [2022-02-09T03:21:40.099Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-09T03:21:41.389Z] $ docker top 6da07598fee0b7c9493797662434b13e46fabef4790d529f555734d15ca52780 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-09T03:21:42.299Z] + make test [2022-02-09T03:21:42.299Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-02-09T03:21:43.278Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-02-09T03:22:30.298Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-02-09T03:22:30.298Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.054s coverage: 22.5% of statements [2022-02-09T03:22:30.298Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-02-09T03:22:30.571Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-02-09T03:22:48.915Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-09T03:22:48.915Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-09T03:22:48.915Z] ./bin/test-attribution-txt.sh [2022-02-09T03:22:49.508Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-02-09T03:22:50.102Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2022-02-09T03:22:50.120Z] $ docker stop --time=1 6da07598fee0b7c9493797662434b13e46fabef4790d529f555734d15ca52780 [2022-02-09T03:22:51.860Z] $ docker rm -f 6da07598fee0b7c9493797662434b13e46fabef4790d529f555734d15ca52780 [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-02-09T03:22:52.794Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-09T03:22:52.794Z] [2022-02-09T03:22:52.794Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-09T03:22:53.142Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-09T03:22:53.428Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-09T03:22:53.428Z] 448f6bf000e3: Pulling fs layer [2022-02-09T03:22:53.428Z] f757da607395: Pulling fs layer [2022-02-09T03:22:53.428Z] 05883995daec: Pulling fs layer [2022-02-09T03:22:53.428Z] 8603b9c90790: Pulling fs layer [2022-02-09T03:22:53.429Z] 1560dd03e051: Pulling fs layer [2022-02-09T03:22:53.429Z] 27f5ce0e4adf: Pulling fs layer [2022-02-09T03:22:53.429Z] c2d8d7efcc4b: Pulling fs layer [2022-02-09T03:22:53.429Z] 8603b9c90790: Waiting [2022-02-09T03:22:53.429Z] 1560dd03e051: Waiting [2022-02-09T03:22:53.429Z] 27f5ce0e4adf: Waiting [2022-02-09T03:22:53.429Z] c2d8d7efcc4b: Waiting [2022-02-09T03:22:53.429Z] f757da607395: Verifying Checksum [2022-02-09T03:22:53.429Z] f757da607395: Download complete [2022-02-09T03:22:53.429Z] 8603b9c90790: Download complete [2022-02-09T03:22:53.429Z] 1560dd03e051: Verifying Checksum [2022-02-09T03:22:53.429Z] 1560dd03e051: Download complete [2022-02-09T03:22:53.705Z] 27f5ce0e4adf: Verifying Checksum [2022-02-09T03:22:53.705Z] 27f5ce0e4adf: Download complete [2022-02-09T03:22:53.705Z] 05883995daec: Verifying Checksum [2022-02-09T03:22:53.705Z] 05883995daec: Download complete [2022-02-09T03:22:53.978Z] 448f6bf000e3: Verifying Checksum [2022-02-09T03:22:53.978Z] 448f6bf000e3: Download complete [2022-02-09T03:22:56.598Z] c2d8d7efcc4b: Verifying Checksum [2022-02-09T03:22:56.598Z] c2d8d7efcc4b: Download complete [2022-02-09T03:22:57.579Z] 448f6bf000e3: Pull complete [2022-02-09T03:22:58.180Z] f757da607395: Pull complete [2022-02-09T03:22:59.624Z] 05883995daec: Pull complete [2022-02-09T03:22:59.900Z] 8603b9c90790: Pull complete [2022-02-09T03:23:00.501Z] 1560dd03e051: Pull complete [2022-02-09T03:23:01.096Z] 27f5ce0e4adf: Pull complete [2022-02-09T03:23:16.183Z] c2d8d7efcc4b: Pull complete [2022-02-09T03:23:16.183Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-09T03:23:16.183Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-09T03:23:16.183Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-09T03:23:16.395Z] prd-ubuntu18.04-docker-arm64-4c-16g-4874 does not seem to be running inside a container [2022-02-09T03:23:16.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-09T03:23:18.992Z] $ docker top 6c57d37ee915657d0c7061ae7e51d637489a877ecb663de1883ab52bf303ef9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-09T03:23:19.966Z] ---> job-cost.sh [2022-02-09T03:23:19.966Z] lf-activate-venv: SKIPPING [2022-02-09T03:23:19.966Z] INFO: No Stack... [2022-02-09T03:23:20.310Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-09T03:23:20.909Z] INFO: Archiving Costs [Pipeline] sh [2022-02-09T03:23:21.302Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2022-02-09T03:23:21.302Z] + cut -d, -f6 [Pipeline] lock [2022-02-09T03:23:21.363Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-337-2-stack-cost] [2022-02-09T03:23:21.369Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-337-2-stack-cost] did not exist. Created. [2022-02-09T03:23:21.369Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-337-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-09T03:23:22.045Z] /w/workspace/device-mqtt-go/2@tmp/durable-bc352a01/script.sh: 1: /w/workspace/device-mqtt-go/2@tmp/durable-bc352a01/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-09T03:23:22.392Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-09T03:23:22.413Z] Warning: overwriting stash ‘stack-cost’ [2022-02-09T03:23:22.820Z] Stashed 1 file(s) [Pipeline] } [2022-02-09T03:23:22.828Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-337-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-09T03:23:22.841Z] $ docker stop --time=1 6c57d37ee915657d0c7061ae7e51d637489a877ecb663de1883ab52bf303ef9a [2022-02-09T03:23:24.342Z] $ docker rm -f 6c57d37ee915657d0c7061ae7e51d637489a877ecb663de1883ab52bf303ef9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-09T03:23:24.635Z] 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-02-09T03:23:25.439Z] + '[' -d /w/workspace/gexfoundry_device-mqtt-go_PR-337/archives ']' [2022-02-09T03:23:25.440Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-337/archives [2022-02-09T03:23:25.440Z] total 8 [2022-02-09T03:23:25.440Z] drwxr-xr-x. 3 root root 34 Feb 9 03:19 . [2022-02-09T03:23:25.440Z] drwxrwxr-x. 11 jenkins jenkins 4096 Feb 9 03:19 .. [2022-02-09T03:23:25.440Z] drwxr-xr-x. 2 root root 6 Feb 9 03:19 cost [2022-02-09T03:23:25.440Z] -rw-r--r--. 1 root root 85 Feb 9 03:19 cost.csv [2022-02-09T03:23:25.440Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-337/archives [2022-02-09T03:23:25.440Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-337/archives [2022-02-09T03:23:25.440Z] total 8 [2022-02-09T03:23:25.440Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 9 03:19 . [2022-02-09T03:23:25.440Z] drwxrwxr-x. 11 jenkins jenkins 4096 Feb 9 03:19 .. [2022-02-09T03:23:25.440Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 9 03:19 cost [2022-02-09T03:23:25.440Z] -rw-r--r--. 1 jenkins jenkins 85 Feb 9 03:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-09T03:23:25.747Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-09T03:23:26.320Z] ---> package-listing.sh [2022-02-09T03:23:26.321Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-09T03:23:26.321Z] ++ facter osfamily [2022-02-09T03:23:26.581Z] + OS_FAMILY=redhat [2022-02-09T03:23:26.581Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-337 [2022-02-09T03:23:26.581Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-09T03:23:26.581Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-09T03:23:26.581Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-09T03:23:26.581Z] + PACKAGES=/tmp/packages_start.txt [2022-02-09T03:23:26.581Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-337 ']' [2022-02-09T03:23:26.581Z] + PACKAGES=/tmp/packages_end.txt [2022-02-09T03:23:26.581Z] + case "${OS_FAMILY}" in [2022-02-09T03:23:26.581Z] + sort [2022-02-09T03:23:26.581Z] + rpm -qa [2022-02-09T03:23:27.153Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-09T03:23:27.153Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-09T03:23:27.153Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-09T03:23:27.153Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-337 ']' [2022-02-09T03:23:27.153Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-337/archives/ [2022-02-09T03:23:27.153Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-337/archives/ [Pipeline] echo [2022-02-09T03:23:27.162Z] 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-337/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-09T03:23:27.456Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-09T03:23:27.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-09T03:23:27.762Z] . [Pipeline] withDockerContainer [2022-02-09T03:23:27.834Z] prd-centos7-docker-4c-2g-4873 does not seem to be running inside a container [2022-02-09T03:23:27.875Z] $ 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-337/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-337 -v /w/workspace/gexfoundry_device-mqtt-go_PR-337:/w/workspace/gexfoundry_device-mqtt-go_PR-337:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-09T03:23:28.071Z] $ docker top a0fddac5abb24dcc64878bf67d02a17b61891700737d14b01dd2fde52dd13ac3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-09T03:23:28.424Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-09T03:23:28.720Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-09T03:23:29.017Z] + ls /var/log/sa-host [2022-02-09T03:23:29.017Z] + sadf -c /var/log/sa-host/sa09 [2022-02-09T03:23:29.017Z] file_magic: OK [2022-02-09T03:23:29.017Z] HZ: Using current value: 100 [2022-02-09T03:23:29.017Z] file_header: OK [2022-02-09T03:23:29.017Z] 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-02-09T03:23:29.017Z] Statistics: [2022-02-09T03:23:29.017Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-09T03:23:29.017Z] File successfully converted to sysstat format version 12.0.3 [2022-02-09T03:23:29.017Z] + sadf -c /var/log/sa-host/sa17 [2022-02-09T03:23:29.017Z] file_magic: OK [2022-02-09T03:23:29.017Z] HZ: Using current value: 100 [2022-02-09T03:23:29.017Z] file_header: OK [2022-02-09T03:23:29.017Z] 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-02-09T03:23:29.017Z] Statistics: [2022-02-09T03:23:29.017Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-09T03:23:29.017Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-09T03:23:29.250Z] provisioning config files... [2022-02-09T03:23:29.259Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp/config7397283898230610362tmp [Pipeline] { [Pipeline] echo [2022-02-09T03:23:29.273Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-09T03:23:29.563Z] ---> create-netrc.sh [Pipeline] } [2022-02-09T03:23:29.572Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-09T03:23:29.916Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-09T03:23:29.926Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-09T03:23:30.211Z] ---> sudo-logs.sh [2022-02-09T03:23:30.211Z] Archiving 'sudo' log.. [2022-02-09T03:23:30.211Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4873.novalocal: Name or service not known [2022-02-09T03:23:30.211Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4873.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-09T03:23:30.238Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-09T03:23:30.532Z] ---> job-cost.sh [2022-02-09T03:23:30.532Z] lf-activate-venv: SKIPPING [2022-02-09T03:23:30.532Z] DEBUG: total: 0.05999999865889549 [2022-02-09T03:23:30.532Z] INFO: Retrieving Stack Cost... [2022-02-09T03:23:30.793Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-09T03:23:31.053Z] INFO: Archiving Costs [Pipeline] echo [2022-02-09T03:23:31.098Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-09T03:23:31.399Z] ---> logs-deploy.sh [2022-02-09T03:23:31.399Z] lf-activate-venv: SKIPPING [2022-02-09T03:23:31.399Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-337/2 [2022-02-09T03:23:31.399Z] INFO: archiving workspace using pattern(s): [2022-02-09T03:23:31.974Z] Archives upload complete. [2022-02-09T03:23:32.237Z] INFO: archiving logs to Nexus